Support non-inclusive caches on Intel processors
[glibc.git] / ChangeLog
blob05d0fe7b5e9d900b8713c208b5bc88891118af00
1 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4         non-inclusive caches on Intel processors.
6 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8         * malloc/malloc.c (dumped_main_arena_start)
9         (dumped_main_arena_end): New variables.
10         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11         (do_check_chunk): Skip dumped fake mmapped chunks.
12         (munmap_chunk): Likewise.
13         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15         mmapped chunks.
16         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18         and dumped_main_arena_end to cover the dumped heap.
20 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
22         * conform/data/time.h-data (getdate_err): Do not expect for
23         [XPG3].
24         (getdate): Likewise.
25         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
26         variable.
28         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
29         (F_ULOCK): Likewise.
30         (F_TEST): Likewise.
31         (F_TLOCK): Likewise.
32         (useconds_t): Likewise.
33         (intptr_t): Do not expect for [XPG3] or [XPG4].
34         (brk): Do not expect for [XPG3]
35         (fchown): Likewise.
36         (fchdir): Likewise.
37         (ftruncate): Likewise.
38         (getdtablesize): Likewise.
39         (gethostid): Likewise.
40         (getpagesize): Likewise.
41         (getpgid): Likewise.
42         (getsid): Likewise.
43         (getwd): Likewise.
44         (lchown): Likewise.
45         (lockf): Likewise.
46         (readlink): Likewise.
47         (sbrk): Likewise.
48         (setpgrp): Likewise.
49         (setregid): Likewise.
50         (setreuid): Likewise.
51         (symlink): Likewise.
52         (sync): Likewise.
53         (truncate): Likewise.
54         (ualarm): Likewise.
55         (usleep): Likewise.
56         (vfork): Likewise.
57         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
58         variable.
60         [BZ #20054]
61         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
62         not [__USE_UNIX98].
63         * conform/data/unistd.h-data (gethostname): Do not expect for
64         [XPG3].
66         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
67         [!POSIX] (S_IFBLK): Likewise.
68         [!POSIX] (S_IFCHR): Likewise.
69         [!POSIX] (S_IFIFO): Likewise.
70         [!POSIX] (S_IFREG): Likewise.
71         [!POSIX] (S_IFDIR): Likewise.
72         [!POSIX] (S_IFLNK): Likewise.
73         [!POSIX] (S_IFSOCK): Likewise.
74         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
75         variable.
76         (test-xfail-XPG4/fcntl.h/conform): Likewise.
78 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
80         * sysdeps/aarch64/memset.S (__memset):
81         Rewrite of optimized memset.
83 2016-05-12  Florian Weimer  <fweimer@redhat.com>
85         [BZ #19703]
86         Partially async-signal-safe fork for single-threaded processes.
87         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
88         variable.  Do not acquire and reset/release malloc and libio locks
89         in single-threaded processes.
90         * malloc/tst-mallocfork2.c: New file.
91         * malloc/Makefile (tests): Add it.
93 2016-05-12  Florian Weimer  <fweimer@redhat.com>
95         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
96         argument.  Use scratch buffer instead of extend_alloca.
97         (gethosts): Use scratch buffer instead of extend_alloca.
98         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
99         extend_alloca.
100         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
102 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
104         [BZ #20055]
105         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
106         instead of [__USE_UNIX98].
107         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
108         [__USE_UNIX98].
109         * conform/data/termios.h-data (tcgetsid): Do not expect for
110         [XPG3].
111         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
112         variable.
113         (test-xfail-XPG4/termios.h/conform): Likewise.
115 2016-05-11  Florian Weimer  <fweimer@redhat.com>
117         Do not use mcheck in localedef.
118         * locale/programs/localedef.c (turn_on_mcheck)
119         (__malloc_initialize_hook): Remove.
121 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
123         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
124         * sysdeps/s390/s390-64/Makefile: Likewise.
126 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
128         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
129         Remove ifunc-defines.sym.
130         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
131         Likewise.
132         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
133         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
134         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
135         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
136         rtld-global-offsets.sym.
137         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
138         * sysdeps/x86/cpu-features-offsets.sym: This.
139         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
140         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
142 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
144         [BZ #20073]
145         * io/sys/stat.h (fchmod): Declare for
146         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
147         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
148         variable.
150         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
151         [XPG3] (S_IFSOCK): Likewise.
152         [XPG3] (S_ISVTX): Likewise.
153         [XPG3] (S_ISLNK): Likewise.
154         [XPG3] (S_ISSOCK): Likewise.
155         [XPG3] (fchmod): Likewise.
156         [XPG3] (lstat): Likewise.
157         [XPG3] (mknod): Likewise.
159         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
160         [XPG3].  Expect type long and XFAIL for [XPG4].
161         (st_blocks): Likewise.
163         [BZ #20044]
164         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
165         (pthread_atfork): New prototype.
166         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
167         variable.
169         [BZ #20043]
170         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
171         prototype.
173 2016-05-10  Florian Weimer  <fweimer@redhat.com>
175         [BZ #20017]
176         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
177         gmtime.
179 2016-05-10  Florian Weimer  <fweimer@redhat.com>
181         [BZ #19994]
182         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
183         flag in _res.options.
185 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
187         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
188         [XPG3 || XPG4].
189         (blksize_t): Likewise.
190         (clockid_t): Likewise.
191         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
192         variable.
193         (test-xfail-XPG4/sys/types.h/conform): Likewise.
195 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
197         * sysdeps/unix/sysv/linux/s390/init-first.c:
198         Add VDSO_SYMBOL(getcpu).
199         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
200         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
201         Add VDSO_SYMBOL(getcpu).
202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
203         New define HAVE_GETCPU_VSYSCALL.
204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
206 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
208         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
209         instead of <sysdeps/x86_64/cacheinfo.c>.
210         * sysdeps/x86_64/cacheinfo.c: Moved to ...
211         * sysdeps/x86/cacheinfo.c: Here.
213 2016-05-04  Florian Weimer  <fweimer@redhat.com>
215         * malloc/malloc-internal.h: Adjust header file guard.
217 2016-05-04  Florian Weimer  <fweimer@redhat.com>
219         [BZ #19787]
220         * inet/getnameinfo.c (check_sprintf_result): New function.
221         (CHECKED_SNPRINTF): New macro.
222         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
223         to the host buffer.
224         (gni_host_local): Use checked_copy to copy the host name.
225         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
226         (gni_serv_local): Use checked_copy to copy the service name.
227         (getnameinfo): Remove unnecessary truncation of result buffers.
229 2016-05-04  Florian Weimer  <fweimer@redhat.com>
231         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
232         in case of inet_ntop failure.
234 2016-05-04  Florian Weimer  <fweimer@redhat.com>
236         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
237         avoid long lines.
238         (gni_host_inet_numeric): Likewise.  Reduce scope of local
239         variables.
240         (gni_host_inet, gni_host_local): Add comment.
241         (gni_host): Add comment.  Use temporary to avoid long lines.
243 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
245         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
246         registers specifiers where general purpose registers specifiers should
247         have been used.
249 2016-05-04  Florian Weimer  <fweimer@redhat.com>
251         [BZ #19779]
252         CVE-2016-1234
253         Avoid copying names of directory entries.
254         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
255         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
256         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
257         (struct readdir_result): New type.
258         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
259         (GL_READDIR): New macros.
260         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
261         (convert_dirent, convert_dirent64): New functions.
262         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
263         convert_dirent64.  Adjust references to the readdir result.
264         * sysdeps/unix/sysv/linux/i386/glob64.c:
265         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
266         * posix/bug-glob2.c (LONG_NAME): Define.
267         (filesystem): Add LONG_NAME.
268         (my_DIR): Increase the size of room_for_dirent.
270 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
272         [BZ #20041]
273         * misc/sys/select.h (__need_timespec): Only define if
274         [__USE_XOPEN2K].
275         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
276         variable.
277         (test-xfail-XPG4/utmpx.h/conform): Likewise.
278         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
279         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
281 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
282             Segher Boessenkool  <segher@gcc.gnu.org>
284         [BZ #20004]
285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
286         (__novec_swapcontext): Add missing load.
288 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
290         [BZ #20023]
291         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
292         <time.h>.
293         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
294         variable.
295         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
297 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
300         flags CLONE_VM compare.
302 2016-05-02  Florian Weimer  <fweimer@redhat.com>
304         [BZ #20031]
305         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
306         completely empty.
308 2016-05-02  Florian Weimer  <fweimer@redhat.com>
310         [BZ #19573]
311         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
312         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
313         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
314         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
315         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
316         (hesiod_free_list): Mark as hidden.
317         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
318         res_set, res_get.
319         * hesiod/hesiod.c: Remove unnecessary forward declarations.
320         (init, __hesiod_res_get, __hesiod_res_set): Remove.
321         (hesiod_init): Remove obsolete res_ninit call.
322         (hesiod_end): Do not free resolver state.  Do not invoke callback.
323         (hesiod_bind): Do not call init.
324         (get_txt_records): Use res_mkquery, res_send instead of
325         res_nmkquery, res_nsend.
326         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
327         instead of _nss_hesiod_init.
328         (_nss_hesiod_initgroups_dyn): Likewise.
329         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
330         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
331         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
333 2016-05-02  Florian Weimer  <fweimer@redhat.com>
335         * hesiod/hesiod_p.h (DEF_RHS): Remove.
336         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
338 2016-05-02  Florian Weimer  <fweimer@redhat.com>
340         * hesiod/hesiod.h: Remove RCS keyword.
341         * hesiod/hesiod_p.h: Likewise.
343         * hesiod/hesiod.c: Likewise.
345 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
347         [BZ #12450]
348         * locale/iso-639.def: Add Samogitian/sgs.
350 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
352         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
354         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
356 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
357             Carlos O'Donell  <carlos@redhat.com>
359         [BZ #19072]
360         * grp/Makefile (headers): Add grp-merge.h
361         (routines): Add grp-merge.
362         * grp/getgrgid_r.c: Include grp-merge.h.
363         (DEEPCOPY_FN): Define.
364         (MERGE_FN): Define.
365         * grp/getgrname_r.c: Include grp-merge.h.
366         (DEEPCOPY_FN): Define.
367         (MERGE_FN): Define.
368         * grp/grp-merge.c: New file.
369         * grp/grp-merge.h: New file.
370         * include/grp-merge.h: New file.
371         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
372         __copy_grp@GLIBC_PRIVATE.
373         * manual/nss.texi (Actions in the NSS configuration): Describe
374         return, continue, and merge.
375         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
376         (DEEPCOPY_FN): Define.
377         (MERGE_FN): Define.
378         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
379         (DEEPCOPY_FN): Define.
380         (MERGE_FN): Define.
381         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
382         [!MERGE_FN]: Define __merge_einval.
383         (CHECK_MERGE): Define.
384         (REENTRANT_NAME): Process merge if do_merge is true.
385         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
386         (__nss_getent_r): Likewise.
387         * nss/nsswitch.c (nss_parse_service_list): Likewise.
388         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
390 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
392         [BZ #20012]
393         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
394         length to calculate the buffer to read.
395         (fmemopen_write): Set the buffer position based on bytes written.
396         (fmemopen_seek): Return EINVAL for invalid whence modes.
398         [BZ #19957]
399         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
400         tst-getpid2.
401         (test): Add tst-clone2.
402         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
403         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
404         pid/tid fields for CLONE_VM.
405         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
406         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
407         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
408         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
409         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
410         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
411         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
412         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
414         Likewise.
415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
416         Likewise.
417         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
418         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
419         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
420         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
421         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
422         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
423         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
424         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
426 2016-04-29  Florian Weimer  <fweimer@redhat.com>
428         [BZ #19642]
429         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
430         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
431         (gni_serv_local, gni_serv): New functions extracted from
432         getnameinfo.
433         (getnameinfo): Call gni_host and gni_serv to perform the
434         processing.  Always free scratch buffer.
436 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
438         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
439         remaining bytes in the dest string, with zeros.
441 2016-04-29  Florian Weimer  <fweimer@redhat.com>
443         [BZ #20010]
444         CVE-2016-3706
445         * sysdeps/posix/getaddrinfo.c
446         (convert_hostent_to_gaih_addrtuple): New function.
447         (gethosts): Call convert_hostent_to_gaih_addrtuple.
448         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
449         AF_INET data.
451 2016-04-29  Florian Weimer  <fweimer@redhat.com>
453         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
454         callback function gl_readdir.
455         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
456         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
457         (glob_in_dir): Remove len.  Use strdup instead of malloc and
458         memcpy to copy the name.
459         * manual/pattern.texi (Calling Glob): Document requirements for
460         implementations of the gl_readdir callback function.
461         * manual/examples/mkdirent.c: New example.
462         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
463         per the manual guidance.
464         * posix/tst-gnuglob.c (my_readdir): Likewise.
466 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
468         [BZ #20014]
469         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
470         not [__USE_POSIX].
471         (getchar_unlocked): Likewise.
472         (putc_unlocked): Likewise.
473         (putchar_unlocked): Likewise.
474         (flockfile): Likewise.
475         (ftrylockfile): Likewise.
476         (funlockfile): Likewise.
477         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
478         variable.
479         (test-xfail-XPG4/stdio.h/conform): Likewise.
481         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
482         Expect constant.
483         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
484         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
485         variable.
486         (test-xfail-XPG4/langinfo.h/conform): Likewise.
487         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
489         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
490         [__USE_LARGEFILE64] (off64_t): Likewise.
491         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
492         variable.
494 2016-04-28  Florian Weimer  <fweimer@redhat.com>
496         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
498 2016-04-28  Florian Weimer  <fweimer@redhat.com>
500         * resolv/inet_addr.c: Reindent preprocessor conditionals.
501         * resolv/res_init.c: Likewise.
502         * resolv/res_mkquery.c: Likewise.
504 2016-04-28  Florian Weimer  <fweimer@redhat.com>
506         * resolv/res_init.c (isascii): Do not define.  Use definition in
507         <ctype.h>.
508         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
509         (LOG_AUTH): Remove.
510         (SPRINTF): Remove, adjust caller.
511         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
513 2016-04-28  Florian Weimer  <fweimer@redhat.com>
515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
516         SUNSECURITY conditional.
517         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
519 2016-04-28  Florian Weimer  <fweimer@redhat.com>
521         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
522         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
523         Remove BSD-related preprocessor conditionals.
524         * conf/portability.h: Remove.
526 2016-04-28  Florian Weimer  <fweimer@redhat.com>
528         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
529         * resolv/res_data.c: Likewise.
531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
533         * resolv/res_comp.c: Remove code conditional on __ultrix__.
534         * resolv/res_data.c: Remove code conditional on ultrix.
536 2016-04-28  Florian Weimer  <fweimer@redhat.com>
538         * resolv/res_init.c (RFC1535): Do not define.  Remove
539         RFC1535 preprocessor conditionals.
540         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
541         because there configuration options which make the resolver
542         behavior different.
544 2016-04-28  Florian Weimer  <fweimer@redhat.com>
546         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
547         RESOLVSORT preprocessor conditionals.
548         * resolv/nss_dns/dns-host.c: Likewise.
549         * resolv/res_init.c: Likewise.
551 2016-04-28  Florian Weimer  <fweimer@redhat.com>
553         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
554         is never defined.
556 2016-04-28  Florian Weimer  <fweimer@redhat.com>
558         * inet/inet_lnaof.c: Remove SCSS keyword.
559         * inet/inet_mkadr.c: Likewise.
560         * inet/inet_net.c: Likewise.
561         * inet/inet_netof.c: Likewise.
562         * inet/rcmd.c: Likewise.
563         * inet/rexec.c: Likewise.
564         * inet/ruserpass.c: Likewise.
566 2016-04-28  Florian Weimer  <fweimer@redhat.com>
568         * resolv/inet_addr.c: Remove _LIBC conditionals.
569         * resolv/res_data.c: Likewise.
570         * resolv/res_init.c: Likewise.
571         * resolv/res_mkquery.c: Likewise.
572         * resolv/res_libc.c: Update comment.
573         * resolv/README: Update.
575 2016-04-28  Florian Weimer  <fweimer@redhat.com>
577         * resolv/gethnamaddr.c: Remove SCSS keyword.
578         * resolv/herror.c: Likewise.
579         * resolv/inet_addr.c: Likewise.
580         * resolv/inet_net_ntop.c: Likewise.
581         * resolv/inet_net_pton.c: Likewise.
582         * resolv/inet_neta.c: Likewise.
583         * resolv/inet_ntop.c: Likewise.
584         * resolv/inet_pton.c: Likewise.
585         * resolv/ns_date.c: Remove RCS keyword.
586         * resolv/ns_name.c: Likewise.
587         * resolv/ns_netint.c: Likewise.
588         * resolv/ns_parse.c: Likewise.
589         * resolv/ns_print.c: Likewise.
590         * resolv/ns_samedomain.c: Likewise.
591         * resolv/ns_ttl.c: Likewise.
592         * resolv/nsap_addr.c: Likewise.
593         * resolv/res_comp.c: Remove SCSS and RCS keyword.
594         * resolv/res_data.c: Remove RCS keyword.
595         * resolv/res_debug.c: Remove SCSS and RCS keyword.
596         * resolv/res_init.c: Likewise.
597         * resolv/res_mkquery.c: Likewise.
598         * resolv/res_query.c: Likewise.
599         * resolv/res_send.c: Likewise.
601 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
603         * conform/data/stdio.h-data (fdopen): Expect also for
604         [XPG3 || XPG4].
606         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
607         (fseeko): Likewise.
608         (ftello): Likewise.
609         (ftrylockfile): Likewise.
610         (funlockfile): Likewise.
611         (getc_unlocked): Likewise.
612         (getchar_unlocked): Likewise.
613         (putc_unlocked): Likewise.
614         (putchar_unlocked): Likewise.
616 2016-04-27  Florian Weimer  <fweimer@redhat.com>
618         [BZ #19868]
619         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
620         DNS packet syntax checks (which were not needed before).  Skip
621         over non-PTR records.
623 2016-04-27  Florian Weimer  <fweimer@redhat.com>
625         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
626         definition.  Include <stddef.h> instead.
628 2016-04-27  Florian Weimer  <fweimer@redhat.com>
630         [BZ #19831]
631         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
632         function.
633         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
634         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
636 2016-04-27  Florian Weimer  <fweimer@redhat.com>
638         [BZ #19862]
639         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
640         (getanswer_r): Do not call syslog.
641         (gaih_getanswer_slice): Likewise.
642         * resolv/gethnamaddr.c (AskedForGot): Remove.
643         (getanswer): Do not call syslog.
644         (gethostbyaddr): Likewise.
646 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
648         * conform/data/signal.h-data (union sigval): Expect also if
649         [XOPEN2K].
650         (struct sigevent): Likewise.
651         (SIGEV_NONE): Likewise.
652         (SIGEV_SIGNAL): Likewise.
653         (SIGEV_THREAD): Likewise.
654         (SIGRTMIN): Likewise.
655         (SIGRTMAX): Likewise.
656         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
657         variable.
658         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
660 2016-04-27  Florian Weimer  <fweimer@redhat.com>
662         [BZ #19830]
663         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
664         (gaih_getanswer_slice): Likewise.
665         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
666         Also check for availability of RR metadata.
668 2016-04-27  Florian Weimer  <fweimer@redhat.com>
670         [BZ #19825]
671         * resolv/res_send.c (send_vc): Remove early *resplen2
672         initialization.  Set *resplen2 on socket error.  Call
673         close_and_return_error for other errors.
675 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
677         * sysdeps/unix/sysv/linux/netiucv/iucv.h
678         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
679         (SCM_IUCV_TRGCLS): New define.
681 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
683         [BZ #20005]
684         * libio/fmemopen.c (fmemopen_write): Update internal position after
685         write.
686         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
687         * stdio-common/tst-fmemopen4.c: New file..
689 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
691         [BZ #19996]
692         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
693         not [__USE_XOPEN2K].
694         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
695         variable.
697         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
698         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
699         variable.
701         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
702         [__USE_XOPEN2K8].
703         [__USE_LARGEFILE64] (off64_t): Likewise.
704         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
705         variable.
707 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
709         [BZ #19989]
710         * libio/stdio.h (cuserid): Do not declare if
711         [__USE_XOPEN2K && !__USE_GNU].
712         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
713         variable.
715 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
717         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
718         (sysdep_routines): Add P8 and PPC64 strcspn targets.
719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
720         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
721         ifunc'ed strcspn.
722         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
723         [EALIGN]: Removed.
724         [END]: Likewise
725         [STRSPN]: Define instead of the above to control symbol name.
726         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
727         New file.
728         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
729         Likewise.
730         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
731         Likewise.
732         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
733         Likewise.
734         * sysdeps/powerpc/powerpc64/power8/strspn.S:
735         [INITIAL_MASK]: New macro.
736         [STRCSPN]: Likewise.
737         [UPDATE_MASK]: Likewise.
738         [USE_AS_STRCSPN]: Lisewise.
740 2016-04-25  Florian Weimer  <fweimer@redhat.com>
742         [BZ #19931]
743         * stdio-common/tst-vfprintf-width-prec.c: New file.
744         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
745         (tests-special): Add tst-vfprintf-width-prec-mem.out.
746         (generated): Add mtrace-related files.
747         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
748         (tst-%-mem.out): New pattern rule, replaces
749         tst-printf-bz18872-mem.out.
750         * stdio-common/vfprintf.c (vfprintf): When handling a precision
751         specifier, deallocate any previously allocated work buffer.
753 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
755         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
756         Add nop before __startcontext, add explaining comments.
758 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
760         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
761         any more. Notably since IPV6_PKTINFO has been reintroduced with a
762         completely different API.
764         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
765         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
766         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
767         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
768         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
769         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
770         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
771         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
772         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
773         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
775 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
777         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
779 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
781         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
782         when it is the default of 0.
784 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
786         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
787         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
788         (sysdep_routines): Add new strcasestr targets.
789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
790         (__libc_ifunc_impl_list): Likewise.
791         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
792         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
793         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
794         * sysdeps/powerpc/powerpc64/power8/Makefile:
795         New file to add strcasestr-ppc64 to sysdep_routines.
796         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
797         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
799 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
801         * benchtests/Makefile (wcsmbs-benchset): Include only for
802         native builds and runs.
803         (LOCALES): Likewise.
804         (bench-build): Build timing-type here instead of the bench
805         target.  Generate locale only for native builds.
806         * benchtests/README: Add note for cross-building.
808         * benchtests/Makefile (bench-clean): Clean up extra-objs.
810         * benchtests/README: Update README to include instructions on
811         using bench-build.
813         * Makefile.in (bench-build): New target.
814         * Rules (PHONY): Add bench-build target.
815         * benchtests/Makefile (bench): Depend on bench-build.
816         (bench-build): New target.
818 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
820         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
821         profil_reply_port.
822         (profile_waiter): Do not initialize profil_reply_port.
823         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
824         frequency instead of tick length in us.
826 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
828         [BZ #18712]
829         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
830         (__old_mempcpy_small): Likewise.
831         (__old_strcpy_small): Likewise.
832         (__old_stpcpy_small): Likewise.
833         (__old_strpbrk_c2): Fix compat symbol name.
834         (__old_strpbrk_c3): Likewise.
835         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
836         (__mempcpy_small): Remove.
837         (__strcpy_small): Remove.
838         (__stpcpy_small): Remove.
840 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
842         [BZ #19400]
843         * locale/iso-639.def: Add the Talossan/tzl language.
845 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
847         [BZ #16983]
848         * locale/programs/ld-address.c (address_finish): Update postal_fmt
849         comment.  Add "ln" to strchr check on postal_fmt.
851 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
853         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
854         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
855         tel_dom_fmt.
857 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
859         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
860         (sysdep_routines): Added __strlen_power8.
861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
862         __strlen_power8 entry.
863         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
864         Implementation for POWER8.
865         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
866         for __strlen_power8.
867         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
868         Implementation for POWER8.
870 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
872         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
874 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
876         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
877         Goldmont and Airmont processors.
879 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
881         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
882         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
883         (__STRING2_SMALL_GET32): Remove.
884         (memset): Remove.
885         (__memset_1): Remove.
886         (__memset_gc): Remove.
887         (__mempcpy): Remove.
888         (mempcpy): Remove.
889         (__mempcpy_args): Remove.
890         (strchr): Remove.
891         (strcpy): Remove.
892         (strcpy_args): Remove.
893         (__stpcpy_args): Remove.
894         (__strcmp_cc): Remove.
895         (__strcmp_gc): Remove.
896         (strstr): Remove.
898 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
900         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
901         * nis/nis_call.c (nis_server_cache_add): Likewise.
903 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
905         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
907 2016-04-14  Florian Weimer  <fweimer@redhat.com>
909         * malloc/arena.c (__malloc_fork_lock_parent)
910         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
911         internal_function attribute.
913 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
915         * stdio-common/printf_fp.c (__printf_fp_l):
916         Rename ___printf_fp_l to __printf_fp_l and
917         remove strong alias. Use libc_hidden_def instead
918         of ldbl_hidden_def macro.
920 2016-04-14  Florian Weimer  <fweimer@redhat.com>
922         Remove malloc hooks from fork handler.  They are no longer needed
923         because malloc runs right before fork, and no malloc calls from
924         other fork handlers are not possible anymore.
925         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
926         declarations.
927         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
928         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
929         (atfork_recursive_cntr): Remove.
930         (__malloc_fork_lock_parent): Do not override malloc hooks and
931         thread_arena.
932         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
933         thread_arena.
934         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
935         thread_arena instead of save_arena.
937 2016-04-14  Florian Weimer  <fweimer@redhat.com>
939         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
940         (thread_atfork, thread_atfork_static): Remove.
941         * sysdeps/mach/hurd/malloc-machine.h:
942         (thread_atfork, thread_atfork_static): Remove.
944 2016-04-14  Florian Weimer  <fweimer@redhat.com>
946         [BZ #19431]
947         Run the malloc fork handler as late as possible to avoid deadlocks.
948         * malloc/malloc-internal.h: New file.
949         * malloc/malloc.c: Include it.
950         * malloc/arena.c (ATFORK_MEM): Remove.
951         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
952         Update comment.
953         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
954         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
955         Remove outdated comment.
956         (ptmalloc_init): Do not call thread_atfork.  Remove
957         thread_atfork_static.
958         * malloc/tst-malloc-fork-deadlock.c: New file.
959         * Makefile (tests): Add tst-malloc-fork-deadlock.
960         (tst-malloc-fork-deadlock): Link against libpthread.
961         * manual/memory.texi (Aligned Memory Blocks): Update safety
962         annotation comments.
963         * sysdeps/nptl/fork.c (__libc_fork): Call
964         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
965         __malloc_fork_unlock_child.
966         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
968 2016-04-14  Florian Weimer  <fweimer@redhat.com>
970         [BZ #19613]
971         Remove union wait.
972         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
973         (w_stopsig, w_stopval): Remove.
974         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
975         stat_loc argument.
976         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
977         (__WAIT_STATUS_DEFN): Remove.
978         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
979         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
980         (wait, wait3, wait4): Use int * for the stat_loc argument.
981         * posix/wait.c (__wait): Likewise.
982         * posix/wait3.c (__wait3): Likewise.
983         * posix/wait4.c (__wait4): Likewise.
984         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
985         (__WAIT_STATUS_DEFN): Remove.
986         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
987         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
988         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
989         argument.
990         * sysdeps/posix/wait.c (__libc_wait): Likewise.
991         * sysdeps/posix/wait3.c (__wait3): Likewise.
992         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
993         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
994         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
995         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
996         stat_loc argument.
997         * manual/process.texi (BSD Wait Functions): Remove union wait.
999 2016-04-13  Andreas Schwab  <schwab@suse.de>
1001         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1002         (test-extras): Add tst-tlsalign-vars.
1003         * math/Makefile: Wrap long lines.
1004         (libm-vec-test-wrappers): Define.
1005         (test-extras): Add $(libm-vec-test-wrappers).
1006         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1007         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1008         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1009         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1010         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1011         (extra-test-objs): Add corresponding objects.
1013 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1015         [BZ #19928]
1016         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1017         New.
1018         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1019         times of shared cache size.
1020         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1021         (VMOVNT): New.
1022         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1023         (VMOVNT): Likewise.
1024         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1025         (VMOVNT): Likewise.
1026         (VMOVU): Changed to movups for smaller code sizes.
1027         (VMOVA): Changed to movaps for smaller code sizes.
1028         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1029         comments.
1030         (PREFETCH): New.
1031         (PREFETCH_SIZE): Likewise.
1032         (PREFETCHED_LOAD_SIZE): Likewise.
1033         (PREFETCH_ONE_SET): Likewise.
1034         Rewrite to use forward and backward loops, which move 4 vector
1035         registers at a time, to support overlapping addresses and use
1036         non temporal store if size is above the threshold and there is
1037         no overlap between destination and source.
1039 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1041         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1042         Include dl-vdso.
1043         * sysdeps/unix/sysv/linux/mips/Versions: Add
1044         __vdso_clock_gettime.
1045         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1046         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1047         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1048         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1049         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1050         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1051         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1052         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1053         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1055 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1057         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1058         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1061         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1062         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1065         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1067         syscalls generation.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1069         [__NR_pwrite64] (__NR_write): Remove define.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1071         [__NR_pwrite64] (__NR_write): Remove define.
1072         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1073         Remove define.
1074         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1075         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1076         Remove define.
1077         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1078         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1079         Linux implementation as base.
1080         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1082         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1083         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1084         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1088         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1090         syscall generation.
1091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1092         [__NR_pread64] (__NR_pread): Remove define.
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1094         [__NR_pread64] (__NR_pread): Likewise.
1095         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1096         define.
1097         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1098         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1099         Remove define.
1100         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1101         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1102         Linux implementation as base.
1103         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1104         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1105         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1107         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1108         definition.
1109         (__ALIGNMENT_COUNT): Likewise.
1110         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1111         (__ALIGNMENT_COUNT): Likewise.
1112         (SYSCALL_LL): New define.
1113         (SYSCALL_LL64): Likewise.
1114         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1115         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1116         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1117         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1119         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1120         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1121         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1122         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1124         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1126 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1128         [BZ #19865]
1129         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1130         original buffer before retry.
1132 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1134         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1135         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1136         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1137         GLRO(dl_auxv) list.
1138         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1139         including <ldsodefs.h>.
1140         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1142 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1144         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1145         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1146         $(CPPFLAGS).
1148 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1150         [BZ #17950]
1151         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1152         Add -mfpmath=387.
1154 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1156         * sysdeps/i386/configure.ac: Change == to = when calling test.
1157         * sysdeps/x86_64/configure.ac: Likewise.
1158         * sysdeps/i386/configure: Regenerated.
1159         * sysdeps/x86_64/configure: Likewise.
1161 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1163         [BZ #16137]
1164         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1165         * benchtests/bench-strcoll.c (input_files): Likewise.
1166         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1167         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1168         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1170 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1172         [BZ #19929]
1173         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1174         [__USE_XOPEN2K8 && !__USE_GNU].
1175         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1176         variable.
1178         [BZ #19925]
1179         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1180         define if [!__USE_MISC && __USE_XOPEN2K].
1181         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1182         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1183         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1184         Likewise.
1185         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1186         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1187         variable.
1188         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1190 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1192         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1193         (sysdep_routines): Add new strspn targets.
1194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1195         (__libc_ifunc_impl_list): Add strspn.
1196         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1197         New file.
1198         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1199         Likewise.
1200         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1201         Likewise.
1202         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1203         Likewise.
1205 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1207         * misc/hsearch_r.c: Include <limits.h>.
1209 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1211         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1213 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1216         (MEMCPY_SYMBOL): New.
1217         (MEMPCPY_SYMBOL): Likewise.
1218         (MEMMOVE_CHK_SYMBOL): Likewise.
1219         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1220         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1221         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1222         Provide alias for memcpy in libc.a and ld.so.
1224 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1226         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1227         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1228         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1229         Disabled fro now.
1230         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1231         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1233 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1235         * benchtests/Makefile (string-benchset): Add memcpy-large,
1236         memmove-large and memset-large.
1237         * benchtests/bench-memcpy-large.c: New file.
1238         * benchtests/bench-memmove-large.c: Likewise.
1239         * benchtests/bench-memmove-large.c: Likewise.
1240         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1242 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1244         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1245         32-bit displacement to avoid long nop between instructions.
1247 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1249         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1250         a comment on VMOVU and VMOVA.
1252 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1254         [BZ #19633]
1255         Use specified locale for number formatting in strfmon_l.
1256         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1257         (__nl_lookup_word): New inline functions.
1258         * include/printf.h (__print_fp_l): Declare.
1259         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1260         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1261         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1262         (___printf_fp): New function.
1263         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1264         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1265         * stdlib/tst-strfmon_l.c (do_test): New test.
1266         * stdlib/Makefile (tests): Add kt.
1267         (LOCALES): Build additional locales.
1268         (tst-strfmon_l.out): Require locales.
1270 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1272         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1273         if not in libc.
1274         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1275         Likewise.
1276         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1277         Likewise.
1278         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1279         Likewise.
1281 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1283         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1284         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1285         with unaligned_erms.
1286         (__memmove_erms): Skip if source == destination.
1287         (__memmove_unaligned_erms): Don't check source == destination
1288         first.
1290 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1292         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1293         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1295 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1297         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1298         * string/strspn.c (strspn): Likewise.
1300 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1302         * benchtests/bench-memset.c (do_test): Support 64-byte
1303         alignment.
1304         (test_main): Test 64-byte alignment.
1306 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1308         * benchtests/bench-memmove.c (test_main): Test 64-byte
1309         alignment.
1311 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1313         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1315 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1317         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1318         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1319         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1321         * string/strpbrk.c (strpbrk): Rewrite function.
1322         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1323         (__strpbrk_c2): Likewise.
1324         (__strpbrk_c3): Likewise.
1325         * string/string-inlines.c
1326         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1327         Likewise.
1328         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1329         Likewise.
1331         * string/strspn.c (strcspn): Rewrite function.
1332         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1333         (__strspn_c1): Remove inline function.
1334         (__strspn_c2): Likewise.
1335         (__strspn_c3): Likewise.
1336         * string/string-inlines.c
1337         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1338         compatibility symbol.
1339         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1340         Likewise.
1341         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1342         Likewise.
1343         * string/string-inlines.c: Include generic version.
1345 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1346             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1348         * string/Version (libc): Add GLIBC_2.24.
1349         * string/strcspn.c (strcspn): Rewrite function.
1350         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1351         (__strcspn_c1): Remove inline function.
1352         (__strcspn_c2): Likewise.
1353         (__strcspn_c3): Likewise.
1354         * string/string-inline.c
1355         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1356         compatibility symbol.
1357         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1358         Likewise.
1359         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1360         Likewise.
1361         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1363 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1365         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1366         Use ahi instead of aghi to adjust stack pointer.
1368 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1370         [BZ #19853]
1371         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1372         TEST to take significant digits as second parameter.
1373         [TEST]: Redefine in terms of TEST_N taking 30
1374         significant digits.
1375         (do_test): Add test case to demonstrate precision
1376         failure in the ldbl-128ibm printf.
1377         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1378         (__mpn_extract_long_double): Carry 7 extra intermediate
1379         bits of precision to aide computing difference when
1380         signs differ.
1382 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1384         [BZ #19881]
1385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1386         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1387         memset-avx512-unaligned-erms.
1388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1389         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1390         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1391         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1392         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1393         __memset_sse2_unaligned_erms, __memset_erms,
1394         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1395         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1396         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1397         file.
1398         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1399         Likewise.
1400         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1401         Likewise.
1402         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1403         Likewise.
1405 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #19776]
1408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1409         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1410         memmove-avx512-unaligned-erms.
1411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1412         (__libc_ifunc_impl_list): Test
1413         __memmove_chk_avx512_unaligned_2,
1414         __memmove_chk_avx512_unaligned_erms,
1415         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1416         __memmove_chk_sse2_unaligned_2,
1417         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1418         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1419         __memmove_avx512_unaligned_erms, __memmove_erms,
1420         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1421         __memcpy_chk_avx512_unaligned_2,
1422         __memcpy_chk_avx512_unaligned_erms,
1423         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1424         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1425         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1426         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1427         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1428         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1429         __mempcpy_chk_avx512_unaligned_erms,
1430         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1431         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1432         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1433         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1434         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1435         __mempcpy_erms.
1436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1437         file.
1438         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1439         Likwise.
1440         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1441         Likwise.
1442         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1443         Likwise.
1445 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1447         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1448         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1449         (La_s390_64_regs): Likewise.
1450         (La_s390_32_retval): Append vector register lrv_v24.
1451         (La_s390_64_retval): Likeweise.
1452         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1453         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1454         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1455         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1457 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1459         [BZ #19916]
1460         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1461         to create a non-vector/vector version for _dl_runtime_resolve and
1462         _dl_runtime_profile. Move implementation to ...
1463         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1464         (_dl_runtime_resolve) Save and restore fpr/vrs.
1465         (_dl_runtime_profile) Save and restore vrs and fix some issues
1466         if _dl_call_pltexit is called.
1467         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1468         Choose the correct resolver function if running on a machine with vx.
1469         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1470         to create a non-vector/vector version for _dl_runtime_resolve and
1471         _dl_runtime_profile. Move implementation to ...
1472         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1473         (_dl_runtime_resolve) Save and restore fpr/vrs.
1474         (_dl_runtime_profile) Save and restore vrs and fix some issues
1475         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1476         Choose the correct resolver function if running on a machine with vx.
1478 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1480         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1482 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1484         [BZ #19509]
1485         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1486         skip_map != NULL.
1487         * elf/tst-dlsym-error.c: New file.
1488         * elf/Makefile (tests): Add tst-dlsym-error.
1489         (tst-dlsym-error): Link against libdl.
1491 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1494         (__ASSUME_FUTIMESAT): Remove macro.
1495         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1497 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1499         [BZ #19879]
1500         CVE-2016-3075
1501         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1502         copy name.
1504 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1506         [BZ #19837]
1507         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1508         error if parse_line fails.
1510 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1512         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1513         (index_cpu_ERMS): Likewise.
1514         (reg_ERMS): Likewise.
1516 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1518         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1519         PER_LINUX_FDPIC): Add.
1521 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1524         memcpy-avx512-no-vzeroupper.
1525         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1526         to ...
1527         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1528         (MEMCPY): Don't define.
1529         (MEMCPY_CHK): Likewise.
1530         (MEMPCPY): Likewise.
1531         (MEMPCPY_CHK): Likewise.
1532         (MEMPCPY_CHK): Renamed to ...
1533         (__mempcpy_chk_avx512_no_vzeroupper): This.
1534         (MEMPCPY_CHK): Renamed to ...
1535         (__mempcpy_chk_avx512_no_vzeroupper): This.
1536         (MEMCPY_CHK): Renamed to ...
1537         (__memmove_chk_avx512_no_vzeroupper): This.
1538         (MEMCPY): Renamed to ...
1539         (__memmove_avx512_no_vzeroupper): This.
1540         (__memcpy_avx512_no_vzeroupper): New alias.
1541         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1543 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1545         [BZ #18858]
1546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1547         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1548         and mempcpy-avx512-no-vzeroupper.
1549         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1550         New.
1551         (MEMPCPY): Likewise.
1552         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1553         (MEMPCPY_CHK): New.
1554         (MEMPCPY): Likewise.
1555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1556         (MEMPCPY): Likewise.
1557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1558         (MEMPCPY): Likewise.
1559         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1560         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1561         Likewise.
1562         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1563         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1565 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1566              Amit Pawar  <Amit.Pawar@amd.com>
1568         [BZ #19583]
1569         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1570         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1571         processors.  Set Fast_Copy_Backward for AMD Excavator
1572         processors.
1573         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1574         New.
1575         (index_arch_Fast_Unaligned_Copy): Likewise.
1576         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1577         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1579 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1581         [BZ #19791]
1582         * resolv/res_send.c (close_and_return_error): New function.
1583         (send_dg): Initialize *resplen2 after reopen failure.  Call
1584         close_and_return_error for error returns.  On error paths without
1585         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1586         successful return.
1588 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1590         [BZ# 19860]
1591         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1592         zero if the compiler does not provide the AVX512F bit.
1594 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1596         [BZ #19848]
1597         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1598         from 8 to 4.
1599         (__ieee754_powl): Compare integer exponent against 4 not 8.
1600         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1601         from 8 to 4.
1602         (__ieee754_powl): Compare integer exponent against 4 not 8.
1603         * math/auto-libm-test-in: Add more tests of pow.
1604         * math/auto-libm-test-out: Regenerated.
1605         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1608 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1610         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1611         Make code unconditional.
1612         [!__NR_utimensat]: Remove conditional code.
1613         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1614         Make code unconditional.
1615         [!__NR_utimensat]: Remove conditional code.
1616         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1617         Make code unconditional.
1618         [!__NR_utimensat]: Remove conditional code.
1620 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1622         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1623         Make code unconditional.
1625 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1627         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1628         call-clobbered %eax on retry path.
1629         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1631 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1633         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1634         Don't set %rcx twice before "rep movsb".
1636 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1638         [BZ #19583]
1639         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1640         inline.  Check family before setting family, model and
1641         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1642         bits here.
1643         (init_cpu_features): Replace HAS_CPU_FEATURE and
1644         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1645         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1646         for Intel processors with usable AVX2.  Call get_common_indeces
1647         for other processors with family == NULL.
1648         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1649         (CPU_FEATURES_ARCH_P): Likewise.
1650         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1651         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1653 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1655         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1656         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1657         $(shared-thread-library) instead of hardcoding the path to libpthread.
1659 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1661         * sysdeps/unix/sysv/linux/kernel-features.h
1662         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1663         * sysdeps/unix/sysv/linux/getdents.c
1664         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1665         [!have_no_getdents64_defined]: Likewise.
1666         (__GETDENTS): Remove __have_no_getdents64 conditional.
1668 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1671         Remove macro.
1672         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1673         <kernel-features.h>.
1674         (signalfd) [__NR_signalfd4]: Make code unconditional.
1675         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1677 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1679         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1680         style.
1682 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1684         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1685         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1686         __pthread_unwind.
1687         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1688         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1690         (__condvar_cleanup1): Likewise.
1692 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1694         [BZ #19822]
1695         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1696         move it to the final $@ location.
1698 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1700         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1701         access where posix_spawn success and pid argument is null.
1702         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1703         success case.
1705 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1707         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1709         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1711         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1712         and __fcntl.
1713         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1714         __fcntl only.
1715         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1716         adding attribute_hidden to __open and __fcntl.
1718         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1719         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1720         depend on libc-modules.h,
1721         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1723 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
1725         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1726         Remove macro.
1727         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1728         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1729         entry.
1731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1732         Remove macro.
1733         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1734         include <kernel-features.h>.
1735         [!__ASSUME_FALLOCATE]: Remove conditional code.
1736         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1738 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1740         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1741         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1742         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1743         (_ZGVdN4v_cos_avx2): Likewise.
1744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1745         (_ZGVdN4v_cos): Likewise.
1746         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1747         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1748         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1749         (_ZGVdN4v_exp_avx2): Likewise.
1750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1751         (_ZGVdN4v_exp): Likewise.
1752         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1753         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1754         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1755         (_ZGVdN4v_log_avx2): Likewise.
1756         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1757         (_ZGVdN4v_log): Likewise.
1758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1759         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1761         (_ZGVdN4vv_pow_avx2): Likewise.
1762         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1763         (_ZGVdN4vv_pow): Likewise.
1764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1765         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1767         (_ZGVdN4v_sin_avx2): Likewise.
1768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1769         (_ZGVdN4v_sin): Likewise.
1770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1771         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1772         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1773         (_ZGVdN4vvv_sincos_avx2): Likewise.
1774         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1775         (_ZGVdN4vvv_sincos): Likewise.
1776         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1777         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1778         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1779         (_ZGVbN4v_cosf_sse4): Likewise.
1780         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1781         (_ZGVdN8v_cosf_avx2): Likewise.
1782         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1783         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1784         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1785         (_ZGVbN4v_expf_sse4): Likewise.
1786         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1787         (_ZGVdN8v_expf_avx2): Likewise.
1788         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1789         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1791         (_ZGVbN4v_logf_sse4): Likewise.
1792         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1793         (_ZGVdN8v_logf_avx2): Likewise.
1794         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1795         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1796         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1797         (_ZGVbN4vv_powf_sse4): Likewise.
1798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1799         (_ZGVdN8vv_powf_avx2): Likewise.
1800         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1801         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1803         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1805         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1806         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1807         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1809         (_ZGVbN4v_sinf_sse4): Likewise.
1810         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1811         (_ZGVdN8v_sinf_avx2): Likewise.
1812         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1813         Use JUMPTARGET to call callee.
1814         (WRAPPER_IMPL_SSE2_ff): Likewise.
1815         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1816         (WRAPPER_IMPL_AVX): Likewise.
1817         (WRAPPER_IMPL_AVX_ff): Likewise.
1818         (WRAPPER_IMPL_AVX_fFF): Likewise.
1819         (WRAPPER_IMPL_AVX512): Likewise.
1820         (WRAPPER_IMPL_AVX512_ff): Likewise.
1821         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1822         Likewise.
1823         (WRAPPER_IMPL_SSE2_ff): Likewise.
1824         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1825         (WRAPPER_IMPL_AVX): Likewise.
1826         (WRAPPER_IMPL_AVX_ff): Likewise.
1827         (WRAPPER_IMPL_AVX_fFF): Likewise.
1828         (WRAPPER_IMPL_AVX512): Likewise.
1829         (WRAPPER_IMPL_AVX512_ff): Likewise.
1830         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1832 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1834         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1835         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1836         qualifier.
1837         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1838         internal_function qualifiers.
1840 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1842         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1843         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1844         * math/atest-exp.c (exp_mpn): Mark chk unused.
1845         * math/atest-exp2.c (exp_mpn): Likwise.
1846         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1847         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1849 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1851         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1852         Remove macro.
1853         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1854         <kernel-features.h>.
1855         [__NR_ppoll]: Make code unconditional.
1856         [!__ASSUME_PPOLL]: Remove conditional code.
1858         * sysdeps/unix/sysv/linux/kernel-features.h
1859         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1860         (__ASSUME_ACCEPT4): Likewise.
1861         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1862         Define.
1863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1864         Likewise.
1865         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1866         Likewise.
1867         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1868         Likewise.
1869         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1870         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1871         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1872         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1873         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1876         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1877         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1878         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1879         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1880         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1881         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1883         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1884         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1885         Likewise.
1886         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1887         Likewise.
1888         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1889         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1890         0x040300].
1891         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1892         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1894         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1895         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1896         0x030300].
1897         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1899         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1900         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1901         0x040300].
1902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1905         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1907         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1908         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1909         0x030300].
1910         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1911         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1912         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1913         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1915         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1916         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1917         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1918         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1919         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1920         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1921         0x040300].
1922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1924         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1925         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1928         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1929         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1931         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1932         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1933         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1934         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1936         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1937         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1939         Likewise.
1940         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1941         Likewise.
1943 2016-03-15  Andreas Schwab  <schwab@suse.de>
1945         [BZ #19257]
1946         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1947         statp->_u._ext.nscount as loop count.
1949 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1951         * math/test-signgam-finite-c99.c: Also #undef
1952         __LIBC_INTERNAL_MATH_INLINES.
1953         * math/test-signgam-main.c: Likewise.
1955 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1957         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1958         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1959         (MADV_FREE): Likewise.
1960         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1961         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1962         EPOLLEXCLUSIVE.
1964 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1966         * timezone/README: Remove mention of checktab.awk. Mention wiki
1967         SharedSourceFiles.
1969 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1971         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1972         WUNTRACED.
1974 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1976         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1977         order to match the type of p when calling atomic_exchange_acq().
1979 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1981         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1982         cfi_offset calls.
1983         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1984         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1985         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1986         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1987         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1989 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1991         * timezone/checktab.awk: Removed.
1993 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1995         * manual/math.texi (Errors in Math Functions): Document relaxed
1996         accuracy goals for IBM long double.
1997         * math/libm-test.inc (test_exceptions): Always allow spurious
1998         "underflow" and "inexact" exceptions for IBM long double.
2000 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2002         [BZ #19762]
2003         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2004         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2005         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2006         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2007         (bit_arch_*): This for feature array.
2008         (bit_*): Renamed to ...
2009         (bit_cpu_*): This for cpu array.
2010         (index_*): Renamed to ...
2011         (index_arch_*): This for feature array.
2012         (index_*): Renamed to ...
2013         (index_cpu_*): This for cpu array.
2014         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2015         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2016         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2017         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2018         bit_##name with index_cpu_##name and bit_cpu_##name.
2019         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2020         bit_##name with index_arch_##name and bit_arch_##name.
2022 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2024         [BZ #19792]
2025         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2026         Terminate FDE before return label.
2028 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2030         [BZ #19790]
2031         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2032         (rintl): Define as macro.
2033         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2034         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2035         of fesetround.  Ensure results are evaluated before end of scope.
2036         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2037         USE_AS_NEARBYINTL and include s_rintl.c.
2038         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2039         Disable exception traps in new environment.
2040         (libc_feholdsetround_ppc_ctx): Likewise.
2042 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2044         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2045         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2046         (tst_audit10_aux) [__AVX512F__]: ... here.
2048 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2050         * include/sys/auxv.h: New file.
2052 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2054         [BZ #19759]
2055         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2057 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2059         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2060         operand modifier.
2061         (feclearexcept): Likewise.
2063 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2065         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2066         to reflect the entire 32-bit HWCAP.
2067         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2068         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2070 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2072         [BZ #19783]
2073         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2074         $(test-via-rtld-prefix).
2075         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2077 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2079         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2080         union wait.  Report any non-zero exit status as error.
2082 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2084         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2085         configured with --enable-hardcoded-path-in-tests.
2087 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2089         [BZ #19677]
2090         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2091         (__ieee754_remainderl): Put zero low parts in canonical form.
2092         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2093         file.  Based on
2094         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2095         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2096         with wrapper round test-fmodrem-ldbl-128ibm.c.
2097         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2098         file.
2099         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2100         Likewise.
2101         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2102         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2104 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2106         [BZ #19610]
2107         * elf/ldconfig.c (opt_link): Update comment.
2108         (options): Update help string for option -X.
2109         (search_dir): Unlink stale symbolic link only if updating symbolic
2110         links.
2111         * elf/tst-ldconfig-X.sh: New file.
2112         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2113         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2115 2016-03-07  Andreas Schwab  <schwab@suse.de>
2117         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2118         needed arguments.
2120 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2122         [BZ #15333]
2123         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2124         to lstat64.
2126 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2128         * libio/filedoalloc.c (isatty): Remove.
2129         (local_isatty): Add comment.  Call __isatty directly.
2130         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2131         * libio/wfiledoalloc.c (isatty): Remove.
2132         (_IO_wfile_doallocate): Update comment.
2134 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2136         [BZ #19269]
2137         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2138         tst-audit4-aux.o.
2139         (tst-audit10): Depend on tst-audit10-aux.o.
2140         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2141         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2142         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2143         instead of inline AVX code.
2144         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2145         instead of inline AVX512 code.
2146         * sysdeps/x86_64/tst-audit4-aux.c: New file
2147         * sysdeps/x86_64/tst-audit10-aux.c: New file
2149         [BZ #19648]
2150         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2152 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2154         [BZ #14750]
2155         [BZ #10354]
2156         [BZ #18433]
2157         * include/sched.h (__clone): Add hidden prototype.
2158         (__clone2): Likewise.
2159         * include/unistd.h (__dup): Likewise.
2160         * posix/Makefile (tests): Add tst-spawn2.
2161         * posix/tst-spawn2.c: New file.
2162         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2163         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2164         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2165         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2166         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2167         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2168         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2169         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2170         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2171         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2172         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2174         Likewise.
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2176         Likewise.
2177         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2178         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2179         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2180         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2182         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2184         * sysdeps/unix/sysv/linux/nptl-signals.h
2185         (____nptl_is_internal_signal): New function.
2186         * sysdeps/unix/sysv/linux/spawni.c: New file.
2188         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2189         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2190         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2191         * posix/tst-execvp2.c (do_test): Likewise.
2192         * posix/tst-execvp3.c (do_test): Likewise.
2193         * posix/tst-execvp4.c (do_test): Likewise.
2194         * posix/tst-execvpe1.c: New file.
2195         * posix/tst-execvpe2.c: Likewise.
2196         * posix/tst-execvpe3.c: Likewise.
2197         * posix/tst-execvpe4.c: Likewise.
2198         * posix/tst-execvpe5.c: Likewise.
2199         * posix/tst-execvpe6.c: Likewise.
2201         [BZ #19534]
2202         * posix/execl.c (execl): Remove dynamic memory allocation.
2203         * posix/execle.c (execle): Likewise.
2204         * posix/execlp.c (execlp): Likewise.
2206 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2208         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2209         Replace .text with .text.avx512.
2210         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2211         Likewise.
2213 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2215         * sysdeps/generic/libnsl.abilist: New file.
2216         * sysdeps/generic/libutil.abilist: New file.
2218 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2220         [BZ #19762]
2221         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2222         HAS_ARCH_FEATURE with Fast_Rep_String.
2223         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2224         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2225         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2226         Likewise.
2227         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2228         Likewise.
2229         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2231         Likewise.
2232         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2233         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2234         Likewise.
2236 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2238         [BZ #19745]
2239         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2240         with *%rax in call.
2242 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2244         [BZ #19745]
2245         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2246         with *__libc_start_main@GOTPCREL(%rip) in call.
2248 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2250         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2251         inside conditional for nonempty $(CXX).
2253         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2254         nonempty.
2256         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2257         to test for empty $(CXX) rather than $(CXX) of "no".
2259 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2261         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2263 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2264             H.J. Lu  <hongjiu.lu@intel.com>
2266         [BZ #18880]
2267         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2268         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2269         enable __memcpy_ssse3_back.
2271 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2273         [BZ #19758]
2274         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2275         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2277 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2279         [BZ #19490]
2280         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2281         (__fentry__): Likewise.
2283 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2285         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2286         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2288 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2290         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2291         __mcount_internal directly.
2292         (C_LABEL(__fentry__)): Likewise.
2293         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2294         directly.
2296 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2298         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2299         (__start_context): Call __setcontext directly.
2301 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2304         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2305         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2306         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2308         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2309         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2310         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2311         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2312         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2313         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2314         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2315         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2316         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2317         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2318         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2319         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2321         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2322         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2323         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2324         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2325         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2326         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2327         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2328         Remove conditional code.
2329         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2330         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2331         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2332         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2333         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2334         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2335         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2336         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2337         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2338         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2339         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2340         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2342 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2344         * NEWS (2.23): Fix typo in bug 19048 text.
2346 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2348         [BZ #14259]
2349         * Makeconfig: Rename msgcatdir to localedir.
2350         Rename inst_msgcatdir to inst_localedir.
2351         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2352         * config.make.in: Add localedir.
2353         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2354         (ldd-rewrite): Likewise.
2355         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2356         (install-others): Use inst_localedir.
2357         (CPPFLAGS): Use localedir.
2358         * locale/Makefile (locale-CPPFLAGS): Likewise.
2359         * po/Makefile (mo-installed): Use inst_localedir.
2361         [BZ #19575]
2362         * localedata/charmaps/GB18030: Update comments regarding PAU to
2363         non-PUA mappings.
2365 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2367         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2368         test for header.
2369         * sysdeps/unix/sysv/linux/configure: Regenerated.
2370         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2371         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2372         Remove conditional code.
2373         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2375         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2376         Define to 3.2.0.
2377         (arch_minimum_kernel): Likewise.
2378         * sysdeps/unix/sysv/linux/configure: Regenerated.
2379         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2380         Define to 2.6.32.
2381         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2382         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2383         (arch_minimum_kernel): Define to 2.6.32.
2384         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2385         * README: Document Linux 3.2 requirement.
2386         * manual/install.texi (Linux): Document Linux 3.2 headers
2387         requirement.
2388         * INSTALL: Regenerated.
2390 2016-02-24  Andreas Schwab  <schwab@suse.de>
2392         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2393         if !NO_LONG_DOUBLE.
2395 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2397         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2398         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2400 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2402         [BZ #19512]
2403         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2405 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2407         * posix/tst-dir.c: Include libc-internal.h.
2409 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2411         [BZ #19056]
2412         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2413         * manual/filesys.texi (Reading/Closing Directory): Mention
2414         deprecaion.
2415         * posix/tst-dir.c (main): Disable deprecation warning in test.
2417 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2419         [BZ #19679]
2420         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2421         Renamed to ...
2422         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2423         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2424         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2425         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2426         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2427         * sysdeps/x86_64/dl-trampoline.h
2428         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2429         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2431 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2433         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2435 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2437         * elf/elf.h (R_386_GOT32X): New.
2438         (R_386_NUM): Update.
2439         (R_X86_64_GOTPCRELX: New.
2440         (R_X86_64_REX_GOTPCRELX): New.
2441         (R_X86_64_NUM): Update.
2443 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2445         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2447 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2449         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2450         assign attr->stackaddr to it, and adjust it down when
2451         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2452         [_STACK_GROWS_UP]: Delete assert.
2453         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2454         Implement stack grows up logic.
2455         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2456         stack grows up logic.
2458 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2460         * NEWS: Update with 2.24 template.
2462 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2464         [BZ #19678]
2465         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2466         Ensure +0.0 is returned when taking the next value below the least
2467         positive value.
2469 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2471         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2472         available.  Do not define NO_THREADS.
2473         * malloc/malloc.c: Do not check NO_THREADS.
2474         * malloc/arena.c: Likewise.
2476 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2478         * malloc/malloc.c (__libc_mallinfo): Update comment.
2479         (struct malloc_par): Remove max_total_mem member, it was always 0.
2480         (int_mallinfo): Store 0 into usmblks (no functional change).
2481         * malloc/hooks.c (struct malloc_state): Document that
2482         max_total_mem is always 0.
2483         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2484         always 0.
2485         * manual/memory.texi (Statistics of Malloc): Likewise.
2487 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2489         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2490         * malloc/arena.c (arena_max): Remove.
2491         (heap_trim, _int_new_arena): Do not update arena_max.
2493 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2495         * resolv/res_init.c (res_ninit): Update comment.
2497 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2499         [BZ #19505]
2500         * posix/spawn_int.h: Add headers and include guard.
2501         (__spawn_valid_fd): New function.
2502         * posix/spawn_faction_addopen.c
2503         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2504         * posix/spawn_faction_addclose.c
2505         (posix_spawn_file_actions_addclose): Likewise.
2506         * posix/spawn_faction_adddup2.c
2507         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2508         second file descriptor.
2509         * posix/spawn_valid_fd.c: New file.
2510         * posix/tst-posix_spawn-fd.c: New file.
2511         * posix/Makefile (routines): Add spawn_valid_fd.
2512         (tests): Add tst-posix_spawn-fd.
2514 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2516         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2517         (do_test): Limit the number of arenas, so that we can use fewer
2518         outer threads.  Limit timeout to 3 seconds, in preparation for a
2519         larger TIMEOUT value.
2521 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2523         [BZ #19674]
2524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2525         sign in overflowing and underflowing results when overflow or
2526         underflow is detected early.  Include sign in result before rather
2527         than after scaling.
2529         [BZ #19603]
2530         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2531         (__ieee754_remainderl): Adjust sign of integer version of low part
2532         when taking absolute value of high part.
2533         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2534         * math/libm-test.inc (remainder_test_data): Add another test.
2535         (remquo_test_data): Likewise.
2537 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2539         [BZ #19602]
2540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2541         equal high parts and both low parts zero specially.
2542         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2543         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2544         Add test-fmodl-ldbl-128ibm.
2546         [BZ #19595]
2547         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2548         common logic for all cases of shifting subnormal results.  Do not
2549         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2550         exponent to ldbl_insert_mantissa in subnormal case.
2552         [BZ #19594]
2553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2554         on high and low parts then adjust result and use
2555         ldbl_canonicalize_int if needed.
2557         [BZ #19593]
2558         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2559         on high part and __floor or __ceil on low part then use
2560         ldbl_canonicalize_int if needed.
2562         [BZ #19592]
2563         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2564         high and low parts then use ldbl_canonicalize_int if needed.
2566         [BZ #17899]
2567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2568         New function.
2569         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2570         on high and low parts then use ldbl_canonicalize_int if needed.
2572 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2574         * configure: Regenerated.
2576         * po/libc.pot: Regenerated.
2578         * po/be.po: Updated translation.
2579         * po/bg.po: Likewise.
2580         * po/ca.po: Likewise.
2581         * po/cs.po: Likewise.
2582         * po/da.po: Likewise.
2583         * po/el.po: Likewise.
2584         * po/eo.po: Likewise.
2585         * po/es.po: Likewise.
2586         * po/fi.po: Likewise.
2587         * po/fr.po: Likewise.
2588         * po/gl.po: Likewise.
2589         * po/hr.po: Likewise.
2590         * po/hu.po: Likewise.
2591         * po/ia.po: Likewise.
2592         * po/id.po: Likewise.
2593         * po/it.po: Likewise.
2594         * po/ja.po: Likewise.
2595         * po/lt.po: Likewise.
2596         * po/nb.po: Likewise.
2597         * po/nl.po: Likewise.
2598         * po/pt_BR.po: Likewise.
2599         * po/rw.po: Likewise.
2600         * po/sk.po: Likewise.
2601         * po/sl.po: Likewise.
2602         * po/sv.po: Likewise.
2603         * po/tr.po: Likewise.
2604         * po/zh_CN.po: Likewise.
2605         * po/zh_TW.po: Likewise.
2607         * version.h (RELEAES): Set to "development".
2608         (VERSION): Set to 2.23.90.
2610         * version.h (RELEASE): Set to "stable".
2611         (VERSION): Set to 2.23.
2612         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2614         * NEWS: Updated fixed bugs.
2616 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2617             Wilco Dijkstra  <wdijkstr@arm.com>
2619         [BZ #19462]
2620         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2621         (_STRING_INLINE_unaligned): This.
2622         * include/string.h: Include <string_private.h>.
2623         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2624         _STRING_INLINE_unaligned.
2625         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2626         (_STRING_INLINE_unaligned): New.
2627         * sysdeps/aarch64/string_private.h: New file.
2628         * sysdeps/generic/string_private.h: Likewise.
2629         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2630         * sysdeps/s390/string_private.h: Likewise.
2631         * sysdeps/x86/string_private.h: Likewise.
2632         * sysdeps/m68k/m680x0/m68020/bits/string.h
2633         (_STRING_ARCH_unaligned): Renamed to ...
2634         (_STRING_INLINE_unaligned): This.
2635         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2636         to ...
2637         (_STRING_INLINE_unaligned): This.
2638         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2639         to ...
2640         (_STRING_INLINE_unaligned): This.
2641         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2642         to ...
2643         (_STRING_INLINE_unaligned): This.
2645 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2646             H.J. Lu  <hongjiu.lu@intel.com>
2648         [BZ #19590]
2649         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2650         relocation.
2652 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2654         [BZ #18665]
2655         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2656         *herrno_p.
2657         (gaih_getanswer): Document functional behviour. Return tryagain
2658         if any result is tryagain.
2659         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2660         when freed.
2661         * resolv/res_send.c: Add copyright text.
2662         (__libc_res_nsend): Document that MAXPACKET is expected.
2663         (send_vc): Document. Remove buffer reuse.
2664         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2665         size of the buffer. Add Dprint for truncated UDP buffer.
2667 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2669         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2670         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2671         * INSTALL: Regenerate.
2673 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2674             Jonathan Wakely  <jwakely@redhat.com>
2675             Carlos O'Donell  <carlos@redhat.com>
2677         [BZ 19439]
2678         * math/Makefile (tests): Add test-math-isinff.
2679         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2680         * math/bits/mathcalls.h [__USE_MISC]: Use
2681         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2682         functions not in C++11 and which don't conflict e.g. isinff,
2683         isinfl etc.
2684         * math/test-math-isinff.cc: New file.
2686 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2688         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2690 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2692         [BZ #19529]
2693         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2695 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2697         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2699 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #19550]
2702         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2703         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2704         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2705         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2706         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2707         New syscall entry.
2708         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2709         New syscall entry.
2710         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2711         syscall entry.
2713 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
2715         [BZ #18240]
2716         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2717         unsigned int wraparound.
2719 2016-01-27  Florian Weimer  <fweimer@redhat.com>
2721         [BZ #18240]
2722         * misc/bug18240.c: New test.
2723         * misc/Makefile (tests): Add it.
2725 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
2726             Joseph Myers  <joseph@codesourcery.com>
2728         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2729         load in branch delay slot when less than a word of input left.
2731 2016-01-27  Andreas Schwab  <schwab@suse.de>
2733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2734         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2735         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2736         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2738 2016-01-26  David S. Miller  <davem@davemloft.net>
2740         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2742 2016-01-25  David S. Miller  <davem@davemloft.net>
2744         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2745         __sqrtl_finite.
2746         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2747         instead using versioned_symbol.
2748         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2749         of entries.
2751         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2752         __sqrtl_finite to GLIBC_2.23
2754 2016-01-25  Ricchard Henderson  <rth@redhat.com>
2756         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2758 2016-01-25  Andreas Schwab  <schwab@suse.de>
2760         [BZ #17514]
2761         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2762         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2763         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2764         * nptl/tst-mutex-errorcheck.c: New file.
2766 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2768         [BZ #18560]
2769         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2770         (IPCOP_semop): Likewise.
2771         (IPCOP_semget): Likewise.
2772         (IPCOP_semctl): Likewise.
2773         (IPCOP_msgsnd): Likewise.
2774         (IPCOP_msgrcv): Likewise.
2775         (IPCOP_msgget): Likewise.
2776         (IPCOP_msgctl): Likewise.
2777         (IPCOP_shmat): Likewise.
2778         (IPCOP_shmdt): Likewise.
2779         (IPCOP_shmget): Likewise.
2780         (IPCOP_shmctl): Likewise.
2782 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2784         * string/tst-endian.c: Include <libc-internal.h>.
2785         (do_test): Ignore tautological-compare warnings around
2786         "htobeXX (beXXtoh (i)) != i" and
2787         "htoleXX (leXXtoh (i)) != i" if-statements.
2789 2016-01-24  David S. Miller  <davem@davemloft.net>
2791         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2792         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2793         alias.
2794         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2795         __sqrtl_finite.
2797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2799 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2801         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2802         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2803         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2805 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2807         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2808         (thread_func): Use new function to simplify barrier check.
2809         (do_test): Use new function to simplify checking barrier exit
2810         code, and actually join the child thread.
2812 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2814         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2815         semicolon.
2816         (__libc_tend): Likewise.
2817         (__libc_tabort): Likewise.
2819 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2821         * sysdeps/nios2/libm-test-ulps: Update.
2822         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2823         (__gtsf2): Likewise.
2824         (__unorddf2): Likewise.
2825         (__unordsf2): Likewise.
2826         (__ledf2): Likewise.
2828 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2830         * nis/nis_table.c (__follow_path): Disable diagnostic for
2831         uninitialized variable that is a false positive for gcc 4.7.
2832         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2834 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2836         * sysdeps/nacl/lowlevellock-futex.h
2837         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2838         Always evaluate PRIVATE argument.
2840 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2842         [BZ #19490]
2843         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2844         (pthread_cond_broadcast): Use ENTRY/END
2845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2846         (pthread_cond_signal): Likewise.
2847         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2848         Likewise.
2849         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2850         Likewise.
2851         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2852         Likewise.
2854 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2856         * sysdeps/ieee754/dbl-64/s_finite.c
2857         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2858         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2859         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2861         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2864         (__gtsf2): Add as optional for libc.so.
2865         (__unordsf2): Likewise.
2866         (__signbit): Remove for libc.so.
2867         (__signbitl): Likewise.
2869 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2871         * iconvdata/bug-iconv11.c (test_ibm93x):
2872         Use %zu printf format specifier for size_t argument.
2874 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2876         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2877         already-recorded ulps.
2878         * sysdeps/arm/libm-test-ulps: Regenerated.
2879         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2880         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2881         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2883 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2884             Paul Pluzhnikov  <ppluzhnikov@google.com>
2886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2887         assembler not supporting AVX-512.
2889 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2891         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2893 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2895         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2896         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2898         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2900         * sysdeps/arm/libm-test-ulps: Regenerated.
2902 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2904         [BZ #19451]
2905         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2907 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2909         [BZ #19486]
2910         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2911         * sysdeps/generic/fix-fp-int-convert-overflow.h
2912         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2913         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2914         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2915         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2916         Likewise.
2917         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2918         Avoid conversions to long int where inexact exceptions
2919         could be raised.
2920         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2921         Likewise.
2922         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2923         Avoid conversions to long long int where inexact exceptions
2924         could be raised.
2925         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2926         Likewise.
2928 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2930         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2931         * configure: Regenerated.
2933 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2935         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2937 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2939         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2940         outside of comment.
2942 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2944         * nptl/tst-barrier1.c: Add description on first line.
2945         * nptl/tst-barrier2.c: Likewise.
2946         * nptl/tst-barrier3.c: Likewise.
2947         * nptl/tst-barrier4.c: Likewise.
2948         * nptl/tst-barrier5.c: Likewise.
2950 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2952         [BZ #18868]
2953         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2955 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2959         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2960         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2961         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2962         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2964         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2965         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2966         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2969 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2971         [BZ #13065]
2972         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2973         new implementation.
2974         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2975         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2976         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2977         (BARRIER_IN_THRESHOLD): New macro.
2978         * nptl/pthread_barrierattr_setpshared.c
2979         (pthread_barrierattr_setpshared): Clean up.
2980         * nptl/tst-barrier4.c: Correct comment.
2981         * nptl/tst-barrier5.c: New file.
2982         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2983         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2984         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2985         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2986         * nptl/lowlevelbarrier.sym: Remove.
2987         * nptl/DESIGN-barrier.txt: Remove.
2988         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2989         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2990         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2991         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2992         error.
2993         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2994         implementation.
2996 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2998         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2999         (do_child): Mask SIGRTMIN while thr is running.
3001 2016-01-15  Martin Sebor  <msebor@redhat.com>
3003         [BZ #19432]
3004         * iconvdata/Makefile: Add bug-iconv11.
3005         * iconvdata/bug-iconv11.c: New test.
3006         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3007         * iconvdata/ibm933.c: Same.
3008         * iconvdata/ibm935.c: Same.
3009         * iconvdata/ibm937.c: Same.
3010         * iconvdata/ibm939.c: Same.
3012 2016-01-15  Martin Sebor  <msebor@redhat.com>
3014         [BZ #19443]
3015         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3016         [DEBUG] (_ufc_set_bits): Declare used.
3017         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3018         [DEBUG] (print_all): Declare used.
3019         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3020         operands of the ternary ?: expression to target type.
3021         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3022         calling the undeclared abort.
3023         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3025 2016-01-15  Martin Sebor  <msebor@redhat.com>
3027         [BZ #18755]
3028         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3029         warnings.
3030         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3031         (__gai_create_helper_thread): Same.
3032         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3033         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3034         to suppress -Wmaybe-uninitialized warnings.
3036 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3038         [BZ #19465]
3039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3040         inside if.
3041         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3042         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3045 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3047         [BZ #19466]
3048         * time/tst-mktime2.c (time_t_max): Removed.
3049         (time_t_min): Likewise.
3050         (TYPE_SIGNED): New.
3051         (TYPE_MINIMUM): Likewise.
3052         (TYPE_MAXIMUM): Likewise.
3053         (TIME_T_MIN): Likewise.
3054         (TIME_T_MAX): Likewise.
3055         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3056         and TIME_T_MIN.
3057         (do_test): Likewise.
3059 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3061         [BZ #19467]
3062         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3063         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3065 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3067         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3069 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3071         * benchtests/Makefile (PYTHON): Define.
3072         (bench-func): Use $(PYTHON) to run python scripts.
3073         ($(objpfx)bench-%.c): Likewise.
3075 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3077         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3078         leading slash when `file_name' is "/".
3080 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3082         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3083         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3084         Likewise.
3085         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3086         Likewise.
3087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3088         Likewise.
3089         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3090         enum constant and macro.
3091         (PTRACE_SETSIGMASK): Likewise.
3092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3093         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3094         (PTRACE_GETSIGMASK): Likewise.
3095         (PTRACE_SETSIGMASK): Likewise.
3096         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3097         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3098         Likewise.
3099         (PTRACE_SETSIGMASK): Likewise.
3100         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3102         (PTRACE_GETSIGMASK): Likewise.
3103         (PTRACE_SETSIGMASK): Likewise.
3104         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3106         Likewise.
3107         (PTRACE_SETSIGMASK): Likewise.
3108         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3110         Likewise.
3111         (PTRACE_SETSIGMASK): Likewise.
3112         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3113         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3114         Likewise.
3115         (PTRACE_SETSIGMASK): Likewise.
3116         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3118 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3119             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3121         [BZ #19439]
3122         * math/bits/mathcalls.h
3123         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3124         prototype.
3125         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3127 2016-01-11  Andreas Schwab  <schwab@suse.de>
3129         [BZ #19253]
3130         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3131         cache when TZDEFRULES was used.
3132         * time/tst-tzname.c: New file.
3133         * time/Makefile (test): Add tst-tzname.
3134         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3135         * timezone/Makefile (test-zones): Add $(posixrules-file).
3136         ($(testdata)/$(posixrules-file)): New rule.
3138 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3140         Fix doc quoting problems with Texinfo 5
3141         Without this change, in the info file output, Texinfo 5 quotes code
3142         in text with undirected single quotes 'like this' and generates
3143         code examples that with many PDF readers cannot be cut out of PDFs
3144         and pasted into code.
3145         * manual/libc.texinfo: Configure the libc manual like the GNU
3146         Emacs manual, by using @documentencoding and setting
3147         txicodequoteundirected and txicodequotebacktick.  This way,
3148         Texinfo 5 quotes code in text with directed single quotes ‘like
3149         this’ and produces examples that can be cut out of PDFs.  This
3150         change causes Texinfo 5 to generate info files that contain UTF-8
3151         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3152         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3154 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3156         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3157         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3158         barriers to their respective compiler built-ins.
3159         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3160         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3161         * sysdeps/powerpc/sysdep.h: Likewise.
3162         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3163         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3164         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3166 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3168         * scripts/config.guess: Revert previous shebang change.
3169         * scripts/config.sub: Likewise.
3170         * scripts/mkinstalldirs: Likewise.
3172 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3174         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3175         PPC_FEATURE2_HAS_IEEE128.
3176         * sysdeps/powerpc/dl-procinfo.c:
3177         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3179 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3181         [BZ #19415]
3182         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3183         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3184         (_dl_lookup_address): Rewrite using function resolver trampoline.
3185         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3186         two bits in address.
3188 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3190         * longlong.h: Change !__SHMEDIA__ to
3191         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3192         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3194 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3195             Joseph Myers  <joseph@codesourcery.com>
3196             Mark Shinwell  <shinwell@codesourcery.com>
3197             Andrew Stubbs  <ams@codesourcery.com>
3198             Rich Felker <dalias@libc.org>
3200         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3202 2016-01-07  Richard Henderson  <rth@redhat.com>
3204         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3206 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3208         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3209         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3210         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3211         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3212         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3214 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3215             Joseph Myers  <joseph@codesourcery.com>
3217         * timezone/private.h: Update from tzcode 2015g.
3218         * timezone/tzfile.h: Likewise.
3219         * timezone/tzselect.ksh: Likewise.
3220         * timezone/zdump.c: Likewise.
3221         * timezone/zic.c: Likewise.
3222         * timezone/ialloc.c: Remove file.
3223         * timezone/scheck.c: Likewise.
3224         * timezone/Makefile (extra-objs): Remove variable.
3225         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3226         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3227         -Wno-maybe-uninitialized.
3228         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3229         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3230         (CFLAGS-ialloc.c): Remove variable.
3231         (CFLAGS-scheck.c): Likewise.
3232         * timezone/README: Update list of files from tzcode.
3234 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3236         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3237         instead of __fxprintf when _LIBC is undefined.
3239 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3241         * catgets/test-gencat.sh: Remove space after shebang.
3242         * conform/GlibcConform.pm: Likewise.
3243         * conform/check-header-lists.sh: Likewise.
3244         * conform/conformtest.pl: Likewise.
3245         * conform/linknamespace.pl: Likewise.
3246         * conform/list-header-symbols.pl: Likewise.
3247         * debug/catchsegv.sh: Likewise.
3248         * elf/genrtldtbl.awk: Likewise.
3249         * elf/tst-pathopt.sh: Likewise.
3250         * elf/tst-rtld-load-self.sh: Likewise.
3251         * grp/tst_fgetgrent.sh: Likewise.
3252         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3253         * iconvdata/gen-8bit-gap.sh: Likewise.
3254         * iconvdata/gen-8bit.sh: Likewise.
3255         * iconvdata/run-iconv-test.sh: Likewise.
3256         * intl/tst-gettext.sh: Likewise.
3257         * intl/tst-gettext2.sh: Likewise.
3258         * intl/tst-gettext4.sh: Likewise.
3259         * intl/tst-gettext6.sh: Likewise.
3260         * intl/tst-translit.sh: Likewise.
3261         * io/ftwtest-sh: Likewise.
3262         * libio/test-freopen.sh: Likewise.
3263         * locale/gen-translit.pl: Likewise.
3264         * malloc/tst-mtrace.sh: Likewise.
3265         * manual/check-safety.sh: Likewise.
3266         * manual/libc-texinfo.sh: Likewise.
3267         * manual/tsort.awk: Likewise.
3268         * manual/xtract-typefun.awk: Likewise.
3269         * nptl/tst-cancel-wrappers.sh: Likewise.
3270         * nptl/tst-tls6.sh: Likewise.
3271         * posix/globtest.sh: Likewise.
3272         * posix/tst-getconf.sh: Likewise.
3273         * posix/wordexp-tst.sh: Likewise.
3274         * scripts/check-c++-types.sh: Likewise.
3275         * scripts/check-local-headers.sh: Likewise.
3276         * scripts/config.guess: Likewise.
3277         * scripts/config.sub: Likewise.
3278         * scripts/cpp: Likewise.
3279         * scripts/cross-test-ssh.sh: Likewise.
3280         * scripts/documented.sh: Likewise.
3281         * scripts/evaluate-test.sh: Likewise.
3282         * scripts/gen-libc-abis: Likewise.
3283         * scripts/gen-sorted.awk: Likewise.
3284         * scripts/list-fixed-bugs.py: Likewise.
3285         * scripts/merge-test-results.sh: Likewise.
3286         * scripts/mkinstalldirs: Likewise.
3287         * scripts/rellns-sh: Likewise.
3288         * scripts/test-installation.pl: Likewise.
3289         * scripts/update-copyrights: Likewise.
3290         * stdio-common/tst-printf.sh: Likewise.
3291         * stdio-common/tst-unbputc.sh: Likewise.
3292         * stdlib/tst-fmtmsg.sh: Likewise.
3293         * stdlib/tst-setcontext3.sh: Likewise.
3294         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3295         * sysdeps/unix/make-syscalls.sh: Likewise.
3297 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3299         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3300         asm stw with atomic_exchange_rel.  Add explanatory comment.
3301         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3302         Likewise.
3304 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3306         [BZ #19122]
3307         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3308         * sysdeps/generic/dl-unistd.h: New file.
3309         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3311 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3313          [BZ #19122]
3314          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3315          * sysdeps/generic/dl-mman.h: New file.
3316          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3318 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3320         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3321         trailing whitespace removed.
3322         * scripts/config.guess: Update to version 2016-01-01.
3323         * scripts/config.sub: Update to version 2016-01-01.
3324         * scripts/move-if-change: Update from gnulib.
3326 2016-01-04  Anton Blanchard  <anton@samba.org>
3328         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3329         for array indices.
3330         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3332 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3334         * NEWS: Update copyright dates.
3335         * catgets/gencat.c (print_version): Likewise.
3336         * csu/version.c (banner): Likewise.
3337         * debug/catchsegv.sh: Likewise.
3338         * debug/pcprofiledump.c (print_version): Likewise.
3339         * debug/xtrace.sh (do_version): Likewise.
3340         * elf/ldconfig.c (print_version): Likewise.
3341         * elf/ldd.bash.in: Likewise.
3342         * elf/pldd.c (print_version): Likewise.
3343         * elf/sotruss.sh: Likewise.
3344         * elf/sprof.c (print_version): Likewise.
3345         * iconv/iconv_prog.c (print_version): Likewise.
3346         * iconv/iconvconfig.c (print_version): Likewise.
3347         * locale/programs/locale.c (print_version): Likewise.
3348         * locale/programs/localedef.c (print_version): Likewise.
3349         * login/programs/pt_chown.c (print_version): Likewise.
3350         * malloc/memusage.sh (do_version): Likewise.
3351         * malloc/memusagestat.c (print_version): Likewise.
3352         * malloc/mtrace.pl: Likewise.
3353         * manual/libc.texinfo: Likewise.
3354         * nptl/version.c (banner): Likewise.
3355         * nscd/nscd.c (print_version): Likewise.
3356         * nss/getent.c (print_version): Likewise.
3357         * nss/makedb.c (print_version): Likewise.
3358         * posix/getconf.c (main): Likewise.
3359         * scripts/test-installation.pl: Likewise.
3360         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3362         * All files with FSF copyright notices: Update copyright dates
3363         using scripts/update-copyrights.
3364         * intl/plural.c: Regenerated.
3365         * locale/programs/charmap-kw.h: Likewise.
3366         * locale/programs/locfile-kw.h: Likewise.
3368 2016-01-02  Helge Deller  <deller@gmx.de>
3370         [BZ #19285]
3371         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3372         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3373         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3374         (MADV_xxK_PAGES): Remove.
3376 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3378         [BZ #15421]
3379         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3380         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3381         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3382         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3384 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3386         [BZ #19408]
3387         * sysdeps/unix/sysv/linux/personality.c: New file.
3388         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3389         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3390         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3391         (sysdep_routines): Add personality.
3392         (tests): Add tst-personality.
3393         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3394         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3395         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3396         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3397         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3398         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3399         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3400         Likewise.
3401         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3402         Likewise.
3403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3404         Likewise.
3405         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3406         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3407         Likewise.
3409 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3411         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3412         (PATH_ARM_SYSTYPE): Remove.
3413         (PATH_CPUINFO): Likewise.
3414         (IO_BASE_FOOTBRIDGE): Likewise.
3415         (IO_SHIFT_FOOTBRIDGE): Likewise.
3416         (struct platform): Likewise.
3417         (init_iosys): Remove compatibility code for 2.4 kernels.
3418         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3420 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3422         * malloc/tst-malloc-thread-fail.c: New file.
3423         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3424         (tst-malloc-thread-fail): Link against libpthread.
3426 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3428         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3429         (get_parser): New function.
3430         (main): New function.
3432 2015-12-29  Rob Wu  <rob@robwu.nl>
3434         [BZ #19369]
3435         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3437 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3439         [BZ #19270]
3440         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3442 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3444         [BZ #15421]
3445         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3447 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3449         [BZ #13690]
3450         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3451         after releasing it.
3452         (__lll_robust_unlock): Likewise.
3453         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3454         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3455         (lll_robust_unlock): Likewise.
3456         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3457         Prevent warnings in callers.
3459 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3461         * malloc/arena.c (list_lock): Update comment.
3463 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3465         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3466         __parse_hwcap_and_convert_at_platform to libc.a.
3468 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3470         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3471         platform and feature support for POWER9.
3472         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3473         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3474         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3475         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3476         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3477         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3478         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3479         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3481 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3483         Harmonize generic stdio-lock support with nptl
3485         This fixes build when _IO_funlockfile is a macro, fixes build where
3486         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3487         stack unwind.
3489         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3490         _IO_release_lock ): Use cleanup attribute on new
3491         _IO_acquire_lock_file variable instead of assuming that
3492         _IO_release_lock will be called.
3493         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3494         _IO_acquire_lock_needs_exceptions_enabled.
3495         (_IO_acquire_lock_clear_flags2): New macro.
3497 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3499         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3501 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3503         [BZ #19182]
3504         * malloc/arena.c (list_lock): Document lock ordering requirements.
3505         (free_list_lock): New lock.
3506         (ptmalloc_lock_all): Comment on free_list_lock.
3507         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3508         (detach_arena): Update comment.  free_list_lock is now needed.
3509         (_int_new_arena): Use free_list_lock around detach_arena call.
3510         Acquire arena lock after list_lock.  Add comment, including FIXME
3511         about incorrect synchronization.
3512         (get_free_list): Switch to free_list_lock.
3513         (reused_arena): Acquire free_list_lock around detach_arena call
3514         and attached threads counter update.  Add two FIXMEs about
3515         incorrect synchronization.
3516         (arena_thread_freeres): Switch to free_list_lock.
3517         * malloc/malloc.c (struct malloc_state): Update comments to
3518         mention free_list_lock.
3520 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3522         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3523         Remove functions.
3524         (sloww, sloww1): Accept argument to offset quadrant.
3525         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3526         quadrant.
3527         (__sin, __cos): Consolidate common code into new functions.
3528         (reduce_sincos_1, do_sincos_1): New functions.
3529         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3531         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3532         code to new functions.
3533         (reduce_sincos_2, do_sincos_2): New functions.
3534         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3537         common code for sincos.
3538         (__cos) [!IN_SINCOS]: Likewise.
3539         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3540         New function.
3541         (__sincos): Use it.
3543 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3545         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3546         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3547         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3549 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3551         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3554         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3555         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3556         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3557         index_Prefer_No_VZEROUPPER): New feature.
3558         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3559         Prefer_No_VZEROUPPER for Knights Landing.
3561 015-12-18  Torvald Riegel  <triegel@redhat.com>
3563         * math/atest-exp2.c (mp_exp_m1): Remove.
3565 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3567         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3568         syscalls.
3569         (__SYSCALL0): New macro.
3570         (__SYSCALL1): Likewise.
3571         (__SYSCALL2): Likewise.
3572         (__SYSCALL3): Likewise.
3573         (__SYSCALL4): Likewise.
3574         (__SYSCALL5): Likewise.
3575         (__SYSCALL6): Likewise.
3576         (__SYSCALL_CONCAT_X): Likewise.
3577         (__SYSCALL_CONCAT): Likewise.
3578         (__SYSCALL_DIST): Likewise.
3579         (__SYSCALL_CALL): Likewise.
3581 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3583         [BZ #19363]
3584         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3586 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3588         [BZ #19375]
3589         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3590         negative subnormals.
3592 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3595         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3596         (INTERNAL_SYSCALL_NCS): Use it.
3597         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3599 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3601         [BZ #19243]
3602         * malloc/arena.c (get_free_list): Remove assert and adjust
3603         reference count handling.  Add comment about reused_arena
3604         interaction.
3605         (reused_arena): Add comments abount get_free_list interaction.
3606         * malloc/tst-malloc-thread-exit.c: New file.
3607         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3608         (tst-malloc-thread-exit): Link against libpthread.
3610 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3612         [BZ #19367]
3613         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3614         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3615         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3616         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3617         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3619 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3621         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3622         Silvermont optimizations for Knights Landing.
3624 2015-12-15  Andreas Schwab  <schwab@suse.de>
3626         [BZ #17197]
3627         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3628         immediately after emitting SI.
3629         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3630         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3631         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3632         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3633         * iconvdata/bug-iconv10.c: New file.
3634         * iconvdata/Makefile (tests): Add bug-iconv10.
3635         ($(objpfx)bug-iconv10.out): New rule.
3637 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3639         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3640         aliasing violation.
3642 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3644         [BZ #18472]
3645         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3646         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3647         conditionals for them.
3648         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3649         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3651         sys/kdaemon.h.
3652         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3653         compat-only syscall, obsoleted in glibc 2.23.
3654         (create_module): Likewise.
3655         (get_kernel_syms): Likewise.
3656         (query_module): Likewise.
3657         (uselib): Likewise.
3658         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3660 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3662         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3663         <linux/version.h>.
3664         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3665         conditional code.
3666         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3667         and ioshift_name initialization.
3669 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3672         Fix indentation.
3674 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3676         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3678 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3680         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3682 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3683             Jakub Wilk  <jwilk@debian.org>
3685         [BZ #19347]
3686         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3687         to change the group of the device to the tty group.
3689 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3691         Split large string section; add truncation advice
3692         * manual/examples/strncat.c: Remove.
3693         This example was misleading, as the code would have undefined
3694         behavior if "hello" was longer than SIZE.  Anyway, the manual
3695         shouldn't encourage strncpy+strncat for this sort of thing.
3696         * manual/string.texi (Copying Strings and Arrays): Split into
3697         three sections Copying Strings and Arrays, Concatenating Strings,
3698         and Truncating Strings, as this section was way too long.  All
3699         cross-referenced changed.  Add advice about string-truncation
3700         functions.  Remove misleading strncat example.
3702 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3704         * manual/nss.texi (NSS Modules Interface): Document
3705         NSS_STATUS_NOTFOUND and SUCCESS.
3707 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3709         [BZ 18568]
3710         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3711         201505L, for Unicode 8.
3713 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
3715         * locale/C-translit.h: Regenerate.
3717 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3719         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3720         and U+0153.
3722 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
3724         [BZ #19351]
3725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3726         expanding log(1+z), compare z rather than its square with epsilon
3727         to determine when to avoid evaluating the expansion.
3729         [BZ #19350]
3730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3731         Increase overflow threshold.
3733         [BZ #19349]
3734         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3735         when small.
3737         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3738         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3739         New macro.
3740         [__LINUX_KERNEL_VERSION >= 0x040300]
3741         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3743         Likewise.
3744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3745         Likewise.
3746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3747         Likewise.
3748         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3749         Likewise.
3750         [__LINUX_KERNEL_VERSION >= 0x040300]
3751         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3752         [__LINUX_KERNEL_VERSION >= 0x040300]
3753         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3754         [__LINUX_KERNEL_VERSION >= 0x040300]
3755         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3756         [__LINUX_KERNEL_VERSION >= 0x040300]
3757         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3758         [__LINUX_KERNEL_VERSION >= 0x040300]
3759         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3760         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3761         Likewise.
3762         [__LINUX_KERNEL_VERSION >= 0x040300]
3763         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3765         Likewise.
3766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3767         Likewise.
3768         [__LINUX_KERNEL_VERSION >= 0x040300]
3769         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3770         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3771         Likewise.
3772         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3773         Likewise.
3774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3776         Likewise.
3777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3778         Likewise.
3779         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3780         Likewise.
3781         [__LINUX_KERNEL_VERSION >= 0x040300]
3782         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3784         Likewise.
3785         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3786         Likewise.
3787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3788         Likewise.
3789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3790         Likewise.
3791         [__LINUX_KERNEL_VERSION >= 0x040300]
3792         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3793         [__LINUX_KERNEL_VERSION >= 0x040300]
3794         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3795         [__LINUX_KERNEL_VERSION >= 0x040300]
3796         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3797         [__LINUX_KERNEL_VERSION >= 0x040300]
3798         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3799         [__LINUX_KERNEL_VERSION >= 0x040300]
3800         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3801         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3802         Likewise.
3803         [__LINUX_KERNEL_VERSION >= 0x040300]
3804         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3806         Likewise.
3807         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3808         Likewise.
3809         [__LINUX_KERNEL_VERSION >= 0x040300]
3810         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3811         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3812         Likewise.
3813         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3814         Likewise.
3815         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3816         (__ASSUME_SOCKET_SYSCALL): Likewise.
3817         (__ASSUME_BIND_SYSCALL): Likewise.
3818         (__ASSUME_CONNECT_SYSCALL): Likewise.
3819         (__ASSUME_LISTEN_SYSCALL): Likewise.
3820         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3821         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3822         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3823         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3824         (__ASSUME_SEND_SYSCALL): Likewise.
3825         (__ASSUME_SENDTO_SYSCALL): Likewise.
3826         (__ASSUME_RECV_SYSCALL): Likewise.
3827         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3828         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3829         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3830         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3831         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3832         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3833         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3835         Likewise.
3836         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3837         Likewise.
3838         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3839         Likewise.
3840         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3841         Likewise.
3842         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3843         Likewise.
3844         [__LINUX_KERNEL_VERSION >= 0x020625]
3845         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3846         [__LINUX_KERNEL_VERSION >= 0x020625]
3847         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3848         [__LINUX_KERNEL_VERSION >= 0x020625]
3849         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3850         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3851         Likewise.
3852         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3853         Likewise.
3854         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3855         Likewise.
3856         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3857         Likewise.
3858         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3859         Likewise.
3860         [__LINUX_KERNEL_VERSION >= 0x020625]
3861         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3862         [__LINUX_KERNEL_VERSION >= 0x020625]
3863         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3864         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3865         Likewise.
3866         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3867         Likewise.
3869 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3871         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3872         record the current if the current ABI and CPU support the FP64
3873         extension.
3874         (has-modd-spreg): Define to record the current if the current ABI and
3875         CPU support 32-bit floating point values in odd FPU registers.
3876         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3877         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3878         $(has-modd-spreg) equals yes.
3879         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3880         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3881         $(has-modd-spreg) equal yes.
3883 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3885         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3886         basename.
3888 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3890         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3891         (bench-string): ... here.
3892         (bench): Add bench-string.
3893         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3894         to *-benchset to reflect what they are.
3895         (benchset): Adjust.
3897         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3898         cos-inputs.
3900 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3902         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3903         __attribute__ ((__simd__)) for vector math function declarations.
3905 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3907         Fix typo in strncat, wcsncat manual entries
3908         * manual/string.texi (Copying and Concatenation): Fix typos in
3909         sample implementations of strncat and wcsncat, by having them use
3910         the old value of the destination length, not the new one.
3912 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3914         [BZ #16961]
3915         [BZ #16962]
3916         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3917         string on the stack for strtod.
3918         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3919         a string on the stack for strtof.
3920         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3921         constructing a string on the stack for strtold.
3922         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3923         __strtold_nan to GLIBC_PRIVATE.
3924         * math/test-nan-overflow.c: New file.
3925         * math/test-nan-payload.c: Likewise.
3926         * math/Makefile (tests): Add test-nan-overflow and
3927         test-nan-payload.
3929 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3931         Consistency about byte vs character in string.texi
3932         * manual/string.texi (String and Array Utilities):
3933         Distinguish more carefully among bytes, multibyte characters,
3934         and wide characters.  Use "byte" when talking about C 'char',
3935         to distinguish it more clearly from multibyte characters.
3936         Say "wide character" or "multibyte character" instead of
3937         "character", when a wide or multibyte character is intended.
3938         Similarly for "multibyte string" versus "string".
3939         Define these terms more carefully.
3941 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3943         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3944         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3945         Likewise.
3946         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3947         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3948         * sysdeps/sh/math_private.h: New file.
3949         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3950         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3951         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3952         long double function name.
3953         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3954         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3955         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3957         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3959         Remove __finitel, __isinfl, and __isnanl.
3960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3961         Likewise.
3962         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3964         Remove __finitel.
3965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3966         Likewise.
3967         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3969 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3971         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3972         installed libmvec_nonshared.a.
3974 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3976         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3977         (sysdep_routines): Likewise.
3978         (sysdep-rtld-routines): Likewise.
3979         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3980         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3981         * sysdeps/powerpc/Versions: Added new
3982         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3983         * sysdeps/powerpc/hwcapinfo.c: New file.
3984         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3985         and parse hwcap, hwcap2 and platform number information.
3986         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3987         to store HWCAP+HWCAP2 and platform number.
3988         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3989         for HWCAP+HWCAP2 and platform number in the TCB.
3990         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3991         the HWCAP, HWCAP2 and platform number in the TCB.
3992         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3993         (TLS_INIT_TP): Included calls to add the hwcap and
3994         at_platform values in the TCB in TP initialization.
3995         (TLS_DEFINE_INIT_TP): Likewise.
3996         (THREAD_GET_HWCAP): New macro.
3997         (THREAD_SET_HWCAP): Likewise.
3998         (THREAD_GET_AT_PLATFORM): Likewise.
3999         (THREAD_SET_AT_PLATFORM): Likewise.
4000         * sysdeps/powerpc/powerpc32/dl-machine.h:
4001         (dl_platform_init): New function that calls
4002         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4003         powerpc32.
4004         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4005         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4006         this functionality, static linking case.
4007         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4008         linking case.
4009         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4010         __parse_hwcap_and_convert_at_platform for the static linking case.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4012         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4013         ABI list for GLIBC 2.23.
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4015         Likewise.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4017         Likewise.
4019 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4021         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4022         * configure: Regenerate.
4023         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4024         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4026 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4028         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4029         * iconvdata/ibm933.c: Likewise.
4030         * iconvdata/ibm935.c: Likewise.
4031         * iconvdata/ibm937.c: Likewise.
4032         * iconvdata/ibm939.c: Likewise.
4034 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4036         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4037         pthread_join.
4038         * nptl/tst-cancel21.c (tf): Likewise.
4040 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4042         [BZ #19313]
4043         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4044         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4045         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4046         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4047         Likewise.
4048         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4049         Likewise.
4050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4053         Likewise.
4054         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4055         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4056         unsigned long int with __CPU_MASK_TYPE.
4058 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4060         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4062 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4064         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4065         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4066         t512.x.
4067         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4069 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4071         [BZ #19214]
4072         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4073         argument to return extended model.  Update family and model
4074         with extended family and model when family == 0x0f.
4075         (init_cpu_features): Updated.
4077 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4079         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4080         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4082         * sysdeps/mach/hurd/mmap64.c: New file.
4084 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4086         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4087         rights for its main user thread in NEWTASK.
4089 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4091         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4092         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4094 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4096         [BZ #14259]
4097         * Makeconfig: Rename localedir to complocaledir.
4098         Rename inst_localedir to inst_complocaledir.
4099         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4100         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4101         * configure.ac: Use libc_cv_complocaledir.
4102         * configure: Regenerate.
4103         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4104         -DCOMPLOCALEDIR.
4105         * locale/findlocale.c: Use COMPLOCALEDIR.
4106         * locale/loadarchive.c: Likewise.
4107         * locale/programs/locale.c: Likewise.
4108         * locale/programs/localedef.c: Likewise.
4109         * locale/programs/locarchive.c: Likewise.
4110         * localedata/Makefile: Use inst_complocaledir.
4111         * sysdeps/gnu/configure: Regenerate.
4112         * sysdeps/hppa/configure: Regenerate.
4113         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4114         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4116         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4117         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4118         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4119         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4121 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4123         [BZ #19058]
4124         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4125         AS_NEEDED.
4126         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4127         workaround.
4128         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4129         libmvec-static-only-routines): Added new file.
4130         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4132 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4134         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4135         of interrupted RPC instead of restoring it.
4137         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4138         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4139         libc_hidden_def.
4140         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4141         into initialized data instead of common. Define rtld_hidden_data_def.
4142         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4143         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4144         libc_hidden_def.
4145         (if_freenameindex): Add libc_hidden_weak.
4146         (if_nameindex): Add libc_hidden_weak.
4147         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4148         __open64.
4149         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4150         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4151         * sysdeps/mach/nanosleep.c: Include <time.h>
4152         (__nanosleep): Rename to __libc_nanosleep.
4153         (__nanosleep): Add weak_alias.
4154         (nanosleep): Update alias.
4156 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4158         * stdlib/strtod_nan.c: New file.
4159         * stdlib/strtod_nan_double.h: Likewise.
4160         * stdlib/strtod_nan_float.h: Likewise.
4161         * stdlib/strtod_nan_main.c: Likewise.
4162         * stdlib/strtod_nan_narrow.h: Likewise.
4163         * stdlib/strtod_nan_wide.h: Likewise.
4164         * stdlib/strtof_nan.c: Likewise.
4165         * stdlib/strtold_nan.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4167         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4168         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4169         * wcsmbs/wcstod_nan.c: Likewise.
4170         * wcsmbs/wcstof_nan.c: Likewise.
4171         * wcsmbs/wcstold_nan.c: Likewise.
4172         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4173         strtold_nan.
4174         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4175         wcstof_nan.
4176         * include/stdlib.h (__strtof_nan): Declare and use
4177         libc_hidden_proto.
4178         (__strtod_nan): Likewise.
4179         (__strtold_nan): Likewise.
4180         (__wcstof_nan): Likewise.
4181         (__wcstod_nan): Likewise.
4182         (__wcstold_nan): Likewise.
4183         * include/wchar.h (____wcstoull_l_internal): Declare.
4184         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4185         (____strtoull_l_internal): Remove declaration.
4186         (STRTOF_NAN): Define macro.
4187         (SET_MANTISSA): Remove macro.
4188         (STRTOULL): Likewise.
4189         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4190         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4191         (STRTOF_NAN): Define macro.
4192         (SET_MANTISSA): Remove macro.
4193         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4194         (SET_MANTISSA): Remove macro.
4195         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4196         macro.
4197         (SET_MANTISSA): Remove macro.
4198         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4199         macro.
4200         (SET_MANTISSA): Remove macro.
4201         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4202         (SET_MANTISSA): Remove macro.
4203         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4204         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4205         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4207         [BZ #19266]
4208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4209         upper case and lower case letters inside NAN(), not using TOLOWER.
4210         * stdlib/tst-strtod-nan-locale-main.c: New file.
4211         * stdlib/tst-strtod-nan-locale.c: Likewise.
4212         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4213         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4214         Depend on $(gen-locales).
4215         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4216         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4217         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4218         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4219         Depend on $(gen-locales).
4220         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4222 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4224         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4226         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4228         __finitel, __isinfl, and __isnanl.
4229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4230         Likewise.
4231         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4233         __finitel.
4234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4235         Likewise.
4236         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4238 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4240         * malloc/memusage.c (me): Remove redundant getenv call.
4242 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4244         [BZ #19143]
4245         [BZ #19164]
4246         * nptl/check-cpuset.h: Remove.
4247         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4248         Remove CPU set size check.
4249         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4250         Likewise.
4251         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4252         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4253         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4254         (__pthread_setaffinity_new): Remove CPU set size check.
4255         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4256         (__kernel_cpumask_size): Remove.
4257         (__sched_setaffinity_new): Remove CPU set size check.
4258         * manual/threads.texi (Default Thread Attributes): Remove stale
4259         reference to check_cpuset_attr, determine_cpumask_size in comment.
4260         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4261         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4262         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4263         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4264         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4265         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4266         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4267         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4268         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4269         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4270         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4271         skeleton test file.
4272         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4273         tst-affinity-pid.
4275 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4277         * scripts/update-abilist.sh: New file.
4278         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4279         * Makerules (update-all-abi-%, update-all-abi)
4280         (subdir_update-all-abi): New targets.
4281         * elf/Makefile (update-all-abi): New target.
4283 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4285         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4286         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4287         (__libc_lock_define_initialized): Use it.
4288         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4289         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4290         * malloc/malloc.c (main_arena): Likewise.
4291         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4292         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4294 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4296         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4297         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4298         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4299         (PTRACE_O_MASK): Update value.
4300         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4301         New value in enum __ptrace_setoptions.
4302         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4303         (PTRACE_O_MASK): Update value.
4304         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4305         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4306         (PTRACE_O_MASK): Update value.
4307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4308         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4309         (PTRACE_O_MASK): Update value.
4310         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4311         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4312         (PTRACE_O_MASK): Update value.
4313         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4314         New value in enum __ptrace_setoptions.
4315         (PTRACE_O_MASK): Update value.
4316         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4317         New value in enum __ptrace_setoptions.
4318         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4319         (PTRACE_O_MASK): Update value.
4321         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4322         New macro.
4323         (PACKET_AUXDATA): Likewise.
4324         (PACKET_ORIGDEV): Likewise.
4325         (PACKET_VERSION): Likewise.
4326         (PACKET_HDRLEN): Likewise.
4327         (PACKET_RESERVE): Likewise.
4328         (PACKET_TX_RING): Likewise.
4329         (PACKET_LOSS): Likewise.
4330         (PACKET_VNET_HDR): Likewise.
4331         (PACKET_TX_TIMESTAMP): Likewise.
4332         (PACKET_TIMESTAMP): Likewise.
4333         (PACKET_FANOUT): Likewise.
4334         (PACKET_TX_HAS_OFF): Likewise.
4335         (PACKET_QDISC_BYPASS): Likewise.
4336         (PACKET_ROLLOVER_STATS): Likewise.
4337         (PACKET_FANOUT_DATA): Likewise.
4338         (PACKET_MR_UNICAST): Likewise.
4340         [BZ #19242]
4341         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4342         (TOUPPER): Likewise.
4343         * stdlib/tst-strtol-locale-main.c: New file.
4344         * stdlib/tst-strtol-locale.c: Likewise.
4345         * stdlib/Makefile (tests): Add tst-strtol-locale.
4346         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4347         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4348         Depend on $(gen-locales).
4349         * wcsmbs/tst-wcstol-locale.c: New file.
4350         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4351         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4352         tr_TR.ISO-8859-9.
4353         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4354         Depend on $(gen-locales).
4356 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4358         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4359         __glibc_likely instead of __builtin_expect.  After falling back to
4360         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4361         system interface to register the code pages as occupied.
4363 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4365         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4366         [!ARM_MATH_PRIVATE_H].
4367         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4368         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4369         [!HPPA_MATH_PRIVATE_H].
4370         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4371         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4372         to [!I386_MATH_PRIVATE_H].
4373         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4374         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4375         Change guard to [!M68K_MATH_PRIVATE_H].
4376         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4377         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4378         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4379         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4380         macro.
4381         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4382         [!MIPS_MATH_PRIVATE_H].
4383         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4384         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4385         [!NIO2_MATH_PRIVATE_H].
4386         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4387         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4388         [!TILE_MATH_PRIVATE_H].
4389         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4391         [BZ #15421]
4392         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4393         initialize with 0 and define as weak alias of __signgam.
4394         * include/math.h [!_ISOMAC] (__signgam): Declare.
4395         * math/Makefile (libm-calls): Add w_lgamma_compat.
4396         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4397         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4398         test-signgam-ullong-init.
4399         (tests-static): Add test-signgam-uchar-static,
4400         test-signgam-uchar-init-static, test-signgam-uint-static,
4401         test-signgam-uint-init-static, test-signgam-ullong-static and
4402         test-signgam-ullong-init-static.
4403         (CFLAGS-test-signgam-uchar.c): New variable.
4404         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4405         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4406         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4407         (CFLAGS-test-signgam-uint.c): Likewise.
4408         (CFLAGS-test-signgam-uint-init.c): Likewise.
4409         (CFLAGS-test-signgam-uint-static.c): Likewise.
4410         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4411         (CFLAGS-test-signgam-ullong.c): Likewise.
4412         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4413         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4414         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4415         * math/Versions (libm): Add GLIBC_2.23.
4416         * math/lgamma-compat.h: New file.
4417         * math/test-signgam-main.c: Likewise.
4418         * math/test-signgam-uchar-init-static.c: Likewise.
4419         * math/test-signgam-uchar-init.c: Likewise.
4420         * math/test-signgam-uchar-static.c: Likewise.
4421         * math/test-signgam-uchar.c: Likewise.
4422         * math/test-signgam-uint-init-static.c: Likewise.
4423         * math/test-signgam-uint-init.c: Likewise.
4424         * math/test-signgam-uint-static.c: Likewise.
4425         * math/test-signgam-uint.c: Likewise.
4426         * math/test-signgam-ullong-init-static.c: Likewise.
4427         * math/test-signgam-ullong-init.c: Likewise.
4428         * math/test-signgam-ullong-static.c: Likewise.
4429         * math/test-signgam-ullong.c: Likewise.
4430         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4431         wrapper of w_lgamma_main.c.
4432         * math/w_lgamma_compat.c: New file.
4433         * math/w_lgamma_compatf.c: Likewise.
4434         * math/w_lgamma_compatl.c: Likewise.
4435         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4436         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4437         defining compatibility symbols.
4438         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4439         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4440         wrapper of w_lgammaf_main.c.
4441         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4442         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4443         defining compatibility symbols.
4444         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4445         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4446         wrapper of w_lgammal_main.c.
4447         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4448         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4449         defining compatibility symbols.
4450         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4451         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4452         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4453         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4454         <lgamma-compat.h>.
4455         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4456         (__ieee754_gamma): Define as alias.
4457         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4458         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4459         <lgamma-compat.h>.
4460         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4461         (__ieee754_gammaf): Define as alias.
4462         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4463         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4464         <lgamma-compat.h>.
4465         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4466         (__ieee754_gammal): Define as alias.
4467         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4468         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4469         <math/w_lgamma_compat.c>.
4470         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4471         Define as alias of __lgamma_compat and use in defining lgammal.
4472         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4473         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4474         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4475         (USE_AS_COMPAT): New macro.
4476         (LGAMMA_OLD_VER): Undefine and redefine.
4477         (lgammal): Do not define here.
4478         (gammal): Only define here if [GAMMA_ALIAS].
4479         * conform/linknamespace.pl (@whitelist): Remove signgam.
4480         * sysdeps/nacl/libm.abilist: Update.
4481         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4483         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4484         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4485         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4488         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4490         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4491         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4494         Likewise.
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4496         Likewise.
4497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4511         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4512         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4514 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4516         [BZ #16364]
4517         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4518         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4520 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4522         * sysdeps/s390/fpu/bits/mathinline.h:
4523         Use __asm__ [__volatile__] instead of asm [volatile].
4524         * sysdeps/s390/abort-instr.h: Likewise.
4525         * sysdeps/s390/atomic-machine.h: Likewise.
4526         * sysdeps/s390/bits/string.h: Likewise.
4527         * sysdeps/s390/dl-tls.h: Likewise.
4528         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4529         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4530         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4531         * sysdeps/s390/fpu/fesetround.c: Likewise.
4532         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4533         * sysdeps/s390/fpu/s_fma.c: Likewise.
4534         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4535         * sysdeps/s390/memusage.h: Likewise.
4536         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4537         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4538         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4539         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4540         * sysdeps/s390/nptl/tls.h: Likewise.
4541         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4542         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4543         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4544         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4545         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4546         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4547         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4548         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4549         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4550         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4551         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4552         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4553         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4554         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4555         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4556         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4557         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4558         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4559         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4560         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4561         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4562         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4563         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4565 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4566             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4568         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4569         Add lwarx hint, and use macro for acquire instruction.
4570         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4571         Likewise.
4572         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4573         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4574         update to use new atomic macros.
4576 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4578         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4579         (__lll_trylock_elision): Fix setting of adapt_count.
4580         * sysdeps/unix/sysv/linux/powerpc/htm.h
4581         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4582         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4583         (_ABORT_SYSCALL): Renumber, and clarify definition.
4584         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4586 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4588         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4589         after system headers to prevent MIN/MAX redefinition.  Define
4590         HAVE_ALLOCA to preserve builtin alloca usage.
4592 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4594         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4595         static and don't set or restore rounding.
4596         (__cos)[IN_SINCOS]: Likewise.
4597         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4598         (__sincos): Set and restore rounding mode.  Remove check for infinite
4599         or NaN input.
4601         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4603         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4604         as used.
4606 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4608         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4610 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4612         * config.make.in (have-glob-dat-reloc): New.
4613         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4614         target supports GLOB_DAT relocaton. AC_SUBST.
4615         * configure: Regenerated.
4616         * elf/Makefile (tests): Add tst-prelink.
4617         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4618         (tst-prelink-ENV): New.
4619         ($(objpfx)tst-prelink-conflict.out): Likewise.
4620         ($(objpfx)tst-prelink-cmp.out): Likewise.
4621         * sysdeps/x86/tst-prelink.c: Moved to ...
4622         * elf/tst-prelink.c: Here.
4623         * sysdeps/x86/tst-prelink.exp: Moved to ...
4624         * elf/tst-prelink.exp: Here.
4625         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4626         (tst-prelink-ENV): Removed.
4627         ($(objpfx)tst-prelink-conflict.out): Likewise.
4628         ($(objpfx)tst-prelink-cmp.out): Likewise.
4629         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4631 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4633         [BZ #14551]
4634         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4635         (__mpn_construct_long_double): If high part overflows to infinity,
4636         set errno and recompute overflowed result of the correct sign.
4637         * sysdeps/ieee754/ldbl-128ibm/Makefile
4638         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4639         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4640         $(libm).
4641         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4643 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4645         [BZ #15479]
4646         [BZ #19238]
4647         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4648         floating-point state after first operation on input.  Restore full
4649         state rather than just rounding mode.
4650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4651         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4652         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4654         [BZ #19235]
4655         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4656         add 0.5 to integer arguments.
4657         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4658         Likewise.
4659         (.LC2): New object.
4661 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4663         * scripts/pylintrc (reports): Set to no.
4665 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4667         * elf/dl-load.c (open_verify): Take new argument FD.
4668         Skip __open call if passed FD is not -1.
4669         (_dl_map_object, open_path): Update callers.
4670         * elf/dl-sysdep-open.h: New file.
4671         * elf/dl-load.c: Include it.
4672         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4673         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4674         * sysdeps/nacl/dl-sysdep-open.h: New file.
4675         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4676         from libc to rtld.
4678 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4680         [BZ #19228]
4681         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4682         and restore full floating-point state.
4683         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4684         Likewise.
4685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4686         Likewise.
4687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4688         Likewise.
4689         * math/test-nearbyint-except-2.c: New file.
4690         * math/Makefile (tests): Add test-nearbyint-except-2.
4692 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4694         [BZ #19178]
4695         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4696         (tst-prelink-ENV): New.
4697         ($(objpfx)tst-prelink-conflict.out): Likewise.
4698         ($(objpfx)tst-prelink-cmp.out): Likewise.
4699         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4700         * sysdeps/x86/tst-prelink.c: New file.
4701         * sysdeps/x86/tst-prelink.exp: Likewise.
4703 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4705         * math/auto-libm-test-in: Add another test of pow.
4706         * math/auto-libm-test-out: Regenerated.
4707         * math/libm-test.inc (pow_test_data): Add another test.
4709 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4711         [BZ #19219]
4712         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4713         weak_alias to nearbyintl.
4715 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4717         * sysdeps/aarch64/bits/string.h: New file.
4718         (_STRING_ARCH_unaligned): Define.
4720 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4722         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4723         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4724         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4725         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4728 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
4730         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4731         for original name of the DSO.  Add it to the name list of the DSO
4732         if it is actually given.
4733         (_dl_map_object): Keep track of whether an audit module rewrote
4734         the file name.  If yes, pass the original name to
4735         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
4736         debugging is enabled, log the change of the file name.
4737         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4738         _dl_map_object_from_fd.
4739         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4740         * elf/tst-audit11.c: New file
4741         * elf/tst-auditmod11.c: New file.
4742         * elf/tst-audit11mod1.c: New file.
4743         * elf/tst-audit11mod2.c: New file.
4744         * elf/tst-audit11mod2.map: New file.
4745         * elf/tst-audit12.c: New file
4746         * elf/tst-auditmod12.c: New file.
4747         * elf/tst-audit12mod1.c: New file.
4748         * elf/tst-audit12mod2.c: New file.
4749         * elf/tst-audit12mod2.map: New file.
4750         * elf/tst-audit12mod3.c: New file.
4752 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4754         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4755         Don't create weak aliases,
4756         because versioned symbols are created later.
4757         * sysdeps/s390/s390-32/setjmp.S
4758         (setjmp, _setjmp): Remove weak and rename to an unique name
4759         in SHARED case due to existing versioned symbols.
4760         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4761         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4762         (getcontext): Create weak alias only in non SHARED case.
4763         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4765 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4767         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4768         (__ASSUME_*_SYSCALL) Define new macros.
4769         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4770         Remove socketcall syscalls.
4771         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4772         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4773         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4774         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4775         * sysdeps/unix/sysv/linux/send.c (__libc_send):
4776         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4778 2015-11-09  Florian Weimer  <fweimer@redhat.com>
4780         [BZ #12926]
4781         Terminate process on invalid netlink response.
4782         * sysdeps/unix/sysv/linux/netlinkaccess.h
4783         (__netlink_assert_response): Declare.
4784         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4785         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4786         (sysdep_routines): Add netlink_assert_response.
4787         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4788         __netlink_assert_response.
4789         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4790         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4791         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4792         __netlink_assert_response.
4794 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4796         [BZ #19178]
4797         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4798         (RTYPE_CLASS_PLT): Likewise.
4799         (RTYPE_CLASS_COPY): Likewise.
4800         (RTYPE_CLASS_TLS): Likewise.
4801         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4802         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4803         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4804         DL_DEBUG_PRELINK.
4806 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4808         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4809         calls with argument -0.5.
4810         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4812         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4813         (libc_cv_z_nodlopen): Likewise.
4814         (libc_cv_z_initfirst): Likewise.
4815         * configure: Regenerated.
4817 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4819         Simplify abilist format to be line-based.
4820         * scripts/abilist.awk: Collect descriptors in the descs variable.
4821         (emit): Write descs variable and sort it
4822         externally, with sort.
4823         * sysdeps/**/*.abilist: Convert to new format.
4825 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4827         [BZ #11460]
4828         * io/Makefile (routines): Add fts64.
4829         (tests): Add tst-fts and tst-fts-lfs.
4830         (CFLAGS-fts64.c): New.
4831         * io/Versions (GLIBC_2.23): New.
4832         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4833         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4834         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4835         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4836         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4837         (FTSENT64): Likewise.
4838         (fts64_children): Likewise.
4839         (fts64_close): Likewise.
4840         (fts64_open): Likewise.
4841         (fts64_read): Likewise.
4842         (fts64_set): Likewise.
4843         * io/fts64.c: New file.
4844         * io/tst-fts.c: New test.
4845         * io/tst-fts-lfs.c: Likewise.
4846         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4847         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4848         fts64_set.
4849         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4851         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4853         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4854         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4855         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4856         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4863         Likewise.
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4865         Likewise.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4875         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4876         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4878         * sysdeps/wordsize-64/fts.c: New file.
4879         * sysdeps/wordsize-64/fts64.c: Likewise.
4880         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4881         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4882         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4883         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4885 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4887         * math/libm-test.inc (NON_FINITE): New macro.
4888         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4889         * math/gen-libm-test.pl (show_exceptions): Add argument
4890         $non_finite.
4891         (parse_args): Update call to show_exceptions.
4892         * math/test-math-finite.h: New file.
4893         * math/test-math-no-finite.h: Likewise.
4894         * math/test-double-finite.c: Likewise.
4895         * math/test-float-finite.c: Likewise.
4896         * math/test-ldouble-finite.c: Likewise.
4897         * math/test-double.c: Include "test-math-no-finite.h".
4898         * math/test-float.c: Include "test-math-no-finite.h".
4899         * math/test-ldouble.c: Include "test-math-no-finite.h".
4900         * math/test-math-inline.h (TEST_FINITE): New macro.
4901         * math/test-math-vector.h (TEST_FINITE): Likewise.
4902         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4903         (libm-tests): Add test-float-finite and test-double-finite.
4904         ($(objpfx)test-float-finite.o): New dependency on
4905         $(objpfx)libm-test.stmp.
4906         ($(objpfx)test-double-finite.o): Likewise.
4907         ($(objpfx)test-ldouble-finite.o): Likewise.
4908         (libm-test-no-inline-cflags): New variable.
4909         (libm-test-finite-cflags): Likewise.
4910         (CFLAGS-test-float-finite.c): Likewise.
4911         (CFLAGS-test-double-finite.c): Likewise.
4912         (CFLAGS-test-ldouble-finite.c): Likewise.
4913         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4914         (CFLAGS-test-double.c): Likewise.
4915         (CFLAGS-test-ldouble.c): Likewise.
4917 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4919         * io/fcntl.c (__fcntl): Add ... to prototype.
4920         * misc/ioctl.c (__ioctl): Likewise.
4921         * misc/syscall.c (syscall): Likewise.
4923 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4925         * scripts/list-fixed-bugs.py: New file.
4927         [BZ #19213]
4928         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4929         returned for argument 1.
4930         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4931         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4932         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4933         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4934         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4935         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4937         [BZ #19211]
4938         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4939         __USE_XOPEN], not if [!__USE_ISOC99].
4940         (lgammaf): Likewise.
4941         (lgammal): Likewise.
4942         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4943         (gammaf): Likewise.
4944         (gammal): Likewise.
4945         * math/test-signgam-finite-c11.c: New file.
4946         * math/test-signgam-finite-c99.c: Likewise.
4947         * math/test-signgam-finite.c: Likewise.
4948         * math/Makefile (tests): Add test-signgam-finite,
4949         test-signgam-finite-c99 and test-signgam-finite-c11.
4950         (CFLAGS-test-signgam-finite.c): New variable.
4951         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4952         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4954         [BZ #19212]
4955         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4956         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4957         500].
4958         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4959         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4960         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4961         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4962         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4963         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4964         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4965         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4966         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4967         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4969         [BZ #19209]
4970         * math/bits/math-finite.h (ldexp): Remove declaration.
4971         (ldexpf): Likewise.
4972         (ldexpl): Likewise.
4974         [BZ #19205]
4975         * math/bits/math-finite.h (acosf): Condition declaration on
4976         [__USE_ISOC99].
4977         (acosl): Likewise.
4978         (acoshf): Likewise.
4979         (acoshl): Likewise.
4980         (asinf): Likewise.
4981         (asinl): Likewise.
4982         (atan2f): Likewise.
4983         (atan2l): Likewise.
4984         (atanhf): Likewise.
4985         (atanhl): Likewise.
4986         (coshf): Likewise.
4987         (coshl): Likewise.
4988         (expf): Likewise.
4989         (expl): Likewise.
4990         (fmodf): Likewise.
4991         (fmodl): Likewise.
4992         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4993         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4994         (j0l): Likewise.
4995         (y0f): Likewise.
4996         (y0l): Likewise.
4997         (j1f): Likewise.
4998         (j1l): Likewise.
4999         (y1f): Likewise.
5000         (y1l): Likewise.
5001         (jnf): Likewise.
5002         (jnl): Likewise.
5003         (ynf): Likewise.
5004         (ynl): Likewise.
5005         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5006         (lgammal_r): Likewise.
5007         (__lgamma_r_finite): New declaration.
5008         (__lgammaf_r_finite): Likewise.
5009         (__lgammal_r_finite): Likewise.
5010         (lgamma): Use __lgamma_r_finite.
5011         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5012         __lgammaf_r_finite.
5013         (lgammal): Condition definition on [__USE_ISOC99].  Use
5014         __lgammal_r_finite.
5015         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5016         __lgamma_r_finite.
5017         (gammaf): Condition definition on [__USE_ISOC99].  Use
5018         __lgammaf_r_finite.
5019         (gammal): Condition definition on [__USE_ISOC99].  Use
5020         __lgammal_r_finite.
5021         (logf): Condition declaration on [__USE_ISOC99].
5022         (logl): Likewise.
5023         (log10f): Likewise.
5024         (log10l): Likewise.
5025         (ldexpf): Likewise.
5026         (ldexpl): Likewise.
5027         (powf): Likewise.
5028         (powl): Likewise.
5029         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5030         __USE_ISOC99].
5031         (remainderf): Condition declaration on [__USE_ISOC99].
5032         (remainderl): Likewise.
5033         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5034         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5035         (scalbl): Likewise.
5036         (sinhf): Condition declaration on [__USE_ISOC99].
5037         (sinhl): Likewise.
5038         (sqrtf): Likewise.
5039         (sqrtl): Likewise.
5041 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5043         * sysdeps/arm/atomic-machine.h
5044         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5045         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5046         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5047         Remove conditional code.
5048         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5049         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5050         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5051         Change conditional to [__ASSEMBLER__].
5052         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5053         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5054         [!__ASSEMBLER__].
5055         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5056         code.
5057         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5058         conditional macro definitions.
5059         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5060         (__arch_compare_and_exchange_val_16_acq): Likewise.
5061         (__arch_compare_and_exchange_val_32_acq): Likewise.
5062         (atomic_exchange_and_add): Likewise.
5063         (atomic_add): Likewise.
5064         (atomic_add_negative): Likewise.
5065         (atomic_add_zero): Likewise.
5066         (atomic_bit_set): Likewise.
5067         (atomic_bit_test_set): Likewise.
5068         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5069         code unconditional.
5070         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5072         * math/test-math-errno.h: New file.
5073         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5074         empty.
5075         (TEST_ERRNO): New macro.
5076         (TEST_EXCEPTIONS): Likewise.
5077         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5078         (TEST_EXCEPTIONS): Likewise.
5079         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5080         * math/test-double.c: Include "test-math-errno.h".
5081         * math/test-float.c: Likewise.
5082         * math/test-ldouble.c: Likewise.
5083         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5084         code unconditional.
5085         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5086         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5087         unconditional.
5088         (test_errno): Only run code if TEST_ERRNO.
5089         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5091 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5093         * nptl/tst-once5.cc: Remove attribution.
5095 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5097         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5098         sqrt, tan, tanh, y0, y1 and yn.
5099         * math/auto-libm-test-out: Regenerated.
5100         * math/libm-test.inc (scalb_test_data): Add more tests.
5101         (scalbn_test_data): Likewise.
5102         (scalbln_test_data): Likewise.
5103         (signbit_test_data): Likewise.
5104         (sin_test_data): Likewise.
5105         (sincos_test_data): Likewise.
5106         (sinh_test_data): Likewise.
5107         (sqrt_test_data): Likewise.
5108         (tan_test_data): Likewise.
5109         (tanh_test_data): Likewise.
5110         (tgamma_test_data): Likewise.
5111         (y0_test_data): Likewise.
5112         (y1_test_data): Likewise.
5113         (yn_test_data): Likewise.
5114         (significand_test_data): Likewise.
5115         * sysdeps/i386/fpu/libm-test-ulps: Update.
5117 2015-11-03  David Kastrup  <dak@gnu.org>
5119         [BZ #18604]
5120         * assert/assert.h (assert): Don't macro-expand failed assertion
5121         expression in error message.
5122         * malloc/malloc.c (assert): Likewise.
5124 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5126         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5127         test.
5128         * configure: Regenerated.
5130 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5132         * math/libm-test.inc (modf_test_data): Add more tests.
5133         (nearbyint_test_data): Likewise.
5134         (nextafter_test_data): Likewise.
5135         (nexttoward_test_data): Likewise.
5136         (pow_test_data): Likewise.
5137         (remainder_test_data): Likewise.
5138         (remquo_test_data): Likewise.
5139         (rint_test_data): Likewise.
5141         [BZ #19201]
5142         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5143         Check for zero remainder in case of large exponents and ensure
5144         correct sign of result in that case.
5145         * math/libm-test.inc (remainder_test_data): Add more tests.
5147         [BZ #6799]
5148         * math/s_nextafter.c: Include <errno.h>.
5149         (__nextafter): Set errno on overflow and underflow.
5150         * math/s_nexttowardf.c: Include <errno.h>.
5151         (__nexttowardf): Set errno on overflow and underflow.
5152         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5153         (__nextafterl): Set errno on overflow and underflow.
5154         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5155         (__nexttoward): Set errno on overflow and underflow.
5156         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5157         (__nexttowardf): Set errno on overflow and underflow.
5158         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5159         (__nextafterf): Set errno on overflow and underflow.
5160         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5161         (__nextafterl): Set errno on overflow and underflow.
5162         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5163         (__nexttoward): Set errno on overflow and underflow.
5164         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5165         (__nexttowardf): Set errno on overflow and underflow.
5166         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5167         (__nextafterl): Set errno on overflow and underflow.
5168         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5169         (__nexttoward): Set errno on overflow and underflow.
5170         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5171         (__nexttowardf): Set errno on overflow and underflow.
5172         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5173         (__nexttoward): Set errno on overflow and underflow.
5174         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5175         (__nexttowardf): Set errno on overflow and underflow.
5176         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5177         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5178         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5179         (__nextafterl): Set errno on overflow and underflow.
5180         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5181         setting to be missing on overflow.  Add more tests.
5182         (nexttoward_test_data): Likewise.
5184         * configure.ac (libc_cv_initfini_array): Remove configure test.
5185         * configure: Regenerated.
5187 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5189         [BZ #19189]
5190         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5191         non-finite argument handle arguments with negative sign.
5193         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5194         result from infinite argument.
5195         (j1_test_data): Likewise.
5196         (jn_test_data): Likewise.
5197         (y0_test_data): Likewise.
5198         (y1_test_data): Likewise.
5199         (yn_test_data): Likewise.
5201         [BZ #16171]
5202         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5203         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5204         * math/w_remainderf.c (dremf): Define as weak alias of
5205         __remainderf.
5206         * math/w_remainderl.c (dreml): Define as weak alias of
5207         __remainderl.
5208         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5209         __remainder.
5210         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5211         __remainderf.
5212         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5213         __remainderl.
5214         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5215         weak alias of remainderl.
5216         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5217         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5218         alias of __remainder.
5219         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5220         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5221         strong alias of __remainderl.
5222         (dreml): Use long_double_symbol.
5223         * math/Makefile (libm-calls): Remove w_drem.
5224         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5225         (CFLAGS-nldbl-drem.c): Remove variable.
5226         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5227         * math/w_drem.c: Remove file.
5228         * math/w_dremf.c: Likewise.
5229         * math/w_dreml.c: Likewise.
5230         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5231         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5232         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5234         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5235         * sysdeps/i386/configure: Regenerated.
5236         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5237         * sysdeps/x86_64/configure: Regenerated.
5239         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5240         test.
5241         (libc_cv_visibility_attribute): Likewise.
5242         (libc_cv_protected_data): Test unconditionally.
5243         (libc_cv_broken_visibility_attribute): Remove configure test.
5244         (libc_cv_have_sdata_section): Test unconditionally.
5245         * configure: Regenerated.
5247         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5248         * include/scratch_buffer.h: Include <stddef.h> instead of
5249         <libc-internal.h>.
5250         (struct scratch_buffer): Use max_align_t instead of
5251         libc_max_align_t.
5253 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5255         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5256         instead of extend_alloca.  Change control flow to avoid a goto.
5257         Remove assert which is trivially always true.
5259 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5261         [BZ #16068]
5262         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5263         (FE_ALL_EXCEPT_X86): New macro.
5264         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5265         FE_ALL_EXCEPT.  Ensure precision control is included in
5266         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5267         handle "denormal operand exception" and clear FZ and DAZ bits.
5268         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5269         (FE_ALL_EXCEPT_X86): New macro.
5270         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5271         FE_ALL_EXCEPT.  Ensure precision control is included in
5272         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5273         handle "denormal operand exception" and clear FZ and DAZ bits.
5274         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5275         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5276         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5277         test-fenv-x87 and test-fenv-sse-2.
5278         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5280         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5281         * math/test-double.h (BUILD_COMPLEX): New macro.
5282         * math/test-float.h (BUILD_COMPLEX): Likewise.
5283         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5285         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5286         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5287         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5289         instead of DBL_DENORM_MIN in comment.
5290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5291         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5292         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5293         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5295         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5297 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5299         [BZ# 19048]
5300         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5301         attached_threads member.
5302         (main_arena): Initialize attached_threads.
5303         * malloc/arena.c (list_lock): Update comment.
5304         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5305         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5306         (deattach_arena): New function.
5307         (_int_new_arena): Initialize arena reference count and deattach
5308         replaced arena.
5309         (get_free_list, reused_arena): Update reference count and deattach
5310         replaced arena.
5311         (arena_thread_freeres): Update arena reference count and only put
5312         unreferenced arenas on the free list.
5314 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5316         [BZ #19181]
5317         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5318         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5319         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5320         * math/test-fenv-clear-main.c: New file.
5321         * math/test-fenv-clear.c: Likewise.
5322         * math/Makefile (tests): Add test-fenv-clear.
5323         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5324         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5325         test-fenv-clear-sse.
5326         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5328         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5329         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5330         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5332 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5334         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5335         static libc.
5337 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5339         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5340         test.
5341         * sysdeps/i386/configure: Regenerated.
5342         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5343         test.
5344         * sysdeps/x86_64/configure: Regenerated.
5345         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5347         memset-avx2 unconditionally instead of conditionally on
5348         [$(config-cflags-avx2) = yes].
5349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5350         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5351         unconditional.
5352         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5353         * sysdeps/x86_64/multiarch/memset_chk.S
5354         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5355         to [IS_IN (libc) && SHARED].
5357 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5359         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5360         configure test.
5361         * sysdeps/arm/configure: Regenerated.
5362         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5363         Define variable if not already defined.
5365         [BZ #17404]
5366         * sysdeps/mips/atomic-machine.h
5367         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5368         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5369         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5371         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5372         unconditional.
5373         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5374         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5375         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5376         unconditional.
5377         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5378         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5379         unconditional.
5380         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5381         * stdlib/setenv.c
5382         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5383         code unconditional.
5384         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5385         Remove conditional code.
5386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5387         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5388         unconditional.
5389         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5390         code.
5391         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5392         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5393         unconditional.
5394         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5395         code.
5396         * sysdeps/ieee754/ldbl-128/k_tanl.c
5397         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5398         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5399         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5400         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5401         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5402         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5403         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5404         unconditional.
5405         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5406         code.
5407         * sysdeps/ieee754/ldbl-96/k_tanl.c
5408         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5409         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5411         * nptl/tst-initializers1-c11.c: New file.
5412         * nptl/tst-initializers1-gnu11.c: Likewise.
5413         * nptl/Makefile (tests): Add these new tests.
5414         (CFLAGS-tst-initializers1-c11.c): New variable.
5415         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5417         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5418         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5419         instead of -std=gnu99.
5420         * configure.ac (systemtap): Test with -std=gnu11 instead of
5421         -std=gnu99.
5422         * configure: Regenerated.
5423         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5424         in compilation command in comment.
5426         * sysdeps/nptl/configure.ac: Remove file.
5427         * sysdeps/nptl/configure: Remove generated file.
5428         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5429         * configure: Regenerated.
5430         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5431         * config.make.in (have-forced-unwind): Remove variable.
5432         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5433         unconditional.
5434         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5435         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5436         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5437         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5438         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5439         unconditional.
5441 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5443         [BZ #19174]
5444         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5445         .skip_lock_out_of_tbegin_retries.
5446         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5447         (__lll_lock_elision): Likewise, and respect a value of
5448         try_tbegin <= 0.
5450 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5452         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5453         statement.
5455 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5457         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5458         variable.
5459         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5460         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5462         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5463         of -std=c1x -D_ISOC11_SOURCE.
5465         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5466         * configure: Regenerated.
5467         * manual/install.texi (Tools for Compilation): Document
5468         requirement for GCC 4.7 or later.
5469         * INSTALL: Regenerated.
5471 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5473         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5474         on CNT to a conditional jump to 'puntdata'.
5476 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5478         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5479         (libc_cv_gcc_tls_model_attr): Likewise.
5480         * configure: Regenerated.
5482         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5483         * configure: Regenerated.
5484         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5486 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5488         * configure.ac (old_glibc_headers): Remove configure test.
5489         * configure: Regenerated.
5490         * config.make.in (old-glibc-headers): Remove variable.
5491         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5492         (install): Remove dependency on remove-old-headers.
5493         (headers2_0): Remove variable.
5494         (remove-old-headers): Remove rule.
5496         * configure.ac (libc_cv_dot_text): Remove configure test.
5497         (libc_cv_asm_set_directive): Use .text instead of
5498         ${libc_cv_dot_text} in configure test.
5499         * configure: Regenerated.
5501 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5503         [BZ #19168]
5504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5506 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5508         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5509         not support static linking.
5510         * configure: Regenerate.
5512 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5514         * math/libm-test.inc (check_float_internal): Do not special-case
5515         errors up to 0.5 ulp.
5517         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5518         log2.
5519         * math/auto-libm-test-out: Regenerated.
5520         * math/libm-test.inc (MAX_EXP): New macro.
5521         (ilogb_test_data): Add more tests.
5522         (isfinite_test_data): Likewise.
5523         (isgreater_test_data): Likewise.
5524         (isgreaterequal_test_data): Likewise.
5525         (isinf_test_data): Likewise.
5526         (isless_test_data): Likewise.
5527         (islessequal_test_data): Likewise.
5528         (islessgreater_test_data): Likewise.
5529         (isnan_test_data): Likewise.
5530         (isnormal_test_data): Likewise.
5531         (issignaling_test_data): Likewise.
5532         (isunordered_test_data): Likewise.
5533         (j0_test_data): Likewise.
5534         (j1_test_data): Likewise.
5535         (jn_test_data): Likewise.
5536         (lgamma_test_data): Likewise.
5537         (log_test_data): Likewise.
5538         (log10_test_data): Likewise.
5539         (log1p_test_data): Likewise.
5540         (log2_test_data): Likewise.
5541         (logb_test_data): Likewise.
5542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5544         [BZ #18611]
5545         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5546         avoid excess range and precision on underflow.
5547         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5548         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5549         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5550         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5551         underflow.
5552         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5554         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5556         * math/auto-libm-test-in: Do not allow missing errno setting for
5557         tests of j1 and jn.
5558         * math/auto-libm-test-out: Regenerated.
5560 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5562         [BZ #15491]
5563         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5564         floating-point environment instead of clearing all exceptions.
5565         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5566         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5567         merging in "invalid" exceptions from frndint.
5568         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5569         * math/test-nearbyint-except.c: New file.
5570         * math/Makefile (tests): Add test-nearbyint-except.
5572 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5574         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5576         * sysdeps/tile/libm-test-ulps: Regenerated.
5578 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5581         (__NR_sync_file_range2): Assume it is always defined.
5582         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5583         (__NR_sync_file_range): Assume it is always defined.
5585 2015-10-22  Andreas Schwab  <schwab@suse.de>
5587         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5588         INTERNAL_SYSCALL_ERRNO.
5589         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5590         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5591         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5592         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5596 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5598         * io/tst-fcntl.c (fd): New static variable.
5599         (do_prepare): Open temporary file here....
5600         (do_test): ...not here.
5602         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5604 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5606         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5607         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5608         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5609         Moved before "#ifdef __ASSEMBLER__".
5611 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5613         [BZ #19156]
5614         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5615         arguments very close to 0.
5617 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5619         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5620         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5622 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5624         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5625         New.  Defined for GCC 5 and above when not compiling for
5626         profiling.
5627         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5629         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5630         Renamed to ...
5631         (CFLAGS-epoll_pwait.o): This.
5632         (CFLAGS-mmap.c): Renamed to ...
5633         (CFLAGS-mmap.o): This.
5634         (CFLAGS-mmap64.c): Renamed to ...
5635         (CFLAGS-mmap64.o): This.
5636         (CFLAGS-epoll_pwait.os): New.
5637         (CFLAGS-mmap.os): Likewise.
5638         (CFLAGS-mmap64.os): Likewise.
5639         (CFLAGS-semtimedop.os): Likewise.
5640         (CFLAGS-semtimedop.c): Renamed to ...
5641         (CFLAGS-semtimedop.o): This.
5643 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5645         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5646         warning message.
5648 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5650         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5651         * Makefile ($(objpfx)c++-types-check.out): Filter out
5652         $(+gccwarn-c) instead of -Wstrict-prototypes.
5654         * io/fts.c (fts_open): Convert to prototype-style function
5655         definition.
5656         * malloc/mcheck.c (mcheck): Likewise.
5657         (mcheck_pedantic): Likewise.
5658         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5659         internal_function.
5660         (re_search_internal): Likewise.
5661         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5662         prototype-style function definition.
5663         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5664         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5665         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5666         (xdr_utmpptr): Likewise.
5667         (xdr_utmparr): Likewise.
5668         (xdr_utmpidle): Likewise.
5669         (xdr_utmpidleptr): Likewise.
5670         (xdr_utmpidlearr): Likewise.
5672         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5673         log, log10 and log2.
5674         * math/auto-libm-test-out: Regenerated.
5675         * math/libm-test.inc (fmod_test_data): Add more tests.
5676         (fpclassify_test_data): Likewise.
5677         (frexp_test_data): Likewise.
5678         (hypot_test_data): Likewise.
5679         (ilogb_test_data): Likewise.
5681 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5683         * debug/fortify_fail.c (__fortify_fail): Convert to
5684         prototype-style function definition.  Use internal_function.
5685         * libio/genops.c (save_for_backup): Convert to prototype-style
5686         function definition.
5687         * libio/wgenops.c (save_for_wbackup): Likewise.
5688         * login/grantpt.c (grantpt): Likewise.
5689         * login/ptsname.c (ptsname): Likewise.
5690         (__ptsname_r): Likewise.
5691         * login/unlockpt.c (unlockpt): Likewise.
5692         * mach/msgserver.c (__mach_msg_server): Likewise.
5693         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5694         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5695         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5696         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5697         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5698         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5699         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5700         Likewise.
5701         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5702         internal_function.
5703         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5704         prototype-style function definition.
5705         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5706         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5707         (__pthread_create_2_0): Likewise.
5708         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5709         * nptl/register-atfork.c (__register_atfork): Likewise.
5710         * posix/glob.c (glob): Likewise.
5711         * posix/regcomp.c (re_comp): Likewise.
5712         * posix/regexec.c (re_exec): Likewise.
5713         * stdlib/add_n.c [__STDC__]: Make code unconditional.
5714         [!__STDC__]: Remove conditional code.
5715         * stdlib/cmp.c [__STDC__]: Make code unconditional.
5716         [!__STDC__]: Remove conditional code.
5717         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5718         [!__STDC__]: Remove conditional code.
5719         * stdlib/divrem.c [__STDC__]: Make code unconditional.
5720         [!__STDC__]: Remove conditional code.
5721         * stdlib/lshift.c [__STDC__]: Make code unconditional.
5722         [!__STDC__]: Remove conditional code.
5723         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5724         [!__STDC__]: Remove conditional code.
5725         * stdlib/mul.c [__STDC__]: Make code unconditional.
5726         [!__STDC__]: Remove conditional code.
5727         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5728         [!__STDC__]: Remove conditional code.
5729         * stdlib/rshift.c [__STDC__]: Make code unconditional.
5730         [!__STDC__]: Remove conditional code.
5731         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5732         function definition.
5733         (STRTOF): Likewise.
5734         * stdlib/strtod_l.c (__STRTOF): Likewise.
5735         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5736         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5737         (__strtol_l): Likewise.
5738         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5739         [!__STDC__]: Remove conditional code.
5740         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5741         definition.
5742         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5743         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5744         type.
5745         (__strcasecmp): Convert to prototype-style function definition.
5746         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5747         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5748         type.
5749         (__strncasecmp): Convert to prototype-style function definition.
5750         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5751         * sunrpc/xdr.c (xdr_union): Likewise.
5752         * sunrpc/xdr_array.c (xdr_array): Likewise.
5753         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5754         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5755         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5756         Likewise.
5757         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5758         Likewise.
5759         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5760         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5761         Likewise.
5762         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5763         (LOCALE_PARAM_PROTO): Likewise.
5764         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5765         argument type.
5766         (ut_argument_spec): Remove macro.
5767         (ut_argument_spec_iso): Rename to ut_argument_spec.
5768         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
5769         prototype-style function definition.
5770         (memcpy_uppcase): Likewise.
5771         (__strftime_internal): Likewise.
5772         (my_strftime): Likewise.
5773         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5774         (LOCALE_PARAM_DECL): Likewise.
5775         [_LIBC] (LOCALE_PARAM): Include argument type.
5776         (__strptime_internal): Convert to prototype-style function
5777         definition.
5778         (strptime): Likewise.
5779         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5780         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5781         type.
5782         (__wcscasecmp): Convert to prototype-style function definition.
5783         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5784         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5785         type.
5786         (__wcsncasecmp): Convert to prototype-style function definition.
5788         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5789         function definition.
5790         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5791         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5792         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5793         * elf/dl-minimal.c (_itoa): Likewise.
5794         * hurd/hurdmalloc.c (malloc): Likewise.
5795         (free): Likewise.
5796         (realloc): Likewise.
5797         * inet/inet6_option.c (inet6_option_space): Likewise.
5798         (inet6_option_init): Likewise.
5799         (inet6_option_append): Likewise.
5800         (inet6_option_alloc): Likewise.
5801         (inet6_option_next): Likewise.
5802         (inet6_option_find): Likewise.
5803         * io/ftw.c (FTW_NAME): Likewise.
5804         (NFTW_NAME): Likewise.
5805         (NFTW_NEW_NAME): Likewise.
5806         (NFTW_OLD_NAME): Likewise.
5807         * libio/iofwide.c (_IO_fwide): Likewise.
5808         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5809         (_IO_str_init_static): Likewise.
5810         (_IO_str_init_readonly): Likewise.
5811         (_IO_str_overflow): Likewise.
5812         (_IO_str_underflow): Likewise.
5813         (_IO_str_count): Likewise.
5814         (_IO_str_seekoff): Likewise.
5815         (_IO_str_pbackfail): Likewise.
5816         (_IO_str_finish): Likewise.
5817         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5818         (_IO_wstr_overflow): Likewise.
5819         (_IO_wstr_underflow): Likewise.
5820         (_IO_wstr_count): Likewise.
5821         (_IO_wstr_seekoff): Likewise.
5822         (_IO_wstr_pbackfail): Likewise.
5823         (_IO_wstr_finish): Likewise.
5824         * locale/programs/localedef.c (normalize_codeset): Likewise.
5825         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5826         (add_locales_to_archive): Likewise.
5827         (delete_locales_from_archive): Likewise.
5828         * malloc/malloc.c (__libc_mallinfo): Likewise.
5829         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5830         * misc/tsearch.c (__tfind): Likewise.
5831         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5832         * nptl/pthread_attr_getdetachstate.c
5833         (__pthread_attr_getdetachstate): Likewise.
5834         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5835         Likewise.
5836         * nptl/pthread_attr_getinheritsched.c
5837         (__pthread_attr_getinheritsched): Likewise.
5838         * nptl/pthread_attr_getschedparam.c
5839         (__pthread_attr_getschedparam): Likewise.
5840         * nptl/pthread_attr_getschedpolicy.c
5841         (__pthread_attr_getschedpolicy): Likewise.
5842         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5843         Likewise.
5844         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5845         Likewise.
5846         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5847         Likewise.
5848         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5849         Likewise.
5850         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5851         (__pthread_attr_init_2_0): Likewise.
5852         * nptl/pthread_attr_setdetachstate.c
5853         (__pthread_attr_setdetachstate): Likewise.
5854         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5855         Likewise.
5856         * nptl/pthread_attr_setinheritsched.c
5857         (__pthread_attr_setinheritsched): Likewise.
5858         * nptl/pthread_attr_setschedparam.c
5859         (__pthread_attr_setschedparam): Likewise.
5860         * nptl/pthread_attr_setschedpolicy.c
5861         (__pthread_attr_setschedpolicy): Likewise.
5862         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5863         Likewise.
5864         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5865         Likewise.
5866         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5867         Likewise.
5868         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5869         Likewise.
5870         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5871         Likewise.
5872         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5873         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5874         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5875         use internal_function.
5876         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5877         prototype-style function definition.
5878         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5879         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5880         internal_function.
5881         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5882         Convert to prototype-style function definition.
5883         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5884         Likewise.
5885         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5886         Likewise.
5887         (__pthread_mutex_unlock): Likewise.
5888         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5889         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5890         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5891         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5892         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5893         * nss/makedb.c (process_input): Likewise.
5894         * posix/fnmatch.c (__strchrnul): Likewise.
5895         (__wcschrnul): Likewise.
5896         (fnmatch): Likewise.
5897         * posix/fnmatch_loop.c (FCT): Likewise.
5898         * posix/glob.c (globfree): Likewise.
5899         (__glob_pattern_type): Likewise.
5900         (__glob_pattern_p): Likewise.
5901         * posix/regcomp.c (re_compile_pattern): Likewise.
5902         (re_set_syntax): Likewise.
5903         (re_compile_fastmap): Likewise.
5904         (regcomp): Likewise.
5905         (regerror): Likewise.
5906         (regfree): Likewise.
5907         * posix/regexec.c (regexec): Likewise.
5908         (re_match): Likewise.
5909         (re_search): Likewise.
5910         (re_match_2): Likewise.
5911         (re_search_2): Likewise.
5912         (re_search_stub): Likewise.  Use internal_function
5913         (re_copy_regs): Likewise.
5914         (re_set_registers): Convert to prototype-style function
5915         definition.
5916         (prune_impossible_nodes): Likewise.  Use internal_function.
5917         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5918         prototype-style function definition.
5919         (inet_net_pton_ipv4): Likewise.
5920         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5921         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5922         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5923         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5924         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5925         Make variadic.
5926         * time/strptime_l.c (localtime_r): Convert to prototype-style
5927         function definition.
5928         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5929         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5930         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5931         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5933         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5934         definition.
5935         (_ufc_doit_r): Likewise.
5936         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5937         (_ufc_output_conversion_r): Likewise.
5938         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5939         * inet/rcmd.c (rcmd_af): Likewise.
5940         (rcmd): Likewise.
5941         (ruserok_af): Likewise.
5942         (ruserok): Likewise.
5943         (ruserok2_sa): Likewise.
5944         (ruserok_sa): Likewise.
5945         (iruserok_af): Likewise.
5946         (iruserok): Likewise.
5947         (__ivaliduser): Likewise.
5948         (__validuser2_sa): Likewise.
5949         * inet/rexec.c (rexec_af): Likewise.
5950         (rexec): Likewise.
5951         * inet/ruserpass.c (ruserpass): Likewise.
5952         * locale/programs/xmalloc.c (xcalloc): Likewise.
5953         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5954         * math/w_drem.c (__drem): Likewise.
5955         * math/w_dremf.c (__dremf): Likewise.
5956         * math/w_dreml.c (__dreml): Likewise.
5957         * misc/daemon.c (daemon): Likewise.
5958         * resolv/res_debug.c (p_fqnname): Likewise.
5959         * stdlib/div.c (div): Likewise.
5960         * string/memcmp.c (memcmp_bytes): Likewise.
5961         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5962         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5964         * crypt/cert.c (main): Convert to prototype-style function
5965         definition.
5966         * io/pipe.c (__pipe): Likewise.
5967         * io/pipe2.c (__pipe2): Likewise.
5968         * misc/futimesat.c (futimesat): Likewise.
5969         * misc/utimes.c (__utimes): Likewise.
5970         * posix/execve.c (__execve): Likewise.
5971         * posix/execvp.c (execvp): Likewise.
5972         * posix/execvpe.c (__execvpe): Likewise.
5973         * posix/fexecve.c (fexecve): Likewise.
5974         * socket/socketpair.c (socketpair): Likewise.
5975         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5976         * stdlib/erand48.c (erand48): Likewise.
5977         * stdlib/erand48_r.c (__erand48_r): Likewise.
5978         * stdlib/jrand48.c (jrand48): Likewise.
5979         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5980         * stdlib/lcong48.c (lcong48): Likewise.
5981         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5982         * stdlib/nrand48.c (nrand48): Likewise.
5983         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5984         * stdlib/seed48.c (seed48): Likewise.
5985         * stdlib/seed48_r.c (__seed48_r): Likewise.
5986         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5987         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5988         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5990 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5992         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5993         * configure: Regenerated.
5994         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5995         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5996         unconditional.
5997         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5998         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5999         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6000         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6001         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6002         unconditional.
6003         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6005         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6006         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6008         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6009         function definition.
6010         * crypt/crypt_util.c (__encrypt_r): Likewise.
6011         * libio/genops.c (_IO_no_init): Likewise.
6012         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6013         (_IO_old_fopencookie): Likewise.
6014         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6015         * libio/iogetline.c (_IO_getline): Likewise.
6016         (_IO_getline_info): Likewise.
6017         * libio/iogetwline.c (_IO_getwline): Likewise.
6018         (_IO_getwline_info): Likewise.
6019         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6020         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6021         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6022         (find_entry): Likewise.
6023         (iterate_table): Likewise.
6024         (lookup): Likewise.
6025         * login/forkpty.c (forkpty): Likewise.
6026         * misc/hsearch_r.c (__hsearch_r): Likewise.
6027         * misc/select.c (__select): Likewise.
6028         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6029         Likewise.
6030         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6031         Likewise.
6032         * nptl/old_pthread_cond_timedwait.c
6033         (__pthread_cond_timedwait_2_0): Likewise.
6034         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6035         * nptl/pthread_barrierattr_getpshared.c
6036         (pthread_barrierattr_getpshared): Likewise.
6037         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6038         Likewise.
6039         * nptl/pthread_mutex_setprioceiling.c
6040         (pthread_mutex_setprioceiling): Likewise.
6041         * nptl/pthread_mutexattr_getprioceiling.c
6042         (pthread_mutexattr_getprioceiling): Likewise.
6043         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6044         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6045         Likewise.
6046         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6047         Likewise.
6048         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6049         Likewise.
6050         * socket/recvfrom.c (__recvfrom): Likewise.
6051         * socket/sendto.c (__sendto): Likewise.
6052         * socket/setsockopt.c (__setsockopt): Likewise.
6053         * stdio-common/_itoa.c (_itoa): Likewise.
6054         * stdio-common/_itowa.c (_itowa): Likewise.
6055         * stdio-common/reg-printf.c (__register_printf_specifier):
6056         Likewise.
6057         (__register_printf_function): Likewise.
6058         * stdio-common/tempname.c (__path_search): Likewise.
6059         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6060         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6061         * stdlib/random_r.c (__initstate_r): Likewise.
6062         * stdlib/setenv.c (__add_to_environ): Likewise.
6063         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6064         * streams/getpmsg.c (getpmsg): Likewise.
6065         * streams/putmsg.c (putmsg): Likewise.
6066         * streams/putpmsg.c (putpmsg): Likewise.
6067         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6068         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6069         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6070         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6071         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6072         * sunrpc/svc_udp.c (cache_get): Likewise.
6073         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6074         * sysdeps/mach/hurd/getcwd.c
6075         (__canonicalize_directory_name_internal): Likewise.
6076         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6077         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6078         * sysdeps/mach/hurd/select.c (__select): Likewise.
6079         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6080         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6081         * sysdeps/sparc/nptl/pthread_barrier_init.c
6082         (__pthread_barrier_init): Likewise.
6083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6084         (__pthread_cond_timedwait): Likewise.
6085         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6086         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6087         Likewise.
6088         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6089         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6090         Likewise.
6091         * sysvipc/semtimedop.c (semtimedop): Likewise.
6092         * time/setitimer.c (__setitimer): Likewise.
6093         * time/strftime_l.c (emacs_strftime): Likewise.
6095 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6097         * config.make.in (have-ssp): Delete.
6098         (stack-protector): New variable.
6099         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6100         cache test for -fstack-protector-strong.  Export stack_protector to
6101         the best ssp flag.
6102         * configure: Regenerated.
6103         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6104         * nscd/Makefile (CFLAGS-nscd): Likewise.
6105         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6107 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6109         [BZ #19122]
6110         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6111         attribute_hidden.
6113 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6115         [BZ #18743]
6116         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6117         code to...
6118         (ELIDE_LOCK): ...here.
6119         (__get_new_count): New function with part of the code from
6120         __elide_lock that updates the value of adapt_count after a
6121         transaction abort.
6122         (__elided_trylock): Moved this code to...
6123         (ELIDE_TRYLOCK): ...here.
6125 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6127         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6128         * configure: Regenerate.
6129         * INSTALL: Regenerate.
6130         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6131         and tweak grammar.
6133 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6135         * login/programs/pt_chown.c: Include signal.h
6136         (main): Clear any signal mask from the parent process.
6138 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6140         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6141         * configure: Regenerated.
6142         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6143         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6144         $(gnu89-inline-CFLAGS).
6146         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6147         test.
6148         (libc_cv_asm_weakext_directive): Likewise.
6149         * configure: Regenerated.
6150         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6151         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6152         * include/libc-symbols.h
6153         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6154         #error.
6155         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6156         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6158         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6159         prototype-style function definition.
6160         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6161         * sysdeps/i386/ffs.c (__ffs): Likewise.
6162         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6163         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6164         Likewise.
6165         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6166         Likewise.
6167         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6169         Likewise.
6170         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6171         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6172         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6173         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6174         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6175         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6176         * sysdeps/mach/hurd/access.c (__access): Likewise.
6177         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6178         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6179         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6180         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6181         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6182         (cthread_getspecific): Likewise.
6183         (cthread_setspecific): Likewise.
6184         (__libc_getspecific): Likewise.
6185         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6186         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6187         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6188         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6189         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6190         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6191         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6192         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6193         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6194         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6195         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6196         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6197         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6198         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6199         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6200         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6201         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6202         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6203         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6204         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6205         * sysdeps/mach/hurd/link.c (__link): Likewise.
6206         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6207         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6208         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6209         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6210         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6211         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6212         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6213         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6214         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6215         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6216         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6217         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6218         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6219         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6220         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6221         * sysdeps/mach/hurd/send.c (__send): Likewise.
6222         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6223         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6224         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6225         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6226         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6227         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6228         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6229         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6230         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6231         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6232         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6233         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6234         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6235         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6236         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6237         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6238         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6239         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6240         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6241         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6242         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6243         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6244         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6245         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6246         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6247         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6248         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6249         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6250         * sysdeps/posix/alarm.c (alarm): Likewise.
6251         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6252         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6253         * sysdeps/posix/dup.c (__dup): Likewise.
6254         * sysdeps/posix/dup2.c (__dup2): Likewise.
6255         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6256         (main): Likewise.
6257         * sysdeps/posix/flock.c (__flock): Likewise.
6258         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6259         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6260         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6261         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6262         * sysdeps/posix/isatty.c (__isatty): Likewise.
6263         * sysdeps/posix/killpg.c (killpg): Likewise.
6264         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6265         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6266         * sysdeps/posix/raise.c (raise): Likewise.
6267         * sysdeps/posix/remove.c (remove): Likewise.
6268         * sysdeps/posix/rename.c (rename): Likewise.
6269         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6270         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6271         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6272         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6273         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6274         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6275         * sysdeps/posix/sigset.c (sigset): Likewise.
6276         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6277         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6278         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6279         * sysdeps/posix/time.c (time): Likewise.
6280         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6281         (ttyname): Likewise.
6282         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6283         * sysdeps/posix/utime.c (utime): Likewise.
6284         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6285         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6286         Likewise.
6287         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6288         (pthread_spin_trylock): Likewise.
6289         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6290         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6291         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6292         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6293         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6294         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6295         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6296         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6297         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6298         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6299         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6300         * sysdeps/s390/ffs.c (__ffs): Likewise.
6301         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6302         Likewise.
6303         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6304         Likewise.
6305         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6306         Likewise.
6307         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6308         (pthread_barrier_destroy): Likewise.
6309         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6310         (__pthread_barrier_wait): Likewise.
6311         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6312         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6313         (__pthread_barrier_wait): Likewise.
6314         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6315         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6316         (memcmp_not_common_alignment): Likewise.
6317         (MEMCMP): Likewise.
6318         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6319         (_wordcopy_fwd_dest_aligned): Likewise.
6320         (_wordcopy_bwd_aligned): Likewise.
6321         (_wordcopy_bwd_dest_aligned): Likewise.
6322         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6323         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6324         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6325         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6326         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6327         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6328         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6329         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6330         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6331         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6332         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6333         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6334         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6335         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6336         * sysdeps/unix/stime.c (stime): Likewise.
6337         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6338         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6339         Likewise.  Use internal_function.
6340         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6341         Convert to prototype-style function definition.
6342         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6343         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6344         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6345         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6346         Likewise.  Use internal_function.
6347         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6348         prototype-style function definition
6349         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6350         Likewise.
6351         (__getlogin_r): Likewise.
6352         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6354         (__pthread_cond_broadcast): Likewise.
6355         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6356         (__pthread_cond_destroy): Likewise.
6357         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6358         (__pthread_cond_init): Likewise.
6359         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6360         (__pthread_cond_signal): Likewise.
6361         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6362         (__pthread_cond_wait): Likewise.
6363         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6364         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6365         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6366         Likewise.
6367         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6368         Likewise.
6369         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6370         Likewise.
6371         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6372         Likewise.
6373         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6375         (__ftruncate64): Likewise.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6377         (truncate64): Likewise.
6378         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6379         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6380         (pthread_getcpuclockid): Likewise.
6381         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6384         Likewise.
6385         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6390         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6391         (__libc_sigaction): Likewise.
6392         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6395         (__sigprocmask): Likewise.
6396         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6397         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6398         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6399         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6400         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6401         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6402         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6403         Likewise.
6404         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6405         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6406         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6407         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6408         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6409         Likewise.
6410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6411         (__sigprocmask): Likewise.
6412         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6413         (cfgetispeed): Likewise.
6414         (cfsetospeed): Likewise.
6415         (cfsetispeed): Likewise.
6416         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6417         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6418         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6419         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6420         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6421         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6422         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6423         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6426         Likewise.
6427         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6428         Likewise.
6429         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6430         Likewise.
6431         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6433 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6435         sunrpc: Rewrite with explicit TLS access using __thread.
6436         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6437         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6438         directly.
6439         (__rpc_thread_variables): Access thread_rpc_vars directly.
6440         Eliminate redundant assignment of the tvp variable.
6442 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6444         malloc: Rewrite with explicit TLS access using __thread.
6445         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6446         (tsd_setspecific, tsd_getspecific): Remove.
6447         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6448         (tsd_setspecific, tsd_getspecific): Likewise.
6449         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6450         (tsd_setspecific, tsd_getspecific): Likewise.
6451         * malloc/arena.c (thread_arena): New TLS variable.
6452         (arena_key): Remove variable.
6453         (arena_get): Use thread_arena.
6454         (arena_lookup): Remove macro.
6455         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6456         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6457         (_int_new_arena, get_free_list, reused_arena)
6458         (arena_thread_freeres): Use thread_arena.
6459         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6460         tsd_getspecific, tsd_setspecific from safety annotations.
6461         (Allocating Cleared Space): Remove arena_lookup from safety
6462         annotations.
6464 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6466         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6467         struct scratch_buffer instead of extend_alloca.
6469 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6471         * sysdeps/unix/sysv/linux/kernel-features.h
6472         (__ASSUME_SOCK_CLOEXEC): Remove.
6473         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6474         (__have_paccept): Remove unused macro.
6475         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6476         * misc/syslog.c (openlog_internal): Remove fallback code for
6477         !__ASSUME_SOCK_CLOEXEC.
6478         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6479         missing SOCK_CLOEXEC.
6480         * nscd/connections.c (have_sock_cloexec): Remove definition.
6481         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6482         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6483         !__ASSUME_SOCK_CLOEXEC.
6484         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6485         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6486         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6487         definition.
6488         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6489         code for !__ASSUME_SOCK_CLOEXEC.
6491 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6493         [BZ #18982]
6494         * manual/stdio.texi (Variable Arguments Output): Add portability
6495         note, explaining that vfprintf clobbers the va_list pointer.
6497 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6499         * math/libm-test.inc (fabs_test_data): Add more tests.
6500         (fdim_test_data): Likewise.
6501         (fma_test_data): Likewise.
6502         (fmax_test_data): Likewise.
6503         (fmin_test_data): Likewise.
6504         (fmod_test_data): Likewise.
6506 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6508         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6509         data.
6511 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6513         * math/libm-test.inc (ceil_test_data): Add more tests and more
6514         expectations for "inexact".
6515         (floor_test_data): Add more tests.
6516         (round_test_data): Likewise.
6517         (trunc_test_data): Likewise.
6519         * crypt/cert.c (good_bye): Convert to prototype-style function
6520         definition.
6521         (get8): Likewise.
6522         (put8): Likewise.
6523         * crypt/crypt-entry.c (crypt): Likewise.
6524         (__fcrypt): Likewise.
6525         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6526         (_ufc_set_bits): Likewise.
6527         (_ufc_clearmem): Likewise.
6528         (__init_des_r): Likewise.
6529         (shuffle_sb): Likewise.
6530         (shuffle_sb): Likewise.
6531         (_ufc_setup_salt_r): Likewise.
6532         (_ufc_mk_keytab_r): Likewise.
6533         (_ufc_dofinalperm_r): Likewise.
6534         (encrypt): Likewise.
6535         (__setkey_r): Likewise.
6536         (setkey): Likewise.
6537         * crypt/md5.c (md5_init_ctx): Likewise.
6538         (md5_read_ctx): Likewise.
6539         (md5_finish_ctx): Likewise.
6540         (md5_stream): Likewise.
6541         (md5_buffer): Likewise.
6542         (md5_process_bytes): Likewise.
6543         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6544         (__sha256_finish_ctx): Likewise.
6545         (__sha256_process_bytes): Likewise.
6546         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6547         (__sha512_finish_ctx): Likewise.
6548         (__sha512_process_bytes): Likewise.
6549         * ctype/isctype.c (__isctype): Likewise.
6550         * debug/backtrace.c (__backtrace): Likewise.
6551         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6552         * debug/fgets_chk.c (__fgets_chk): Likewise.
6553         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6554         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6555         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6556         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6557         * debug/memset_chk.c (__memset_chk): Likewise.
6558         * debug/strcat_chk.c (__strcat_chk): Likewise.
6559         * debug/strncat_chk.c (__strncat_chk): Likewise.
6560         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6561         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6562         * dirent/dirfd.c (dirfd): Likewise.
6563         * dirent/getdents.c (__getdirentries): Likewise.
6564         * dirent/getdents64.c (getdirentries64): Likewise.
6565         * dirent/rewinddir.c (__rewinddir): Likewise.
6566         * dirent/seekdir.c (seekdir): Likewise.
6567         * dirent/telldir.c (telldir): Likewise.
6568         * elf/sln.c (makesymlinks): Likewise.
6569         (makesymlink): Likewise.
6570         * gmon/gmon.c (__moncontrol): Likewise.
6571         (__monstartup): Likewise.
6572         (write_hist): Likewise.
6573         (write_call_graph): Likewise.
6574         (write_bb_counts): Likewise.
6575         * grp/setgroups.c (setgroups): Likewise.
6576         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6577         * inet/inet_net.c (inet_network): Likewise.
6578         * inet/inet_netof.c (inet_netof): Likewise.
6579         * inet/rcmd.c (rresvport_af): Likewise.
6580         (rresvport): Likewise.
6581         * io/access.c (__access): Likewise.
6582         * io/chdir.c (__chdir): Likewise.
6583         * io/chmod.c (__chmod): Likewise.
6584         * io/chown.c (__chown): Likewise.
6585         * io/close.c (__close): Likewise.
6586         * io/creat.c (creat): Likewise.
6587         * io/creat64.c (creat64): Likewise.
6588         * io/dup.c (__dup): Likewise.
6589         * io/dup2.c (__dup2): Likewise.
6590         * io/dup3.c (__dup3): Likewise.
6591         * io/euidaccess.c (__euidaccess): Likewise.
6592         * io/faccessat.c (faccessat): Likewise.
6593         * io/fchmod.c (__fchmod): Likewise.
6594         * io/fchmodat.c (fchmodat): Likewise.
6595         * io/fchown.c (__fchown): Likewise.
6596         * io/fchownat.c (fchownat): Likewise.
6597         * io/fcntl.c (__fcntl): Likewise.
6598         * io/flock.c (__flock): Likewise.
6599         * io/fts.c (fts_load): Likewise.
6600         (fts_close): Likewise.
6601         (fts_read): Likewise.
6602         (fts_set): Likewise.
6603         (fts_children): Likewise.
6604         (fts_build): Likewise.
6605         (fts_stat): Likewise.
6606         (fts_sort): Likewise.
6607         (fts_alloc): Likewise.
6608         (fts_lfree): Likewise.
6609         (fts_palloc): Likewise.
6610         (fts_padjust): Likewise.
6611         (fts_maxarglen): Likewise.
6612         (fts_safe_changedir): Likewise.
6613         * io/getwd.c (getwd): Likewise.
6614         * io/isatty.c (__isatty): Likewise.
6615         * io/lchown.c (__lchown): Likewise.
6616         * io/link.c (__link): Likewise.
6617         * io/linkat.c (linkat): Likewise.
6618         * io/lseek.c (__libc_lseek): Likewise.
6619         * io/mkdir.c (__mkdir): Likewise.
6620         * io/mkdirat.c (mkdirat): Likewise.
6621         * io/mkfifo.c (mkfifo): Likewise.
6622         * io/mkfifoat.c (mkfifoat): Likewise.
6623         * io/open.c (__libc_open): Likewise.
6624         * io/open64.c (__libc_open64): Likewise.
6625         * io/readlink.c (__readlink): Likewise.
6626         * io/readlinkat.c (readlinkat): Likewise.
6627         * io/rmdir.c (__rmdir): Likewise.
6628         * io/symlink.c (__symlink): Likewise.
6629         * io/symlinkat.c (symlinkat): Likewise.
6630         * io/ttyname.c (ttyname): Likewise.
6631         * io/ttyname_r.c (__ttyname_r): Likewise.
6632         * io/umask.c (__umask): Likewise.
6633         * io/unlink.c (__unlink): Likewise.
6634         * io/unlinkat.c (unlinkat): Likewise.
6635         * io/utime.c (utime): Likewise.
6636         * libio/clearerr.c (clearerr): Likewise.
6637         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6638         * libio/feof.c (_IO_feof): Likewise.
6639         * libio/feof_u.c (feof_unlocked): Likewise.
6640         * libio/ferror.c (_IO_ferror): Likewise.
6641         * libio/ferror_u.c (ferror_unlocked): Likewise.
6642         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6643         * libio/fileno.c (__fileno): Likewise.
6644         * libio/fputc.c (fputc): Likewise.
6645         * libio/fputc_u.c (fputc_unlocked): Likewise.
6646         * libio/fputwc.c (fputwc): Likewise.
6647         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6648         * libio/freopen.c (freopen): Likewise.
6649         * libio/freopen64.c (freopen64): Likewise.
6650         * libio/fseek.c (fseek): Likewise.
6651         * libio/fseeko.c (fseeko): Likewise.
6652         * libio/fseeko64.c (fseeko64): Likewise.
6653         * libio/ftello.c (__ftello): Likewise.
6654         * libio/ftello64.c (ftello64): Likewise.
6655         * libio/fwide.c (fwide): Likewise.
6656         * libio/genops.c (_IO_un_link): Likewise.
6657         (_IO_link_in): Likewise.
6658         (_IO_least_marker): Likewise.
6659         (_IO_switch_to_main_get_area): Likewise.
6660         (_IO_switch_to_backup_area): Likewise.
6661         (_IO_switch_to_get_mode): Likewise.
6662         (_IO_free_backup_area): Likewise.
6663         (_IO_switch_to_put_mode): Likewise.
6664         (__overflow): Likewise.
6665         (__underflow): Likewise.
6666         (__uflow): Likewise.
6667         (_IO_setb): Likewise.
6668         (_IO_doallocbuf): Likewise.
6669         (_IO_default_underflow): Likewise.
6670         (_IO_default_uflow): Likewise.
6671         (_IO_default_xsputn): Likewise.
6672         (_IO_sgetn): Likewise.
6673         (_IO_default_xsgetn): Likewise.
6674         (_IO_sync): Likewise.
6675         (_IO_default_setbuf): Likewise.
6676         (_IO_default_seekpos): Likewise.
6677         (_IO_default_doallocate): Likewise.
6678         (_IO_init): Likewise.
6679         (_IO_old_init): Likewise.
6680         (_IO_default_sync): Likewise.
6681         (_IO_default_finish): Likewise.
6682         (_IO_default_seekoff): Likewise.
6683         (_IO_sputbackc): Likewise.
6684         (_IO_sungetc): Likewise.
6685         (_IO_set_column): Likewise.
6686         (_IO_set_column): Likewise.
6687         (_IO_adjust_column): Likewise.
6688         (_IO_get_column): Likewise.
6689         (_IO_init_marker): Likewise.
6690         (_IO_remove_marker): Likewise.
6691         (_IO_marker_difference): Likewise.
6692         (_IO_marker_delta): Likewise.
6693         (_IO_seekmark): Likewise.
6694         (_IO_unsave_markers): Likewise.
6695         (_IO_nobackup_pbackfail): Likewise.
6696         (_IO_default_pbackfail): Likewise.
6697         (_IO_default_seek): Likewise.
6698         (_IO_default_stat): Likewise.
6699         (_IO_default_read): Likewise.
6700         (_IO_default_write): Likewise.
6701         (_IO_default_showmanyc): Likewise.
6702         (_IO_default_imbue): Likewise.
6703         (_IO_iter_next): Likewise.
6704         (_IO_iter_file): Likewise.
6705         * libio/getc.c (_IO_getc): Likewise.
6706         * libio/getwc.c (_IO_getwc): Likewise.
6707         * libio/iofclose.c (_IO_new_fclose): Likewise.
6708         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6709         * libio/iofflush.c (_IO_fflush): Likewise.
6710         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6711         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6712         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6713         * libio/iofgets.c (_IO_fgets): Likewise.
6714         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6715         * libio/iofgetws.c (fgetws): Likewise.
6716         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6717         * libio/iofopen64.c (_IO_fopen64): Likewise.
6718         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6719         (_IO_cookie_write): Likewise.
6720         (_IO_cookie_seek): Likewise.
6721         (_IO_cookie_close): Likewise.
6722         (_IO_cookie_seekoff): Likewise.
6723         (_IO_old_cookie_seek): Likewise.
6724         * libio/iofputs.c (_IO_fputs): Likewise.
6725         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6726         * libio/iofputws.c (fputws): Likewise.
6727         * libio/iofputws_u.c (fputws_unlocked): Likewise.
6728         * libio/iofread.c (_IO_fread): Likewise.
6729         * libio/iofread_u.c (__fread_unlocked): Likewise.
6730         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6731         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6732         * libio/ioftell.c (_IO_ftell): Likewise.
6733         * libio/iofwrite.c (_IO_fwrite): Likewise.
6734         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6735         * libio/iogets.c (_IO_gets): Likewise.
6736         * libio/iopadn.c (_IO_padn): Likewise.
6737         * libio/iopopen.c (_IO_new_proc_open): Likewise.
6738         (_IO_new_popen): Likewise.
6739         (_IO_new_proc_close): Likewise.
6740         * libio/ioputs.c (_IO_puts): Likewise.
6741         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6742         (_IO_seekoff): Likewise.
6743         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6744         (_IO_seekpos): Likewise.
6745         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6746         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6747         * libio/ioungetc.c (_IO_ungetc): Likewise.
6748         * libio/ioungetwc.c (ungetwc): Likewise.
6749         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6750         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6751         * libio/iowpadn.c (_IO_wpadn): Likewise.
6752         * libio/libc_fatal.c (__libc_fatal): Likewise.
6753         * libio/memstream.c (__open_memstream): Likewise.
6754         (_IO_mem_sync): Likewise.
6755         (_IO_mem_finish): Likewise.
6756         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6757         (_IO_old_file_close_it): Likewise.
6758         (_IO_old_file_finish): Likewise.
6759         (_IO_old_file_fopen): Likewise.
6760         (_IO_old_file_attach): Likewise.
6761         (_IO_old_file_setbuf): Likewise.
6762         (_IO_old_do_write): Likewise.
6763         (old_do_write): Likewise.
6764         (_IO_old_file_underflow): Likewise.
6765         (_IO_old_file_overflow): Likewise.
6766         (_IO_old_file_sync): Likewise.
6767         (_IO_old_file_seekoff): Likewise.
6768         (_IO_old_file_write): Likewise.
6769         (_IO_old_file_xsputn): Likewise.
6770         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6771         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6772         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6773         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6774         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6775         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6776         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6777         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6778         (_IO_old_popen): Likewise.
6779         (_IO_old_proc_close): Likewise.
6780         * libio/oldpclose.c (__old_pclose): Likewise.
6781         * libio/pclose.c (__new_pclose): Likewise.
6782         * libio/peekc.c (_IO_peekc_locked): Likewise.
6783         * libio/putc.c (_IO_putc): Likewise.
6784         * libio/putc_u.c (putc_unlocked): Likewise.
6785         * libio/putchar.c (putchar): Likewise.
6786         * libio/putchar_u.c (putchar_unlocked): Likewise.
6787         * libio/putwc.c (putwc): Likewise.
6788         * libio/putwc_u.c (putwc_unlocked): Likewise.
6789         * libio/putwchar.c (putwchar): Likewise.
6790         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6791         * libio/rewind.c (rewind): Likewise.
6792         * libio/setbuf.c (setbuf): Likewise.
6793         * libio/setlinebuf.c (setlinebuf): Likewise.
6794         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6795         * libio/vscanf.c (_IO_vscanf): Likewise.
6796         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6797         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6798         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6799         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6800         (_IO_switch_to_main_wget_area): Likewise.
6801         (_IO_switch_to_wbackup_area): Likewise.
6802         (_IO_wsetb): Likewise.
6803         (_IO_wdefault_pbackfail): Likewise.
6804         (_IO_wdefault_finish): Likewise.
6805         (_IO_wdefault_uflow): Likewise.
6806         (__woverflow): Likewise.
6807         (__wuflow): Likewise.
6808         (__wunderflow): Likewise.
6809         (_IO_wdefault_xsputn): Likewise.
6810         (_IO_wdefault_xsgetn): Likewise.
6811         (_IO_wdoallocbuf): Likewise.
6812         (_IO_wdefault_doallocate): Likewise.
6813         (_IO_switch_to_wget_mode): Likewise.
6814         (_IO_free_wbackup_area): Likewise.
6815         (_IO_switch_to_wput_mode): Likewise.
6816         (_IO_sputbackwc): Likewise.
6817         (_IO_sungetwc): Likewise.
6818         (_IO_adjust_wcolumn): Likewise.
6819         (_IO_init_wmarker): Likewise.
6820         (_IO_wmarker_delta): Likewise.
6821         (_IO_seekwmark): Likewise.
6822         (_IO_unsave_wmarkers): Likewise.
6823         * libio/wmemstream.c (open_wmemstream): Likewise.
6824         (_IO_wmem_sync): Likewise.
6825         (_IO_wmem_finish): Likewise.
6826         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6827         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6828         * locale/programs/simple-hash.c (init_hash): Likewise.
6829         (delete_hash): Likewise.
6830         (insert_entry): Likewise.
6831         (set_entry): Likewise.
6832         (next_prime): Likewise.
6833         (is_prime): Likewise.
6834         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6835         (xmalloc): Likewise.
6836         (xrealloc): Likewise.
6837         * locale/programs/xstrdup.c (xstrdup): Likewise.
6838         * localedata/collate-test.c (xstrcoll): Likewise.
6839         * localedata/xfrm-test.c (xstrcmp): Likewise.
6840         * login/getlogin_r.c (__getlogin_r): Likewise.
6841         * login/getpt.c (__posix_openpt): Likewise.
6842         * login/login_tty.c (login_tty): Likewise.
6843         * login/setlogin.c (setlogin): Likewise.
6844         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6845         (mach_msg_destroy_port): Likewise.
6846         (mach_msg_destroy_memory): Likewise.
6847         * malloc/mcheck.c (flood): Likewise.
6848         * misc/acct.c (acct): Likewise.
6849         * misc/brk.c (__brk): Likewise.
6850         * misc/chflags.c (chflags): Likewise.
6851         * misc/chroot.c (chroot): Likewise.
6852         * misc/fchflags.c (fchflags): Likewise.
6853         * misc/fstab.c (getfsspec): Likewise.
6854         (getfsfile): Likewise.
6855         * misc/fsync.c (fsync): Likewise.
6856         * misc/ftruncate.c (__ftruncate): Likewise.
6857         * misc/ftruncate64.c (__ftruncate64): Likewise.
6858         * misc/getdomain.c (getdomainname): Likewise.
6859         (getdomainname): Likewise.
6860         * misc/gethostname.c (__gethostname): Likewise.
6861         * misc/getpass.c (getpass): Likewise.
6862         * misc/getttyent.c (skip): Likewise.
6863         (value): Likewise.
6864         * misc/gtty.c (gtty): Likewise.
6865         * misc/hsearch.c (hsearch): Likewise.
6866         (hcreate): Likewise.
6867         * misc/hsearch_r.c (__hcreate_r): Likewise.
6868         (__hdestroy_r): Likewise.
6869         * misc/ioctl.c (__ioctl): Likewise.
6870         * misc/mkdtemp.c (mkdtemp): Likewise.
6871         * misc/mkostemp.c (mkostemp): Likewise.
6872         * misc/mkostemp64.c (mkostemp64): Likewise.
6873         * misc/mkostemps.c (mkostemps): Likewise.
6874         * misc/mkostemps64.c (mkostemps64): Likewise.
6875         * misc/mkstemp.c (mkstemp): Likewise.
6876         * misc/mkstemp64.c (mkstemp64): Likewise.
6877         * misc/mkstemps.c (mkstemps): Likewise.
6878         * misc/mkstemps64.c (mkstemps64): Likewise.
6879         * misc/mktemp.c (__mktemp): Likewise.
6880         * misc/preadv.c (preadv): Likewise.
6881         * misc/preadv64.c (preadv64): Likewise.
6882         * misc/pwritev.c (pwritev): Likewise.
6883         * misc/pwritev64.c (pwritev64): Likewise.
6884         * misc/readv.c (__readv): Likewise.
6885         * misc/revoke.c (revoke): Likewise.
6886         * misc/setdomain.c (setdomainname): Likewise.
6887         * misc/setegid.c (setegid): Likewise.
6888         * misc/seteuid.c (seteuid): Likewise.
6889         * misc/sethostid.c (sethostid): Likewise.
6890         * misc/sethostname.c (sethostname): Likewise.
6891         * misc/setregid.c (__setregid): Likewise.
6892         * misc/setreuid.c (__setreuid): Likewise.
6893         * misc/sstk.c (sstk): Likewise.
6894         * misc/stty.c (stty): Likewise.
6895         * misc/syscall.c (syscall): Likewise.
6896         * misc/syslog.c (setlogmask): Likewise.
6897         * misc/truncate.c (__truncate): Likewise.
6898         * misc/truncate64.c (truncate64): Likewise.
6899         * misc/ualarm.c (ualarm): Likewise.
6900         * misc/usleep.c (usleep): Likewise.
6901         * misc/ustat.c (ustat): Likewise.
6902         * misc/writev.c (__writev): Likewise.
6903         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6904         * nptl/old_pthread_cond_broadcast.c
6905         (__pthread_cond_broadcast_2_0): Likewise.
6906         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6907         Likewise.
6908         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6909         Likewise.
6910         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6911         Likewise.
6912         * nptl/pt-raise.c (raise): Likewise.
6913         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6914         Likewise.
6915         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6916         * nptl/pthread_barrierattr_destroy.c
6917         (pthread_barrierattr_destroy): Likewise.
6918         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6919         Likewise.
6920         * nptl/pthread_barrierattr_setpshared.c
6921         (pthread_barrierattr_setpshared): Likewise.
6922         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6923         Likewise.
6924         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6925         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6926         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6927         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6928         Likewise.
6929         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6930         Likewise.
6931         * nptl/pthread_condattr_getpshared.c
6932         (pthread_condattr_getpshared): Likewise.
6933         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6934         Likewise.
6935         * nptl/pthread_condattr_setpshared.c
6936         (pthread_condattr_setpshared): Likewise.
6937         * nptl/pthread_detach.c (pthread_detach): Likewise.
6938         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6939         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6940         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6941         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6942         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6943         Likewise.
6944         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6945         Likewise.
6946         * nptl/pthread_mutex_getprioceiling.c
6947         (pthread_mutex_getprioceiling): Likewise.
6948         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6949         Likewise.
6950         * nptl/pthread_mutexattr_getprotocol.c
6951         (pthread_mutexattr_getprotocol): Likewise.
6952         * nptl/pthread_mutexattr_getpshared.c
6953         (pthread_mutexattr_getpshared): Likewise.
6954         * nptl/pthread_mutexattr_getrobust.c
6955         (pthread_mutexattr_getrobust): Likewise.
6956         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6957         Likewise.
6958         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6959         Likewise.
6960         * nptl/pthread_mutexattr_setprioceiling.c
6961         (pthread_mutexattr_setprioceiling): Likewise.
6962         * nptl/pthread_mutexattr_setprotocol.c
6963         (pthread_mutexattr_setprotocol): Likewise.
6964         * nptl/pthread_mutexattr_setpshared.c
6965         (pthread_mutexattr_setpshared): Likewise.
6966         * nptl/pthread_mutexattr_setrobust.c
6967         (pthread_mutexattr_setrobust): Likewise.
6968         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6969         Likewise.
6970         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6971         Likewise.
6972         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6973         Likewise.
6974         * nptl/pthread_rwlockattr_getkind_np.c
6975         (pthread_rwlockattr_getkind_np): Likewise.
6976         * nptl/pthread_rwlockattr_getpshared.c
6977         (pthread_rwlockattr_getpshared): Likewise.
6978         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6979         Likewise.
6980         * nptl/pthread_rwlockattr_setkind_np.c
6981         (pthread_rwlockattr_setkind_np): Likewise.
6982         * nptl/pthread_rwlockattr_setpshared.c
6983         (pthread_rwlockattr_setpshared): Likewise.
6984         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6985         Likewise.
6986         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6987         Likewise.
6988         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6989         Likewise.
6990         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6991         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6992         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6993         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6994         * nptl/sem_close.c (sem_close): Likewise.
6995         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6996         * nptl/sem_init.c (__old_sem_init): Likewise.
6997         * nptl/sigaction.c (__sigaction): Likewise.
6998         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6999         * posix/_exit.c (_exit): Likewise.
7000         * posix/alarm.c (alarm): Likewise.
7001         * posix/confstr.c (confstr): Likewise.
7002         * posix/fpathconf.c (__fpathconf): Likewise.
7003         * posix/getgroups.c (__getgroups): Likewise.
7004         * posix/getpgid.c (__getpgid): Likewise.
7005         * posix/group_member.c (__group_member): Likewise.
7006         * posix/pathconf.c (__pathconf): Likewise.
7007         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7008         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7009         * posix/setgid.c (__setgid): Likewise.
7010         * posix/setpgid.c (__setpgid): Likewise.
7011         * posix/setuid.c (__setuid): Likewise.
7012         * posix/sleep.c (__sleep): Likewise.
7013         * posix/sysconf.c (__sysconf): Likewise.
7014         * posix/times.c (__times): Likewise.
7015         * posix/uname.c (__uname): Likewise.
7016         * posix/waitid.c (__waitid): Likewise.
7017         * pwd/getpw.c (__getpw): Likewise.
7018         * resolv/base64.c (b64_pton): Likewise.
7019         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7020         * resolv/gethnamaddr.c (Dprintf): Likewise.
7021         (gethostbyname): Likewise.
7022         (gethostbyname2): Likewise.
7023         (gethostbyaddr): Likewise.
7024         (_sethtent): Likewise.
7025         (_gethtbyname): Likewise.
7026         (_gethtbyname2): Likewise.
7027         (_gethtbyaddr): Likewise.
7028         (map_v4v6_address): Likewise.
7029         (map_v4v6_hostent): Likewise.
7030         (addrsort): Likewise.
7031         (ht_sethostent): Likewise.
7032         (ht_gethostbyname): Likewise.
7033         (ht_gethostbyaddr): Likewise.
7034         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7035         (inet_net_ntop_ipv4): Likewise.
7036         * resolv/inet_neta.c (inet_neta): Likewise.
7037         * resolv/inet_ntop.c (inet_ntop): Likewise.
7038         (inet_ntop4): Likewise.
7039         (inet_ntop6): Likewise.
7040         * resolv/inet_pton.c (__inet_pton): Likewise.
7041         (inet_pton4): Likewise.
7042         (inet_pton6): Likewise.
7043         * resolv/res_debug.c (loc_aton): Likewise.
7044         (loc_ntoa): Likewise.
7045         * resource/getpriority.c (__getpriority): Likewise.
7046         * resource/getrusage.c (__getrusage): Likewise.
7047         * resource/nice.c (nice): Likewise.
7048         * resource/setpriority.c (__setpriority): Likewise.
7049         * resource/setrlimit64.c (setrlimit64): Likewise.
7050         * resource/vlimit.c (vlimit): Likewise.
7051         * resource/vtimes.c (vtimes): Likewise.
7052         * rt/aio_error.c (aio_error): Likewise.
7053         * rt/aio_return.c (aio_return): Likewise.
7054         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7055         * signal/kill.c (__kill): Likewise.
7056         * signal/killpg.c (killpg): Likewise.
7057         * signal/raise.c (raise): Likewise.
7058         * signal/sigaction.c (__sigaction): Likewise.
7059         * signal/sigaddset.c (sigaddset): Likewise.
7060         * signal/sigaltstack.c (sigaltstack): Likewise.
7061         * signal/sigandset.c (sigandset): Likewise.
7062         * signal/sigblock.c (__sigblock): Likewise.
7063         * signal/sigdelset.c (sigdelset): Likewise.
7064         * signal/sigempty.c (sigemptyset): Likewise.
7065         * signal/sigfillset.c (sigfillset): Likewise.
7066         * signal/sighold.c (sighold): Likewise.
7067         * signal/sigignore.c (sigignore): Likewise.
7068         * signal/sigintr.c (siginterrupt): Likewise.
7069         * signal/sigisempty.c (sigisemptyset): Likewise.
7070         * signal/sigismem.c (sigismember): Likewise.
7071         * signal/signal.c (signal): Likewise.
7072         * signal/sigorset.c (sigorset): Likewise.
7073         * signal/sigpause.c (__sigpause): Likewise.
7074         * signal/sigpending.c (sigpending): Likewise.
7075         * signal/sigprocmask.c (__sigprocmask): Likewise.
7076         * signal/sigrelse.c (sigrelse): Likewise.
7077         * signal/sigreturn.c (__sigreturn): Likewise.
7078         * signal/sigset.c (sigset): Likewise.
7079         * signal/sigsetmask.c (__sigsetmask): Likewise.
7080         * signal/sigstack.c (sigstack): Likewise.
7081         * signal/sigsuspend.c (__sigsuspend): Likewise.
7082         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7083         * signal/sysv_signal.c (__sysv_signal): Likewise.
7084         * socket/accept.c (accept): Likewise.
7085         * socket/accept4.c (__libc_accept4): Likewise.
7086         * socket/bind.c (__bind): Likewise.
7087         * socket/connect.c (__connect): Likewise.
7088         * socket/getpeername.c (getpeername): Likewise.
7089         * socket/getsockname.c (__getsockname): Likewise.
7090         * socket/getsockopt.c (getsockopt): Likewise.
7091         * socket/listen.c (__listen): Likewise.
7092         * socket/recv.c (__recv): Likewise.
7093         * socket/recvmsg.c (__recvmsg): Likewise.
7094         * socket/send.c (__send): Likewise.
7095         * socket/sendmsg.c (__sendmsg): Likewise.
7096         * socket/shutdown.c (shutdown): Likewise.
7097         * socket/sockatmark.c (sockatmark): Likewise.
7098         * socket/socket.c (__socket): Likewise.
7099         * stdio-common/ctermid.c (ctermid): Likewise.
7100         * stdio-common/cuserid.c (cuserid): Likewise.
7101         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7102         * stdio-common/remove.c (remove): Likewise.
7103         * stdio-common/rename.c (rename): Likewise.
7104         * stdio-common/renameat.c (renameat): Likewise.
7105         * stdio-common/tempname.c (__gen_tempname): Likewise.
7106         * stdio-common/xbug.c (InitBuffer): Likewise.
7107         (AppendToBuffer): Likewise.
7108         (ReadFile): Likewise.
7109         * stdlib/a64l.c (a64l): Likewise.
7110         * stdlib/drand48_r.c (drand48_r): Likewise.
7111         * stdlib/getcontext.c (getcontext): Likewise.
7112         * stdlib/getenv.c (getenv): Likewise.
7113         * stdlib/l64a.c (l64a): Likewise.
7114         * stdlib/llabs.c (llabs): Likewise.
7115         * stdlib/lldiv.c (lldiv): Likewise.
7116         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7117         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7118         * stdlib/putenv.c (putenv): Likewise.
7119         * stdlib/random.c (__srandom): Likewise.
7120         (__initstate): Likewise.
7121         (__setstate): Likewise.
7122         * stdlib/random_r.c (__srandom_r): Likewise.
7123         (__setstate_r): Likewise.
7124         (__random_r): Likewise.
7125         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7126         * stdlib/setcontext.c (setcontext): Likewise.
7127         * stdlib/setenv.c (setenv): Likewise.
7128         (unsetenv): Likewise.
7129         * stdlib/srand48.c (srand48): Likewise.
7130         * stdlib/srand48_r.c (__srand48_r): Likewise.
7131         * stdlib/swapcontext.c (swapcontext): Likewise.
7132         * stdlib/system.c (__libc_system): Likewise.
7133         * stdlib/tst-strtod.c (expand): Likewise.
7134         * stdlib/tst-strtol.c (expand): Likewise.
7135         * stdlib/tst-strtoll.c (expand): Likewise.
7136         * streams/fattach.c (fattach): Likewise.
7137         * streams/fdetach.c (fdetach): Likewise.
7138         * streams/getmsg.c (getmsg): Likewise.
7139         * streams/isastream.c (isastream): Likewise.
7140         * string/ffs.c (__ffs): Likewise.
7141         * string/ffsll.c (ffsll): Likewise.
7142         * string/memcmp.c (memcmp_common_alignment): Likewise.
7143         (memcmp_not_common_alignment): Likewise.
7144         (MEMCMP): Likewise.
7145         * string/memcpy.c (memcpy): Likewise.
7146         * string/memmove.c (MEMMOVE): Likewise.
7147         * string/memset.c (memset): Likewise.
7148         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7149         * string/strchrnul.c (STRCHRNUL): Likewise.
7150         * string/strerror.c (strerror): Likewise.
7151         * string/strndup.c (__strndup): Likewise.
7152         * string/strverscmp.c (__strverscmp): Likewise.
7153         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7154         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7155         (clnttcp_freeres): Likewise.
7156         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7157         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7158         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7159         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7160         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7161         (xdr_callhdr): Likewise.
7162         * sunrpc/rpcinfo.c (udpping): Likewise.
7163         (tcpping): Likewise.
7164         (pstatus): Likewise.
7165         (pmapdump): Likewise.
7166         (brdcst): Likewise.
7167         (deletereg): Likewise.
7168         (getprognum): Likewise.
7169         (getvers): Likewise.
7170         (get_inet_address): Likewise.
7171         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7172         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7173         (svcudp_stat): Likewise.
7174         (svcudp_recv): Likewise.
7175         (svcudp_reply): Likewise.
7176         (svcudp_getargs): Likewise.
7177         (svcudp_freeargs): Likewise.
7178         (svcudp_destroy): Likewise.
7179         * sunrpc/xdr.c (xdr_bytes): Likewise.
7180         (xdr_netobj): Likewise.
7181         (xdr_string): Likewise.
7182         (xdr_wrapstring): Likewise.
7183         * sunrpc/xdr_float.c (xdr_float): Likewise.
7184         (xdr_double): Likewise.
7185         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7186         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7187         * sysvipc/ftok.c (ftok): Likewise.
7188         * sysvipc/msgctl.c (msgctl): Likewise.
7189         * sysvipc/msgget.c (msgget): Likewise.
7190         * sysvipc/msgrcv.c (msgrcv): Likewise.
7191         * sysvipc/msgsnd.c (msgsnd): Likewise.
7192         * sysvipc/semget.c (semget): Likewise.
7193         * sysvipc/semop.c (semop): Likewise.
7194         * sysvipc/shmat.c (shmat): Likewise.
7195         * sysvipc/shmctl.c (shmctl): Likewise.
7196         * sysvipc/shmdt.c (shmdt): Likewise.
7197         * sysvipc/shmget.c (shmget): Likewise.
7198         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7199         * termios/speed.c (cfgetospeed): Likewise.
7200         (cfgetispeed): Likewise.
7201         (cfsetospeed): Likewise.
7202         (cfsetispeed): Likewise.
7203         * termios/tcflow.c (tcflow): Likewise.
7204         * termios/tcflush.c (tcflush): Likewise.
7205         * termios/tcgetattr.c (__tcgetattr): Likewise.
7206         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7207         * termios/tcgetsid.c (tcgetsid): Likewise.
7208         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7209         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7210         * time/adjtime.c (__adjtime): Likewise.
7211         * time/dysize.c (dysize): Likewise.
7212         * time/ftime.c (ftime): Likewise.
7213         * time/getitimer.c (__getitimer): Likewise.
7214         * time/gettimeofday.c (__gettimeofday): Likewise.
7215         * time/gmtime.c (__gmtime_r): Likewise.
7216         (gmtime): Likewise.
7217         * time/localtime.c (__localtime_r): Likewise.
7218         (localtime): Likewise.
7219         * time/offtime.c (__offtime): Likewise.
7220         * time/settimeofday.c (__settimeofday): Likewise.
7221         * time/stime.c (stime): Likewise.
7222         * time/strftime_l.c (tm_diff): Likewise.
7223         (iso_week_days): Likewise.
7224         * time/strptime.c (strptime): Likewise.
7225         * time/time.c (time): Likewise.
7226         * time/timespec_get.c (timespec_get): Likewise.
7227         * time/tzset.c (tzset_internal): Likewise.
7228         (compute_change): Likewise.
7229         (__tz_compute): Likewise.
7230         * wcsmbs/btowc.c (__btowc): Likewise.
7231         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7232         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7233         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7234         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7235         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7236         * wcsmbs/wcscat.c (__wcscat): Likewise.
7237         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7238         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7239         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7240         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7241         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7242         * wcsmbs/wcslen.c (__wcslen): Likewise.
7243         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7244         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7245         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7246         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7247         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7248         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7249         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7250         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7251         * wcsmbs/wcstok.c (wcstok): Likewise.
7252         * wcsmbs/wctob.c (wctob): Likewise.
7253         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7254         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7255         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7256         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7257         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7258         * wcsmbs/wmemset.c (__wmemset): Likewise.
7259         * wctype/wcfuncs.c (__towlower): Likewise.
7260         (__towupper): Likewise.
7262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7263         (lll_unlock_elision): Add adapt_count parameter.
7265 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7267         * sysdeps/nptl/configure.ac: Do not give errors based on the
7268         results of top-level configure tests.
7269         * sysdeps/nptl/configure: Regenerated.
7271         * configure.ac (libc_cv_Bgroup): Remove configure test.
7272         * configure: Regenerated.
7273         * config.make.in (have-Bgroup): Remove variable.
7275         * configure.ac (sizeof_long_double): Remove configure test.
7276         * configure: Regenerated.
7277         * config.make.in (sizeof-long-double): Remove variable.
7279         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7280         * configure: Regenerated.
7281         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7282         variable.
7283         (exceptions): Likewise.
7284         * sysdeps/arm/configure: Regenerated.
7285         * config.make.in (exceptions): Remove variable.
7286         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7287         $(exceptions).
7288         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7289         (CFLAGS-vdprintf_chk.c): Likewise.
7290         (CFLAGS-printf_chk.c): Likewise.
7291         (CFLAGS-fprintf_chk.c): Likewise.
7292         (CFLAGS-vprintf_chk.c): Likewise.
7293         (CFLAGS-vfprintf_chk.c): Likewise.
7294         (CFLAGS-gets_chk.c): Likewise.
7295         (CFLAGS-fgets_chk.c): Likewise.
7296         (CFLAGS-fgets_u_chk.c): Likewise.
7297         (CFLAGS-fread_chk.c): Likewise.
7298         (CFLAGS-fread_u_chk.c): Likewise.
7299         (CFLAGS-wprintf_chk.c): Likewise.
7300         (CFLAGS-fwprintf_chk.c): Likewise.
7301         (CFLAGS-vwprintf_chk.c): Likewise.
7302         (CFLAGS-vfwprintf_chk.c): Likewise.
7303         (CFLAGS-fgetws_chk.c): Likewise.
7304         (CFLAGS-fgetws_u_chk.c): Likewise.
7305         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7306         (CFLAGS-fputc.c): Likewise.
7307         (CFLAGS-fputwc.c): Likewise.
7308         (CFLAGS-freopen64.c): Likewise.
7309         (CFLAGS-freopen.c): Likewise.
7310         (CFLAGS-fseek.c): Likewise.
7311         (CFLAGS-fseeko64.c): Likewise.
7312         (CFLAGS-fseeko.c): Likewise.
7313         (CFLAGS-ftello64.c): Likewise.
7314         (CFLAGS-ftello.c): Likewise.
7315         (CFLAGS-fwide.c): Likewise.
7316         (CFLAGS-genops.c): Likewise.
7317         (CFLAGS-getc.c): Likewise.
7318         (CFLAGS-getchar.c): Likewise.
7319         (CFLAGS-getwc.c): Likewise.
7320         (CFLAGS-getwchar.c): Likewise.
7321         (CFLAGS-iofclose.c): Likewise.
7322         (CFLAGS-iofflush.c): Likewise.
7323         (CFLAGS-iofgetpos64.c): Likewise.
7324         (CFLAGS-iofgetpos.c): Likewise.
7325         (CFLAGS-iofgets.c): Likewise.
7326         (CFLAGS-iofgetws.c): Likewise.
7327         (CFLAGS-iofputs.c): Likewise.
7328         (CFLAGS-iofputws.c): Likewise.
7329         (CFLAGS-iofread.c): Likewise.
7330         (CFLAGS-iofsetpos64.c): Likewise.
7331         (CFLAGS-iofsetpos.c): Likewise.
7332         (CFLAGS-ioftell.c): Likewise.
7333         (CFLAGS-iofwrite.c): Likewise.
7334         (CFLAGS-iogetdelim.c): Likewise.
7335         (CFLAGS-iogetline.c): Likewise.
7336         (CFLAGS-iogets.c): Likewise.
7337         (CFLAGS-iogetwline.c): Likewise.
7338         (CFLAGS-ioputs.c): Likewise.
7339         (CFLAGS-ioseekoff.c): Likewise.
7340         (CFLAGS-ioseekpos.c): Likewise.
7341         (CFLAGS-iosetbuffer.c): Likewise.
7342         (CFLAGS-iosetvbuf.c): Likewise.
7343         (CFLAGS-ioungetc.c): Likewise.
7344         (CFLAGS-ioungetwc.c): Likewise.
7345         (CFLAGS-oldfileops.c): Likewise.
7346         (CFLAGS-oldiofclose.c): Likewise.
7347         (CFLAGS-oldiofgetpos64.c): Likewise.
7348         (CFLAGS-oldiofgetpos.c): Likewise.
7349         (CFLAGS-oldiofsetpos64.c): Likewise.
7350         (CFLAGS-oldiofsetpos.c): Likewise.
7351         (CFLAGS-peekc.c): Likewise.
7352         (CFLAGS-putc.c): Likewise.
7353         (CFLAGS-putchar.c): Likewise.
7354         (CFLAGS-putwc.c): Likewise.
7355         (CFLAGS-putwchar.c): Likewise.
7356         (CFLAGS-rewind.c): Likewise.
7357         (CFLAGS-wfileops.c): Likewise.
7358         (CFLAGS-wgenops.c): Likewise.
7359         (CFLAGS-oldiofopen.c): Likewise.
7360         (CFLAGS-iofopen.c): Likewise.
7361         (CFLAGS-iofopen64.c): Likewise.
7362         (CFLAGS-oldtmpfile.c): Likewise.
7363         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7364         (CFLAGS-fprintf.c): Likewise.
7365         (CFLAGS-printf.c): Likewise.
7366         (CFLAGS-vfwprintf.c): Likewise.
7367         (CFLAGS-vfscanf.c): Likewise.
7368         (CFLAGS-vfwscanf.c): Likewise.
7369         (CFLAGS-fscanf.c): Likewise.
7370         (CFLAGS-scanf.c): Likewise.
7371         (CFLAGS-isoc99_vfscanf.c): Likewise.
7372         (CFLAGS-isoc99_vscanf.c): Likewise.
7373         (CFLAGS-isoc99_fscanf.c): Likewise.
7374         (CFLAGS-isoc99_scanf.c): Likewise.
7375         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7376         (CFLAGS-isoc99_fwscanf.c): Likewise.
7377         (CFLAGS-isoc99_vwscanf.c): Likewise.
7378         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7380         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7381         after mkstemp64.
7382         * login/tst-utmp.c (do_prepare): Likewise.
7383         * rt/tst-aio.c (do_prepare): Likewise.
7384         * rt/tst-aio64.c (do_prepare): Likewise.
7386 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7388         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7389         (__lll_lock_elision): Remove adapt_count decrement...
7390         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7391         (__lll_trylock_elision): Likewise.
7392         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7393         (__lll_unlock_elision): ... to here. And utilize
7394         new adapt_count parameter.
7395         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7396         (__lll_unlock_elision): Update to include adapt_count
7397         parameter.
7398         (lll_unlock_elision): Pass pointer to adapt_count
7399         variable.
7401 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7403         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7404         Add elision adapt_count parameter to list of arguments.
7405         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7406         (lll_unlock_elision): Update with new parameter list
7407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7408         (lll_unlock_elision): Likewise.
7409         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7410         (lll_unlock_elision): Likewise.
7412 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7414         [BZ #19122]
7415         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7416         attribute_hidden.
7418         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7419         attribute_hidden.
7420         [IS_IN (rtld)] (__strdup): Likewise.
7421         [IS_IN (rtld)] (__strerror_r): Likewise.
7422         [IS_IN (rtld)] (__strsep_g): Likewise.
7423         [IS_IN (rtld)] (memchr): Likewise.
7424         [IS_IN (rtld)] (memcmp): Likewise.
7425         [IS_IN (rtld)] (memcpy): Likewise.
7426         [IS_IN (rtld)] (memmove): Likewise.
7427         [IS_IN (rtld)] (memset): Likewise.
7428         [IS_IN (rtld)] (rawmemchr): Likewise.
7429         [IS_IN (rtld)] (stpcpy): Likewise.
7430         [IS_IN (rtld)] (strchr): Likewise.
7431         [IS_IN (rtld)] (strcmp): Likewise.
7432         [IS_IN (rtld)] (strlen): Likewise.
7433         [IS_IN (rtld)] (strnlen): Likewise.
7434         [IS_IN (rtld)] (strsep): Likewise.
7436         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7437         attribute_hidden.
7438         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7440         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7441         attribute_hidden.
7442         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7444         * include/setjmp.h (__longjmp): Add attribute_hidden.
7445         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7447         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7448         Add attribute_hidden.
7450         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7451         [IS_IN (rtld)] (__open): Likewise.
7452         [IS_IN (rtld)] (__fcntl): Likewise.
7454         * include/dirent.h (__opendirat): Add attribute_hidden.
7455         (__getdents): Likewise.
7456         (__getdents64): Likewise.
7457         (__alloc_dir): Likewise.
7458         [IS_IN (rtld)] (__closedir): Likewise.
7459         [IS_IN (rtld)] (__fdopendir): Likewise.
7460         [IS_IN (rtld)] (__readdir): Likewise.
7461         [IS_IN (rtld)] (__readdir64): Likewise.
7462         [IS_IN (rtld)] (__rewinddir): Likewise.
7464         * include/dlfcn.h (_dl_catch_error): Moved to ...
7465         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7466         attribute_hidden.
7468         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7469         (_itoa_word): Likewise.
7471         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7472         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7473         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7474         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7475         (_dl_higher_prime_number): Likewise.
7476         (_dl_debug_printf_c): Likewise.
7477         (_dl_signal_cerror): Likewise.
7478         (_dl_receive_error): Likewise.
7479         (_dl_reloc_bad_type): Likewise.
7480         (_dl_resolve_conflicts): Likewise.
7481         (_dl_check_all_versions): Likewise.
7482         (_dl_check_map_versions): Likewise.
7483         (_dl_sort_fini): Likewise.
7484         (_dl_debug_initialize): Likewise.
7485         (_dl_init_paths): Likewise.
7486         (_dl_show_auxv): Likewise.
7487         (_dl_next_ld_env_entry): Likewise.
7488         (_dl_important_hwcaps): Likewise.
7489         (_dl_load_cache_lookup): Likewise.
7490         (_dl_update_slotinfo): Likewise.
7491         (_dl_show_scope): Likewise.
7493         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7494         attribute_hidden.
7495         (_wordcopy_fwd_dest_aligned): Likewise.
7496         (_wordcopy_bwd_aligned): Likewise.
7497         (_wordcopy_bwd_dest_aligned): Likewise.
7499         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7500         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7501         Likewise.
7502         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7503         Likewise.
7504         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7506 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7509         GCC 5 requirement.
7511 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7513         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7514         test.
7515         * sysdeps/i386/configure: Regenerated.
7516         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7517         code unconditional.
7519         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7520         test.
7521         (libc_cv_asm_popsection_directive): Likewise.
7522         * configure: Regenerated.
7523         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7524         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7525         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7526         (__make_section_unallocated): Make definition unconditional.
7527         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7528         Remove conditional definition.
7529         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7530         (__make_section_unallocated): Likewise.
7532         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7533         * configure: Regenerated.
7534         * config.make.in (static-libgcc): Remove variable.
7535         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7536         $(static-libgcc).
7537         (build-module-helper): Likewise.
7539         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7540         * configure: Regenerated.
7542 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7544         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7545         (struct char_buffer): New type.
7546         (char_buffer_start, char_buffer_size, char_buffer_error)
7547         (char_buffer_rewind, char_buffer_add): New functions.
7548         (ADDW): Remove macro, replaced by the char_buffer_add function.
7549         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7550         of extend_alloca.  Make control flow more explicit.
7552 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7554         [BZ #19137]
7555         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7556         Add -fomit-frame-pointer.
7557         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7559 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7561         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7562         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7563         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7564         only if !__GNUC_PREREQ (5,0).
7565         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7566         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7567         (INTERNAL_SYSCALL_NCS): Likewise.
7568         (LOADREGS_0): New macro for GCC 5.
7569         (ASMARGS_0): Likewise.
7570         (LOADREGS_1): Likewise.
7571         (ASMARGS_1): Likewise.
7572         (LOADREGS_2): Likewise.
7573         (ASMARGS_2): Likewise.
7574         (LOADREGS_3): Likewise.
7575         (ASMARGS_3): Likewise.
7576         (LOADREGS_4): Likewise.
7577         (ASMARGS_4): Likewise.
7578         (LOADREGS_5): Likewise.
7579         (ASMARGS_5): Likewise.
7580         (LOADREGS_6): Likewise.
7581         (ASMARGS_6): Likewise.
7583 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7585         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7586         -fomit-frame-pointer.
7587         (CFLAGS-mmap64.c): Likewise.
7588         (CFLAGS-semtimedop.c): Likewise.
7589         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7590         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7591         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7592         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7594 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7596         [BZ #18928]
7597         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7598         _dl_pointer_guard member.
7599         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7600         initializer.
7601         (security_init): Always set up pointer guard.
7602         (process_envvars): Do not process LD_POINTER_GUARD.
7604 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7606         [BZ #19134]
7607         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7608         (.LC2): Likewise.
7609         (.LC3): Likewise.
7610         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7612 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7614         [BZ #19129]
7615         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7616         r0 and r1.
7618 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7620         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7622 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7624         * include/stap-probe.h: Fix macro definition formatting.
7626 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7628         [BZ #19074]
7629         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7630         load and store num_ifs.
7632 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7634         [BZ #18822]
7635         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7636         (__sched_getaffinity_new): Add libc_hidden_proto and
7637         libc_hidden_def.
7639 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7641         [BZ #19007]
7642         * scripts/localplt.awk: Also allow GOT references.
7643         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7644         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7645         with "+ REL R_386_GLOB_DAT".
7646         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7647         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7649 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7651         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7652         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7653         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7654         Likewise.
7655         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7656         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7657         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7658         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7659         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7660         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7661         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7662         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7663         Likewise.
7664         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7666 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7668         [BZ #19125]
7669         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7670         <math_private.h> and <stdint.h>.
7671         (__llround): Avoid conversions to and from long long int, and
7672         subtractions, where those might raise spurious exceptions.
7673         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7674         <math_private.h> and <stdint.h>.
7675         (__llroundf): Avoid conversions to and from long long int, and
7676         subtractions, where those might raise spurious exceptions.
7678 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7680         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7681         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7682         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7683         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7684         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7685         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7686         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7687         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7688         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7689         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7690         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7691         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7692         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7693         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7694         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7695         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7696         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7697         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7698         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7699         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7700         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7701         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7702         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7703         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7704         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7705         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7706         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7707         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7708         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7709         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7710         (__xstat64_conv): Likewise.
7711         (__xstat32_conv): Likewise.
7713 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7715         * sysdeps/unix/sysv/linux/sysdep.h: New file.
7716         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7717         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7718         <sysdeps/unix/sysv/linux/sysdep.h>.
7719         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7720         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7721         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7722         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7723         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7724         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7725         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7726         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7727         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7732         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7733         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7735         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7736         (sysdep-dl-routines): Add sysdep.
7737         [$(subdir) == nptl] (libpthread-routines): Likewise.
7738         [$(subdir) == rt] (librt-routines): Likewise.
7739         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7740         PIC when branching to SYSCALL_ERROR_LABEL.
7741         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7743         <sysdeps/unix/sysv/linux/sysdep.h>.
7744         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7745         (SYSCALL_ERROR_ERRNO): Removed.
7746         (SYSCALL_ERROR_HANDLER): Changed to empty.
7747         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7748         (__syscall_error): New prototype.
7749         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7750         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7752 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7754         [BZ #19124]
7755         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7756         (_dl_runtime_resolve_avx512): Make it a hidden alias of
7757         _dl_runtime_resolve_avx.
7758         (_dl_runtime_profile_avx512): Make it a hidden alias of
7759         _dl_runtime_profile_avx.
7761 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7763         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7764         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7765         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7766         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7768         [BZ #16422]
7769         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7770         New configure test.
7771         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7772         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7773         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7774         <math_private.h> and <stdint.h>.
7775         (__llrint): Avoid conversions to long long int where those might
7776         raise spurious exceptions.
7777         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7778         <math_private.h> and <stdint.h>.
7779         (__llrintf): Avoid conversions to long long int where those might
7780         raise spurious exceptions.
7782 2015-10-12  Andreas Schwab  <schwab@suse.de>
7784         [BZ #18969]
7785         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7786         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7787         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7788         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7789         $(gen-locales).
7790         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7791         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7792         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7793         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7794         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7795         $(gen-locales).
7796         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7797         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7798         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7799         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7800         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7801         ($(objpfx)tst-ftell-active-handler.out)
7802         ($(objpfx)tst-ftell-append.out)
7803         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7804         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7805         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7806         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7807         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7808         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7809         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7810         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7811         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7812         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7813         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7814         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7815         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7816         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7817         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7818         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7819         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7820         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7821         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7822         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7823         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7824         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7825         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7826         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7827         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7828         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7829         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7830         $(gen-locales).
7831         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7832         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7833         $(gen-locales).
7834         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7835         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7836         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7837         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7838         $(gen-locales).
7839         * libio/tst_wprintf2.c (main): Use explicit locale.
7840         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7842 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7844         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7845         __msg_sig_post.
7846         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7848 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7850         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7851         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7853         * sysdeps/arm/libm-test-ulps: Regenerated.
7855         [BZ #15470]
7856         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7858         [BZ #16399]
7859         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7860         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7861         and <fix-fp-int-convert-overflow.h>.
7862         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7864         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7865         and <fix-fp-int-convert-overflow.h>.
7866         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7868         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7869         <fix-fp-int-convert-overflow.h>.
7870         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7871         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7872         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7873         <fix-fp-int-convert-overflow.h>.
7874         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7875         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7876         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7877         and <fix-fp-int-convert-overflow.h>.
7878         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7879         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7880         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7881         <limits.h> and <fix-fp-int-convert-overflow.h>.
7882         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7883         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7884         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7885         and <fix-fp-int-convert-overflow.h>.
7886         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7887         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7888         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7889         and <fix-fp-int-convert-overflow.h>.
7890         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7891         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7892         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7894 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7896         [BZ #18589]
7897         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7898         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7899         $(gen-locales).
7901 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7902             Phil Blundell <pb@pbcl.net>
7904         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7905         * nptl/tst-cancel26.c: New file.
7906         * nptl/tst-cancel27.c: Likewise.
7908 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7910         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7911         __ILP32__ isn't defined.
7912         (lrint): Likewise.
7913         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7914         (lrintf): Likewise.
7915         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7916         (lrintl): Likewise.
7917         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7918         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7919         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7921 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7923         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7924         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7926         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7927         file.
7928         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7929         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7931 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7933         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7934         configure test.
7935         * sysdeps/i386/configure: Regenerated.
7936         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7937         configure test.
7938         * sysdeps/x86_64/configure: Regenerated.
7939         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7940         Make code unconditional.
7942         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7943         test.
7944         * sysdeps/i386/configure: Regenerated.
7945         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7946         test.
7947         * sysdeps/x86_64/configure: Regenerated.
7948         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7949         Make code unconditional.
7950         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7951         Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7953         Likewise.
7954         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7955         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7956         code unconditional.
7957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7958         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7959         code unconditional.
7960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7961         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7962         code unconditional.
7963         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7964         code unconditional.
7965         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7966         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7967         code unconditional.
7968         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7969         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7970         code unconditional.
7971         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7972         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7973         code unconditional.
7974         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7975         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7976         code unconditional.
7977         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7978         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7980         [BZ #19095]
7981         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7982         mantissa to long int before shifting left.
7984 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7986         [BZ #19094]
7987         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7988         <limits.h>.
7989         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7990         when result overflows but exception would not result from cast.
7991         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7992         <limits.h>.
7993         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7994         when result overflows but exception would not result from cast.
7995         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7996         <limits.h>.
7997         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7998         when result overflows but exception would not result from cast.
7999         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8000         <limits.h>.
8001         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8002         when result overflows but exception would not result from cast.
8003         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8004         <limits.h>.
8005         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8006         when result overflows but exception would not result from cast.
8007         * math/libm-test.inc (lrint_test_data): Add more tests.
8008         (llrint_test_data): Likewise.
8010 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8012         [BZ #18872]
8013         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8014         Move out from under [$(run-built-tests) = yes] conditional.
8015         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8016         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8018 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8020         [BZ #18589]
8021         * string/Makefile (tests): Add bug-strcoll2.
8022         (LOCALES): Add cs_CZ.UTF-8.
8023         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8025         [BZ #18589]
8026         * string/bug-strcoll2.c: New file.
8027         * locale/categories.def: Revert commit
8028         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8029         * locale/langinfo.h: Likewise.
8030         * locale/localeinfo.h: Likewise.
8031         * locale/C-collate.c: Likewise.
8032         * locale/programs/ld-collate.c (collate_output): Likewise.
8033         * string/strcoll_l.c (STRDIFF): Likewise.
8034         (STRCOLL): Likewise.
8035         * wcsmbs/wcscoll_l.c: Likewise.
8037 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8039         * math/libm-test.inc (lround_test_data): Do not expect the absence
8040         of "inexact" for some tests with non-integer arguments.
8041         (llround_test_data): Likewise.
8043         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8044         test.
8045         (libc_cv_cc_sse2avx): Likewise.
8046         * sysdeps/i386/configure: Regenerated.
8047         * sysdeps/i386/i686/multiarch/Makefile
8048         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8049         [$(subdir) = math].
8050         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8051         code unconditional.
8052         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8053         Likewise.
8054         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8055         Likewise.
8056         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8057         Likewise.
8058         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8059         test.
8060         (libc_cv_cc_sse2avx): Likewise.
8061         * sysdeps/x86_64/configure: Regenerated.
8062         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8063         unconditional.
8064         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8065         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8066         unconditional.
8067         (_dl_runtime_profile)
8068         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8069         conditional code.
8070         * sysdeps/x86_64/fpu/multiarch/Makefile
8071         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8073         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8074         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8075         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8076         * sysdeps/x86_64/fpu/multiarch/e_log.c
8077         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8078         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8079         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8081         Likewise.
8082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8083         Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8086         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8087         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8088         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8089         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8090         (HAVE_SSE2AVX_SUPPORT): Likewise.
8092 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8094         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8095         instead of #pragma optimize.
8097 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8099         [BZ #17195]
8100         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8101         as is similarly done in systrim and _int_free already.
8103 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8105         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8107 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8109         [BZ #19088]
8110         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8111         <limits.h>.
8112         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8113         overflows but exception would not result from cast.
8114         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8115         and <limits.h>.
8116         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8117         overflows but exception would not result from cast.
8118         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8119         <limits.h>.
8120         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8121         overflows but exception would not result from cast.
8122         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8123         <limits.h>.
8124         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8125         overflows but exception would not result from cast.
8126         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8127         <limits.h>.
8128         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8129         overflows but exception would not result from cast.
8130         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8131         <limits.h>.
8132         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8133         overflows but exception would not result from cast.
8134         * math/libm-test.inc (lround_test_data): Add more tests.
8135         (llround_test_data): Likewise.
8137 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8139         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8140         (CFLAGS-ialloc.c): Ditto.
8141         (CFLAGS-scheck.c): Ditto.
8143 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8145         [BZ #19086]
8146         * manual/filesys.texi (Storage Allocation): Fix argument order for
8147         posix_fallocate64.
8149 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #19085]
8152         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8153         exponent below 48 inside case for non-overflowing exponent.
8154         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8156 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8158         * iconvdata/cp737.h (from_idx): Add const.
8159         * iconvdata/cp775.h (from_idx): Likewise.
8161 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8163         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8164         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8165         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8167         [BZ #19079]
8168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8169         file, conditioned on [!_LP64].
8170         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8171         [!_LP64] (__lround): Do not define as function or alias.
8172         [!_LP64] (lround): Likewise.
8173         [!_LP64] (__lroundl): Likewise.
8174         [!_LP64] (lroundl): Likewise.
8175         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8176         macro.
8177         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8178         Likewise.
8180 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8182         * math/libm-test.inc (lrint_test_data): Add more tests.
8183         (llrint_test_data): Likewise.
8184         (lround_test_data): Likewise.
8185         (llround_test_data): Likewise.
8187         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8188         (llrint_test_data): Add tests used for lrint.
8190         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8191         test.
8192         * sysdeps/i386/configure: Regenerated.
8193         * sysdeps/i386/i686/multiarch/Makefile
8194         [$(config-cflags-sse4) = yes]: Make code unconditional.
8195         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8196         Likewise.
8197         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8198         Likewise.
8199         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8200         test.
8201         * sysdeps/x86_64/configure: Regenerated.
8202         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8203         Make code unconditional.
8204         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8205         Likewise.
8206         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8207         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8209         * scripts/rpm2dynsym.sh: Remove file.
8211 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8213         * configure.ac (libc_cv_cxx_thread_local): Define.
8214         * configure: Regenerate.
8215         * config.make.in (have-cxx-thread_local): Define.
8216         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8217         (LDLIBS-tst-thread_local1): Define.
8218         (tests): Add tst-thread_local1.
8219         [have-cxx-thread_local != yes] (tests-unsupported): Add
8220         tst-thread_local1.
8221         * nptl/tst-thread_local1.cc: New file.
8223 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8225         [BZ #19078]
8226         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8227         (u_thres): Likewise.
8228         (__expl): Determine whether to call __kernel_standard_l based on
8229         value of result, not argument.
8231         * math/libm-test.inc (scalb_test_data): Add more expectations for
8232         the "inexact" exception.
8234         [BZ #19077]
8235         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8236         0.0L for argument 1.0L.
8238         [BZ #19076]
8239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8240         constant 0.0L when computing infinite result.
8242 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8244         [BZ #10432]
8245         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8246         malloc_usable_size.
8248 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8250         [BZ #19018]
8251         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8252         Mangle function pointer before storing it.
8253         (__call_tls_dtors): Demangle function pointer before calling it.
8255 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8257         [BZ #19012]
8258         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8259         Clean up on failure.
8261 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8263         [BZ #19071]
8264         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8265         long int variable to store possibly incremented high part of
8266         mantissa.
8267         * math/libm-test.inc (lround_test_data): Add tests used for
8268         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8269         for tests requiring 64-bit long.  Do not condition tests on
8270         [TEST_FLOAT] unnecessarily.
8271         (llround_test_data): Add tests used for lround.  Add another
8272         expectation for the "inexact" exception.  Do not condition tests
8273         on [TEST_FLOAT] unnecessarily.
8275         [BZ #887]
8276         [BZ #19049]
8277         [BZ #19050]
8278         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8279         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8280         <fix-int-fp-convert-zero.h>.
8281         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8282         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8283         <fix-int-fp-convert-zero.h>.
8284         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8285         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8286         <fix-int-fp-convert-zero.h>.
8287         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8288         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8289         <fix-int-fp-convert-zero.h>.
8290         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8291         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8292         <fix-int-fp-convert-zero.h>.
8293         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8294         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8295         <fix-int-fp-convert-zero.h>.
8296         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8297         * sysdeps/ieee754/flt-32/s_erff.c: Include
8298         <fix-int-fp-convert-zero.h>.
8299         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8300         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8301         <fix-int-fp-convert-zero.h>.
8302         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8304         <fix-int-fp-convert-zero.h>.
8305         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8307         <fix-int-fp-convert-zero.h>.
8308         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8309         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8310         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8311         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8312         file.
8313         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8315 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8319 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8321         [BZ #19059]
8322         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8323         overflowing computation.
8324         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8325         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8326         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8327         Likewise.
8328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8329         Likewise.
8330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8331         Likewise.
8332         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8333         Likewise.
8334         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8335         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8336         Likewise.
8337         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8338         Likewise.
8339         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8341         * nss/rewrite_field.c (__nss_rewrite_field): Use
8342         internal_function.
8343         * nss/valid_field.c (__nss_valid_field): Likewise.
8344         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8346 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8348         [BZ #18724]
8349         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8350         (__nss_invalid_field_characters, __nss_valid_field)
8351         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8352         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8353         tst-field.c: New file.
8354         * nss/Makefile (routines): Add valid_field, rewrite_field.
8355         (tests-static): Define unconditionally.
8356         (tests): Include tests-static.
8357         [build-static-nss] (tests-static): Use append.
8358         [build-static-nss] (tests): Remove modification.
8359         * nss/getent.c (print_group): Call putgrent.  Report error.
8360         (print_gshadow): Call putsgent.  Report error.
8361         (print_passwd): Call putpwent.  Report error.
8362         (print_shadow): Call putspent.  Report error.
8363         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8364         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8365         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8366         name, password, directory, shell fields for valid syntax.  Rewrite
8367         GECOS field to match syntax.
8368         * pwd/Makefile (tests): Add tst-putpwent.
8369         * pwd/tst-putpwent.c: New file.
8370         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8371         Check grName, grpasswd, gr_mem fields for valid syntax.
8372         Change loop variable i to size_t.
8373         * grp/Makefile (tests): Add tst-putgrent.
8374         * grp/tst-putgrent.c: New file.
8375         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8376         valid syntax.
8377         * shadow/Makefile (tests): Add tst-putspent.
8378         * shadow/tst-putspent.c: New file.
8379         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8380         sg_mem fields for valid syntax.
8381         * gshadow/Makefile (tests): Add tst-putsgent.
8382         * gshadow/tst-putsgent.c: New file.
8384 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8386         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8387         assembly instructions.
8389 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8391         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8392         prefix from operands.
8394 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8396         [BZ #16347]
8397         [BZ #19046]
8398         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8399         <libc-internal.h>.
8400         (MAXLGM): Do not use diagnostic control macros.
8401         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8402         threshold for ldbl-128ibm.
8403         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8404         instead of multiplying by log then subtracting.
8405         * math/auto-libm-test-in: Add more tests of lgamma.
8406         * math/auto-libm-test-out: Regenerated.
8408         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8409         (TYPE_HEX_DIG): Likewise.
8410         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8411         precisions when printing floating-point numbers.
8412         (check_float_internal): Likewise.
8414 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8416         [BZ #16620]
8417         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8418         of log (10) rounded downward to 48 bits.
8419         (log10_low): Use corresponding low part of log (10).
8421         [BZ #19032]
8422         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8423         compute result as (x - x) / (x - x) not as 0 / 0.
8424         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8425         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8427         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8428         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8429         and expm1.
8430         * math/auto-libm-test-out: Regenerated.
8431         * math/libm-test.inc (acos_test_data): Add more tests.
8432         (asin_test_data): Likewise.
8433         (asinh_test_data): Likewise.
8434         (atan_test_data): Likewise.
8435         (atanh_test_data): Likewise.
8436         (atan2_test_data): Likewise.
8437         (cbrt_test_data): Likewise.
8438         (ceil_test_data): Likewise.
8439         (copysign_test_data): Likewise.
8440         (cos_test_data): Likewise.
8441         (cosh_test_data): Likewise.
8442         (erf_test_data): Likewise.
8443         (erfc_test_data): Likewise.
8444         (exp_test_data): Likewise.
8445         (exp10_test_data): Likewise.
8446         (exp2_test_data): Likewise.
8447         (expm1_test_data): Likewise.
8448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8450 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8452         [BZ #19006]
8453         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8454         to ...
8455         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8456         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8457         to ...
8458         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8459         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8460         to ...
8461         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8462         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8463         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8464         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8465         to ...
8466         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8467         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8468         Moved to ...
8469         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8471         Moved to ...
8472         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8473         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8474         to ...
8475         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8476         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8477         Moved to ...
8478         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8480         to ...
8481         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8482         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8483         Removed.
8484         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8485         Likewise.
8486         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8487         Likewise.
8488         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8489         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8490         Likewise.
8491         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8492         Likewise.
8493         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8494         Likewise.
8495         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8496         Likewise.
8497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8498         Likewise.
8499         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8500         Likewise.
8501         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8502         Likewise.
8503         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8504         Likewise.
8505         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8506         Likewise.
8507         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8508         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8509         Likewise.
8510         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8513         Likewise.
8514         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8515         Likewise.
8516         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8517         Likewise.
8518         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8519         Replace ../i486/pthread_cond_timedwait.S with
8520         ../pthread_cond_timedwait.S.
8522 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8524         * math/libm-test.inc (acos_test_data): Refine expectations for
8525         errno and "inexact" exceptions.
8526         (acosh_test_data): Likewise.
8527         (asin_test_data): Likewise.
8528         (asinh_test_data): Likewise.
8529         (atan_test_data): Likewise.
8530         (atanh_test_data): Likewise.
8531         (atan2_test_data): Likewise.
8532         (cbrt_test_data): Likewise.
8533         (ceil_test_data): Likewise.
8534         (copysign_test_data): Likewise.
8535         (cosh_test_data): Likewise.
8536         (erf_test_data): Likewise.
8537         (erfc_test_data): Likewise.
8538         (exp_test_data): Likewise.
8539         (exp10_test_data): Likewise.
8540         (exp2_test_data): Likewise.
8541         (expm1_test_data): Likewise.
8542         (fabs_test_data): Likewise.
8543         (floor_test_data): Likewise.
8544         (fma_test_data): Likewise.
8545         (fmax_test_data): Likewise.
8546         (fmin_test_data): Likewise.
8547         (fmod_test_data): Likewise.
8548         (fpclassify_test_data): Likewise.
8549         (frexp_test_data): Likewise.
8550         (hypot_test_data): Likewise.
8551         (ilogb_test_data): Likewise.
8552         (isgreater_test_data): Likewise.
8553         (isgreaterequal_test_data): Likewise.
8554         (isinf_test_data): Likewise.
8555         (isless_test_data): Likewise.
8556         (islessequal_test_data): Likewise.
8557         (islessgreater_test_data): Likewise.
8558         (isnan_test_data): Likewise.
8559         (isnormal_test_data): Likewise.
8560         (issignaling_test_data): Likewise.
8561         (isunordered_test_data): Likewise.
8562         (j0_test_data): Likewise.
8563         (j1_test_data): Likewise.
8564         (jn_test_data): Likewise.
8565         (lgamma_test_data): Likewise.
8566         (lrint_test_data): Likewise.
8567         (llrint_test_data): Likewise.
8568         (log_test_data): Likewise.
8569         (log10_test_data): Likewise.
8570         (log1p_test_data): Likewise.
8571         (log2_test_data): Likewise.
8572         (logb_test_data): Likewise.
8573         (lround_test_data): Likewise.
8574         (llround_test_data): Likewise.
8575         (modf_test_data): Likewise.
8576         (nearbyint_test_data): Likewise.
8577         (nextafter_test_data): Likewise.
8578         (nexttoward_test_data): Likewise.
8579         (pow_test_data): Likewise.
8580         (remainder_test_data): Likewise.
8581         (remquo_test_data): Likewise.
8582         (rint_test_data): Likewise.
8583         (round_test_data): Likewise.
8584         (signbit_test_data): Likewise.
8585         (sinh_test_data): Likewise.
8586         (sqrt_test_data): Likewise.
8587         (tanh_test_data): Likewise.
8588         (tgamma_test_data): Likewise.
8589         (trunc_test_data): Likewise.
8590         (y0_test_data): Likewise.
8591         (y1_test_data): Likewise.
8592         (yn_test_data): Likewise.
8593         (significand_test_data): Likewise.
8595 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8597         * manual/filesys.texi (Storage Allocation): Document that
8598         posix_fallocate emulation fails when fd is open with O_WRONLY.
8600 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8602         [BZ #19016]
8603         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8604         allow more cases with X^2 + Y^2 >= 0.5.
8605         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8606         normal element in sum instead of special-casing based on values of
8607         arguments.
8608         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8609         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8610         -1 as normal element in sum instead of special-casing based on
8611         values of arguments.
8612         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8613         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8614         (__x2y2m1): Update comment.
8615         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8616         as normal element in sum instead of special-casing based on values
8617         of arguments.
8618         * math/s_clog.c (__clog): Handle more cases using log1p without
8619         hypot.
8620         * math/s_clog10.c (__clog10): Likewise.
8621         * math/s_clog10f.c (__clog10f): Likewise.
8622         * math/s_clog10l.c (__clog10l): Likewise.
8623         * math/s_clogf.c (__clogf): Likewise.
8624         * math/s_clogl.c (__clogl): Likewise.
8625         * math/auto-libm-test-in: Add more tests of clog and clog10.
8626         * math/auto-libm-test-out: Regenerated.
8627         * sysdeps/i386/fpu/libm-test-ulps: Update.
8628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630 2015-09-28  Martin Sebor  <msebor@redhat.com>
8632         [BZ #18969]
8633         * string/Makefile (LOCALES): Define.
8634         (gen-locales.mk): Include.
8635         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8636         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8637         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8638         on setlocale failure.
8640 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8642         [BZ #18985]
8643         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8644         (__strftime_internal): Likewise.
8645         * time/tst-strftime.c (do_bz18985): New test.
8646         (do_test): Call it.
8648 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #18956]
8651         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8652         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8653         extracting high part.
8654         * math/auto-libm-test-in: Add another test of pow.
8655         * math/auto-libm-test-out: Regenerated.
8656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8658 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #18825]
8661         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8662         New macro.
8663         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8664         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8665         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8666         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8667         DBL_NARROW_EVAL, reloading the PIC register as needed.
8668         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8669         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8670         FLT_NARROW_EVAL.  Use separate return path for case when first
8671         argument is NaN.
8672         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8673         DEFINE_LDBL_MIN.
8674         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8675         PIC register.
8676         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8677         math_check_force_underflow_nonneg.
8678         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8679         underflow for subnormal result.
8680         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8682         math_check_force_underflow_nonneg.
8683         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8684         math_check_force_underflow.
8685         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8686         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8687         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8688         DEFINE_LDBL_MIN.
8689         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8690         * math/auto-libm-test-in: Add more tests of pow.
8691         * math/auto-libm-test-out: Regenerated.
8693 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8695         * nss/bug17079.c (init_test_items): Add diagnostic for
8696         inconsistent entries.
8697         (test_buffer_size): Skip inconsistent entries.
8699 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8701         [BZ #13304]
8702         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8703         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8704         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8706         [BZ #13304]
8707         * sysdeps/microblaze/s_fma.c: New file.
8708         * sysdeps/microblaze/s_fmaf.c: Likewise.
8709         * sysdeps/microblaze/sfp-machine.h: Likewise.
8711 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8713         [BZ #17250]
8714         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8715         member.
8717 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8719         [BZ #18803]
8720         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8721         (MO): New macro.
8722         (__ieee754_hypot) [PIC]: Load PIC register.
8723         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8724         DBL_NARROW_EVAL.
8725         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8726         math_check_force_underflow_nonneg in case where result might be
8727         tiny.
8728         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8729         Likewise.
8730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8731         Likewise.
8732         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8733         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8734         * math/auto-libm-test-in: Add more tests of hypot.
8735         * math/auto-libm-test-out: Regenerated.
8737 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
8739         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8741 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8743         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8744         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8745         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8746         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8747         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8748         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8749         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8751         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8752         LOAD_PIC_REG.
8754         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8755         (FLT_CHECK_FORCE_UFLOW): Likewise.
8756         (DBL_CHECK_FORCE_UFLOW): Likewise.
8757         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8758         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8759         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8760         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8761         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8762         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8763         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8764         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8765         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8766         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8767         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8768         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8769         (flt_min): Replace with use of DEFINE_FLT_MIN.
8770         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8771         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8772         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8773         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8774         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8775         (flt_min): Replace with use of DEFINE_FLT_MIN.
8776         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8777         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8778         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8779         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8780         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8781         (flt_min): Replace with use of DEFINE_FLT_MIN.
8782         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8783         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8784         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8785         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8786         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8787         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8788         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8789         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8790         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8791         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8792         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8793         (flt_min): Replace with use of DEFINE_FLT_MIN.
8794         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8795         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8796         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8797         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8798         main computation.
8799         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8800         (flt_min): Replace with use of DEFINE_FLT_MIN.
8801         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8802         main computation.
8803         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8804         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8805         (MO): New macro.
8806         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8807         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8808         (flt_min): Replace with use of DEFINE_FLT_MIN.
8809         (MO): New macro.
8810         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8811         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8812         (__log1pl): Use MO.
8814         [BZ #19003]
8815         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8816         $(config-cflags-nofma).
8818 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8820         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8822 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8824         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8825         (TWO127): Likewise.
8827         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8828         (min_of_type): Likewise.
8829         (math_check_force_underflow): Likewise.
8830         (math_check_force_underflow_nonneg): Likewise.
8831         (math_check_force_underflow_complex): Likewise.
8832         * math/e_exp2l.c (__ieee754_exp2l): Use
8833         math_check_force_underflow_nonneg.
8834         * math/k_casinh.c (__kernel_casinh): Likewise.
8835         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8836         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8837         * math/s_catan.c (__catan): Use
8838         math_check_force_underflow_complex.
8839         * math/s_catanf.c (__catanf): Likewise.
8840         * math/s_catanh.c (__catanh): Likewise.
8841         * math/s_catanhf.c (__catanhf): Likewise.
8842         * math/s_catanhl.c (__catanhl): Likewise.
8843         * math/s_catanl.c (__catanl): Likewise.
8844         * math/s_ccosh.c (__ccosh): Likewise.
8845         * math/s_ccoshf.c (__ccoshf): Likewise.
8846         * math/s_ccoshl.c (__ccoshl): Likewise.
8847         * math/s_cexp.c (__cexp): Likewise.
8848         * math/s_cexpf.c (__cexpf): Likewise.
8849         * math/s_cexpl.c (__cexpl): Likewise.
8850         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8851         * math/s_clog10.c (__clog10): Likewise.
8852         * math/s_clog10f.c (__clog10f): Likewise.
8853         * math/s_clog10l.c (__clog10l): Likewise.
8854         * math/s_clogf.c (__clogf): Likewise.
8855         * math/s_clogl.c (__clogl): Likewise.
8856         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8857         * math/s_csinf.c (__csinf): Likewise.
8858         * math/s_csinh.c (__csinh): Likewise.
8859         * math/s_csinhf.c (__csinhf): Likewise.
8860         * math/s_csinhl.c (__csinhl): Likewise.
8861         * math/s_csinl.c (__csinl): Likewise.
8862         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8863         * math/s_csqrtf.c (__csqrtf): Likewise.
8864         * math/s_csqrtl.c (__csqrtl): Likewise.
8865         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8866         * math/s_ctanf.c (__ctanf): Likewise.
8867         * math/s_ctanh.c (__ctanh): Likewise.
8868         * math/s_ctanhf.c (__ctanhf): Likewise.
8869         * math/s_ctanhl.c (__ctanhl): Likewise.
8870         * math/s_ctanl.c (__ctanl): Likewise.
8871         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8872         instead of volatile.
8873         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8874         math_check_force_underflow.
8875         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8876         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8877         volatile when forcing underflow.
8878         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8879         math_check_force_underflow_nonneg.
8880         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8881         Likewise.
8882         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8883         math_check_force_underflow.
8884         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8885         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8886         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8887         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8888         math_check_force_underflow_nonneg.
8889         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8890         math_check_force_underflow.
8891         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8893         instead of volatile.
8894         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8895         math_check_force_underflow.
8896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8898         math_check_force_underflow_nonneg.
8899         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8900         math_check_force_underflow.
8901         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8902         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8903         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8904         math_check_force_underflow_nonneg.
8905         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8906         Likewise.
8907         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8908         math_check_force_underflow.
8909         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8910         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8911         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8912         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8913         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8914         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8915         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8916         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8917         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8918         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8919         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8920         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8921         Likewise.
8922         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8923         math_check_force_underflow_nonneg.
8924         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8925         Likewise.
8926         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8927         math_check_force_underflow.
8928         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8929         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8930         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8931         Likewise.
8932         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8933         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8934         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8935         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8936         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8937         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8939         instead of volatile.
8940         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8941         math_check_force_underflow.
8942         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8944         math_check_force_underflow.
8945         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8946         Likewise.
8947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8948         Use math_check_force_underflow_nonneg.
8949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8950         math_check_force_underflow.
8951         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8952         Likewise.
8953         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8954         Likewise.
8955         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8958         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8960         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8961         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8962         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8963         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8964         math_check_force_underflow_nonneg.
8965         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8966         math_check_force_underflow.
8967         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8968         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8969         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8970         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8971         math_check_force_underflow_nonneg.
8972         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8973         math_check_force_underflow.
8974         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8976         instead of volatile.
8977         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8978         math_check_force_underflow.
8980         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8981         * stdlib/strtod_l.c: Include <math_private.h>.
8982         (overflow_value): Use math_narrow_eval.
8983         (underflow_value): Likewise.
8984         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8985         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8986         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8987         (__ieee754_gamma_r): Likewise.
8988         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8989         Likewise.
8990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8991         Likewise.
8992         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8993         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8994         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8995         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8996         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8997         (__ieee754_gammaf_r): Likewise.
8998         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8999         Likewise.
9000         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9001         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9002         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9003         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9004         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9005         volatile.
9006         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9008         math_narrow_eval.
9009         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9010         Likewise.
9011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9012         Likewise.
9013         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9014         Likewise.
9015         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9016         volatile.
9017         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9018         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9019         math_narrow_eval.
9020         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9021         Likewise.
9022         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9023         Likewise.
9025 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9027         * nptl/Versions: Remove ignored symbols.
9029 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9031         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9032         * nss/Makefile (tests): Update.
9034 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9036         * nss/bug18287.c: New file.
9037         * nss/Makefile (tests): Add bug18287.
9039 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9041         * mach/Versions (__mach_host_self_): Add symbol.
9043 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9045         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9046         vm_page_size.
9048 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9050         Really fix sysdeps/i386/fpu/s_scalbn.S build
9052         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9053         (libc: GLIBC_2_22): Remove unused version set.
9055 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9057         * config.make.in (enable-timezone-tools): New variable.
9058         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9059         (enable_timezone_tools): Export to generated files.
9060         * configure: Regenerate.
9061         * INSTALL: Regenerate.
9062         * manual/install.texi (--disable-timezone-tools): Document new flag.
9063         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9064         ifeq ($(enable-timezone-tools),yes) check.
9066 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9068         * timezone/Makefile: Revert previous change.
9070         [BZ #18980]
9071         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9072         (DEFINE_DBL_MIN): Likewise.
9073         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9074         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9075         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9076         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9077         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9078         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9079         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9080         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9081         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9082         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9083         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9084         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9085         (flt_min): Replace with use of DEFINE_FLT_MIN.
9086         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9087         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9088         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9089         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9090         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9091         (flt_min): Replace with use of DEFINE_FLT_MIN.
9092         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9093         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9094         (flt_min): Replace with use of DEFINE_FLT_MIN.
9095         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9096         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9097         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9098         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9099         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9100         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9101         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9102         (__ieee754_pow): Use DBL_NARROW_EVAL.
9103         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9104         (__ieee754_powf): Use FLT_NARROW_EVAL.
9105         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9106         (__ieee754_expf_sse2): Convert double-precision result to single
9107         precision.
9108         * sysdeps/i386/fpu/libm-test-ulps: Update.
9110 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9112         * timezone/Makefile: Ignore unused variable errors due to private.h
9113         (time_t_min) and (time_t_max).
9114         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9115         Likewise.
9117 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9119         [BZ #18981]
9120         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9121         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9122         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9123         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9124         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9125         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9126         (__scalbn): Use DBL_NARROW_EVAL.
9127         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9128         (__scalbnf): Use FLT_NARROW_EVAL.
9130 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9132         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9133         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9134         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9135         * stdio-common/printf_fp.c (___printf_fp):
9136         Use signbit to get the sign. Use isinf macro to allow inlining.
9137         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9138         * stdio-common/printf_size.c (__printf_size): Likewise.
9140 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9142         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9144 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9146         [BZ #18980]
9147         * sysdeps/generic/math_private.h: Include <float.h>.
9148         (math_narrow_eval): New macro.
9149         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9150         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9151         math_narrow_eval on overflowing return value.
9152         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9153         Likewise.
9154         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9155         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9156         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9157         Likewise.
9158         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9160 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9162         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9163         * math/Makefile: Remove isinf_ns.c.
9164         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9165         * math/multc3.c (__multc3): Likewise.
9166         * math/s_casin.c (__casin): Likewise.
9167         * math/s_casinf.c (__casinf): Likewise.
9168         * math/s_casinl.c (__casinl): Likewise.
9169         * math/s_cproj.c (__cproj): Likewise.
9170         * math/s_cprojf.c (__cprojf): Likewise.
9171         * math/s_cprojl.c (__cprofl): Likewise.
9172         * math/s_ctan.c (__ctan): Likewise.
9173         * math/s_ctanf.c (__ctanf): Likewise.
9174         * math/s_ctanh.c (__ctanh): Likewise.
9175         * math/s_ctanhf.c (__ctanhf): Likewise.
9176         * math/s_ctanhl.c (__ctanhl): Likewise.
9177         * math/s_ctanl.c (__ctanl): Likewise.
9178         * math/w_fmod.c (__fmod): Likewise.
9179         * math/w_fmodf.c (__fmodf): Likewise.
9180         * math/w_fmodl.c (_fmodl): Likewise.
9181         * math/w_remainder.c (__remainder): Likewise.
9182         * math/w_remainderf.c (__remainderf): Likewise.
9183         * math/w_remainderl.c (__remainderl): Likewise.
9184         * math/w_scalb.c (__scalb): Likewise.
9185         * math/w_scalbf.c (__scalbf): Likewise.
9186         * math/w_scalbl.c (__scalbl): Likewise.
9187         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9188         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9189         with isinf.
9190         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9192         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9193         __isinf_nsf with isinf.
9194         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9195         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9196         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9197         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9198         with isinf.
9199         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9200         __isinf_nsl with isinf.
9201         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9202         with isinf.
9203         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9204         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9205         __isinf_nsl with isinf.
9206         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9207         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9208         with isinf.
9210 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9212         * resolv/base64.c (rcsid): Remove unused static.
9213         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9214         static.  (tqpi1): Likewise.
9215         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9216         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9217         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9218         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9219         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9220         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9221         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9222         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9223         Likewise.
9225 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9227         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9228         <nptl/pthreadP.h>.
9229         (_longjmp_unwind): Use __libc_ptf_call.
9230         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9232 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9234         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9235         * sysdeps/arm/__longjmp.S: Likewise.
9237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9239         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9240         Use __builtin_signbit.
9241         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9242         Use __builtin_signbitf.
9243         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9244         Use __builtin_signbitl.
9245         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9246         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9248 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9250         [BZ #15367]
9251         [BZ #17441]
9253         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9254         * math/math.h (fpclassify): Use __builtin_fpclassify when
9255         available.  (signbit): Use __builtin_signbit(f/l).
9256         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9257         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9258         (isinf): Use __builtin_isinf_sign.
9260 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9262         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9263         * benchtests/bench-math-inlines.c: New benchmark.
9264         * benchtests/bench-util.h: New file.
9265         * benchtests/bench-util.c: New file.
9266         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9268 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9270         * elf/tst-dlmopen1.c: Define TEST_SO.
9271         (do_test): Use TEST_SO.
9273         * elf/dl-load.c: Include libc-internal.h.
9274         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9276 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9278         [BZ #17887]
9279         * time/strptime_l.c (__strptime_internal): Make %z accept
9280         [+-]HH:MM time zones.
9282 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9284         [BZ #17886]
9285         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9286         valid time zone.
9288 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9290         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9291         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9292         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9293         (__ASSUME_FDATASYNC): Delete.
9295 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9297         * conform/linknamespace.pl: Require weak undefined symbols to be
9298         in the standard namespace.
9299         (%strong_syms): Rename to %seen_syms.
9300         (%strong_seen): Rename to %seen_where.
9302 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9304         [BZ #18970]
9305         * misc/error.c (error): Replace pthread_setcancelstate with
9306         __pthread_setcancelstate.
9307         (error_at_line): Likewise.
9308         * posix/wordexp.c (parse_comm): Likewise.
9309         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9310         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9311         (__pthread_setcancelstate): This.
9312         (pthread_setcancelstate): Add an alias.
9313         * nptl/nptl-init.c (pthread_functions): Replace
9314         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9315         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9316         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9317         hidden_proto.
9318         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9319         it with hidden_def.
9320         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9321         (pthread_setcancelstate): Renamed to ...
9322         (__pthread_setcancelstate): This.
9323         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9324         __libc_ptf_call with __pthread_setcancelstate.
9326 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9327             Andreas Schwab  <schwab@suse.de>
9329         [BZ #17118]
9330         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9331         result when imaginary part of argument is infinite using sine and
9332         cosine.
9333         * math/s_ctanf.c (__ctanf): Likewise.
9334         * math/s_ctanl.c (__ctanl): Likewise.
9335         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9336         of result when real part of argument is infinite using sine and
9337         cosine.
9338         * math/s_ctanhf.c (__ctanhf): Likewise.
9339         * math/s_ctanhl.c (__ctanhl): Likewise.
9340         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9341         (ctanh_test_data): Add more tests of ctanh.
9343 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9345         [BZ #15384]
9346         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9347         bit-mask as in subtraction.
9348         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9349         Likewise.
9350         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9351         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9352         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9354         [BZ #18951]
9355         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9356         underflow exception for small results.
9357         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9358         Likewise.
9359         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9360         Likewise.
9361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9362         Likewise.
9363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9364         Likewise.
9365         * math/auto-libm-test-in: Add more tests of tgamma.
9366         * math/auto-libm-test-out: Regenerated.
9368 2015-09-17  Andreas Schwab  <schwab@suse.de>
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9372 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9374         [BZ #18977]
9375         * math/bits/mathcalls.h
9376         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9377         not declare.
9378         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9379         Likewise.
9380         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9381         Likewise.
9382         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9383         Likewise.
9384         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9385         Likewise.
9386         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9387         Likewise.
9388         * conform/data/math.h-data
9389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9390         function.
9391         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9393         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9394         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9395         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9396         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9397         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9398         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9399         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9400         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9401         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9403         [BZ #6803]
9404         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9405         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9406         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9407         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9408         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9409         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9410         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9411         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9412         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9413         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9414         Likewise.
9415         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9416         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9417         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9418         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9419         long_double_symbol calls.
9420         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9421         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9422         strong alias of __ldexpl.
9423         (scalbnl): Define using long_double_symbol.
9424         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9425         Remove alias.
9426         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9427         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9428         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9429         (scalbln_test_data): Add more errno expectations.
9431 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9433         Cache the host port like we cache the task port.  This way we do not
9434         need to call the kernel just to get the port.  Furthermore, we no
9435         longer increase the reference count on every invocation of
9436         `mach_host_self'.
9438         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9439         Protect declarations against the macro expansion.
9440         * mach/mach_init.c (__mach_host_self_): New variable.
9441         (mach_init): Initialize `__mach_host_self_'.
9442         * mach/mach_init.h (__mach_host_self_): New declaration.
9443         (__mach_host_self, mach_host_self): New macros.
9444         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9445         Release reference.
9447 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9449         [BZ #4404]
9450         * po/de.po: Update from Translation Project.
9452         [BZ #16415]
9453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9454         (__expm1l): Remove code to handle positive infinity and overflow.
9455         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9456         variable.
9457         (__expm1l): Remove code to handle positive infinity and overflow.
9459 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9460             Paul Pluzhnikov  <ppluzhnikov@google.com>
9462         [BZ #18872]
9463         * stdio-common/Makefile (tst-printf-bz18872): New test.
9464         (tst-printf-bz18872-mem.out): Likewise.
9465         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9466         * stdio-common/vfprintf.c: Fix memory leaks.
9468 2015-09-16  Andreas Schwab  <schwab@suse.de>
9470         [BZ #17244]
9471         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9472         Remove extra va_start/va_end calls.
9474         [BZ #17243]
9475         * posix/execl.c (execl): Add missing va_end.
9476         * posix/execle.c (execle): Likewise.
9477         * posix/execlp.c (execlp): Likewise.
9479 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9481         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9482         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9484 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9486         [BZ #18967]
9487         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9488         undefine around includes of <bits/mathcalls.h>.
9489         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9490         not declare function.
9491         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9492         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9493         (scalb): Likewise.
9494         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9495         not define macro.
9496         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9497         variable.
9498         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9499         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9500         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9502         [BZ #18857]
9503         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9504         return non-finite argument without doing ordered comparisons on
9505         it.
9507         [BZ #16296]
9508         * math/fenv.h (fegetround): Use __attribute_pure__.
9509         * include/fenv.h (__fegetround): Likewise.
9511         [BZ #18595]
9512         * math/s_ctan.c (__ctan): Force underflow exception for results
9513         whose real or imaginary part has small absolute value.
9514         * math/s_ctanf.c (__ctanf): Likewise.
9515         * math/s_ctanh.c (__ctanh): Likewise.
9516         * math/s_ctanhf.c (__ctanhf): Likewise.
9517         * math/s_ctanhl.c (__ctanhl): Likewise.
9518         * math/s_ctanl.c (__ctanl): Likewise.
9519         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9520         and ctanh.  Add more tests of ctan and ctanh.
9522         [BZ #15918]
9523         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9524         handling of cases where one argument is an infinity.
9526         [BZ #18875]
9527         [BZ #18966]
9528         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9529         (MO): New macro.
9530         (__ieee754_exp10): For small results, force underflow exception
9531         and remove excess range and precision from return value.
9532         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9533         (MO): New macro.
9534         (__ieee754_exp10f): For small results, force underflow exception
9535         and remove excess range and precision from return value.
9536         * math/auto-libm-test-in: Add more tests of exp10.
9537         * math/auto-libm-test-out: Regenerated.
9539 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9541         [BZ #18875]
9542         [BZ #18961]
9543         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9544         (MO): New macro.
9545         (__ieee754_exp): For small results, force underflow exception and
9546         remove excess range and precision from return value.
9547         (__exp_finite): Likewise.
9548         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9549         (MO): New macro.
9550         (__ieee754_expf): For small results, force underflow exception and
9551         remove excess range and precision from return value.
9552         (__expf_finite): Likewise.
9553         * math/auto-libm-test-in: Add more tests of exp.
9554         * math/auto-libm-test-out: Regenerated.
9556         [BZ #16521]
9557         [BZ #18875]
9558         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9559         small results.
9560         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9561         (MO): New macro.
9562         (__ieee754_exp2): For small results, force underflow exception and
9563         remove excess range and precision from return value.
9564         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9565         (MO): New macro.
9566         (__ieee754_exp2f): For small results, force underflow exception
9567         and remove excess range and precision from return value.
9568         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9569         (MO): New macro.
9570         (__ieee754_exp2l): Force underflow exception for small results.
9571         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9572         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9573         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9574         (MO): New macro.
9575         (__ieee754_exp2l): Force underflow exception for small results.
9576         * math/auto-libm-test-in: Add more tests or exp2.
9577         * math/auto-libm-test-out: Regenerated.
9579 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9581         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9583         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9584         /dev/null.
9586 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9588         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9589         io fs process)): Drop spurious backslash.
9591 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9594         Use sysinfo system call instead of parsing /proc/meminfo.
9595         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9596         Likewise.
9598 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9600         [BZ #16985]
9601         * programs/localedef.c (main): Display argv[remaining] when
9602         output_path is NULL.
9604 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9606         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9607         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9608         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9609         tanh.
9610         * math/auto-libm-test-out: Regenerated.
9611         * sysdeps/i386/fpu/libm-test-ulps: Update.
9612         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9613         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9618         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9619         Use 'override' keyword to freeze the value here, preventing
9620         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9622 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #14912]
9625         * sysdeps/aarch64/bits/atomic.h: Move to ...
9626         * sysdeps/aarch64/atomic-machine.h: ...here.
9627         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9628         _AARCH64_ATOMIC_MACHINE_H.
9629         * sysdeps/alpha/bits/atomic.h: Move to ...
9630         * sysdeps/alpha/atomic-machine.h: ...here.
9631         * sysdeps/arm/bits/atomic.h: Move to ...
9632         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9633         * bits/atomic.h: Move to ...
9634         * sysdeps/generic/atomic-machine.h: ...here.
9635         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9636         * sysdeps/i386/bits/atomic.h: Move to ...
9637         * sysdeps/i386/atomic-machine.h: ...here.
9638         * sysdeps/ia64/bits/atomic.h: Move to ...
9639         * sysdeps/ia64/atomic-machine.h: ...here.
9640         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9641         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9642         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9643         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9644         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9645         * sysdeps/microblaze/bits/atomic.h: Move to ...
9646         * sysdeps/microblaze/atomic-machine.h: ...here.
9647         * sysdeps/mips/bits/atomic.h: Move to ...
9648         * sysdeps/mips/atomic-machine.h: ...here.
9649         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9650         * sysdeps/powerpc/bits/atomic.h: Move to ...
9651         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9652         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9653         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9654         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9655         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9656         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9657         <atomic-machine.h> instead of <bits/atomic.h>.
9658         * sysdeps/s390/bits/atomic.h: Move to ...
9659         * sysdeps/s390/atomic-machine.h: ...here.
9660         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9661         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9662         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9663         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9664         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9665         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9666         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9667         * sysdeps/tile/bits/atomic.h: Move to ...
9668         * sysdeps/tile/atomic-machine.h: ...here.
9669         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9670         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9671         <sysdeps/tile/atomic-machine.h> instead of
9672         <sysdeps/tile/bits/atomic.h>.
9673         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9674         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9675         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9676         <sysdeps/tile/atomic-machine.h> instead of
9677         <sysdeps/tile/bits/atomic.h>.
9678         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9679         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9680         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9681         <sysdeps/arm/atomic-machine.h> instead of
9682         <sysdeps/arm/bits/atomic.h>.
9683         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9684         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9685         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9686         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9687         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9688         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9689         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9690         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9691         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9692         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9693         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9694         * sysdeps/x86_64/bits/atomic.h: Move to ...
9695         * sysdeps/x86_64/atomic-machine.h: ...here.
9696         * include/atomic.h: Include <atomic-machine.h> instead of
9697         <bits/atomic.h>.
9699         * sysdeps/mips/mips32/libm-test-ulps: Update.
9700         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9702         [BZ #18952]
9703         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9704         not convert non-integer negative arguments to int to determine the
9705         value of signgam.
9706         * math/auto-libm-test-in: Add more tests of lgamma.
9707         * math/auto-libm-test-out: Regenerated.
9709         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9710         cosh, csqrt, erfc, expm1 and lgamma.
9711         * math/auto-libm-test-out: Regenerated.
9712         * sysdeps/i386/fpu/libm-test-ulps: Update.
9713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9715 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
9717         [BZ #2542]
9718         [BZ #2543]
9719         [BZ #2558]
9720         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9721         __lgamma_neg for arguments from -28.0 to -2.0.
9722         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9723         __lgamma_negf for arguments from -15.0 to -2.0.
9724         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9725         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9726         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9727         Call __lgamma_negl for arguments from -33.0 to -2.0.
9728         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9729         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9730         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9731         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9732         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9733         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9734         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9736         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9737         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9738         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9739         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9740         (__lgamma_neg): Likewise.
9741         (__lgamma_negl): Likewise.
9742         (__lgamma_product): Likewise.
9743         (__lgamma_productl): Likewise.
9744         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9745         * math/auto-libm-test-in: Add more tests of lgamma.
9746         * math/auto-libm-test-out: Regenerated.
9747         * sysdeps/i386/fpu/libm-test-ulps: Update.
9748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9750 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
9752         [BZ #18675]
9753         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9755 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
9757         [BZ #14912]
9758         * bits/libc-lock.h: Move to ...
9759         * sysdeps/generic/libc-lock.h: ...here.
9760         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9761         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9762         * sysdeps/mach/hurd/libc-lock.h: ...here.
9763         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9764         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9765         * sysdeps/mach/bits/libc-lock.h: Move to ...
9766         * sysdeps/mach/libc-lock.h: ...here.
9767         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9768         * sysdeps/nptl/bits/libc-lock.h: Move to ...
9769         * sysdeps/nptl/libc-lock.h: ...here.
9770         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9771         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9772         * sysdeps/nptl/libc-lockP.h: ...here.
9773         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9774         * crypt/crypt_util.c: Include <libc-lock.h> instead of
9775         <bits/libc-lock.h>.
9776         * dirent/scandir-tail.c: Likewise.
9777         * dlfcn/dlerror.c: Likewise.
9778         * elf/dl-close.c: Likewise.
9779         * elf/dl-iteratephdr.c: Likewise.
9780         * elf/dl-lookup.c: Likewise.
9781         * elf/dl-open.c: Likewise.
9782         * elf/dl-support.c: Likewise.
9783         * elf/dl-writev.h: Likewise.
9784         * elf/rtld.c: Likewise.
9785         * grp/fgetgrent.c: Likewise.
9786         * gshadow/fgetsgent.c: Likewise.
9787         * gshadow/sgetsgent.c: Likewise.
9788         * iconv/gconv_conf.c: Likewise.
9789         * iconv/gconv_db.c: Likewise.
9790         * iconv/gconv_dl.c: Likewise.
9791         * iconv/gconv_int.h: Likewise.
9792         * iconv/gconv_trans.c: Likewise.
9793         * include/link.h: Likewise.
9794         * inet/getnameinfo.c: Likewise.
9795         * inet/getnetgrent.c: Likewise.
9796         * inet/getnetgrent_r.c: Likewise.
9797         * intl/bindtextdom.c: Likewise.
9798         * intl/dcigettext.c: Likewise.
9799         * intl/finddomain.c: Likewise.
9800         * intl/gettextP.h: Likewise.
9801         * intl/loadmsgcat.c: Likewise.
9802         * intl/localealias.c: Likewise.
9803         * intl/textdomain.c: Likewise.
9804         * libidn/idn-stub.c: Likewise.
9805         * libio/libioP.h: Likewise.
9806         * locale/duplocale.c: Likewise.
9807         * locale/freelocale.c: Likewise.
9808         * locale/newlocale.c: Likewise.
9809         * locale/setlocale.c: Likewise.
9810         * login/getutent_r.c: Likewise.
9811         * login/getutid_r.c: Likewise.
9812         * login/getutline_r.c: Likewise.
9813         * login/utmp-private.h: Likewise.
9814         * login/utmpname.c: Likewise.
9815         * malloc/mtrace.c: Likewise.
9816         * misc/efgcvt.c: Likewise.
9817         * misc/error.c: Likewise.
9818         * misc/fstab.c: Likewise.
9819         * misc/getpass.c: Likewise.
9820         * misc/mntent.c: Likewise.
9821         * misc/syslog.c: Likewise.
9822         * nis/nis_call.c: Likewise.
9823         * nis/nis_callback.c: Likewise.
9824         * nis/nss-default.c: Likewise.
9825         * nis/nss_compat/compat-grp.c: Likewise.
9826         * nis/nss_compat/compat-initgroups.c: Likewise.
9827         * nis/nss_compat/compat-pwd.c: Likewise.
9828         * nis/nss_compat/compat-spwd.c: Likewise.
9829         * nis/nss_nis/nis-alias.c: Likewise.
9830         * nis/nss_nis/nis-ethers.c: Likewise.
9831         * nis/nss_nis/nis-grp.c: Likewise.
9832         * nis/nss_nis/nis-hosts.c: Likewise.
9833         * nis/nss_nis/nis-network.c: Likewise.
9834         * nis/nss_nis/nis-proto.c: Likewise.
9835         * nis/nss_nis/nis-pwd.c: Likewise.
9836         * nis/nss_nis/nis-rpc.c: Likewise.
9837         * nis/nss_nis/nis-service.c: Likewise.
9838         * nis/nss_nis/nis-spwd.c: Likewise.
9839         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9840         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9841         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9842         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9843         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9844         * nis/nss_nisplus/nisplus-network.c: Likewise.
9845         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9846         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9847         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9848         * nis/nss_nisplus/nisplus-service.c: Likewise.
9849         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9850         * nis/ypclnt.c: Likewise.
9851         * nptl/libc_pthread_init.c: Likewise.
9852         * nss/getXXbyYY.c: Likewise.
9853         * nss/getXXent.c: Likewise.
9854         * nss/getXXent_r.c: Likewise.
9855         * nss/nss_db/db-XXX.c: Likewise.
9856         * nss/nss_db/db-netgrp.c: Likewise.
9857         * nss/nss_db/nss_db.h: Likewise.
9858         * nss/nss_files/files-XXX.c: Likewise.
9859         * nss/nss_files/files-alias.c: Likewise.
9860         * nss/nsswitch.c: Likewise.
9861         * posix/regex_internal.h: Likewise.
9862         * posix/wordexp.c: Likewise.
9863         * pwd/fgetpwent.c: Likewise.
9864         * resolv/res_hconf.c: Likewise.
9865         * resolv/res_libc.c: Likewise.
9866         * shadow/fgetspent.c: Likewise.
9867         * shadow/lckpwdf.c: Likewise.
9868         * shadow/sgetspent.c: Likewise.
9869         * socket/opensock.c: Likewise.
9870         * stdio-common/reg-modifier.c: Likewise.
9871         * stdio-common/reg-printf.c: Likewise.
9872         * stdio-common/reg-type.c: Likewise.
9873         * stdio-common/vfprintf.c: Likewise.
9874         * stdio-common/vfscanf.c: Likewise.
9875         * stdlib/abort.c: Likewise.
9876         * stdlib/cxa_atexit.c: Likewise.
9877         * stdlib/fmtmsg.c: Likewise.
9878         * stdlib/random.c: Likewise.
9879         * stdlib/setenv.c: Likewise.
9880         * string/strsignal.c: Likewise.
9881         * sunrpc/auth_none.c: Likewise.
9882         * sunrpc/bindrsvprt.c: Likewise.
9883         * sunrpc/create_xid.c: Likewise.
9884         * sunrpc/key_call.c: Likewise.
9885         * sunrpc/rpc_thread.c: Likewise.
9886         * sysdeps/arm/backtrace.c: Likewise.
9887         * sysdeps/generic/ldsodefs.h: Likewise.
9888         * sysdeps/generic/stdio-lock.h: Likewise.
9889         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9890         * sysdeps/i386/backtrace.c: Likewise.
9891         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9892         * sysdeps/m68k/backtrace.c: Likewise.
9893         * sysdeps/mach/hurd/cthreads.c: Likewise.
9894         * sysdeps/mach/hurd/dirstream.h: Likewise.
9895         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9896         * sysdeps/nptl/malloc-machine.h: Likewise.
9897         * sysdeps/nptl/stdio-lock.h: Likewise.
9898         * sysdeps/posix/dirstream.h: Likewise.
9899         * sysdeps/posix/getaddrinfo.c: Likewise.
9900         * sysdeps/posix/system.c: Likewise.
9901         * sysdeps/pthread/aio_suspend.c: Likewise.
9902         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9903         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9904         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9905         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9906         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9907         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9908         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9909         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9910         * sysdeps/unix/sysv/linux/system.c: Likewise.
9911         * sysdeps/x86_64/backtrace.c: Likewise.
9912         * time/alt_digit.c: Likewise.
9913         * time/era.c: Likewise.
9914         * time/tzset.c: Likewise.
9915         * wcsmbs/wcsmbsload.c: Likewise.
9916         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9917         instead of <bits/libc-lock.h> in comment.
9919 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9921         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9922         Only use .set mips2 if the current ISA is below mips2.
9923         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9924         Likewise.
9925         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9926         mips32r2 if the current ISA is below mips32r2.
9927         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9928         (TLS_IE): Updated to use the TLD_RDHWR macro.
9929         (TLS_LE): Likewise.
9930         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9931         __ASSEMBLER__ condition.
9933 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9935         Fix parallel build of before-compile targets.
9937         * sysdeps/mach/Makefile ($(patsubst
9938         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9939         mach-before-compile target.
9940         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9941         io fs process)): Move rule to dedicated hurd-before-compile target.
9943 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9945         Fix rules generating headers in hurd/ and mach/ when initial make call
9946         has subdir= explicitly set.
9948         * sysdeps/mach/Makefile ($(patsubst
9949         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9950         calling $(MAKE).
9951         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9952         io fs process)): Force subdir to hurd when calling $(MAKE).
9953         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9954         subdir to mach when calling $(MAKE).
9956 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9958         Check sysheaders when looking for Mach and Hurd headers
9960         * sysdeps/mach/configure.ac: Add sysheaders check.
9961         * sysdeps/mach/configure: Regenerate.
9962         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9963         * sysdeps/mach/hurd/configure: Regenerate.
9965 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9967         [BZ #18921]
9968         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9969         Fix inverted sense of test of 'o_directory_works' value.
9970         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9971         Bernhard Voelker <mail@bernhard-voelker.de>.
9973 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9975         [BZ #14912]
9976         * bits/linkmap.h: Move to ...
9977         * sysdeps/generic/linkmap.h: ...here.
9978         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9979         * sysdeps/aarch64/linkmap.h: ...here.
9980         * sysdeps/arm/bits/linkmap.h: Move to ...
9981         * sysdeps/arm/linkmap.h: ...here.
9982         * sysdeps/hppa/bits/linkmap.h: Move to ...
9983         * sysdeps/hppa/linkmap.h: ...here.
9984         * sysdeps/ia64/bits/linkmap.h: Move to ...
9985         * sysdeps/ia64/linkmap.h: ...here.
9986         * sysdeps/mips/bits/linkmap.h: Move to ...
9987         * sysdeps/mips/linkmap.h: ...here.
9988         * sysdeps/s390/bits/linkmap.h: Move to ...
9989         * sysdeps/s390/linkmap.h: ...here.
9990         * sysdeps/sh/bits/linkmap.h: Move to ...
9991         * sysdeps/sh/linkmap.h: ...here.
9992         * sysdeps/x86/bits/linkmap.h: Move to ...
9993         * sysdeps/x86/linkmap.h: ...here.
9994         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9996 2015-09-04  Andreas Schwab  <schwab@suse.de>
9998         [BZ #18635]
9999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10000         (__makecontext): Terminate FDE before return label.
10001         (__novec_makecontext): Likewise.
10003 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10005         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10006         first member of struct sv in syscall macro.
10008 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10010         [BZ #14912]
10011         * bits/stdio-lock.h: Move to ...
10012         * sysdeps/generic/stdio-lock.h: ...here.
10013         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10014         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10015         * sysdeps/nptl/stdio-lock.h: ...here.
10016         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10017         * include/libio.h: Include <stdio-lock.h> instead of
10018         <bits/stdio-lock.h>.
10019         * sysdeps/nptl/fork.c: Likewise.
10020         * sysdeps/pthread/flockfile.c: Likewise.
10021         * sysdeps/pthread/ftrylockfile.c: Likewise.
10022         * sysdeps/pthread/funlockfile.c: Likewise.
10024         [BZ #14912]
10025         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10026         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10027         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10028         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10029         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10030         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10031         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10033 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10035         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10036         (test-xfail-tst-protected1b): New variable.
10038 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10040         [BZ #14912]
10041         * bits/libc-tsd.h: Move to ...
10042         * sysdeps/generic/libc-tsd.h: ...here.
10043         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10044         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10045         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10046         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10047         * include/ctype.h: Include <libc-tsd.h> instead of
10048         <bits/libc-tsd.h>.
10049         * include/rpc/rpc.h: Likewise.
10050         * locale/localeinfo.h: Likewise.
10051         * sunrpc/rpc_thread.c: Likewise.
10052         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10053         * sysdeps/nptl/malloc-machine.h: Likewise.
10055         * Makefile (headers): Remove bits/libc-lock.h.
10056         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10058         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10059         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10060         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10061         <bits/stdio-lock.h>.
10062         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10063         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10065 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10067         [BZ #18757]
10068         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10069         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10070         BZ #18757.
10072 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10074         * malloc/mtrace.pl: Filter out NULL entries.
10076 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10078         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10079         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10080         macro.
10082         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10083         (TCP_CC_INFO): Likewise.
10084         (TCP_SAVE_SYN): Likewise.
10085         (TCP_SAVED_SYN): Likewise.
10087 2015-08-31  Brett Neumeier <brett@neumeier.us>
10089         [BZ #18870]
10090         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10092 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10094         [BZ #18873]
10095         Fix broken overflow check in posix_fallocate
10096         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10097         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10098         Fix parenthesization typo.
10100 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10102         [BZ #18887]
10103         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10104         tst-mntent-blank-passno.
10105         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10106         * misc/tst-mntent-blank-corrupt.c: New test.
10107         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10108         * misc/tst-mntent.c (do_test): ... here.
10110 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10112         [BZ #4404]
10113         * po/de.po: Fix SIGALRM typo.
10115 2015-08-28  James Perkins  <james@loowit.net>
10117         * time/tst-strptime2.c (tests): Replace short list of test
10118         strings for strptime %z specifier with code which exhaustively
10119         tests every combination of sign and 0 to 5 digits. Tests for
10120         rejection of invalid strings.
10122 2015-08-28  James Perkins  <james@loowit.net>
10124         [BZ #16141]
10125         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10126         calculation, removing incorrect decimal time rounding, so that
10127         all minute values result in a valid seconds value.
10128         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10129         offset range limits to UTC-99:59 through UTC+99:59 to parse
10130         current and historical use cases.
10131         * time/tst-strptime2.c (tests): Modify and add tests for the
10132         strptime %z input field descriptor, specifically conversion of
10133         minutes to seconds and validating an offset range of -9959 to
10134         +9959.
10136 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10137             Dmitry V. Levin  <ldv@altlinux.org>
10139         [BZ #18877]
10140         * posix/Makefile (tests): Add tst-mmap-offset.
10141         * posix/tst-mmap.c: New file.
10142         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10143         offset calculation for negative values.
10145 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10147         * sysdeps/i386/init-arch.h: New file.
10148         * sysdeps/i386/i586/init-arch.h: Likewise.
10149         * sysdeps/i386/i686/init-arch.h: Likewise.
10150         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10151         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10152         * sysdeps/x86/cpu-features.h (bit_I586): New.
10153         (bit_I686): Likewise.
10154         (bit_CX8): Likewise.
10155         (bit_CMOV): Likewise.
10156         (index_CX8): Likewise.
10157         (index_CMOV): Likewise.
10158         (index_I586): Likewise.
10159         (index_I686): Likewise.
10160         (reg_CX8): Likewise.
10161         (reg_CMOV): Likewise.
10162         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10163         available at compile-time.
10164         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10165         available at compile-time.
10166         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10167         (USE_I686): Likewise.
10169 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10171         * sysdeps/i386/bcopy.S: New file.
10172         * sysdeps/i386/bzero.S: Likewise.
10173         * sysdeps/i386/memcpy.S: Likewise.
10174         * sysdeps/i386/memmove.S: Likewise.
10175         * sysdeps/i386/mempcpy.S: Likewise.
10176         * sysdeps/i386/memset.S: Likewise.
10177         * sysdeps/i386/bzero.c: Removed.
10178         * sysdeps/i386/memset.c: Likewise.
10179         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10180         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10181         * sysdeps/i386/i586/memset_chk.S: Likewise.
10182         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10183         * sysdeps/i386/memcpy_chk.S: Here.
10184         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10185         * sysdeps/i386/memmove_chk.S: Here.
10186         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10187         * sysdeps/i386/mempcpy_chk.S: Likewise.
10188         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10189         * sysdeps/i386/memset_chk.S: Likewise.
10191 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10193         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10194         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10195         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10196         * soft-fp/fmadf4.c: Ditto.
10197         * soft-fp/fmatf4.c: Ditto.
10199 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10201         * sysdeps/i386/i586/Implies: Removed.
10202         * sysdeps/i386/i686/Implies: Likewise.
10204 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10206         * sysdeps/i386/i486/strlen.S: Moved to ...
10207         * sysdeps/i386/strlen.S: Here.
10209 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10211         * sysdeps/i386/i486/strcat.S: Moved to ...
10212         * sysdeps/i386/strcat.S: Here.
10214 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10216         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10217         * sysdeps/i386/pthread_spin_trylock.S: Here.
10218         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10219         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10221 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10223         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10224         * sysdeps/i386/string-inlines.c: Here.
10226 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10228         * sysdeps/i386/i486/htonl.S: Moved ...
10229         * sysdeps/i386/htonl.S: here.
10231 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10233         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10234         * sysdeps/i386/bits/atomic.h: Here.
10236 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10238         * sysdeps/i386/i486/Versions: Removed.
10240 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10242         [BZ #2898]
10243         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10244         Based on patch by Aurelien Jarno.
10246 2015-08-26  Stan Shebs  <stanshebs@google.com>
10248         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10249         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10251 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10253         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10254         * sysdeps/powerpc/dl-procinfo.c:
10255         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10256         feature so it shows when LD_SHOW_AUXV=1.
10258 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10260         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10261         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10262         definition.  ISA 2.07B no longer requires full sync.
10264 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10266         [BZ #18863]
10267         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10268         (si_call_addr): Define.
10269         (si_syscall): Define.
10270         (si_arch): Define.
10272 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10274         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10275         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10276         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10277         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10278         (__memset_zero_constant_len_parameter): New.
10279         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10280         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10281         (__memset_zero_constant_len_parameter): Don't define if
10282         __memset_chk or USE_AS_BZERO are defined.
10284         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10285         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10286         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10288         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10289         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10290         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10291         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10292         comments.
10293         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10294         -mno-mmx for $(all-rtld-routines).
10295         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10296         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10297         i386.
10299 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10301         * sysdeps/generic/unwind.h
10302         (_Unwind_Word): Use __mode__(__unwind_word__)
10303         instead of __mode__(__word__).
10304         (_Unwind_Sword): Likewise.
10306         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10307         (MAX_NEEDED_INPUT): New define.
10308         (MAX_NEEDED_OUTPUT): New define.
10310         * NEWS: New item for IBM z13 string optimizations.
10312         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10313         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10314         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10315         * sysdeps/s390/multiarch/Makefile
10316         (sysdep_routines): Add memrchr functions.
10317         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10318         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10320         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10321         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10322         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10323         * sysdeps/s390/multiarch/Makefile
10324         (sysdep_routines): Add wmemcmp functions.
10325         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10326         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10327         * benchtests/bench-wmemcmp.c: New File.
10328         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10330         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10331         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10332         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10333         * sysdeps/s390/multiarch/Makefile
10334         (sysdep_routines): Add wmemset functions.
10335         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10336         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10337         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10338         * string/test-memset.c: Add wmemset support.
10339         * wcsmbs/test-wmemset.c: New File.
10340         * wcsmbs/Makefile (strop-tests): Add wmemset.
10341         * benchtests/bench-memset.c: Add wmemset support.
10342         * benchtests/bench-wmemset.c: New File.
10343         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10345         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10346         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10347         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10348         * sysdeps/s390/multiarch/Makefile
10349         (sysdep_routines): Add memccpy functions.
10350         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10351         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10352         * string/memccpy.c: Use MEMCCPY if defined.
10354         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10355         * sysdeps/s390/multiarch/memchr.c: Likewise.
10356         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10357         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10358         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10359         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10360         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10361         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10362         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10363         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10364         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10365         and rawmemchr functions.
10366         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10367         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10368         and wmemchr.
10369         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10370         * string/test-memchr.c: Add wmemchr support.
10371         * wcsmbs/test-wmemchr.c: New File.
10372         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10373         * benchtests/bench-memchr.c: Add wmemchr support.
10374         * benchtests/bench-wmemchr.c: New File.
10375         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10377         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10378         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10379         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10380         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10381         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10382         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10383         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10384         wcscspn functions.
10385         * sysdeps/s390/multiarch/ifunc-impl-list.c
10386         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10387         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10388         * string/test-strcspn.c: Add wcscspn support.
10389         * wcsmbs/test-wcscspn.c: New File.
10390         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10391         * benchtests/bench-strcspn.c: Add wcscspn support.
10392         * benchtests/bench-wcscspn.c: New File.
10393         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10395         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10396         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10397         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10398         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10399         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10400         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10402         wcspbrk functions.
10403         * sysdeps/s390/multiarch/ifunc-impl-list.c
10404         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10405         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10406         * string/test-strpbrk.c: Add wcspbrk support.
10407         * wcsmbs/test-wcspbrk.c: New File.
10408         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10409         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10410         * benchtests/bench-wcspbrk.c: New File.
10411         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10413         * sysdeps/s390/multiarch/strspn-c.c: New File.
10414         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10415         * sysdeps/s390/multiarch/strspn.c: Likewise.
10416         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10417         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10418         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10419         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10421         wcsspn functions.
10422         * sysdeps/s390/multiarch/ifunc-impl-list.c
10423         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10424         * string/test-strspn.c: Add wcsspn support.
10425         * wcsmbs/test-wcsspn.c: New File.
10426         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10427         * benchtests/bench-strspn.c: Add wcsspn support.
10428         * benchtests/bench-wcsspn.c: New File.
10429         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10431         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10432         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10433         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10434         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10435         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10436         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10438         wcsrchr functions.
10439         * sysdeps/s390/multiarch/ifunc-impl-list.c
10440         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10441         * benchtests/bench-wcsrchr.c: New File.
10442         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10444         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10445         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10446         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10447         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10448         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10449         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10451         wcschrnul functions.
10452         * sysdeps/s390/multiarch/ifunc-impl-list.c
10453         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10454         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10455         * string/test-strchr.c: Add wcschrnul support.
10456         * wcsmbs/test-wcschrnul.c: New File.
10457         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10458         * benchtests/bench-strchr.c: Add wcschrnul support.
10459         * benchtests/bench-wcschrnul.c: New File.
10460         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10462         * sysdeps/s390/multiarch/strchr-c.c: New File.
10463         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10464         * sysdeps/s390/multiarch/strchr.c: Likewise.
10465         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10466         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10467         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10468         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10469         wcschr functions.
10470         * sysdeps/s390/multiarch/ifunc-impl-list.c
10471         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10472         * string/strchr.c (STRCHR): Define and use macro.
10473         * benchtests/bench-wcschr.c: New File.
10474         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10476         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10477         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10478         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10479         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10480         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10481         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10483         wcsncmp functions.
10484         * sysdeps/s390/multiarch/ifunc-impl-list.c
10485         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10486         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10487         * benchtests/bench-strncmp.c: Add wcsncmp support.
10488         * benchtests/bench-wcsncmp.c: New File.
10489         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10491         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10492         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10493         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10494         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10495         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10496         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10497         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10499         wcscmp functions.
10500         * sysdeps/s390/multiarch/ifunc-impl-list.c
10501         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10502         * string/strcmp.c (STRCMP): Define and use macro.
10503         * benchtests/bench-wcscmp.c: New File.
10504         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10505         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10506         instead of _HAVE_STRING_ARCH_memchr.
10508         * sysdeps/s390/multiarch/strncat-c.c: New File.
10509         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10510         * sysdeps/s390/multiarch/strncat.c: Likewise.
10511         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10512         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10513         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10515         wcsncat functions.
10516         * sysdeps/s390/multiarch/ifunc-impl-list.c
10517         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10518         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10519         * string/test-strncat.c: Add wcsncat support.
10520         * wcsmbs/test-wcsncat.c: New File.
10521         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10522         * benchtests/bench-strncat.c: Add wcsncat support.
10523         * benchtests/bench-wcsncat.c: New File.
10524         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10526         * sysdeps/s390/multiarch/strcat-c.c: New File.
10527         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10528         * sysdeps/s390/multiarch/strcat.c: Likewise.
10529         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10530         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10531         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10533         wcscat functions.
10534         * sysdeps/s390/multiarch/ifunc-impl-list.c
10535         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10536         * string/strcat.c (STRCAT): Define and use macro.
10537         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10538         * string/test-strcat.c: Add wcscat support.
10539         * wcsmbs/test-wcscat.c: New File.
10540         * wcsmbs/Makefile (strop-tests): Add wcscat.
10541         * benchtests/bench-strcat.c: Add wcscat support.
10542         * benchtests/bench-wcscat.c: New File.
10543         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10545         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10546         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10547         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10548         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10549         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10550         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10551         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10552         wcpncpy functions.
10553         * sysdeps/s390/multiarch/ifunc-impl-list.c
10554         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10555         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10556         * string/test-stpncpy.c: Add wcpncpy support.
10557         * wcsmbs/test-wcpncpy.c: New File.
10558         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10559         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10560         * benchtests/bench-wcpncpy.c: New File.
10561         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10563         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10564         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10565         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10566         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10567         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10568         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10569         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10570         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10571         wcsncpy functions.
10572         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10573         * sysdeps/s390/multiarch/ifunc-impl-list.c
10574         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10575         * string/test-strncpy.c: Add wcsncpy support.
10576         * wcsmbs/test-wcsncpy.c: New File.
10577         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10578         * benchtests/bench-strncpy.c: Add wcsncpy support.
10579         * benchtests/bench-wcsncpy.c: New File.
10580         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10582         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10583         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10584         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10585         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10586         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10587         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10589         wcpcpy functions.
10590         * string/stpcpy.c: Use STPCPY if defined.
10591         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10592         * sysdeps/s390/multiarch/ifunc-impl-list.c
10593         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10594         * string/test-stpcpy.c: Add wcpcpy support.
10595         * wcsmbs/test-wcpcpy.c: New File.
10596         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10597         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10598         * benchtests/bench-wcpcpy.c: New File.
10599         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10601         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10602         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10603         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10604         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10605         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10606         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10607         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10608         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10609         wcscpy functions.
10610         * sysdeps/s390/multiarch/ifunc-impl-list.c
10611         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10612         * benchtests/bench-wcscpy.c: New File.
10613         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10615         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10616         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10617         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10618         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10619         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10620         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10622         wcsnlen functions.
10623         * sysdeps/s390/multiarch/ifunc-impl-list.c
10624         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10625         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10626         * string/test-strnlen.c: Add wcsnlen support.
10627         * wcsmbs/test-wcsnlen.c: New File.
10628         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10629         * benchtests/bench-strnlen.c: Add wcsnlen support.
10630         * benchtests/bench-wcsnlen.c: New File.
10631         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10633         * sysdeps/s390/multiarch/Makefile: New File.
10634         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10635         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10636         * sysdeps/s390/multiarch/strlen.c: Likewise.
10637         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10638         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10639         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10640         * string/strlen.c (STRLEN): Define and use macro.
10641         * sysdeps/s390/multiarch/ifunc-impl-list.c
10642         (IFUNC_VX_IMPL): New macro function.
10643         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10644         * benchtests/Makefile (wcsmbs-bench): New variable.
10645         (string-bench-all): Added wcsmbs-bench.
10646         * benchtests/bench-wcslen.c: New File.
10648         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10649         s390_vx_libc_ifunc2): New macro function.
10651         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10652         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10653         assembler support.
10654         * sysdeps/s390/configure: Regenerated.
10656         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10657         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10659         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10660         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10661         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10663         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10664         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10665         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10666         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10667         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10668         (memcmp, bcmp): Use __memcmp_default as alias source.
10669         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10670         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10671         Rename to __memcmp_default.
10672         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10673         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10674         (memcpy): Use __memcpy_default as alias source.
10675         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10676         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10677         Rename to __memcpy_default.
10678         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10679         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10680         (memset): Use __memset_default as alias source.
10681         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10682         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10683         Rename to __memset_default.
10684         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10685         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10686         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10687         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10688         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10689         (memcmp, bcmp): Use __memcmp_default as alias source.
10690         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10691         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10692         Rename to __memcmp_default.
10693         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10694         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10695         (memcpy): Use __memcpy_default as alias source.
10696         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10697         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10698         Rename to __memcpy_default.
10699         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10700         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10701         (memset): Use __memset_default as alias source.
10702         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10703         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10704         Rename to __memset_default.
10705         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10706         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10708         [BZ #18610]
10709         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10710         __ieee_instruction_pointer to __unused.
10711         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10712         __ieee_instruction_pointer.
10713         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10714         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10715         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10716         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10717         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10718         Mark dxc-field as reserved.
10720 2015-08-25  Roland McGrath  <roland@hack.frob.com>
10722         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10723         if the weak reference is not null.
10725 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10727         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10729         [BZ #11214]
10730         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10732 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10734         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10735         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10736         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10737         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10738         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10739         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10740         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10741         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10742         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10743         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10744         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10745         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10746         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10747         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10748         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10749         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10750         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10751         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10753 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10755         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10756         register other than r0 for tabort, it has special meaning.
10757         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10758         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10759         transaction before starting syscall.
10761 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10763         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10765 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10767         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10769         * sysdeps/x86_64/rtld-memcmp.c: Removed.
10770         * sysdeps/x86_64/rtld-memset.S: Likewise.
10771         * sysdeps/x86_64/rtld-strchr.S: Likewise.
10772         * sysdeps/x86_64/rtld-strlen.S: Likewise.
10773         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10774         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10776         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10778 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
10780         * debug/strcpy_chk.c: Improve performance.
10781         * debug/stpcpy_chk.c: Likewise.
10782         * sysdeps/x86_64/strcpy_chk.S: Remove.
10783         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10785         [BZ #18240]
10786         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10788 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10790         [BZ #15128]
10791         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10792         ifuncmain8.
10793         (modules-names): Add ifuncmod8.
10794         ($(objpfx)ifuncmain8): New rule.
10795         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10796         <cpuid.h>.
10797         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10798         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10799         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10800         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10801         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10802         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10803         * sysdeps/x86_64/ifuncmain8.c: New file.
10804         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10805         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10806         Removed.
10807         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10808         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10809         Change rtld_savespace_sse to __glibc_unused2.
10810         (RTLD_CHECK_FOREIGN_CALL): Removed.
10811         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10812         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10813         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10815 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10817         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10819 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10821         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10822         Unconditionally set __fpcr to avoid uninialized warning.
10823         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10825 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10827         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10828         is corrupt.
10830         * malloc/arena.c (arena_get2): Drop unused argument.
10831         (arena_lock): Adjust.
10832         (arena_get_retry): Likewise.
10834 2015-08-24  Andreas Schwab  <schwab@suse.de>
10836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10837         Don't define.
10838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10839         (__ASSUME_IPC64): Don't undef.
10840         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10841         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10842         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10843         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10844         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10845         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10846         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10847         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10848         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10849         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10850         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10851         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10852         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10853         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10854         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10856         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10857         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10858         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10859         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10860         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10862 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10864         * manual/Makefile (install): Only build manual when perl is available.
10866 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10868         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10869         '#undef memcpy' by '#undef memchr'.
10871 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10873         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10874         memchr not point to the internal __GI_memchr implementation.
10876 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10878         * timezone/Makefile (CFLAGS-zdump.c): Remove
10879         -Wno-strict-prototypes.
10880         (CFLAGS-zic.c): Likewise.
10881         (CFLAGS-ialloc.c): Likewise.
10882         (CFLAGS-scheck.c): Likewise.
10884         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10885         -Wno-error=undef.
10887 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10889         * i386/i686/multiarch/strcasestr-c.c: Removed.
10890         * x86_64/multiarch/strcasestr.c: Likewise.
10891         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10892         Remove strcasestr.
10894 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10896         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10898         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10899         variables for high and low parts before possibly modifying them.
10901 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10903         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10904         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10905         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10906         of "multiarch/init-arch.h".
10907         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10908         * sysdeps/x86/init-arch.h: This.
10910 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10912         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10913         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10915 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10917         [BZ #17787]
10918         * manual/macros.texi: Add twoexp macro.
10919         * manual/filesys.texi: Fix exponents.
10920         * manual/llio.texi: Likewise.
10921         * manual/stdio.texi: Likewise.
10923 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10925         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10926         incorrect use.
10928 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #18370]
10931         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10932         whose real or imaginary part has small absolute value.
10933         * math/s_csqrtf.c (__csqrtf): Likewise.
10934         * math/s_csqrtl.c (__csqrtl): Likewise.
10935         * math/auto-libm-test-in: Add more tests of csqrt.
10936         * math/auto-libm-test-out: Regenerated.
10937         * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10941         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10942         __ppc_set_ppr_very_low): New functions.
10943         * manual/platform.texi: Add documentation about
10944         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10946 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10948         * string/stpncpy.c (stpncpy): Improve performance using
10949         __strnlen/memcpy/memset.
10951 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10953         [BZ #18796]
10954         * scripts/test-installation.pl: Don't add -lmvec to build options if
10955         libmvec wasn't built.
10957 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10959         [BZ #14341]
10960         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10961         case when there is a gap between DT_REL and DT_JMPREL sections.
10962         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10963         (LDFLAGS-tst-split-dynreloc): New.
10964         (tst-split-dynreloc-ENV): Likewise.
10965         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10966         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10968 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10970         [BZ #18822]
10971         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10972         attribute_hidden.
10973         (__xstat64_conv): Likewise.
10974         (__xstat32_conv): Likewise.
10976 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10978         [BZ #18822]
10979         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10980         Don't load %ebx when calling __setcontext.  Call __setcontext
10981         with HIDDEN_JUMPTARGET.
10982         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10983         libc_hidden_def.
10985 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10987         * sysdeps/i386/i686/Makefile
10988         [$(subdir) == string] (sysdep_routines): Moved to ...
10989         * sysdeps/i386/Makefile: Here.
10990         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10991         * sysdeps/i386/cacheinfo.c: Here.
10992         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10993         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10994         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10995         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10997 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10999         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11000         __i586__ is defined.
11001         (HAS_I686): Defined to 1 if __i686__ is defined.
11003 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11005         * elf/Makefile [$(have-z-execstack) = yes]
11006         (CPPFLAGS-tst-execstack.c): New variable.
11008         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11009         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11010         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11011         UTMPX || _HAVE_UT_TV].
11012         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11013         UTMPX || _HAVE_UT_TV - 0].
11015 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11017         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11018         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11019         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11021 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11023         * sysdeps/powerpc/dl-procinfo.c:
11024         (_dl_powerpc_cap_flags): Added missing strings for some
11025         hwcap features.
11026         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11028 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11030         Port the 0x7efe...feff pattern to GCC 6.
11031         See Steve Ellcey's bug report in:
11032         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11033         * string/memrchr.c (MEMRCHR):
11034         * string/rawmemchr.c (RAWMEMCHR):
11035         * string/strchr.c (strchr):
11036         * string/strchrnul.c (STRCHRNUL):
11037         Rewrite code to avoid issues with signed shift overflow.
11039 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11041         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11042         whether cpuid is available only if HAS_CPUID is 0.
11043         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11044         (HAS_I586): Likewise.
11045         (HAS_I686): Likewise.
11047 2015-08-18  Zack Weinberg  <zackw@panix.com>
11049         * misc/Versions (libc): Add GLIBC_2.23.
11051 2015-08-18  Alan Modra  <amodra@gmail.com>
11053         [BZ #18421]
11054         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11055         .Lp__global.
11056         (_start): Load %dp via .Lp__global.
11057         [!SHARED]: Use .section .rodata.
11059 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11061         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11062         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11064 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11066         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11067         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11071         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11072         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11074 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11076         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11077         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11079 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11081         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11082         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11084 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11086         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11087         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11089 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11091         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11093 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11095         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11096         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11097         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11098         (__ASSUME_LWS_CAS): Delete.
11100 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11102         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11103         * sysdeps/hppa/configure: Regenerated.
11104         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11105         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11106         * sysdeps/hppa/nptl/tls.h: Likewise.
11108 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11110         [BZ #18823]
11111         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11112         for scaling up small arguments.
11113         * math/s_csqrtf.c (__csqrtf): Likewise.
11114         * math/s_csqrtl.c (__csqrtl): Likewise.
11115         * math/auto-libm-test-in: Add more tests of csqrt.
11116         * math/auto-libm-test-out: Regenerated.
11118 2015-08-17  Andreas Schwab  <schwab@suse.de>
11120         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11121         version set GLIBC_2.19.
11123 2015-08-16  Zack Weinberg  <zackw@panix.com>
11125         [BZ #18681]
11126         * misc/regexp.h: This interface is no longer supported.
11127         Remove all contents, leaving only an #error directive.
11128         * misc/regexp.c (loc1, loc2, locs, step, advance):
11129         Demote to compatibility symbols.
11131 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11133         [BZ #18084]
11134         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11135         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11136         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11137         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11138         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11139         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11140         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11141         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11142         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11144 2015-08-15  Zack Weinberg  <zackw@panix.com>
11146         [BZ #18795]
11147         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11148         buffer length is known to be too large, not if it's known to be
11149         small enough.
11150         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11151         overflow at runtime, involving a length parameter, twice: once
11152         with a compile-time constant length parameter, once without.
11154 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11156         [BZ #18824]
11157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11158         scaling x * y up instead of down.
11159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11161         * math/auto-libm-test-in: Add more tests of fma.
11162         * math/auto-libm-test-out: Regenerated.
11164 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11168 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11171         unnecessary movq.
11172         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11173         Likewise.
11175 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11177         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11178         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11179         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11180         and tgamma.
11181         * math/auto-libm-test-out: Regenerated.
11182         * sysdeps/i386/fpu/libm-test-ulps: Update.
11183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11185         [BZ #16520]
11186         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11187         (__tanh): Force underflow exception for arguments with small
11188         absolute value.
11189         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11190         (__tanhf): Force underflow exception for arguments with small
11191         absolute value.
11192         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11193         (__tanhl): Force underflow exception for arguments with small
11194         absolute value.
11195         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11196         (__tanhl): Force underflow exception for arguments with small
11197         absolute value.
11198         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11199         (__tanhl): Force underflow exception for arguments with small
11200         absolute value.
11201         * math/auto-libm-test-in: Add more tests of tanh.
11202         * math/auto-libm-test-out: Regenerated.
11203         * sysdeps/i386/fpu/libm-test-ulps: Update.
11205 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11207         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11208         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11210 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11212         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11213         <cpuid.h>.
11215 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11217         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11218         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11220 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11222         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11223         Remove $(objpfx)init-arch.o.
11224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11225         init-arch.
11226         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11227         (INIT_ARCH_EXT): Defined as empty.
11228         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11230         __init_cpu_features call.  Replace HAS_XXX with
11231         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11237         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11238         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11239         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11244         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11245         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11248         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11249         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11250         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11252         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11253         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11254         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11255         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11257         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11259         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11260         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11265         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11266         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11268 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11270         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11271         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11272         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11273         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11274         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11275         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11276         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11277         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11278         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11279         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11280         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11281         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11282         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11285         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11292         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11293         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11294         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11295         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11297         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11298         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11299         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11300         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11301         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11302         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11303         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11304         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11305         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11306         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11307         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11308         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11309         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11310         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11311         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11312         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11314 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11317         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11319         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11320         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11321         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11322         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11323         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11324         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11325         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11326         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11327         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11328         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11329         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11330         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11331         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11332         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11333         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11334         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11335         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11337         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11338         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11339         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11340         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11341         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11342         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11343         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11344         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11345         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11346         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11347         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11348         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11349         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11350         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11351         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11352         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11353         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11354         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11355         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11356         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11357         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11358         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11360 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11362         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11363         (dl_platform_init): Call init_cpu_features.
11364         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11365         * sysdeps/i386/i686/cacheinfo.c
11366         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11367         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11368         * sysdeps/i386/i686/multiarch/Versions: Removed.
11369         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11370         Removed.
11371         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11372         * sysdeps/unix/sysv/linux/x86/Makefile
11373         (libpthread-sysdep_routines): Remove init-arch.
11374         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11375         <sysdeps/x86_64/dl-procinfo.c> instead of
11376         sysdeps/generic/dl-procinfo.c>.
11377         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11378         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11379         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11380         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11381         [$(subdir) == elf] (tests-static): Add
11382         tst-get-cpu-features-static.
11383         * sysdeps/x86/Versions: New file.
11384         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11385         * sysdeps/x86/cpu-features.c: Likewise.
11386         * sysdeps/x86/cpu-features.h: Likewise.
11387         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11388         * sysdeps/x86/libc-start.c: Likewise.
11389         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11390         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11391         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11392         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11393         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11394         Assume USE_MULTIARCH is defined and don't check it.
11395         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11396         (is_amd): Likewise.
11397         (max_cpuid): Likewise.
11398         (intel_check_word): Likewise.
11399         (__cache_sysconf): Don't call __init_cpu_features.
11400         (__x86_preferred_memory_instruction): Removed.
11401         (init_cacheinfo): Don't call __init_cpu_features. Replace
11402         __cpu_features with GLRO(dl_x86_cpu_features).
11403         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11404         (dl_platform_init): Call init_cpu_features.
11405         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11406         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11407         * sysdeps/x86_64/multiarch/Versions: Removed.
11408         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11409         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11410         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11411         Removed.
11412         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11414 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11416         [BZ #18820]
11417         * libio/Makefile (test-fmemopen-mem): New test.
11418         * libio/test-fmemopen.c (do_bz18820): New test.
11419         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11420         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11422 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11424         [BZ #16734]
11425         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11426         (FREE_BUF): Delete.
11427         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11428         * libio/genops.c (_IO_setb): Use malloc and free directly.
11429         (_IO_default_doallocate, _IO_default_finish): Likewise.
11430         ( _IO_unbuffer_all): Likewise.
11431         ( libc_freeres_fn): Likewise.
11432         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11433         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11434         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11435         (_IO_wdefault_doallocate): Likewise.
11437 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11439         [BZ #18086]
11440         * sysdeps/posix/nice.c (nice): Restore old errno.
11441         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11443 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11447 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11449         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11450         __bcopy and add a weak_alias to bcopy.
11451         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11452         for static build.
11454         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11455         cleanup macro usage.
11456         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11459         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11460         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11461         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11462         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11463         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11464         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11465         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11467         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11469         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11470         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11472         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11473         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11474         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11476         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11477         libc_hidden_def.
11478         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11480         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11481         (sysdep_routines): Add strstr-ppc64.
11482         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11484 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11486         [BZ #18778]
11487         * elf/Makefile (tests): Add Add tst-nodelete2.
11488         (modules-names): Add tst-nodelete2mod.
11489         (tst-nodelete2mod.so-no-z-defs): New.
11490         ($(objpfx)tst-nodelete2): Likewise.
11491         ($(objpfx)tst-nodelete2.out): Likewise.
11492         (LDFLAGS-tst-nodelete2): Likewise.
11493         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11494         out of loop through all loaded libraries.
11495         * elf/tst-nodelete2.c: New file.
11496         * elf/tst-nodelete2mod.c: Likewise.
11497         * elf/tst-znodelete-zlib.cc: Delete.
11499 2015-08-11  Andreas Schwab  <schwab@suse.de>
11501         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11502         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11503         (__openat64_nocancel): Likewise.
11505 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11507         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11508         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11509         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11510         * math/auto-libm-test-out: Regenerated.
11511         * sysdeps/i386/fpu/libm-test-ulps: Update.
11512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11514 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11516         [BZ #18790]
11517         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11518         threshold for returning +/- 1.
11519         * math/auto-libm-test-in: Add more tests of tanh.
11520         * math/auto-libm-test-out: Regenerated.
11521         * sysdeps/i386/fpu/libm-test-ulps: Update.
11523 2015-08-10  Andreas Schwab  <schwab@suse.de>
11525         [BZ #18781]
11526         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11527         MORE_OFLAGS to oflag.
11528         * io/test-lfs.c (do_test): Test openat64.
11530 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11532         [BZ #18789]
11533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11534         smaller threshold for returning the argument.
11535         * math/auto-libm-test-in: Add more tests of sinh.
11536         * math/auto-libm-test-out: Regenerated.
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11541         [BZ #18674]
11542         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11543         break.
11545 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11547         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11548         (generated): Don't add $(addprefix z.,$(tzfiles)).
11550 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11552         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11553         * scripts/sysd-rules.awk: Likewise.
11555 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11557         * iconvdata/tst-tables.sh: Change echo -n to printf.
11558         * nss/db-Makefile: Likewise.
11559         * posix/tst-getconf.sh: Likewise.
11560         * stdio-common/tst-unbputc.sh: Likewise.
11562 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11564         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11565         MADV_*_PAGES defines behind this feature check.
11567 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11569         [BZ #18480]
11570         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11571         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11572         Define.
11573         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11574         LOAD_REGS_5, LOAD_REGS_6): Update.
11575         (INTERNAL_SYSCALL): Update using new LOAD defines.
11576         (INTERNAL_SYSCALL_NCS): Likewise.
11577         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11579 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11581         [BZ #16734]
11582         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11584 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11586         [BZ #17905]
11587         * catgets/Makefile (tst-catgets-mem): New test.
11588         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11589         * catgets/open_catalog.c (__open_catalog): Likewise.
11590         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11592 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11594         [BZ #18787]
11595         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11596         clobber registers.
11597         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11598         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11599         Cast return to __typeof (oldval).
11601 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11603         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11604         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11605         and delete sys/syscall.h include.
11607 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #16517]
11610         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11611         (tan): Force underflow exception for arguments with small absolute
11612         value.
11613         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11614         (__kernel_tanf): Force underflow exception for arguments with
11615         small absolute value.
11616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11617         (__kernel_tanl): Force underflow exception for arguments with
11618         small absolute value.
11619         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11620         (__kernel_tanl): Force underflow exception for arguments with
11621         small absolute value.
11622         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11623         (__kernel_tanl): Force underflow exception for arguments with
11624         small absolute value.
11625         * math/auto-libm-test-in: Add more tests of tan.
11626         * math/auto-libm-test-out: Regenerated.
11628 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11630         Fix sysdeps/i386/fpu/s_scalbn.S build
11632         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11634 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11636         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11638 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11640         Fix gcrt0.o compilation
11642         When static-start-installed-name is different from
11643         start-installed-name, we must not use the shared objects.
11645         * csu/Makefile
11646         (extra-objs): Add gmon-start.o when building shared library and
11647         $(static-start-installed-name) is different from
11648         $(start-installed-name).
11649         $(objpfx)g$(static-start-installed-name): When building shared
11650         library and $(static-start-installed-name) is different from
11651         $(static-start-installed-name), revert to non-shared rule,
11652         i.e. using $(objpfx)% and gmon-start.o.
11654 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11656         [BZ #16519]
11657         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11658         (__ieee754_sinh): Force underflow exception for arguments with
11659         small absolute value.
11660         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11661         (__ieee754_sinhf): Force underflow exception for arguments with
11662         small absolute value.
11663         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11664         (__ieee754_sinhl): Force underflow exception for arguments with
11665         small absolute value.
11666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11667         (__ieee754_sinhl): Force underflow exception for arguments with
11668         small absolute value.
11669         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11670         (__ieee754_sinhl): Force underflow exception for arguments with
11671         small absolute value.
11672         * math/auto-libm-test-in: Add more tests of sinh.
11673         * math/auto-libm-test-out: Regenerated.
11674         * sysdeps/i386/fpu/libm-test-ulps: Update.
11676 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11678         * libio/oldfileops.c: Include unistd.h.
11680 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11682         * stdlib/isomac.c: Include ctype.h.
11684 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11686         * dirent/tst-seekdir.c (main): Converted to ...
11687         (do_test): ... this.
11688         (TEST_FUNCTION): New macro.
11689         Include test-skeleton.c.
11690         * elf/tst-dlmodcount.c (main): Converted to ...
11691         (do_test): ... this.
11692         (TEST_FUNCTION): New macro.
11693         Include test-skeleton.c.
11694         * elf/tst-order-main.c (main): Converted to ...
11695         (do_test): ... this.
11696         (TEST_FUNCTION): New macro.
11697         Include test-skeleton.c.
11698         * elf/tst-pie2.c (main): Converted to ...
11699         (do_test): ... this.
11700         (TEST_FUNCTION): New macro.
11701         Include test-skeleton.c.
11702         * inet/tst-ether_aton.c (main): Converted to ...
11703         (do_test): ... this.
11704         (TEST_FUNCTION): New macro.
11705         Include test-skeleton.c.
11706         * misc/tst-mntent.c (main): Converted to ...
11707         (do_test): ... this.
11708         (TEST_FUNCTION): New macro.
11709         Include test-skeleton.c.
11710         * misc/tst-tsearch.c (main): Converted to ...
11711         (do_test): ... this.
11712         (TEST_FUNCTION): New macro.
11713         Include test-skeleton.c.
11714         * posix/tst-regexloc.c (main): Converted to ...
11715         (do_test): ... this.
11716         (TEST_FUNCTION): New macro.
11717         Include test-skeleton.c.
11718         * resolv/tst-aton.c (main): Converted to ...
11719         (do_test): ... this.
11720         (TEST_FUNCTION): New macro.
11721         Include test-skeleton.c.
11722         * stdio-common/test-fwrite.c (main): Converted to ...
11723         (do_test): ... this.
11724         (TEST_FUNCTION): New macro.
11725         Include test-skeleton.c.
11726         * stdio-common/tst-ferror.c (main): Converted to ...
11727         (do_test): ... this.
11728         (TEST_FUNCTION): New macro.
11729         Include test-skeleton.c.
11730         * stdio-common/tst-printf.c (main): Converted to ...
11731         (do_test): ... this.
11732         (TEST_FUNCTION): New macro.
11733         Include test-skeleton.c.
11734         * stdio-common/tst-printfsz.c (main): Converted to ...
11735         (do_test): ... this.
11736         (TEST_FUNCTION): New macro.
11737         Include test-skeleton.c.
11738         * stdlib/tst-strtod.c (main): Converted to ...
11739         (do_test): ... this.
11740         (TEST_FUNCTION): New macro.
11741         Include test-skeleton.c.
11742         * string/tst-strlen.c (main): Converted to ...
11743         (do_test): ... this.
11744         (TEST_FUNCTION): New macro.
11745         Include test-skeleton.c.
11746         * string/tst-svc.c (main): Converted to ...
11747         (do_test): ... this.
11748         (TEST_FUNCTION): New macro.
11749         Include test-skeleton.c.
11750         * time/tst-strptime.c (main): Converted to ...
11751         (do_test): ... this.
11752         (TEST_FUNCTION): New macro.
11753         Include test-skeleton.c.
11754         * timezone/tst-timezone.c (main): Converted to ...
11755         (do_test): ... this.
11756         (TEST_FUNCTION): New macro.
11757         Include test-skeleton.c.
11759 2015-08-05  Zack Weinberg  <zackw@panix.com>
11761         * misc/regexp.h: Update comments.
11763 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
11765         [BZ #18635]
11766         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11767         before return label.
11769 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11771         [BZ #18661]
11772         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11773         when calling __errno_location.
11774         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11775         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11777 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11779         [BZ #18661]
11780         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11781         (__lll_timedwait_tid): Align stack to 16 bytes when calling
11782         __gettimeofday.
11784 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11786         [BZ #18661]
11787         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11788         (__start_context): Don't use pop to restore %rdi so that stack
11789         is aligned to 16 bytes when calling __setcontext.
11791 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11793         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11794         only for libc.
11795         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11797 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11799         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11800         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11801         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11803 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11805         * string/memccpy.c (memccpy):
11806         Improve performance by using memchr/memcpy/__mempcpy.
11808 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11810         * string/strncpy.c (strncpy):
11811         Improve performance by using __strnlen/memcpy.
11813 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11815         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11816         Optimize to avoid an unnecessary FPCR read.
11818 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11820         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11821         Optimize to reduce FPCR/FPSR accesses.
11823 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11825         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11826         dead->data[category] != NULL.
11828 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11830         [BZ #18647]
11831         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11832         and |x| close to 1, use absolute value of x when computing log.
11833         * math/auto-libm-test-in: Add more tests of pow.
11834         * math/auto-libm-test-out: Regenerated.
11836 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11838         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11839         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11840         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11842 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11844         [BZ #18525]
11845         * locales/km_KH: Remove timezone definition.
11846         * locales/lo_LA: Likewise.
11847         * locales/my_MM: Likewise.
11848         * locales/nan_TW@latin: Likewise.
11849         * locales/th_TH: Likewise.
11850         * locales/uk_UA: Likewise.
11852 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11854         [BZ #18265]
11855         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11856         (wcsncat): Likewise.
11857         (wcscmp): Likewise.
11858         (wcsncmp): Likewise.
11860 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11862         * test-skeleton.c (usage): New function.
11863         (main): Call usage when opt is '?'.
11865 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11867         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11868         before first use.
11870 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11872         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11873         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11874         in there too.
11876 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11878         * version.h (RELEASE): Set to "development".
11879         (VERSION): Set to "2.22.90"
11881         * version.h (RELEASE): Set to "stable".
11882         (VERSION): Set to "2.22"
11883         * include/features.h (__GLIBC_MINOR__): Set to 22.
11885 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11887         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11888         Restructure macro to avoid "value computed is not used" warning.
11889         (atomic_compare_and_exchange_val_acq): Likewise.
11891 2015-08-04  Andreas Schwab  <schwab@suse.de>
11893         [BZ #18635]
11894         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11895         ret.
11896         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11898 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11900         * po/pl.po: Updated translation.
11901         * po/uk.po: Likewise.
11902         * po/fi.po: Likewise.
11903         * po/ko.po: Likewise.
11904         * po/ru.po: Likewise.
11905         * po/vi.po: Likewise.
11907 2015-07-31  Zack Weinberg  <zackw@panix.com>
11909         [BZ #18681]
11910         * regexp.h: Add unconditional #warning stating that this header
11911         will be removed soon.  Revise banner comment to match.
11912         (compile): Consistently use ERROR instead of RETURN to report
11913         errors (partial fix for bz#18681).
11914         * regexp.c: Don't include regexp.h. Remove some unnecessary
11915         declarations.
11917 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11919         * po/libc.pot: Regenerated.
11921 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11923         [BZ #18740]
11924         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11925         float-vlen4-arch-ext-cflags): Removed.
11926         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11927         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11929 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11931         [BZ #14113]
11932         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11933         aligned to __aligned__.
11934         (pthread_cond_t, pthread_rwlock_t): Likewise.
11936 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11938         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11940 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11942         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11943         (struct sigaction): Change sa_flags from a long to an int, and add
11944         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11946 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11948         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11949         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11950         sysdeps/generic/sysdep.h include.
11951         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11952         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11953         sysdeps/hppa/sysdep.h.
11954         (ENTRY, PSEUDO): Undefine before defining.
11956 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11958         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11959         from scratch to use INTERNAL_SYSCALL.
11961 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11963         [BZ #18078]
11964         * scripts/check-localplt.awk: Support alternate relocations.
11965         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11966         sections.
11967         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11968         malloc entries with + REL R_386_GLOB_DAT.
11969         * sysdeps/x86_64/localplt.data: New file.
11971 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11973         [BZ #18731]
11974         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11975         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11976         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11978 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11980         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11982 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11984         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11985         directly in terms of __sync_fetch_and_add and delete (int) cast.
11987 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11989         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11990         the -D_ASM_IA64_CURRENT_H flag.
11992 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11994         [BZ #18641]
11995         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11997 2015-07-27  Andreas Schwab  <schwab@suse.de>
11999         * conform/conformtest.pl (checknamespace): Filter out string
12000         literals while tokenizing.
12002 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12004         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12005         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12006         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12008 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12010         * nptl/tst-join7mod.c: Add #include <string.h>.
12012 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12014         * sysdeps/nios2/libm-test-ulps: Update.
12016 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12018         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12019         Fix order of arguments to the rt_sigprocmask syscall.
12020         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12021         Likewise.
12023 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12025         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12027 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12029         [BZ #18457]
12030         * nptl/Makefile (tests): New test case tst-join7.
12031         (modules-names): New test case module tst-join7mod.
12032         * nptl/tst-join7.c: New file.
12033         * nptl/tst-join7mod.c: New file.
12034         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12035         all translation units in libc.so, libpthread.so and rtld.
12037 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12041 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12043         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12045         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12047         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12052         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12053         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12054         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12055         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12056         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12057         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12058         implementation.
12060 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12062         [BZ #17711]
12063         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12064         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12065         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12066         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12067         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12068         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12070 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12072         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12073         instead of just saying load lock in the comments.
12075 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12077         * sysdeps/unix/Subdirs: Moved ...
12078         * sysdeps/posix/Subdirs: ... here.
12079         * login/pty.h (struct termios, struct winsize): Add forward decls.
12080         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12081         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12082         * sysdeps/arm/nacl/libc.abilist: Updated.
12083         * sysdeps/nacl/libutil.abilist: New file.
12085         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12086         (SIGWINCH): New macro.
12088         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12089         * sysdeps/arm/nacl/libc.abilist: Add it.
12091 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12093         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12095 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12097         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12098         Swap __glibc_reserved0 and sa_flags order.
12100 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102         [BZ #18657]
12103         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12104         are pending TLS destructor calls.
12105         * include/link.h (struct link_map): Add concurrency note for
12106         L_TLS_DTOR_COUNT.
12107         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12108         Don't touch the link map flag.  Atomically increment
12109         l_tls_dtor_count.
12110         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12111         Avoid taking the load lock and don't touch the link map flag.
12112         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12113         * stdlib/Makefile (tests): Use it.
12114         * stdlib/tst-tls-atexit.c (do_test): dlopen
12115         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12116         to allow tst-tls-atexit-nodelete test case to use it.
12118 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12120         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12121         to bits/types.h.
12122         (msgqnum_t): New typedef.
12123         (msglen_t): Likewise.
12124         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12125         and msg_qbytes type to msglen_t.
12127 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12129         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12130         pad0 to __glibc_reserved0.
12131         (struct stat64): Likewise.
12133 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12135         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12136         Change sa_flags from a long to an int and add __glibc_reserved0 before
12137         it for padding.
12139 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12141         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12142         anonymous by deleting "siginfo" name.
12144 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12146         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12147         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12148         rather than __nacl_irt_filename.
12149         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12151         * NEWS: New item for arm-nacl port.
12152         * sysdeps/arm/nacl/libc.abilist: New file.
12153         * sysdeps/nacl/ld.abilist: New file.
12154         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12155         * sysdeps/nacl/libanl.abilist: New file.
12156         * sysdeps/nacl/libcrypt.abilist: New file.
12157         * sysdeps/nacl/libdl.abilist: New file.
12158         * sysdeps/nacl/libm.abilist: New file.
12159         * sysdeps/nacl/libpthread.abilist: New file.
12160         * sysdeps/nacl/libresolv.abilist: New file.
12161         * sysdeps/nacl/librt.abilist: New file.
12163 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12165         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12166         __startcontext to initialize the new context.
12167         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12168         up CFI directive to forbid further backtracing.
12170 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12172         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12173         reference.
12174         * charmaps/ANSI_X3.4-1968: Likewise.
12175         * charmaps/BS_4730: Likewise.
12176         * charmaps/BS_VIEWDATA: Likewise.
12177         * charmaps/CP1250: Likewise.
12178         * charmaps/CP1251: Likewise.
12179         * charmaps/CP1252: Likewise.
12180         * charmaps/CP1253: Likewise.
12181         * charmaps/CP1254: Likewise.
12182         * charmaps/CP1255: Likewise.
12183         * charmaps/CP1256: Likewise.
12184         * charmaps/CSN_369103: Likewise.
12185         * charmaps/EBCDIC-DK-NO: Likewise.
12186         * charmaps/GB_1988-80: Likewise.
12187         * charmaps/GREEK-CCITT: Likewise.
12188         * charmaps/GREEK7: Likewise.
12189         * charmaps/INIS-8: Likewise.
12190         * charmaps/ISIRI-3342: Likewise.
12191         * charmaps/ISO_2033-1983: Likewise.
12192         * charmaps/ISO_5427-EXT: Likewise.
12193         * locales/POSIX: Likewise.
12194         * locales/ar_SA: Likewise.
12195         * locales/be_BY: Likewise.
12196         * locales/be_BY@latin: Likewise.
12197         * locales/ca_ES: Likewise.
12198         * locales/cs_CZ: Likewise.
12199         * locales/da_DK: Likewise.
12200         * locales/de_BE: Likewise.
12201         * locales/de_CH: Likewise.
12202         * locales/de_LU: Likewise.
12203         * locales/en_AU: Likewise.
12204         * locales/en_BW: Likewise.
12205         * locales/en_CA: Likewise.
12206         * locales/en_DK: Likewise.
12207         * locales/en_GB: Likewise.
12208         * locales/en_IE: Likewise.
12209         * locales/en_NZ: Likewise.
12210         * locales/en_ZA: Likewise.
12211         * locales/en_ZW: Likewise.
12212         * locales/es_AR: Likewise.
12213         * locales/es_BO: Likewise.
12214         * locales/es_CL: Likewise.
12215         * locales/es_CO: Likewise.
12216         * locales/es_DO: Likewise.
12217         * locales/es_EC: Likewise.
12218         * locales/es_ES: Likewise.
12219         * locales/es_HN: Likewise.
12220         * locales/es_MX: Likewise.
12221         * locales/es_PA: Likewise.
12222         * locales/es_PE: Likewise.
12223         * locales/es_PY: Likewise.
12224         * locales/es_SV: Likewise.
12225         * locales/es_US: Likewise.
12226         * locales/es_UY: Likewise.
12227         * locales/es_VE: Likewise.
12228         * locales/et_EE: Likewise.
12229         * locales/fa_IR: Likewise.
12230         * locales/fo_FO: Likewise.
12231         * locales/fr_CA: Likewise.
12232         * locales/fr_CH: Likewise.
12233         * locales/gv_GB: Likewise.
12234         * locales/he_IL: Likewise.
12235         * locales/hr_HR: Likewise.
12236         * locales/id_ID: Likewise.
12237         * locales/is_IS: Likewise.
12238         * locales/it_CH: Likewise.
12239         * locales/iw_IL: Likewise.
12240         * locales/kl_GL: Likewise.
12241         * locales/ko_KR: Likewise.
12242         * locales/kw_GB: Likewise.
12243         * locales/lg_UG: Likewise.
12244         * locales/lt_LT: Likewise.
12245         * locales/lv_LV: Likewise.
12246         * locales/mi_NZ: Likewise.
12247         * locales/nhn_MX: Likewise.
12248         * locales/nl_BE: Likewise.
12249         * locales/pl_PL: Likewise.
12250         * locales/sk_SK: Likewise.
12251         * locales/sl_SI: Likewise.
12252         * locales/sv_FI: Likewise.
12253         * locales/tl_PH: Likewise.
12254         * locales/tr_TR: Likewise.
12255         * locales/vi_VN: Likewise.
12257 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12259         [BZ #17475]
12260         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12261         of tu_IN and bh_IN.
12263 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12265         [BZ #18694]
12266         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12267         bits/wordsize.h.
12268         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12270 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12272         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12273         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12274         (spawn_thread): New function.
12275         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12276         (do_test): ... here.  Use IS_LOADED to test for its
12277         availability.
12279 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12283 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12285         [BZ #18696]
12286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12287         si_addr_bnd.
12288         (si_lower): New.
12289         (si_upper): Likewise.
12291 2015-07-16  David S. Miller  <davem@davemloft.net>
12293         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12295 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12297         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12298         buffer.
12299         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12300         fail output information.
12302 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12305         and strstr-ppc64..
12306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12307         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12308         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12309         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12310         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12312 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12314         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12315         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12316         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12317         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12319 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12321         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12322         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12323         rtld_hidden_proto.
12324         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12326 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12328         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12329         the test can fail.
12331         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12333         [BZ #18676]
12334         * elf/tst-nodelete-opened.c: New test case.
12335         * elf/tst-nodelete-opened-lib.c: New test case module.
12336         * elf/Makefile (tests, modules-names): Use them.
12337         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12338         early.
12340 2015-07-15  David S. Miller  <davem@davemloft.net>
12342         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12343         futex-intenal.h
12344         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12345         * sysdeps/sparc/sparc64/Makefile: Likewise.
12346         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12347         Remove space from macro define.
12348         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12350 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12352         [BZ #17475]
12353         * locale/iso-639.def: Update Bhili and Tulu language codes as
12354         per iso639-3.
12356 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12358         * elf/tst-leaks1.c (main): Converted to ...
12359         (do_test): ... this.
12360         (TEST_FUNCTION): New macro.
12361         Include test-skeleton.c.
12362         * localedata/tst-langinfo.c (main): Converted to ...
12363         (do_test): ... this.
12364         (TEST_FUNCTION): New macro.
12365         Include test-skeleton.c.
12366         * math/test-fpucw.c (main): Converted to ...
12367         (do_test): ... this.
12368         (TEST_FUNCTION): New macro.
12369         Include test-skeleton.c.
12370         * math/test-tgmath.c (main): Converted to ...
12371         (do_test): ... this.
12372         (TEST_FUNCTION): New macro.
12373         Include test-skeleton.c.
12374         * math/test-tgmath2.c (main): Converted to ...
12375         (do_test): ... this.
12376         (TEST_FUNCTION): New macro.
12377         Include test-skeleton.c.
12378         * setjmp/tst-setjmp.c (main): Converted to ...
12379         (do_test): ... this.
12380         (TEST_FUNCTION): New macro.
12381         Include test-skeleton.c.
12382         * stdio-common/tst-sscanf.c (main): Converted to ...
12383         (do_test): ... this.
12384         (TEST_FUNCTION): New macro.
12385         Include test-skeleton.c.
12386         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12387         (do_test): ... this.
12388         (TEST_FUNCTION): New macro.
12389         Include test-skeleton.c.
12391         * elf/tst-audit9.c (main): Converted to ...
12392         (do_test): ... this.
12393         (TEST_FUNCTION): New macro.
12394         Include test-skeleton.c.
12396 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12398         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12400 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12402         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12403         New variable.
12405 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12407         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12409 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12411         * sysdeps/generic/dl-fileid.h: New file.
12412         * sysdeps/posix/dl-fileid.h: New file.
12413         * sysdeps/nacl/dl-fileid.h: New file.
12414         * include/link.h: Include <dl-fileid.h>.
12415         (struct link_map): Replace l_dev and l_ino with l_file_id.
12416         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12417         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12418         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12420 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12422         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12424 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12426         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12427         Add iff $CXX is set.
12428         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12429         Likewise.
12430         (tst-nodelete-zmodiff): Likewise.
12431         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12433 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12435         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12437 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12439         * sysdeps/aarch64/fpu/math_private.h
12440         (define math_opt_barrier): Add AArch64 version.
12441         (math_force_eval): Likewise.
12443 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12445         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12447 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12449         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12450         %ld with %jd and cast to intmax_t.
12451         (do_test_length_zero): Likewise.
12453 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12455         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12457 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12459         * sysdeps/tile/libm-test-ulps: Regenerated.
12461         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12462         Comment out the whole function, not just its body.
12464 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12466         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12467         locks.
12469         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12471 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12473         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12474         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12476 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12478         * sysdeps/nptl/futex-internal.h: New file.
12479         * sysdeps/nacl/futex-internal.h: New file.
12480         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12481         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12482         error checking.
12483         (setxid_unmark_thread): Likewise.
12484         (__nptl_setxid): Likewise.
12485         (__wait_lookup_done): Likewise.
12486         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12487         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12488         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12489         * nptl/pthread_once.c (clear_once_control): Likewise.
12490         (__pthread_once_slow): Likewise.
12491         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12492         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12493         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12494         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12495         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12496         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12497         Likewise.
12498         (__pthread_rwlock_rdlock): Likewise.
12499         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12500         Likewise.
12501         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12502         Likewise.
12503         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12504         Likewise.
12505         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12506         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12507         Likewise.
12508         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12509         __ASSUME_PRIVATE_FUTEX check.
12510         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12511         Check that shared futexes are supported.
12512         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12513         wrappers with error checking.
12514         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12515         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12516         * nptl/pthread_barrierattr_setpshared.c
12517         (pthread_barrierattr_setpshared): Check that shared futexes are
12518         supported.
12519         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12520         Likewise.
12521         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12522         Likewise.
12523         * nptl/sem_init.c (futex_private_if_supported): Remove.
12524         (__new_sem_init): Adapt and check that shared futexes are supported.
12525         * nptl/sem_open.c (sem_open): Likewise.
12526         * nptl/sem_post.c (futex_wake): Remove.
12527         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12528         (do_futex_wait): Use futex wrappers with error checking.
12529         * nptl/sem_wait.c: Include lowlevellock.h.
12530         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12531         Use futex_supports_pshared.
12532         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12533         Use futex wrappers with error checking.
12534         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12535         Likewise.
12536         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12537         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12538         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12539         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12540         (futex_wake): Likewise.
12541         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12542         (do_futex_wait): Use futex wrappers with error checking.
12543         (__new_sem_wait_slow): Update EINTR handling.
12544         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12546 2015-07-09  Martin Sebor  <msebor@redhat.com>
12548         [BZ #18435]
12549         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12550         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12551         * nptl/Makefile (test-xfail-tst-once5): Define.
12553 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12555         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12556         * elf/dl-minimal.c: For readability, reorder some definitions and
12557         introduce more page breaks.  Include <stdio.h>.
12558         (__libc_fatal): New function.
12560         * include/unistd.h: Add rtld_hidden_proto for _exit.
12561         * posix/_exit.c: Add rtld_hidden_def.
12562         * sysdeps/mach/hurd/_exit.c: Likewise.
12563         * sysdeps/nacl/_exit.c: Likewise.
12564         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12565         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12567 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12570         bndmov encoding with zero displacement.
12572 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12573             H.J. Lu  <hongjiu.lu@intel.com>
12575         [BZ #18134]
12576         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12577         * sysdeps/i386/configure: Regenerated.
12578         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12579         (_dl_runtime_profile): Save and restore Intel MPX return bound
12580         registers when calling _dl_call_pltexit.  Add
12581         PRESERVE_BND_REGS_PREFIX before return.
12582         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12583         (LRV_BND1_OFFSET): Likewise.
12584         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12585         lrv_bnd1.
12586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12587         typo in bndmov encoding.
12588         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12589         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12590         branch instructions to preserve bounds.
12592 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12595         [GLIBC_2.22]: Add fmemopen.
12597 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12599         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12600         returns an error, also try to use host port from __mach_host_self for
12601         the __vm_wire call.
12602         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12604 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12606         [BZ #18400]
12607         [BZ #18648]
12608         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12609         Fix pr_uid and pr_gid members.
12610         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12611         definition to elf_greg_t.
12613 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12615         [BZ #18383]
12616         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12617         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12618         * sysdeps/arm/configure: Regenerated.
12619         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12620         (test-xfail-tst-tlsalign-static): Variable removed.
12622         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12623         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12624         rather than explicit 'ln -s'.
12626         * resolv/rpc/netdb.h: New file.
12627         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12629 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12631         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12632         length buffers.
12633         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12634         test-skeleton.c.
12636         [BZ #6544]
12637         [BZ #11216]
12638         [BZ #12836]
12639         [BZ #13151]
12640         [BZ #13152]
12641         [BZ #14292]
12642         * include/stdio.h (fmemopen): Remove hidden prototype.
12643         (__fmemopen): Add new hidden prototype.
12644         * libio/Makefile: Add oldfmemopen object.
12645         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12646         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12647         compliance.
12648         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12649         symbol compatibility.
12650         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12651         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12652         fmemopen.
12653         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12654         on append and read mode.
12655         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12656         fmemopen.
12657         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12658         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12659         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12660         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12661         Likewise.
12662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12663         [GLIBC_2.22]: Likewise.
12664         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12667         Likewise.
12668         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12669         [GLIBC_2.22]: Likewise.
12670         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12671         [GLIBC_2.22]: Likewise.
12672         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12673         [GLIBC_2.22]: Likewise.
12674         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12675         [GLIBC_2.22]: Likewise.
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12677         [GLIBC_2.22]: Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12679         [GLIBC_2.22]: Likewise.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12681         [GLIBC_2.22]: Likewise.
12682         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12683         Likewise.
12684         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12685         Likewise.
12686         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12687         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12688         [GLIBC_2.22]: Likewise.
12689         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12690         [GLIBC_2.22]: Likewise.
12691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12692         [GLIBC_2.22]: Likewise.
12693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12694         [GLIBC_2.22]: Likewise.
12695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12698         Likewise.
12699         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12700         Likewise.
12701         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12702         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12704 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12706         [BZ #18643]
12707         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12708         IPV6_PATHMTU, and IPV6_DONTFRAG.
12710 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12712         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12713         and _IO_UNBUFFERED.
12714         * libio/oldfileops.c: Likewise.
12715         * libio/wfileops.c: Likewise.
12717 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12719         * nscd/selinux.c: Delete selinux/flask.h include.
12721 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12723         [BZ #18641]
12724         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12725         (putpwent): Likewise.
12726         (getpwnam): Likewise.
12727         (getpwent_r): Likewise.
12728         (getpwuid_r): Likewise.
12729         (getpwnam_r): Likewise.
12730         (fgetpwent_r): Likewise.
12732 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12734         [BZ #18557]
12735         * inet/rcmd.c (__validuser2_sa): Check user first to
12736         short-circuit host check.
12738 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
12739             Mikhail Ilin  <m.ilin@samsung.com>
12741         [BZ #17833]
12742         * elf/Makefile (tests): Add tst-nodelete.
12743         (modules-names): Add tst-nodelete-uniquemod.
12744         (tst-nodelete-uniquemod.so-no-z-defs): New.
12745         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12746         (tst-nodelete-zmod.so-no-z-defs): Likewise.
12747         ($(objpfx)tst-nodelete): Likewise.
12748         ($(objpfx)tst-nodelete.out): Likewise.
12749         (LDFLAGS-tst-nodelete): Likewise.
12750         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12751         * elf/dl-close.c (_dl_close_worker): Add a parameter to
12752         implement forced object deletion.
12753         (_dl_close): Pass false to _dl_close_worker.
12754         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12755         * elf/tst-nodelete.cc: New file.
12756         * elf/tst-nodeletelib.cc: Likewise.
12757         * elf/tst-znodeletelib.cc: Likewise.
12758         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12760 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12762         [BZ #18508]
12763         * stdlib/Makefile ($(objpfx)tst-makecontext3):
12764         Depend on $(libdl).
12765         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12766         is not called infinitely times.
12767         (backtrace_helper): New function.
12768         (trace_arg): New struct.
12769         (st1): Enlarge stack size.
12770         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12771         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12772         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12773         Likewise.
12775 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12777         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12779 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12781         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12782         Include sys/types.h instead of bits/types.h.
12783         Remove inclusion of bits/wordsize.h.
12785 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12787         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12788         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12789         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12790         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12791         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12792         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12794 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12796         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12797         link-defines.sym.
12798         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12799         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12800         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12801         and LR_SIZE.
12802         * sysdeps/i386/link-defines.sym: New file.
12804 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12806         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12807         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12808         ($(objpfx)tst-audit3): New rule.
12809         ($(objpfx)tst-audit3.out): Likewise.
12810         * sysdeps/i386/tst-audit3.c: New file.
12811         * sysdeps/i386/tst-audit3.h: Likewise.
12812         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12813         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12815 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12817         [BZ #18633]
12818         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12819         pointer in C code.
12820         (__strcat_c): Likewise.
12821         (__strcat_g): Likewise.
12823 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12825         [BZ #18592]
12826         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12828 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12830         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12831         New function.  (__ieee754_sqrtf): New function.
12832         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12833         New function.
12834         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12835         New function.
12837 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12839         * sysdeps/ieee754/support.c: Remove unused file.
12841 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12843         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12844         registers instead of d ones so the layout is kernel abi compatible.
12845         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12846         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12847         Likewise.
12849 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12851         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12853 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12855         [BZ #18619]
12856         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12857         and return argument in case of subnormal argument.
12859 2015-07-01  Martin Sebor  <msebor@redhat.com>
12861         [BZ #18435]
12862         * nptl/Makefile: Add tst-once5.cc.
12863         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12864         Remove macro redefinitions.
12865         * nptl/tst-once5.cc: New test.
12867 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12871         * sysdeps/arm/libm-test-ulps: Regenerated.
12873         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12874         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12876 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12878         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12879         lll_lock_wait_private and lll_futex_wake probes.
12881         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12883         Likewise.
12884         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12885         atomic_spin_nop.
12886         * sysdeps/x86_64/bits/atomic.h: Likewise.
12887         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12888         to atomic_spin_nop and move ...
12889         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12890         ... here and ...
12891         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12892         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12893         atomic_spin_nop instead of BUSY_WAIT_NOP.
12894         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12895         Likewise.
12896         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12897         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12898         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12899         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12900         instead of atomic_delay.
12902 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12904         [BZ #18613]
12905         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12906         X_ADJ not X when adjusting exponent.
12907         (__ieee754_gamma_r): Do intermediate computations in
12908         round-to-nearest then adjust overflowing and underflowing results
12909         as needed.
12910         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12911         of X_ADJ not X when adjusting exponent.
12912         (__ieee754_gammaf_r): Do intermediate computations in
12913         round-to-nearest then adjust overflowing and underflowing results
12914         as needed.
12915         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12916         log of X_ADJ not X when adjusting exponent.
12917         (__ieee754_gammal_r): Do intermediate computations in
12918         round-to-nearest then adjust overflowing and underflowing results
12919         as needed.  Use 1.0L not 1.0f as numerator of division.
12920         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12921         log of X_ADJ not X when adjusting exponent.
12922         (__ieee754_gammal_r): Do intermediate computations in
12923         round-to-nearest then adjust overflowing and underflowing results
12924         as needed.  Use 1.0L not 1.0f as numerator of division.
12925         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12926         of X_ADJ not X when adjusting exponent.
12927         (__ieee754_gammal_r): Do intermediate computations in
12928         round-to-nearest then adjust overflowing and underflowing results
12929         as needed.  Use 1.0L not 1.0f as numerator of division.
12930         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12931         to auto-libm-test-in.
12932         (tgamma_test): Use ALL_RM_TEST.
12933         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12934         tests of tgamma with spurious-overflow.
12935         * math/auto-libm-test-out: Regenerated.
12936         * math/gen-libm-have-vector-test.sh: Do not check for START.
12937         * sysdeps/i386/fpu/libm-test-ulps: Update.
12938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12940         [BZ #18612]
12941         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12942         arguments, just return 0.5 times the argument, with underflow
12943         forced as needed.
12944         * math/auto-libm-test-in: Add more tests of j1.
12945         * math/auto-libm-test-out: Regenerated.
12947         [BZ #16559]
12948         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12949         (__ieee754_j1): Force underflow exception for small results.
12950         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12951         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12952         (__ieee754_j1f): Force underflow exception for small results.
12953         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12954         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12956         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12957         (__ieee754_j1l): Force underflow exception for small results.
12958         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12959         * math/auto-libm-test-in: Add more tests of j1 and jn.
12960         * math/auto-libm-test-out: Regenerated.
12962         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12963         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12964         (PF_MPLS): Likewise.
12965         (AF_IB): Likewise.
12966         (AF_MPLS): Likewise.
12967         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12968         value and macro.
12969         (MS_RMT_MASK): Include MS_LAZYTIME.
12971 2015-06-26  Mel Gorman  <mgorman@suse.de>
12973         [BZ #18502]
12974         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12975         already minimal.
12977 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12979         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12980         (DT_MIPS_NUM): Update.
12981         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12982         DT_MIPS_RLD_MAP_REL.
12984 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12986         [BZ #16559]
12987         [BZ #18602]
12988         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12989         round-to-nearest internally then recompute results that
12990         underflowed to zero in the original rounding mode.
12991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12992         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12993         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12994         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12995         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12996         * sysdeps/i386/fpu/libm-test-ulps: Update.
12997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12999 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13001         * NEWS: Fixed description of link with vector math library.
13003 2015-06-25  Andreas Schwab  <schwab@suse.de>
13005         [BZ #18549]
13006         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13007         * libio/test-fmemopen.c (do_test): Add test for it.
13009 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13011         [BZ #17841]
13012         * Makeconfig (no-pie-ldflag): New.
13013         (+link): Set to $(+link-pie) if default to PIE.
13014         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13015         * config.make.in (build-pie-default): New.
13016         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13017         is default.  AC_SUBST.
13018         * configure: Regenerated.
13019         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13021 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13023         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13024         to 'unsigned int'.
13026         * resolv/gai_misc.h (struct waitlist): Change type of field
13027         counterp to 'volatile unsigned int *'.
13028         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13029         FUTEXADDR and OLDVAL.
13030         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13031         Give local variable TOTAL type 'volatile unsigned int'.
13032         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13033         * resolv/gai_suspend.c (gai_suspend):
13034         Give local variable CNTR type 'unsigned int'.
13036         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13037         counterp to 'volatile unsigned int *'.
13038         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13039         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13040         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13041         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13042         Give local variable TOTAL type 'volatile unsigned int'.
13043         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13045 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13047         [BZ #18383]
13048         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13049         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13050         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13051         comment for i386/x86-64.
13052         (test-xfail-tst-tlsalign-extern-static): Removed.
13054 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13056         * math/test-double.h: New file.
13057         * math/test-float.h: Likewise.
13058         * math/test-ldouble.h: Likewise.
13059         * math/test-math-inline.h: Likewise.
13060         * math/test-math-no-inline.h: Likewise.
13061         * math/test-math-scalar.h: Likewise.
13062         * math/test-math-vector.h: Likewise.
13063         * math/test-vec-loop.h: Remove file.  Contents moved into
13064         test-math-vector.h.
13065         * math/libm-test.inc (MATHCONST): Do not document macro.
13066         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13067         and test-math-scalar.h.
13068         (FUNC): Remove macro.
13069         (FUNC_TEST): Likewise.
13070         (FLOAT): Likewise.
13071         (MATHCONST): Likewise.
13072         (PRINTF_EXPR): Likewise.
13073         (PRINTF_XEXPR): Likewise.
13074         (PRINTF_NEXPR): Likewise.
13075         (TEST_DOUBLE): Likewise.
13076         (TEST_MATHVEC): Likewise.
13077         (__NO_MATH_INLINES): Likewise.
13078         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13079         and test-math-scalar.h.
13080         (FUNC): Remove macro.
13081         (FUNC_TEST): Likewise.
13082         (FLOAT): Likewise.
13083         (MATHCONST): Likewise.
13084         (PRINTF_EXPR): Likewise.
13085         (PRINTF_XEXPR): Likewise.
13086         (PRINTF_NEXPR): Likewise.
13087         (TEST_FLOAT): Likewise.
13088         (TEST_MATHVEC): Likewise.
13089         (__NO_MATH_INLINES): Likewise.
13090         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13091         and test-math-scalar.h.
13092         (FUNC): Remove macro.
13093         (FUNC_TEST): Likewise.
13094         (FLOAT): Likewise.
13095         (MATHCONST): Likewise.
13096         (PRINTF_EXPR): Likewise.
13097         (PRINTF_XEXPR): Likewise.
13098         (PRINTF_NEXPR): Likewise.
13099         (TEST_DOUBLE): Likewise.
13100         (TEST_MATHVEC): Likewise.
13101         (TEST_INLINE): Likewise.
13102         (__NO_MATH_INLINES): Likewise.
13103         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13104         test-math-scalar.h.
13105         (FUNC): Remove macro.
13106         (FUNC_TEST): Likewise.
13107         (FLOAT): Likewise.
13108         (MATHCONST): Likewise.
13109         (PRINTF_EXPR): Likewise.
13110         (PRINTF_XEXPR): Likewise.
13111         (PRINTF_NEXPR): Likewise.
13112         (TEST_FLOAT): Likewise.
13113         (TEST_MATHVEC): Likewise.
13114         (TEST_INLINE): Likewise.
13115         (__NO_MATH_INLINES): Likewise.
13116         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13117         and test-math-scalar.h.
13118         (FUNC): Remove macro.
13119         (FUNC_TEST): Likewise.
13120         (FLOAT): Likewise.
13121         (MATHCONST): Likewise.
13122         (PRINTF_EXPR): Likewise.
13123         (PRINTF_XEXPR): Likewise.
13124         (PRINTF_NEXPR): Likewise.
13125         (TEST_LDOUBLE): Likewise.
13126         (TEST_MATHVEC): Likewise.
13127         (TEST_INLINE): Likewise.
13128         (__NO_MATH_INLINES): Likewise.
13129         * math/test-ldouble.c: Include test-ldouble.h,
13130         test-math-no-inline.h and test-math-scalar.h.
13131         (FUNC): Remove macro.
13132         (FUNC_TEST): Likewise.
13133         (FLOAT): Likewise.
13134         (MATHCONST): Likewise.
13135         (PRINTF_EXPR): Likewise.
13136         (PRINTF_XEXPR): Likewise.
13137         (PRINTF_NEXPR): Likewise.
13138         (TEST_LDOUBLE): Likewise.
13139         (TEST_MATHVEC): Likewise.
13140         (__NO_MATH_INLINES): Likewise.
13141         * math/test-double-vlen2.h: Include test-double.h,
13142         test-math-no-inline.h and test-math-vector.h.
13143         (FLOAT): Remove macro.
13144         (FUNC): Likewise.
13145         (MATHCONST): Likewise.
13146         (PRINTF_EXPR): Likewise.
13147         (PRINTF_XEXPR): Likewise.
13148         (PRINTF_NEXPR): Likewise.
13149         (TEST_DOUBLE): Likewise.
13150         (TEST_MATHVEC): Likewise.
13151         (__NO_MATH_INLINES): Likewise.
13152         (CNCT): Likewise.
13153         (CONCAT): Likewise.
13154         (WRAPPER_NAME): Likewise.
13155         (WRAPPER_DECL): Likewise.
13156         (WRAPPER_DECL_ff): Likewise.
13157         (WRAPPER_DECL_fFF): Likewise.
13158         (VECTOR_WRAPPER): Likewise.
13159         (VECTOR_WRAPPER_ff): Likewise.
13160         (VECTOR_WRAPPER_fFF): Likewise.
13161         (VEC_LEN): New macro.
13162         * math/test-double-vlen4.h: Include test-double.h,
13163         test-math-no-inline.h and test-math-vector.h.
13164         (FLOAT): Remove macro.
13165         (FUNC): Likewise.
13166         (MATHCONST): Likewise.
13167         (PRINTF_EXPR): Likewise.
13168         (PRINTF_XEXPR): Likewise.
13169         (PRINTF_NEXPR): Likewise.
13170         (TEST_DOUBLE): Likewise.
13171         (TEST_MATHVEC): Likewise.
13172         (__NO_MATH_INLINES): Likewise.
13173         (CNCT): Likewise.
13174         (CONCAT): Likewise.
13175         (WRAPPER_NAME): Likewise.
13176         (WRAPPER_DECL): Likewise.
13177         (WRAPPER_DECL_ff): Likewise.
13178         (WRAPPER_DECL_fFF): Likewise.
13179         (VECTOR_WRAPPER): Likewise.
13180         (VECTOR_WRAPPER_ff): Likewise.
13181         (VECTOR_WRAPPER_fFF): Likewise.
13182         (VEC_LEN): New macro.
13183         * math/test-double-vlen8.h: Include test-double.h,
13184         test-math-no-inline.h and test-math-vector.h.
13185         (FLOAT): Remove macro.
13186         (FUNC): Likewise.
13187         (MATHCONST): Likewise.
13188         (PRINTF_EXPR): Likewise.
13189         (PRINTF_XEXPR): Likewise.
13190         (PRINTF_NEXPR): Likewise.
13191         (TEST_DOUBLE): Likewise.
13192         (TEST_MATHVEC): Likewise.
13193         (__NO_MATH_INLINES): Likewise.
13194         (CNCT): Likewise.
13195         (CONCAT): Likewise.
13196         (WRAPPER_NAME): Likewise.
13197         (WRAPPER_DECL): Likewise.
13198         (WRAPPER_DECL_ff): Likewise.
13199         (WRAPPER_DECL_fFF): Likewise.
13200         (VECTOR_WRAPPER): Likewise.
13201         (VECTOR_WRAPPER_ff): Likewise.
13202         (VECTOR_WRAPPER_fFF): Likewise.
13203         (VEC_LEN): New macro.
13204         * math/test-float-vlen4.h: Include test-float.h,
13205         test-math-no-inline.h and test-math-vector.h.
13206         (FLOAT): Remove macro.
13207         (FUNC): Likewise.
13208         (MATHCONST): Likewise.
13209         (PRINTF_EXPR): Likewise.
13210         (PRINTF_XEXPR): Likewise.
13211         (PRINTF_NEXPR): Likewise.
13212         (TEST_FLOAT): Likewise.
13213         (TEST_MATHVEC): Likewise.
13214         (__NO_MATH_INLINES): Likewise.
13215         (CNCT): Likewise.
13216         (CONCAT): Likewise.
13217         (WRAPPER_NAME): Likewise.
13218         (WRAPPER_DECL): Likewise.
13219         (WRAPPER_DECL_ff): Likewise.
13220         (WRAPPER_DECL_fFF): Likewise.
13221         (VECTOR_WRAPPER): Likewise.
13222         (VECTOR_WRAPPER_ff): Likewise.
13223         (VECTOR_WRAPPER_fFF): Likewise.
13224         (VEC_LEN): New macro.
13225         * math/test-float-vlen8.h: Include test-float.h,
13226         test-math-no-inline.h and test-math-vector.h.
13227         (FLOAT): Remove macro.
13228         (FUNC): Likewise.
13229         (MATHCONST): Likewise.
13230         (PRINTF_EXPR): Likewise.
13231         (PRINTF_XEXPR): Likewise.
13232         (PRINTF_NEXPR): Likewise.
13233         (TEST_FLOAT): Likewise.
13234         (TEST_MATHVEC): Likewise.
13235         (__NO_MATH_INLINES): Likewise.
13236         (CNCT): Likewise.
13237         (CONCAT): Likewise.
13238         (WRAPPER_NAME): Likewise.
13239         (WRAPPER_DECL): Likewise.
13240         (WRAPPER_DECL_ff): Likewise.
13241         (WRAPPER_DECL_fFF): Likewise.
13242         (VECTOR_WRAPPER): Likewise.
13243         (VECTOR_WRAPPER_ff): Likewise.
13244         (VECTOR_WRAPPER_fFF): Likewise.
13245         (VEC_LEN): New macro.
13246         * math/test-float-vlen16.h: Include test-float.h,
13247         test-math-no-inline.h and test-math-vector.h.
13248         (FLOAT): Remove macro.
13249         (FUNC): Likewise.
13250         (MATHCONST): Likewise.
13251         (PRINTF_EXPR): Likewise.
13252         (PRINTF_XEXPR): Likewise.
13253         (PRINTF_NEXPR): Likewise.
13254         (TEST_FLOAT): Likewise.
13255         (TEST_MATHVEC): Likewise.
13256         (__NO_MATH_INLINES): Likewise.
13257         (CNCT): Likewise.
13258         (CONCAT): Likewise.
13259         (WRAPPER_NAME): Likewise.
13260         (WRAPPER_DECL): Likewise.
13261         (WRAPPER_DECL_ff): Likewise.
13262         (WRAPPER_DECL_fFF): Likewise.
13263         (VECTOR_WRAPPER): Likewise.
13264         (VECTOR_WRAPPER_ff): Likewise.
13265         (VECTOR_WRAPPER_fFF): Likewise.
13266         (VEC_LEN): New macro.
13267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13268         test-vec-loop.h.
13269         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13271         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13272         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13273         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13274         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13275         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13277 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13279         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13280         (__getlogin_r): ... this.
13282 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13284         [BZ #18594]
13285         * math/s_ccosh.c (__ccosh): Compare with least normal value
13286         instead of comparing class with FP_SUBNORMAL.
13287         * math/s_ccoshf.c (__ccoshf): Likewise.
13288         * math/s_ccoshl.c (__ccoshl): Likewise.
13289         * math/s_cexp.c (__cexp): Likewise.
13290         * math/s_cexpf.c (__cexpf): Likewise.
13291         * math/s_cexpl.c (__cexpl): Likewise.
13292         * math/s_csin.c (__csin): Likewise.
13293         * math/s_csinf.c (__csinf): Likewise.
13294         * math/s_csinh.c (__csinh): Likewise.
13295         * math/s_csinhf.c (__csinhf): Likewise.
13296         * math/s_csinhl.c (__csinhl): Likewise.
13297         * math/s_csinl.c (__csinl): Likewise.
13298         * math/s_ctan.c (__ctan): Likewise.
13299         * math/s_ctanf.c (__ctanf): Likewise.
13300         * math/s_ctanh.c (__ctanh): Likewise.
13301         * math/s_ctanhf.c (__ctanhf): Likewise.
13302         * math/s_ctanhl.c (__ctanhl): Likewise.
13303         * math/s_ctanl.c (__ctanl): Likewise.
13304         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13305         csin, csinh, ctan and ctanh.
13306         * math/auto-libm-test-out: Regenerated.
13307         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13308         * sysdeps/i386/fpu/libm-test-ulps: Update.
13309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13311 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13313         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13314         return value is wrong, print the expected value too.
13316 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13318         [BZ #18585]
13319         * elf/readlib.c (is_gdb_python_file): New.
13320         (process_file): Don't issue errors on filenames with -gdb.py
13321         suffix.
13323 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13325         * math/auto-libm-test-in: Add more tests of csin and csinh.
13326         * math/auto-libm-test-out: Regenerated.
13327         * math/libm-test.inc (csin_test_data): Remove tests moved to
13328         auto-libm-test-in.
13329         (csinh_test_data): Likewise.
13331         [BZ #18593]
13332         * math/s_csin.c (__csin): Negate before rather than after possibly
13333         overflowing multiplication.
13334         * math/s_csinf.c (__csinf): Likewise.
13335         * math/s_csinh.c (__csinh): Likewise.
13336         * math/s_csinhf.c (__csinhf): Likewise.
13337         * math/s_csinhl.c (__csinhl): Likewise.
13338         * math/s_csinl.c (__csinl): Likewise.
13339         * math/auto-libm-test-in: Add some tests of csin and csinh.
13340         * math/auto-libm-test-out: Regenerated.
13341         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13342         (csinh_test_data): Likewise.
13343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13345         [BZ #18586]
13346         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13347         underflow exception for small results.
13349 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13351         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13352         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13353         variable and included header.
13354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13356         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13358         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13362         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13363         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13364         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13365         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13366         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13367         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13368         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13369         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13371 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13373         [BZ #16526]
13374         [BZ #16538]
13375         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13376         (__sin): Force underflow exception for arguments with small
13377         absolute value.
13378         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13379         (__kernel_sinf): Force underflow exception for arguments with
13380         small absolute value.
13381         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13382         (__kernel_sincosl): Force underflow exception for arguments with
13383         small absolute value.
13384         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13385         (__kernel_sinl): Force underflow exception for arguments with
13386         small absolute value.
13387         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13388         (__kernel_sincosl): Force underflow exception for arguments with
13389         small absolute value.
13390         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13391         (__kernel_sinl): Force underflow exception for arguments with
13392         small absolute value.
13393         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13394         (__kernel_sinl): Force underflow exception for arguments with
13395         small absolute value.
13396         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13397         (__kernel_sinf): Force underflow exception for arguments with
13398         small absolute value.
13399         * math/auto-libm-test-in: Add more tests of sin and sincos.
13400         * math/auto-libm-test-out: Regenerated.
13402         [BZ #18245]
13403         [BZ #18583]
13404         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13405         (__kernel_standard_l): Use feholdexcept and fesetenv around
13406         conversion to double instead of special-casing overflow and
13407         underflow.
13408         * math/libm-test.inc (fmod_test_data): Add more tests.
13409         (remainder_test_data): Likewise.
13410         (sqrt_test_data): Likewise.
13412 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13414         [BZ #17403]
13415         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13416         atomic_read_barrier, atomic_write_barrier): Define.
13417         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13418         atomic_read_barrier, atomic_write_barrier): Define.
13420 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13422         * math/Makefile [$(PERL) != no]
13423         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13424         dependency on libm-test.stmp below the inclusion of Rules.
13426 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13428         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13429         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13430         and included header.
13431         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13432         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13439         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13440         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13441         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13442         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13443         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13444         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13445         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13446         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13447         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13448         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13449         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13451 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #18371]
13454         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13455         intermediate but not final result might underflow.
13456         * math/s_csqrtf.c (__csqrtf): Likewise.
13457         * math/s_csqrtl.c (__csqrtl): Likewise.
13458         * math/auto-libm-test-in: Add more tests of csqrt.
13459         * math/auto-libm-test-out: Regenerated.
13460         * sysdeps/i386/fpu/libm-test-ulps: Update.
13462         [BZ #18219]
13463         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13464         threshold on absolute value of exponent for which scaling is used.
13465         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13466         * math/auto-libm-test-in: Add more tests of exp2.
13467         * math/auto-libm-test-out: Regenerated.
13469 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13471         [BZ #17977]
13472         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13473         when initializing interface list, based on the bug analysis
13474         and the patch proposed by Eric Newton.
13475         * resolv/tst-res_hconf_reorder.c: New test.
13476         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13477         tst-res_hconf_reorder.
13478         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13479         and $(shared-thread-library).
13480         (tst-res_hconf_reorder-ENV): New variable.
13482         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13483         in comment.
13485 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13487         [BZ #16353]
13488         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13489         (__expm1): Force underflow exception for arguments with small
13490         absolute value.
13491         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13492         (__expm1f): Force underflow exception for arguments with small
13493         absolute value.
13494         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13495         (__expm1): Force underflow exception for arguments with small
13496         absolute value.
13497         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13498         (__expm1f): Force underflow exception for arguments with small
13499         absolute value.
13500         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13501         Check for small arguments before calling __expm1.
13502         * math/auto-libm-test-in: Do not mark underflow exceptions as
13503         possibly missing for bug 16353.
13504         * math/auto-libm-test-out: Regenerated.
13506 2015-06-22  Andreas Schwab  <schwab@suse.de>
13508         [BZ #18513]
13509         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13510         PTR queries.
13512 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13514         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13516         * string/strcoll_l.c: Remove unused struct element idxnow.
13518 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13520         [BZ #18569]
13521         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13522         underflow and return argument in case of subnormal argument.
13523         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13524         Likewise.
13525         * math/auto-libm-test-in: Add more tests of expm1.
13526         * math/auto-libm-test-out: Regenerated.
13528         [BZ #16361]
13529         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13530         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13531         tiny results.
13532         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13533         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13534         tiny results.
13535         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13536         mark underflow exceptions as possibly missing for bug 16361.
13537         * math/auto-libm-test-out: Regenerated.
13539 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13541         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13542         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13543         Remove variable.
13544         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13545         (test-xfail-XOPEN2K8/utmpx.h/conform).
13547         * conform/conformtest.pl ($xerrors): New variable.
13548         (note_error): New function.
13549         (compiletest): New argument $xfail.  Use not_error.
13550         (runtest): Likewise.
13551         (top level): Handle xfail- lines.  Update calls to compiletest and
13552         runtest.  Handle xfail- and optional- in headers listed with
13553         allow-header.
13554         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13555         (O_EXEC): Likewise.
13556         (O_SEARCH): Likewise.
13557         * conform/data/stropts.h-data (ioctl): Likewise.
13558         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13559         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13560         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13561         (msghdr.msg_controllen): Likewise.
13562         (cmsghdr.cmsg_len): Likewise.
13563         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13564         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13565         variable.
13566         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13567         (test-xfail-XPG4/stropts.h/conform): Likewise.
13568         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13569         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13570         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13571         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13572         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13573         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13574         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13575         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13576         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13577         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13578         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13579         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13580         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13581         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13582         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13583         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13584         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13585         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13586         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13588 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13590         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13591         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13592         definitions for proper unfolding of __MATHDECL_VEC.
13594 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13596         * benchtests/bench-strcoll.c:
13597         Include string.h.
13598         (main): Remove unused variable res.
13600 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13602         * timezone/Makefile (%/UTC %/Universal):
13603         Generate test-result files for UTC and Universal.
13605 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13607         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13609 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13611         [BZ #16350]
13612         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13613         for arguments with small absolute value.
13614         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13615         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13616         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13617         (__asinh): Force underflow exception for arguments with small
13618         absolute value.
13619         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13620         (__asinhf): Force underflow exception for arguments with small
13621         absolute value.
13622         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13623         (__asinhl): Force underflow exception for arguments with small
13624         absolute value.
13625         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13626         (__asinhl): Force underflow exception for arguments with small
13627         absolute value.
13628         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13629         (__asinhl): Force underflow exception for arguments with small
13630         absolute value.
13631         * math/auto-libm-test-in: Do not mark underflow exceptions as
13632         possibly missing for bug 16350.
13633         * math/auto-libm-test-out: Regenerated.
13635         * include/bits/ipc.h: Remove file.
13636         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13637         variable.
13638         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13639         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13640         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13641         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13642         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13643         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13644         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13645         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13646         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13648         * math/auto-libm-test-in: Remove spurious underflow allowance for
13649         tests of cexp.
13650         * math/auto-libm-test-out: Regenerated.
13652         [BZ #18558]
13653         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13654         unconditional definition.
13655         (MCAST_BLOCK_SOURCE): Likewise.
13656         (MCAST_UNBLOCK_SOURCE): Likewise.
13657         (MCAST_LEAVE_GROUP): Likewise.
13658         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13659         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13660         (MCAST_MSFILTER): Likewise.
13661         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13662         Remove variable.
13663         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13664         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13665         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13666         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13667         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13669 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13671         * NEWS: Mention addition of x86_64 vector sincosf.
13672         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13673         * math/test-float-vlen4.h: Likewise.
13674         * math/test-float-vlen8.h: Likewise.
13675         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13676         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13677         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13678         * sysdeps/x86_64/fpu/Versions: New versions added.
13679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13681         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13682         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13683         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13684         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13686         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13687         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13688         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13689         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13690         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13691         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13692         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13693         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13694         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13695         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13696         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13697         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13698         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13699         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13700         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13701         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13702         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13704         * NEWS: Mention addition of x86_64 vector sincos.
13705         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13706         * math/math.h (__MATHDECL_VEC): New macro.
13707         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13708         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13709         declaration under condition.
13710         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13711         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13712         TEST_VEC_LOOP change.
13713         * math/test-double-vlen4.h: Likewise.
13714         * math/test-double-vlen8.h: Likewise.
13715         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13716         * math/test-float-vlen4.h: Likewise.
13717         * math/test-float-vlen8.h: Likewise.
13718         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13719         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13720         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13721         * sysdeps/x86_64/fpu/Versions: New versions added.
13722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13723         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13724         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13725         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13726         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13727         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13731         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13732         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13733         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13734         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13735         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13736         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13737         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13738         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13739         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13742         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13743         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13744         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13745         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13747         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13748         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13749         redirections for powf.
13750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13751         * sysdeps/x86_64/fpu/Versions: New versions added.
13752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13754         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13755         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13756         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13757         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13758         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13760         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13761         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13762         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13763         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13764         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13765         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13766         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13767         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13768         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13769         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13770         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13771         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13772         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13773         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13774         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13775         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13776         * math/test-float-vlen16.h: Fixed 2 argument macro.
13777         * math/test-float-vlen4.h: Likewise.
13778         * math/test-float-vlen8.h: Likewise.
13779         * NEWS: Mention addition of x86_64 vector powf.
13781 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13783         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13784         and redefine.
13785         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13786         and redefine.
13787         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13788         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13789         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13791         [BZ #18553]
13792         * resource/getpriority.c (getpriority): Rename to __getpriority
13793         and define as weak alias of __getpriority.
13794         * resource/setpriority.c (setpriority): Rename to __setpriority
13795         and define as weak alias of __setpriority.
13796         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13797         __getpriority and define as weak alias of __getpriority.
13798         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13799         __setpriority and define as weak alias of __setpriority.
13800         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13801         strong name.
13802         (setpriority): Use __setpriority as strong name.
13803         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13804         __getpriority and define as weak alias of __getpriority.
13805         * include/sys/resource.h (__getpriority): Declare.  Use
13806         libc_hidden_proto.
13807         (__setpriority): Likewise.
13808         (getpriority): Don't use libc_hidden_proto.
13809         (setpriority): Likewise.
13810         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13811         getpriority.  Call __setpriority instead of setpriority.
13812         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13813         Remove variable.
13815         [BZ #18547]
13816         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13817         as weak alias of __getttynam.  Use prototype function definition.
13818         Call __setttyent, __getttyent and __endttyent instead of
13819         setttyent, getttyent and endttyent.
13820         (getttyent): Rename to __getttyent and define as weak alias of
13821         __getttyent.  Call __setttyent instead of setttyent.  Call
13822         __fgets_unlocked instead of fgets_unlocked.
13823         (setttyent): Rename to __setttyent and define as weak alias of
13824         __setttyent.
13825         (endttyent): Rename to __endttyent and define as weak alias of
13826         __endttyent.
13827         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13828         (__setttyent): Likewise.
13829         (__endttyent): Likewise.
13830         (getttyent): Don't use libc_hidden_proto.
13831         (setttyent): Likewise.
13832         (endttyent): Likewise.
13833         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13834         __endttyent instead of setttyent, getttyent and endttyent.
13835         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13836         Remove variable.
13838         [BZ #18546]
13839         * socket/recv.c (__recv): Use libc_hidden_def.
13840         * socket/socket.c (__socket): Likewise.
13841         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13842         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13843         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13844         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13845         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13846         libc_hidden_def.
13847         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13848         libc_hidden_weak.
13849         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13850         Use libc_hidden_proto.
13851         (__recv): Likewise.
13852         * socket/Versions (libc): Export __recv and __socket at version
13853         GLIBC_PRIVATE.
13854         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13855         instead of recv.
13856         (init_mq_netlink): Call __socket instead of socket.
13857         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13858         Remove variable.
13860         [BZ #18545]
13861         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13862         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13863         hidden_weak.
13864         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13865         define as alias of __mq_timedsend.  Use hidden_weak.
13866         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13867         __mq_timedsend as strong name.
13868         (mq_timedreceive): Use __mq_timedreceive as strong name.
13869         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13870         (__mq_timedreceive): Likewise.
13871         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13872         __mq_timedreceive instead of mq_timedreceive.
13873         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13874         instead of mq_timedsend.
13875         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13876         Remove variable.
13878         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13879         hidden_def and hidden_weak instead of libc_hidden_def and
13880         libc_hidden_weak.
13881         (top level): Refer to hidden_def in comment.
13882         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13883         macro.  Use it instead of libc_hidden_def.
13884         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13885         specify __GI_* name explicitly.
13886         (mq_timedreceive): Likewise.
13887         (mq_setattr): Likewise.
13889         [BZ #18544]
13890         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13891         __pthread_barrier_init and define as weak alias of
13892         __pthread_barrier_init.
13893         * sysdeps/sparc/nptl/pthread_barrier_init.c
13894         (pthread_barrier_init): Likewise.
13895         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13896         __pthread_barrier_wait and define as weak alias of
13897         __pthread_barrier_wait.
13898         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13899         (pthread_barrier_wait): Likewise.
13900         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13901         (pthread_barrier_wait): Likewise.
13902         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13903         (pthread_barrier_wait): Likewise.
13904         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13905         (pthread_barrier_wait): Likewise.
13906         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13907         __pthread_barrier_wait at version GLIBC_PRIVATE.
13908         * include/pthread.h (__pthread_barrier_init): Declare.
13909         (__pthread_barrier_wait): Likewise.
13910         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13911         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13912         (helper_thread): Likewise.
13913         (init_mq_netlink): Call __pthread_barrier_init instead of
13914         pthread_barrier_init.
13916         [BZ #18542]
13917         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13918         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13919         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13920         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13921         vswscanf.
13922         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13923         Remove variable.
13925         [BZ #18540]
13926         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13927         strong alias of _IO_fflush.  Use libc_hidden_def.
13928         * libio/iofflush_u.c (fflush_unlocked): Rename to
13929         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13930         Use libc_hidden_weak.
13931         * include/stdio.h (__fflush_unlocked): Declare.  Use
13932         libc_hidden_proto.
13933         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13934         fflush_unlocked.
13935         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13936         Remove variable.
13938         [BZ #18539]
13939         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13940         define as weak alias of __addseverity.
13941         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13942         Remove variable.
13943         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13944         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13945         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13947         [BZ #18536]
13948         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13949         (__tfind): Likewise.
13950         (__tdelete): Likewise.
13951         (__twalk): Likewise.
13952         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13953         __twalk to GLIBC_PRIVATE.
13954         * include/search.h (__tsearch): Use libc_hidden_proto.
13955         (__tfind): Likewise.
13956         (__tdelete): Likewise.
13957         (__twalk): Likewise.
13958         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13959         Call __tdelete instead of tdelete.
13960         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13961         tfind.  Call __tsearch instead of tsearch.
13962         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13963         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13964         Remove variable.
13965         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13967         [BZ #18534]
13968         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13969         (dprintf): Define as a weak alias of __dprintf, not a strong
13970         alias.
13971         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13972         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13973         dprintf.
13974         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13975         Remove variable.
13976         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13977         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13979         [BZ #18533]
13980         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13981         not a strong alias.
13982         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13983         Remove variable.
13985         [BZ #18532]
13986         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13987         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13988         (in6addr_loopback): Rename to __in6addr_loopback and define as
13989         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13990         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13991         libc_hidden_proto.
13992         (__in6addr_any): Likewise.
13993         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13994         in6addr_any.
13995         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13996         variable.
13997         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13999 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14001         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14002         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14003         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14004         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14005         redirections for pow.
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): Added
14010         build of SSE, AVX2 and AVX512 IFUNC versions.
14011         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14012         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14014         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14016         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14017         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14018         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14019         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14020         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14021         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14022         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14023         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14024         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
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.
14032         * NEWS: Mention addition of x86_64 vector pow.
14034         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14035         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14036         redirections for expf.
14037         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14038         * sysdeps/x86_64/fpu/Versions: New versions added.
14039         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14040         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14041         build of SSE, AVX2 and AVX512 IFUNC versions.
14042         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14043         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14044         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14047         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14048         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14049         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14050         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14051         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14052         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14053         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14054         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf 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         * NEWS: Mention addition of x86_64 vector expf.
14064         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14065         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14066         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14067         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14068         redirections for exp.
14069         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14070         * sysdeps/x86_64/fpu/Versions: New versions added.
14071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14072         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14073         build of SSE, AVX2 and AVX512 IFUNC versions.
14074         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14075         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14077         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14078         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14079         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14080         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14081         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14082         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14083         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14084         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14085         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14086         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14087         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14088         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14089         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14090         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14091         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14092         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14093         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14094         * NEWS: Mention addition of x86_64 vector exp.
14096         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14097         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14098         redirections for logf.
14099         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14100         * sysdeps/x86_64/fpu/Versions: New versions added.
14101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14102         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14103         build of SSE, AVX2 and AVX512 IFUNC versions.
14104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14105         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14106         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14108         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14109         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14110         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14111         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14112         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14113         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14114         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14115         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14116         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14117         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14118         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14119         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14120         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14122         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14123         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14124         * NEWS: Mention addition of x86_64 vector logf.
14126         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14127         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14128         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14129         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14130         redirections for log.
14131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14132         * sysdeps/x86_64/fpu/Versions: New versions added.
14133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14135         build of SSE, AVX2 and AVX512 IFUNC versions.
14136         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14137         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14138         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14139         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14140         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14141         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14142         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14143         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14144         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14145         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14146         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14147         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14148         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14149         test.
14150         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14151         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14152         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14153         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14154         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14155         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14156         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14157         * NEWS: Mention addition of x86_64 vector log.
14159 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14161         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14162         cfi_adjust_cfa_offset argument.
14163         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14164         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14166         [BZ #18034]
14167         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14168         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14169         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14170         ordering using ldar.
14171         (_dl_tlsdesc_dynamic): Likewise.
14172         (_dl_tlsdesc_return_lazy): Likewise.
14173         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14174         relaxed atomics instead of volatile and synchronize with release store.
14175         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14176         volatile.
14177         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14179 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14184         * sysdeps/x86_64/fpu/Versions: New versions added.
14185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14187         build of SSE, AVX2 and AVX512 IFUNC versions.
14188         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14189         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14194         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14195         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14196         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14197         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14198         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14199         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14200         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14201         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14202         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14203         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14204         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14205         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14206         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14207         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14208         * NEWS: Mention addition of x86_64 vector sinf.
14210 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14212         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14213         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14214         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14215         Remove variable.
14216         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14217         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14219 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14221         [BZ #18530]
14222         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14223         strong alias of _IO_fputs.  Use libc_hidden_def.
14224         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14225         and define as weak alias of __fputs_unlocked.  Use
14226         libc_hidden_weak.
14227         * include/stdio.h (__fputs_unlocked): Declare.  Use
14228         libc_hidden_proto.
14229         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14230         fputs_unlocked.
14232         [BZ #18529]
14233         * resolv/netdb.h [__USE_POSIX]: Change condition to
14234         [__USE_XOPEN2K].
14235         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14236         not expect.
14237         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14238         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14239         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14240         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14241         [XPG4 || UNIX98] (AI_ALL): Likewise.
14242         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14243         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14244         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14245         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14246         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14247         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14248         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14249         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14250         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14251         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14252         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14253         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14254         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14255         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14256         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14257         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14258         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14259         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14260         [XPG4 || UNIX98] (gai_strerror): Likewise.
14261         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14262         [XPG4 || UNIX98] (getnameinfo): Likewise.
14264         [BZ #18528]
14265         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14266         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14267         __USE_XOPEN2K8].
14268         (getgrent): Likewise.
14269         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14270         expect.
14271         [XPG3 || POSIX2008] (endgrent): Likewise.
14272         [XPG3] (setgrent): Likewise.
14273         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14274         variable.
14275         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14277         [BZ #18527]
14278         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14279         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14280         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14281         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14282         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14283         * include/unistd.h (__getlogin_r): Declare.  Use
14284         libc_hidden_proto.
14285         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14286         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14287         variable.
14288         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14289         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14290         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14292 2015-06-12  Martin Sebor  <msebor@redhat.com>
14294         [BZ #18512]
14295         * Makerules (check-install-supported): New target.
14296         (install): Add check-install-supported as a dependency.
14297         * manual/install.texi (Installing the C Library): Document
14298         that overriding prefix and exec_prefix is not supported.
14299         Mention DESTDIR.
14300         * INSTALL: Regenerate from the above.
14302 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14304         [BZ #18519]
14305         * posix/Versions (libc): Export __libc_pread at version
14306         GLIBC_PRIVATE.
14307         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14308         instead of pread.
14309         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14310         variable.
14312         [BZ #18522]
14313         * misc/efgcvt_r.c
14314         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14315         (cvt_symbol): Use weak_alias instead of strong_alias.
14316         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14317         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14318         Remove variable.
14319         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14320         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14322         [BZ #18520]
14323         * inet/herrno.c (h_errno): Rename to __h_errno.
14324         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14325         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14326         to __h_errno instead of h_errno.
14327         * nptl/herrno.c (h_errno): Rename to __h_errno.
14328         (__h_errno_location): Refer to __h_errno not h_errno.
14329         * resolv/Versions (h_errno): Rename to __h_errno.
14330         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14331         Remove variable.
14332         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14334 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14336         * configure.ac: More strict check for AVX512 assembler support.
14337         * configure: Regenerated.
14339         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14340         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14341         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14342         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14344         * sysdeps/x86_64/fpu/Versions: New versions added.
14345         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14346         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14347         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14354         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14355         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14356         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14357         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14358         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14359         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14360         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14361         test.
14362         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14363         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14364         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14365         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14366         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14367         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14368         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14369         * NEWS: Mention addition of x86_64 vector sin.
14371 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14373         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14374         comment.
14376 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14378         [BZ #18479]
14379         * nptl/pt-interp.c: New file.
14380         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14381         Add pt-interp.
14382         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14383         $(common-objpfx)runtime-linker.h.
14385 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14387         * Makeconfig (+interp): Remove unused variable.
14388         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14389         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14390         $(elf-objpfx)runtime-linker.h.
14391         ($(elf-objpfx)runtime-linker.h): Rename to
14392         $(common-objpfx)runtime-linker.h and move ...
14393         * Makerules [$(build-shared) = yes]: ... here.
14394         * elf/interp.c: Include <runtime-linker.h> instead of
14395         <elf/runtime-linker.h>.
14397 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14399         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14400         (__gettimeofday_syscall): Remove vsyscall fallback.
14401         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14402         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14403         Add syscall fallback function.
14404         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14405         if vDSO is not present.
14406         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14407         fallback function.
14408         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14409         present.
14410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14411         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14413 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #18497]
14416         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14417         of wcscmp.
14418         (wcscmp): Define as weak alias of WCSCMP.
14419         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14420         wcscoll.
14421         (USE_HIDDEN_DEF): Define.
14422         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14423         __wcscoll.  Don't use libc_hidden_weak.
14424         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14425         wcscmp.
14426         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14427         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14428         __GI_wcscmp.
14429         (weak_alias): Undefine and redefine.
14430         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14431         __wcscmp and define as weak alias of __wcscmp.
14432         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14433         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14434         (__wcscoll): Likewise.
14435         (wcscmp): Don't use libc_hidden_proto.
14436         (wcscoll): Likewise.
14437         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14438         wcscoll.
14439         * posix/regexec.c (check_node_accept_bytes): Likewise.
14440         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14441         variable.
14442         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14443         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14445         [BZ #18507]
14446         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14447         __fstatvfs and define as weak alias of __fstatvfs.  Use
14448         libc_hidden_weak.
14449         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14450         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14451         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14452         Define as alias of __fstatvfs, not fstatvfs.
14453         (fstatvfs64): Likewise.
14454         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14455         Define as alias of __statvfs, not statvfs.
14456         (statvfs64): Likewise.
14457         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14458         Remove variable.
14460 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14463         (HAVE_GETCPU_VSYSCALL): Define.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14465         (HAVE_GETCPU_VSYSCALL): Likewise.
14466         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14467         * sysdeps/unix/sysv/linux/sched_getcpu.c
14468         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14469         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14470         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14471         prototype.
14472         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14473         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14474         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14476         Define.
14477         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14478         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14479         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14480         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14482 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14484         * sysdeps/x86_64/fpu/Makefile: New file.
14485         * sysdeps/x86_64/fpu/Versions: New file.
14486         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14487         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14488         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14489         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14490         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14491         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14492         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14495         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14498         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14499         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14500         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14501         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14502         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14503         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14504         * sysdeps/x86_64/configure: Regenerated.
14505         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14506         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14507         * manual/install.texi (Configuring and compiling): Document
14508         --disable-mathvec.
14509         * INSTALL: Regenerated.
14510         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14512         * math/Makefile: Added rules for vector tests.
14513         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14514         declaration under condition.
14515         * math/test-double-vlen2.h: New file.
14516         * math/test-double-vlen4.h: New file.
14517         * math/test-double-vlen8.h: New file.
14518         * math/test-vec-loop.h: Added initialization macro.
14519         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14521         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14522         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14523         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14524         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14525         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14526         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14527         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14528         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14529         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14532         * sysdeps/x86_64/fpu/Versions: New versions added.
14533         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14536         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14537         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14540         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14542         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14543         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14544         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14545         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14546         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14547         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14548         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14549         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14550         * NEWS: Mention addition of x86_64 vector cosf.
14552         * math/Makefile: Added CFLAGS for new tests.
14553         * math/test-float-vlen16.h: New file.
14554         * math/test-float-vlen4.h: New file.
14555         * math/test-float-vlen8.h: New file.
14556         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14557         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14559         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14560         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14561         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14562         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14564         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14565         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14566         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14568 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14570         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14571         * locale/programs/ld-ctype.c: Likewise.
14573 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14575         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14576         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14577         bit_ZMM16_31_state): New macro.
14578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14579         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14581 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14583         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14585 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14587         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14589 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14591         [BZ #18498]
14592         * libio/memstream.c (open_memstream): Rename to __open_memstream
14593         and define as weak alias of __open_memstream.
14594         * include/stdio.h (__open_memstream): Declare.  Use
14595         libc_hidden_proto.
14596         (open_memstream): Don't use libc_hidden_proto.
14597         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14598         open_memstream.
14599         * posix/getopt.c (_getopt_internal_r): Likewise.
14600         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14601         variable.
14602         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14603         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14604         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14606         [BZ #18496]
14607         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14608         instead of wcrtomb.
14610         [BZ #18483]
14611         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14612         [__USE_XOPEN2K8].  Remove redundant #endif.
14613         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14614         Remove redundant #if.
14615         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14616         Remove variable.
14617         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14618         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14620         [BZ #18495]
14621         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14622         (__iswlower): Likewise.
14623         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14624         (__iswlower): Likewise.
14625         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14626         instead of towlower.
14627         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14628         instead of iswlower.  Call __towupper instead of towupper.
14629         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14630         instead of iswalnum.
14632 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14634         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14635         errors to stderr.
14637 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14639         [BZ #15661]
14640         [BZ #17322]
14641         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14642         Check for overflow properly.  Check for O_APPEND.  Ignore large
14643         file system block sizes.  Add comments about problems.
14644         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14645         * manual/filesys.texi (Storage Allocation): New node.
14647 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14649         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14650         cancellable syscalls.
14651         (SYS_ify): Add guard to no redefine it.
14652         (INLINE_SYSCALL): Likewise.
14653         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14654         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14655         SYSCALL_CANCEL instead.
14656         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14657         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14658         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14659         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14660         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14661         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14662         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14663         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14664         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14665         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14666         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14667         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14668         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14669         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14670         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14672         Likewise.
14673         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14674         (__libc_pread64): Likewise.
14675         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14676         (__libc_preadv): Likewise.
14677         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14678         (__libc_readv64): Likewise.
14679         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14680         (__libc_pwrite): Likewise.
14681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14682         (__libc_pwrite64): Likewise.
14683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14684         (__libc_pwritev): Likewise.
14685         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14686         (__libc_pwritev64): Likewise.
14687         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14688         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14689         (sync_file_range): Likewise.
14690         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14691         Likewise.
14692         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14693         Likewise.
14694         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14695         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14696         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14697         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14698         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14699         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14700         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14701         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14703         Likewise.
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14705         (__libc_read64): Likewise.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14707         Likewise.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14709         Likewise.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14711         Likewise.
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14713         Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14715         (__libc_pread64): Likewise.
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14717         Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14719         (__libc_pwrite64): Likewise.
14720         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14721         (sync_file_range): Likewise.
14722         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14723         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14724         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14725         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14726         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14727         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14728         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14729         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14730         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14731         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14732         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14733         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14734         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14735         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14736         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14737         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14738         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14739         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14740         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14745         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14746         Likewise.
14747         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14748         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14749         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14750         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14753         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14754         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14755         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14756         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14758 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
14760         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14761         Include dl-vdso.
14762         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14763         Use VDSO routines for gettimeofday, clock_gettime if
14764         available.
14765         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14766         Declare VDSO symbols.
14767         * sysdeps/unix/sysv/linux/arm/sysdep.h:
14768         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14769         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14770         * sysdeps/unix/sysv/linux/arm/Versions: Add
14771         __vdso_clock_gettime.
14773 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14775         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14776         be an inline implementation regardless of library is built within.
14777         (open_not_cancel_2): Likewise.
14778         (__read_nocancel): Likewise.
14779         (__write_nocancel): Likewise.
14780         (openat_not_cancel): Likewise.
14781         (openat_not_cancel_3): Likewise.
14782         (openat64_not_cancel): Likewise.
14783         (openat64_not_cancel_3): Likewise.
14784         (__close_nocancel): Likewise.
14785         (pause_not_cancel): Likewise.
14786         (nanosleep_not_cancel): Likewise.
14787         (sigsuspend_not_cancel): Likewise.
14789 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14791         [BZ #14958]
14792         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14793         wake-up.
14794         (__pthread_rwlock_rdlock_slow): Likewise.
14795         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14796         Likewise.
14797         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14798         Likewise.
14799         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14800         * nptl/tst-rwlock16.c: New file.
14801         * nptl/Makefile (tests): Add new test.
14803 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14805         [BZ #18324]
14806         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14807         missing wake-up of readers.
14808         * nptl/tst-rwlock15.c: New file.
14809         * nptl/Makefile (tests): Add new test.
14811 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14813         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14814         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14815         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14816         and __nacl_supply_interface_rtld.
14817         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14818         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14819         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14820         Add __nacl_supply_interface_rtld.
14821         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14823 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14825         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14826         isfinite.
14827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14828         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14830 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14832         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14833         __signbit* with standard C99 macros.
14834         * math/e_exp10l.c: Likewise.
14835         * math/e_exp2l.c: Likewise.
14836         * math/e_scalb.c: Likewise.
14837         * math/e_scalbf.c: Likewise.
14838         * math/e_scalbl.c: Likewise.
14839         * math/s_ldexp.c: Likewise.
14840         * math/s_ldexpf.c: Likewise.
14841         * math/s_ldexpl.c: Likewise.
14842         * math/w_atan2.c: Likewise.
14843         * math/w_atan2f.c: Likewise.
14844         * math/w_atan2l.c: Likewise.
14845         * math/w_cosh.c: Likewise.
14846         * math/w_coshf.c: Likewise.
14847         * math/w_coshl.c: Likewise.
14848         * math/w_exp10.c: Likewise.
14849         * math/w_exp10f.c: Likewise.
14850         * math/w_exp10l.c: Likewise.
14851         * math/w_exp2.c: Likewise.
14852         * math/w_exp2f.c: Likewise.
14853         * math/w_exp2l.c: Likewise.
14854         * math/w_fmod.c: Likewise.
14855         * math/w_fmodf.c: Likewise.
14856         * math/w_fmodl.c: Likewise.
14857         * math/w_hypot.c: Likewise.
14858         * math/w_hypotf.c: Likewise.
14859         * math/w_hypotl.c: Likewise.
14860         * math/w_jnl.c: Likewise.
14861         * math/w_lgamma.c: Likewise.
14862         * math/w_lgamma_r.c: Likewise.
14863         * math/w_lgammaf.c: Likewise.
14864         * math/w_lgammaf_r.c: Likewise.
14865         * math/w_lgammal.c: Likewise.
14866         * math/w_lgammal_r.c: Likewise.
14867         * math/w_pow.c: Likewise.
14868         * math/w_powf.c: Likewise.
14869         * math/w_powl.c: Likewise.
14870         * math/w_remainder.c: Likewise.
14871         * math/w_remainderf.c: Likewise.
14872         * math/w_remainderl.c: Likewise.
14873         * math/w_scalb.c: Likewise.
14874         * math/w_scalbf.c: Likewise.
14875         * math/w_scalbl.c: Likewise.
14876         * math/w_scalbln.c: Likewise.
14877         * math/w_scalblnf.c: Likewise.
14878         * math/w_scalblnl.c: Likewise.
14879         * math/w_sinh.c: Likewise.
14880         * math/w_sinhf.c: Likewise.
14881         * math/w_sinhl.c: Likewise.
14882         * math/w_tgamma.c: Likewise.
14883         * math/w_tgammaf.c: Likewise.
14884         * math/w_tgammal.c: Likewise.
14885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14886         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14887         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14888         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14889         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14890         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14891         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14892         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14893         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14894         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14895         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14896         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14897         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14898         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14899         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14902         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14903         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14907         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14908         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14909         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14912         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14913         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14915         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14916         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14917         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14918         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14919         * stdio-common/printf_fp.c: Likewise.
14920         * stdio-common/printf_fphex.c: Likewise.
14921         * stdio-common/printf_size.c: Likewise.
14923 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14925         [BZ #18470]
14926         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14927         strnlen.
14928         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14929         Remove variable.
14930         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14931         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14932         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14933         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14934         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14935         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14936         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14937         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14938         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14939         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14941         [BZ #18468]
14942         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14943         weak alias of __wmemchr.  Use libc_hidden_weak.
14944         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14945         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14946         instead of wmemchr.
14948 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14950         [BZ #18383]
14951         * elf/tst-tlsalign-extern.c: New file.
14952         * elf/tst-tlsalign-extern-static.c: New file.
14953         * elf/tst-tlsalign-vars.c: New file.
14954         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14955         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14956         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14957         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14958         (test-xfail-tst-tlsalign-extern-static): New variable.
14960 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14962         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14963         Use variable name _sc_err instead of err.
14964         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14965         instead of ret.
14966         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14967         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14968         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14969         (INLINE_SYSCALL): Likewise.
14971         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14972         * include/string.h (__strnlen): Use libc_hidden_proto.
14973         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14974         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14975         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14976         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14977         (libc_hidden_def): Undefine and redefine.
14978         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14979         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14980         __GI_strnlen.
14981         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14982         libc_hidden_def.
14983         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14985         [BZ #18469]
14986         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14987         weak alias of __towlower.  Use libc_hidden_weak.
14988         (towupper): Rename to __towupper and define as weak alias of
14989         __towupper.  Use libc_hidden_weak.
14990         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14991         (__towupper): Likewise.
14992         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14993         __towlower instead of towlower.
14995 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14997         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14998         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15000 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15002         * sysdeps/aarch64/libm-test-ulps: Update.
15004 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15006         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15007         Define.
15008         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15010         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15011         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15012         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15013         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15014         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15016 2015-06-01  Martin Sebor  <msebor@redhat.com>
15018         [BZ #18116]
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15020         (__setcontext): Use extended four-operand version of mtsf whenever
15021         possible.
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15023         (__novec_swapcontext): Likewise.
15025 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15027         * benchtests/scripts/compare_bench.py: New file.
15028         * benchtests/scripts/import_bench.py (mean): New function.
15029         (split_list): Likewise.
15030         (do_for_all_timings): Likewise.
15031         (compress_timings): Likewise.
15033         * benchtests/scripts/import_bench.py: New file.
15034         * benchtests/scripts/validate_benchout.py: Import import_bench
15035         instead of jsonschema.
15036         (validate_bench): Remove function.
15037         (main): Use import_bench.
15039 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15041         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15042         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15044 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15048 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15050         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15051         set THREAD_SELF->tid to a magic value and futex-wake it.
15052         Pass its address to the thread_exit system call.
15053         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15054         bit is clear.
15055         * sysdeps/nacl/lowlevellock.h: New file.
15056         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15058         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15059         Add TIMEOUT to current time, don't subtract it.
15061 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15063         [BZ #2981]
15064         [BZ #18422]
15065         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15066         ($(objpfx)tst-audit2.out): Also depend on
15067         $(objpfx)tst-auditmod9b.so.
15068         * elf/tst-audit2.c: Include <dlfcn.h>.
15069         (calloc_called): New.
15070         (calloc): Allow to be called more than once.
15071         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15073 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15075         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15076         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15078 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15080         * stdlib/monetary.h: Fix comment.
15082 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15084         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15085         Avoid using variables in #defines that might cause shadowing.
15086         (INTERNAL_VSYSCALL_CALL): Likewise.
15088 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15090         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15092         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15093         * nptl/lll_timedlock_wait.c: ... to this new file.
15094         * nptl/Makefile (libpthread-routines): Add it.
15095         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15096         * nptl/lll_timedwait_tid.c: ... to this new file.
15097         * nptl/Makefile (libpthread-routines): Add it.
15098         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15099         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15100         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15101         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15102         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15103         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15104         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15105         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15106         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15107         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15109 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15111         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15112         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15113         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15115         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15117         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15119         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15120         * sysdeps/unix/sysv/linux/tile/sysdep.h
15121         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15122         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15123         using vDSO syscall macro.
15125 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15127         [BZ #17293]
15128         * uk_UA: Fix sorting order for Ukrainian locale
15130 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15132         * stdlib/monetary.h: Fix comment.
15134 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15136         [BZ #18234]
15137         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15138         st_mtim and st_ctim members.
15139         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15140         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15141         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15142         (struct stat64): Likewise.
15143         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15144         (struct stat64): Likewise.
15145         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15146         (struct stat64): Likewise.
15148 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15150         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15151         Define and include sysdep-vdso.h.
15152         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15153         Likewise.
15154         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15157         Define with VDSO_SYMBOL and use PTR_MANGLE.
15158         (__vdso_clock_gettime): Likewise.
15159         (__vdso_clock_getres): Likewise.
15160         (_libc_vdso_platform_setup): Likewise.
15161         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15162         Likewise.
15163         (_libc_vdso_platform_setup): Likewise.
15164         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15165         Likewise.
15166         (__vdso_clock_gettime): Likewise.
15167         (__vdso_clock_getres): Likewise.
15168         (__vdso_get_tbfreq): Likewise.
15169         (__vdso_getcpu): Likewise.
15170         (__vdso_time): Likewise.
15171         (__vdso_sigtramp_rt64): Likewise.
15172         (__vdso_signtramp32): Likewise.
15173         (__vdso_sigtramp_rt32): Likewise.
15174         (_libc_vdso_platform_setup): Likewise.
15175         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15176         Likewise.
15177         (__vdso_clock_gettime): Likewise.
15178         (__vdso_clock_getres): Likewise.
15179         (_libc_vdso_platform_setup): Likewise.
15180         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15181         Likewise.
15182         (__vdso_clock_gettime): Likewise.
15183         (_libc_vdso_platform_setup): Likewise.
15184         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15185         Likewise.
15186         (__vdso_getcpu): Likewise.
15187         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15188         Use VDSO_SYMBOL macro to define.
15189         (__vdso_clock_gettime): Likewise.
15190         (__vdso_clock_getres): Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15192         Likewise.
15193         (__vdso_clock_gettime): Likewise.
15194         (__vdso_clock_getres): Likewise.
15195         (__vdso_get_tbfreq): Likewise.
15196         (__vdso_getcpu): Likewise.
15197         (__vdso_time): Likewise.
15198         (__vdso_sigtramp_rt64): Likewise.
15199         (__vdso_signtramp32): Likewise.
15200         (__vdso_sigtramp_rt32): Likewise.
15201         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15202         Likewise.
15203         (__vdso_clock_gettime): Likewise.
15204         (__vdso_clock_getres): Likewise.
15205         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15206         Likewise.
15207         (__vdso_clock_gettime): Likewise.
15208         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15209         Likewise.
15210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15211         macro.
15212         (INTERNAL_VSYSCALL): Likewise.
15213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15214         Remove macro.
15215         (INTERNAL_VSYSCALL): Likewise.
15216         (INTERNAL_VSYSCALL_NCS): Likewise.
15217         (INTERNAL_VSYSCALL_CALL): New macro.
15218         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15220         Likewise.
15221         (INTERNAL_VSYSCALL): Likewise.
15222         (INTERNAL_VSYSCALL_NCS): Likewise.
15223         (INTERNAL_VSYSCALL_CALL): New macro.
15224         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15226         (INLINE_VSYSCALL): Remove macro.
15227         (INTERNAL_VSYSCALL): Remove macro.
15228         (INTERNAL_VSYSCALL_NCS): Remove macro.
15229         (INTERNAL_VSYSCALL_CALL): New macro.
15230         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15231         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15232         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15233         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15234         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15236         (INLINE_VSYSCALL): Remove macro.
15237         (INTERNAL_VSYSCALL): Likewise.
15238         (INTERNAL_VSYSCALL_NCS): Likewise.
15239         (INTERNAL_VSYSCALL_CALL): New macro.
15240         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15241         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15242         PTR_DEMANGLE on vDSO pointer.
15243         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15244         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15245         macro.
15246         (INTERNAL_SYSCALL): Likewise.
15247         (INTERNAL_VSYSCALL_NCS): Remove macro.
15248         (INTERNAL_VSYSCALL_CALL): New macro.
15249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15250         Remove macro.
15251         (INTERNAL_VSYSCALL): Likewise.
15252         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15253         sysdep-vdso.h instead of libc-vdso.h.
15254         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15255         definition.
15256         (INLINE_VSYSCALL): Likewise.
15257         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15258         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15259         definition.
15260         (INLINE_VSYSCALL): Likewise.
15261         (INTERNAL_VSYSCALL): Likewise.
15262         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15263         * sysdeps/unix/sysv/linux/timespec_get.c
15264         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15265         (timespec_get): Use ANSI prototype.
15266         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15267         and definition for Linux.
15269 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15271         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15272         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15274 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15276         [BZ #2981]
15277         [BZ #18410]
15278         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15279         for missing DT_PLTRELSZ.
15281 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15283         Remove obsolete aliases that broke 'locale -a'
15284         [BZ #18412]
15285         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15286         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15287         breaking some applications that use 'locale -a' output.
15288         Change the encoding of this file from Latin-1 to ASCII to avoid
15289         other potential problems with people grepping this file.
15291 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15293         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15294         -fasynchronous-unwind-tables.
15295         (CFLAGS-sendto.c): Likewise.
15296         (CFLAGS-sendmsg.c): Likewise.
15297         (CFLAGS-connect.c): Likewise.
15298         (CFLAGS-recvmsg.c): Likewise.
15299         (CFLAGS-recvfrom.c): Likewise.
15300         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15301         (SOCKETCALL): New macro: non-cancellable socketcall.
15302         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15303         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15304         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15305         * sysdeps/unix/sysv/linux/accept.c: New file.
15306         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15307         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15308         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15309         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15310         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15311         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15312         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15313         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15314         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15315         * sysdeps/unix/sysv/linux/send.c: Likewise.
15316         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15317         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15318         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15319         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15320         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15321         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15322         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15323         prototype.
15324         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15325         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15326         instead of __internal_xxx function.
15327         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15328         prototype.
15329         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15330         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15331         instead of __internal_xxx function.
15332         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15333         prototype.
15334         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15335         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15336         instead of __internal_xxx function.
15337         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15338         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15339         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15340         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15341         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15342         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15343         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15344         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15345         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15346         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15347         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15348         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15349         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15350         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15351         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15352         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15353         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15354         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15355         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15356         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15359         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15360         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15361         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15362         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15363         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15364         * sysdeps/unix/sysv/linux/send.S: Likewise.
15365         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15366         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15367         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15368         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15369         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15370         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15371         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15372         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15373         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15374         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15375         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15376         socketcall is implemented in GLIBC.
15378 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15380         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15381         (__fma): Ignore uninitialized warnings around packing.
15382         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15383         (__fmaf): Ignore uninitialized warnings around packing.
15384         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15385         (__fmal): Ignore uninitialized warnings around packing.
15387         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15388         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15389         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15390         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15392         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15393         switch statement into default case.
15394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15396         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15397         a conditional in forcing "inexact".
15398         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15399         Likewise.
15401 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15403         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15404         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15405         for each INTERNAL_SYSCALL use.
15407 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #438]
15410         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15411         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15412         variable.
15414         [BZ #18444]
15415         * string/basename.c (basename): Rename to __basename and define as
15416         weak alias of __basename.  Use libc_hidden_weak.
15417         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15418         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15419         __basename instead of basename.
15420         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15421         Remove variable.
15422         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15424 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15426         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15427         (_IO_JUMPS_FILE_plus): New.
15428         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15429         _IO_CAST_FIELD_ACCESS.
15430         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15431         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15432         * libio/freopen.c (freopen): Likewise.
15433         * libio/freopen64.c (freopen64): Likewise.
15434         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15435         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15436         * libio/iofwide.c (_IO_fwide): Likewise.
15437         * libio/memstream.c (open_memstream): Likewise.
15438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15439         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15440         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15442 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15444         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15445         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15446         NADJ.
15447         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15448         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15449         NADJ.
15450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15451         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15452         NADJ.
15454         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15455         (p == 4) case.
15457         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15458         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15459         Remove variable.
15460         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15461         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15462         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15464 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15466         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15467         Adjust jump table label generation macros.
15469 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15471         * stdio-common/vfprintf.c (vfprintf): Move local variables
15472         args_malloced, specs, specs_malloced, and the code after
15473         do_positional to the printf_positional function.
15474         (printf_positional): New function.
15476 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15478         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15479         function.
15480         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15481         STEP4_TABLE, process_arg): Move macro definitions
15482         out of the vfprintf function.  (Cosmetic change only.)
15484 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15486         * benchtests/Makefile (stdio-common-bench): Define.
15487         (benchset): Add stdio-common-bench.
15488         * sprintf-inputs: New file.
15489         * sprintf-source.c: New file.
15491 2015-05-21  Andreas Schwab  <schwab@suse.de>
15493         [BZ #13028]
15494         [BZ #17053]
15495         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15496         of struct __res_state.
15497         * resolv/res_send.c (__libc_res_nsend): Likewise.
15498         (get_nsaddr): New function.
15499         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15500         statp directly.
15502 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15504         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15505         -D_POSIX_C_SOURCE=199506L.
15507         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15509         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15510         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15511         Do not mention otherwise.
15512         [POSIX] (_XOPEN_VERSION): Do not expect.
15513         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15514         [POSIX] (_POSIX2_C_BIND): Likewise.
15515         [POSIX] (_POSIX2_VERSION): Likewise.
15516         [POSIX] (_XOPEN_XPG2): Likewise.
15517         [POSIX] (_XOPEN_XPG3): Likewise.
15518         [POSIX] (_XOPEN_XPG4): Likewise.
15519         [POSIX] (_XOPEN_UNIX): Likewise.
15520         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15521         [POSIX] (_POSIX_BARRIERS): Likewise.
15522         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15523         [POSIX] (_POSIX_CPUTIME): Likewise.
15524         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15525         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15526         [POSIX] (_POSIX_SHELL): Likewise.
15527         [POSIX] (_POSIX_SPAWN): Likewise.
15528         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15529         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15530         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15531         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15532         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15533         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15534         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15535         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15536         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15537         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15538         [POSIX] (_POSIX2_PBS): Likewise.
15539         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15540         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15541         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15542         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15543         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15544         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15545         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15546         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15547         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15548         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15549         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15550         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15551         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15552         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15553         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15554         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15555         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15556         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15557         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15558         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15559         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15560         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15561         [POSIX] (_SC_2_C_BIND): Likewise.
15562         [POSIX] (_SC_2_C_VERSION): Likewise.
15563         [POSIX] (_SC_2_PBS): Likewise.
15564         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15565         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15566         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15567         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15568         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15569         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15570         [POSIX] (_SC_BARRIERS): Likewise.
15571         [POSIX] (_SC_BASE): Likewise.
15572         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15573         [POSIX] (_SC_DEVICE_IO): Likewise.
15574         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15575         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15576         [POSIX] (_SC_FD_MGMT): Likewise.
15577         [POSIX] (_SC_FIFO): Likewise.
15578         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15579         [POSIX] (_SC_FILE_LOCKING): Likewise.
15580         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15581         [POSIX] (_SC_IOV_MAX): Likewise.
15582         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15583         [POSIX] (_SC_NETWORKING): Likewise.
15584         [POSIX] (_SC_PAGE_SIZE): Likewise.
15585         [POSIX] (_SC_PASS_MAX): Likewise.
15586         [POSIX] (_SC_PIPE): Likewise.
15587         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15588         [POSIX] (_SC_REGEXP): Likewise.
15589         [POSIX] (_SC_SHELL): Likewise.
15590         [POSIX] (_SC_SIGNALS): Likewise.
15591         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15592         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15593         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15594         [POSIX] (_SC_USER_GROUPS): Likewise.
15595         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15596         [POSIX] (_SC_STREAMS): Likewise.
15597         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15598         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15599         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15600         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15601         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15602         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15603         [POSIX] (_PC_FILESIZEBITS): Likewise.
15604         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15605         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15606         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15607         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15608         [POSIX] (uid_t): Likewise.
15609         [POSIX] (gid_t): Likewise.
15610         [POSIX] (off_t): Likewise.
15611         [POSIX] (pid_t): Likewise.
15612         [POSIX] (cuserid): Allow.
15613         (_SC_2_CHAR_TERM): Require constant.
15614         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15615         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15616         variable.
15618 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15620         * sysdeps/nacl/pthread-pids.h: New file.
15621         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15622         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15624         * nptl/pthread-pids.h: New file.
15625         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15626         * nptl/nptl-init.c: Include <pthread-pids.h>.
15627         (__pthread_initialize_minimal_internal):
15628         Call __pthread_initialize_pids instead of set_tid_address syscall.
15630         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15631         * sysdeps/posix/usleep.c: ... here.
15633 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15635         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15636         call_pselect6 object.
15637         [$(subdir) = io]: Remove call_sync_file_range object.
15638         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15639         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15640         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15641         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15643 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15645         * math/s_cproj.c: Add include "math_private.h".
15646         * math/s_cprojf.c: Likewise.
15647         * math/s_cprojl.c: Likewise.
15649 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15651         [BZ #18244]
15652         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15653         high mantissa bit when testing whether P is a NaN.
15654         * math/libm-test.inc (remainder_test_data): Add more tests.
15655         (remquo_test_data): Likewise.
15657         [BZ #18049]
15658         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15659         below -32, return the argument, with underflow if subnormal.
15660         * math/auto-libm-test-in: Add more tests of atanh.
15661         * math/auto-libm-test-out: Regenerated.
15663 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15665         [BZ #18434]
15666         * nptl/tst-sem15.c: New file.
15667         * nptl/Makefile (tests): Add it.
15668         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15669         s/<</>>/ to fix typo in EOVERFLOW check.
15670         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15672 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15674         * manual/strings.texi (envz_remove): Fix typo in safety
15675         annotations.
15677 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15678             Steve Ellcey  <sellcey@imgtec.com>
15680         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15681         in order to avoid strict alias warnings.
15682         (iruserok_af): Ditto for ra.
15684 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15686         [BZ #17581]
15687         * malloc/hooks.c
15688         (magicbyte): Convert to a function and avoid returning 0x01.
15689         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15690         (mem2chunk_check): Fix unsigned comparisons to zero.
15691         Hoist defs of sz and magic.
15693 2015-05-19  Richard Henderson  <rth@redhat.com>
15695         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15697         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15699 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15701         [BZ #16159]
15702         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15703         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15704         (reused_arena): Find a non-corrupt arena.
15705         (heap_trim): Pass arena to unlink.
15706         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15707         malloc_printerr.
15708         (top_check): Likewise.
15709         (free_check): Likewise.
15710         (realloc_check): Likewise.
15711         * malloc/malloc.c (malloc_printerr): Add arena argument.
15712         (unlink): Likewise.
15713         (munmap_chunk): Adjust.
15714         (ARENA_CORRUPTION_BIT): New macro.
15715         (arena_is_corrupt): Likewise.
15716         (set_arena_corrupt): Likewise.
15717         (sysmalloc): Use mmap if there are no usable arenas.
15718         (_int_malloc): Likewise.
15719         (__libc_malloc): Don't fail if arena_get returns NULL.
15720         (_mid_memalign): Likewise.
15721         (__libc_calloc): Likewise.
15722         (__libc_realloc): Adjust for additional argument to
15723         malloc_printerr.
15724         (_int_free): Likewise.
15725         (malloc_consolidate): Likewise.
15726         (_int_realloc): Likewise.
15727         (_int_memalign): Don't touch corrupt arenas.
15728         * malloc/tst-malloc-backtrace.c: New test case.
15730         * Makefile (summarize-tests): Fix return value on success.
15732         * manual/string.texi (Envz Functions): Add envz_remove.
15734 2015-05-18  Roland McGrath  <roland@hack.frob.com>
15736         * sysdeps/posix/opendir.c: Include <stdbool.h>.
15737         (invalid_name): New function, broken out of ...
15738         (__opendirat): ... here.  Call it.
15739         (need_isdir_precheck): New function, broken out of ...
15740         (__opendirat): ... here.  Call it.
15741         Use __fxstatat64, not __xstatat64.
15742         (opendir_oflags): New function, broken out of ...
15743         (__opendirat): ... here.  Call it.
15744         (opendir_tail): New function, broken out of ...
15745         (__opendirat): ... here.  Call it.
15746         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15747         opendir_tail, rather than punting to __opendirat.
15748         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15750 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15752         * .gitignore: Ignore generated *.pyc.
15754 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
15756         * include/stdio.h: Define __need_wint_t.
15757         * test-skeleton.c: Avoid `for' loop initial declaration.
15758         * nptl/tst-initializers1.c: Use test-skeleton.c.
15760 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15762         [BZ #18418]
15763         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15765 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15767         [BZ #16352]
15768         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15769         (__ieee754_atanh): Force underflow exception for results with
15770         small absolute value.
15771         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15772         (__ieee754_atanhf): Force underflow exception for results with
15773         small absolute value.
15774         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15775         (__ieee754_atanh): Force underflow exception for results with
15776         small absolute value.
15777         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15778         (__ieee754_atanhf): Force underflow exception for results with
15779         small absolute value.
15780         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15781         (__ieee754_atanhl): Force underflow exception for results with
15782         small absolute value.
15783         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15784         (__ieee754_atanhl): Force underflow exception for results with
15785         small absolute value.
15786         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15787         (__ieee754_atanhl): Force underflow exception for results with
15788         small absolute value.
15789         * math/auto-libm-test-in: Do not allow missing underflow
15790         exceptions from atanh.
15791         * math/auto-libm-test-out: Regenerated.
15793         [BZ #18221]
15794         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15795         2**-28 as threshold for returning x or +/- 1/x.
15796         * math/auto-libm-test-in: Add more tests of tan.
15797         * math/auto-libm-test-out: Regenerated.
15799         [BZ #18220]
15800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15801         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15802         * math/auto-libm-test-in: Add another test of lgamma.
15803         * math/auto-libm-test-out: Regenerated.
15805 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15807         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15808         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15809         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15810         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15811         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15812         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15813         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15815         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15816         (log1): Use fabs.  (my_log2): Use fabs.
15817         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15818         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15819         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15820         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15822         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15823         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15824         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15825         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15826         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15827         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15829 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15831         [BZ #18217]
15832         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15833         as threshold for returning 1 - x.
15834         * math/auto-libm-test-in: Add more tests of erfc.
15835         * math/auto-libm-test-out: Regenerated.
15837 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15839         [BZ #18196]
15840         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15841         threshold for large arguments.
15842         * math/auto-libm-test-in: Add another test of atan.
15843         * math/auto-libm-test-out: Regenerated.
15845         [BZ #16339]
15846         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15847         (__log1p): Force underflow exception for results with small
15848         absolute value.
15849         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15850         (__log1pf): Force underflow exception for results with small
15851         absolute value.
15852         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15853         (__log1p): Force underflow exception for results with small
15854         absolute value.
15855         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15856         (__log1pf): Force underflow exception for results with small
15857         absolute value.
15858         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15859         (__log1pl): Force underflow exception for results with small
15860         absolute value.
15861         * math/auto-libm-test-in: Do not allow missing underflow
15862         exceptions from log1p.
15863         * math/auto-libm-test-out: Regenerated.
15865 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15866             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15868         [BZ #16704]
15869         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15871 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15873         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15874         (libmvec): New variable.
15875         * configure.ac: Added option for mathvec build.
15876         * configure: Regenerated.
15877         * mathvec/Depend: New file.
15878         * mathvec/Makefile: New file.
15879         * shlib-versions: Added libmvec.
15880         * math/Makefile: Added rule for libm.so installation.
15882         * bits/math-vector.h: New file.
15883         * bits/libm-simd-decl-stubs.h: New header.
15884         * math/Makefile (headers): Added new header
15885         libm-simd-decl-stubs.h.
15886         * math/math.h (__MATHCALL_VEC): New macro.
15888         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15889         for conditions in testing functions.
15890         * math/Makefile: Added call of libm-have-vector-test.sh.
15891         * math/libm-test.inc (HAVE_VECTOR): New macros.
15893         * math/libm-test.inc: START refactored.
15894         * math/test-double.c (TEST_MATHVEC): Add define.
15895         * math/test-float.c: Likewise.
15896         * math/test-idouble.c: Likewise.
15897         * math/test-ifloat.c: Likewise.
15898         * math/test-ildoubl.c: Likewise.
15899         * math/test-ldouble.c: Likewise.
15900         * sysdeps/generic/math-tests-arch.h
15901         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15902         architecture check.
15904         * math/test-double.c (FUNC_TEST): New macro.
15905         * math/test-float.c: Likewise.
15906         * math/test-idouble.c: Likewise.
15907         * math/test-ifloat.c: Likewise.
15908         * math/test-ildoubl.c: Likewise.
15909         * math/test-ldouble.c: Likewise.
15910         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15912 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15914         * sysdeps/nacl/fdopendir.c: New file.
15916         * dirent/scandir-tail.c: New file.
15917         * dirent/scandir64-tail.c: New file.
15918         * dirent/Makefile (routines): Add them.
15919         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15920         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15921         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15922         [!SCANDIR] (SCANDIR_TAIL): New macro.
15923         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15924         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15925         (SCANDIRAT): Macro removed.
15926         (SCANDIR_TAIL): New macro.
15927         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15928         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15929         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15930         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15931         (READDIR): Macro removed.
15932         (SCANDIR_TAIL): New macro.
15933         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15934         (SCANDIR_TAIL): New macro.
15936         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15937         * dirent/scandir-cancel.c: ... to this new file.
15938         * dirent/Makefile (routines): Add it.
15939         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15940         * sysdeps/unix/sysv/linux/i386/scandir64.c
15941         (SKIP_SCANDIR_CANCEL): Macro removed.
15942         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15944         * dirent/tst-scandir.c: New file.
15945         * dirent/tst-scandir64.c: New file.
15946         * dirent/Makefile (tests): Add them.
15948 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15950         [BZ #18409]
15951         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15953 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15955         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15956         list.
15958 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15960         * benchtests/bench-strcoll.c: New benchmark.
15961         * benchtests/Makefile: Generate locales and run benchmark.
15962         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15963         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15964         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15965         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15966         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15967         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15968         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15969         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15970         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15971         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15972         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15973         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15974         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15975         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15976         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15977         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15978         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15979         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15980         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15981         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15982         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15983         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15984         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15985         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15987 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15989         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15990         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15992 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15994         * posix/uname-values.h: New file.
15995         * posix/uname.c: Include that instead of <config-name.h>.
15996         * sysdeps/nacl/uname-values.h: New file.
15997         * sysdeps/arm/nacl/uname-values.h: New file.
15999 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16001         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16002         splitting into fields.
16004 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16006         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16007         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16008         * locale/localeinfo.h: Add enum collation_encoding_type.
16009         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16010         * programs/ld-collate.c (collate_output): Add encoding type info.
16011         * string/strcoll_l.c (STRDIFF): New function.
16012         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16013         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16015 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #18397]
16018         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16019         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16020         <fpu_control.h> instead of <math/fpu_control.c>.
16021         * sysdeps/mips/mips32/fpu/Makefile: New file.
16023 2015-05-11  Andreas Schwab  <schwab@suse.de>
16025         [BZ #18007]
16026         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16027         nss_endgrent.
16028         (_nss_compat_endgrent): Call nss_endgrent.
16029         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16030         nss_endpwent.
16031         (_nss_compat_endpwent): Call nss_endpwent.
16032         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16033         needent, call nss_setspent only if non-zero.
16034         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16035         (internal_endspent): Don't call nss_endspent.
16036         (_nss_compat_endspent): Call nss_endspent.
16037         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16038         Remove.  All uses removed.
16039         (internal_setent): Remove parameter stayopen, add parameter
16040         stream.  Use it instead of global variable.
16041         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16042         (internal_endent, internal_getent): Add parameter stream.  Use it
16043         instead of global variable.
16044         (CONCAT(_nss_files_end,ENTNAME))
16045         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16046         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16047         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16048         uses removed.
16049         (internal_setent, internal_endent): Add parameter stream.  Use it
16050         instead of global variable.
16051         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16052         stream.
16053         (get_next_alias): Add parameter stream.
16054         (_nss_files_getaliasent_r): Pass global stream.
16055         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16056         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16057         (_nss_files_gethostbyname4_r): Pass local stream to
16058         internal_setent, internal_getent and internal_endent.  Remove
16059         locking.
16061 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16063         * tst-strfmon1.c (tests): Update expected currency symbol.
16065 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16067         * sysdeps/nacl/gethostname.c: New file.
16069 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16071         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16072         and sinh.
16073         * math/auto-libm-test-out: Regenerated.
16074         * sysdeps/i386/fpu/libm-test-ulps: Update.
16075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16079         [BZ #18125]
16080         * stdlib/tst-setcontext3.c: New file.
16081         * stdlib/tst-setcontext3.sh: New file.
16082         * stdlib/Makefile (tests): Add tst-setcontext3.
16083         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16084         to verify test program created output file.
16085         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16086         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16087         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16088         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16090 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16092         [BZ #18383]
16093         * elf/tst-tlsalign.c: New file.
16094         * elf/tst-tlsalign-static.c: New file.
16095         * elf/tst-tlsalign-lib.c: New file.
16096         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16097         (tests-static): Add tst-tlsalign-static.
16098         (modules-names): Add tst-tlsalign-lib.
16099         (test-xfail-tst-tlsalign): New variable.
16100         (test-xfail-tst-tlsalign-static): New variable.
16102         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16103         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16105 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16107         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16108         csqrt, erfc, sin and sincos.
16109         * math/auto-libm-test-out: Regenerated.
16110         * sysdeps/i386/fpu/libm-test-ulps: Update.
16111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16113 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16115         * sysdeps/aarch64/libm-test-ulps: Update.
16117 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16119         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16120         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16121         * math/auto-libm-test-out: Regenerated.
16122         * sysdeps/i386/fpu/libm-test-ulps: Update.
16123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16127         [BZ #18265]
16128         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16129         (wcsncpy): Likewise.
16131 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16133         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16134         Assume __ASSUME_FALLOCATE is always true.
16135         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16136         (__posix_fallocate64_l64): Likweise.
16137         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16138         (posix_fallocate): Likewise.
16139         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16140         (__posix_fallocate64_l64): Likewise.
16141         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16142         [!__ASSUME_FALLOCATE]: Add comment.
16144 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16146         * sysdeps/unix/sysv/linux/i386/Makefile
16147         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16148         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16149         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16150         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16151         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16152         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16153         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16155 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16157         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16158         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16159         tgamma.
16160         * math/auto-libm-test-out: Regenerated.
16161         * sysdeps/i386/fpu/libm-test-ulps: Update.
16162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16164 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16166         * math/auto-libm-test-in: Add more tests of tgamma.
16167         * math/auto-libm-test-out: Regenerated.
16168         * sysdeps/i386/fpu/libm-test-ulps: Update.
16169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16171         * math/auto-libm-test-in: Add more tests of tanh.
16172         * math/auto-libm-test-out: Regenerated.
16173         * sysdeps/i386/fpu/libm-test-ulps: Update.
16174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16176         * math/auto-libm-test-in: Add more tests of tan.
16177         * math/auto-libm-test-out: Regenerated.
16178         * sysdeps/i386/fpu/libm-test-ulps: Update.
16179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16182         * math/auto-libm-test-out: Regenerated.
16183         * sysdeps/i386/fpu/libm-test-ulps: Update.
16184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16186         * math/auto-libm-test-in: Add another test of pow.
16187         * math/auto-libm-test-out: Regenerated.
16188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16190         * math/auto-libm-test-in: Add more tests of lgamma.
16191         * math/auto-libm-test-out: Regenerated.
16192         * sysdeps/i386/fpu/libm-test-ulps: Update.
16193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16196         log1p.
16197         * math/auto-libm-test-out: Regenerated.
16198         * sysdeps/i386/fpu/libm-test-ulps: Update.
16199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16201 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16203         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16204         Elf64_Chdr structs and ELFCOMPRESS constants.
16206 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16208         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16209         expm1.
16210         * math/auto-libm-test-out: Regenerated.
16211         * sysdeps/i386/fpu/libm-test-ulps: Update.
16212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16214         * math/auto-libm-test-in: Add more tests of erf and erfc.
16215         * math/auto-libm-test-out: Regenerated.
16216         * sysdeps/i386/fpu/libm-test-ulps: Update.
16217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16219 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16221         * config.h.in (HAVE_AARCH64_BE): Add.
16223 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16225         * math/auto-libm-test-in: Add more tests of csqrt.
16226         * math/auto-libm-test-out: Regenerated.
16227         * sysdeps/i386/fpu/libm-test-ulps: Update.
16228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16230         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16231         * math/auto-libm-test-out: Regenerated.
16232         * sysdeps/i386/fpu/libm-test-ulps: Update.
16233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16235         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16237 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16239         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16240         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16242         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16243         (euidaccess, eaccess): Define as weak aliases.
16245         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16246         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16247         but __suseconds_t is often 'long int' so some sources assume that
16248         type is being used (e.g. they use %ld to print tv_usec).
16250 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16252         [BZ #18007]
16253         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16254         (CVE-2014-8121)
16255         * nss/tst-nss-getpwent.c: New file.
16256         * nss/Makefile (tests): Add new test.
16258 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16260         [BZ #18346]
16261         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16262         exponents less than 48 as cases where high part of mantissa needs
16263         examining to determine whether argument is integral.
16264         * math/libm-test.inc (round_test_data): Add more tests.
16266 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16268         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16270 2015-04-27  David S. Miller  <davem@davemloft.net>
16272         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16273         __tls_get_addr.
16274         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16276 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16278         [BZ#18333]
16279         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16281 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16283         [BZ#18333]
16284         * time/tzset.c (parse_tzname): Return error on memory allocation
16285         failure.
16286         * test-skeleton.c (struct temp_name_list): Change type of name
16287         member to non-const.
16288         (add_temp_file): Create a copy of the file name.
16289         (delete_temp_files): Deallocate memory.
16290         (create_temp_file): Add comment.
16292 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16294         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16295         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16297 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16299         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16300         * sysdeps/arm/configure: Regenerated.
16302 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16304         [BZ #17715]
16305         * time/tzfile.c (__tzfile_read): Check for large values of
16306         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16307         * time/tzset.c (__tzstring_len): New function, based on the old
16308         __tzstring function.
16309         (__tzstring): Call __tzstring_len.
16310         (parse_tzname): New helper function extracted from
16311         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16312         the input string.
16313         (parse_offset): New helper function extracted from
16314         __tzset_parse_tz.  Replace switch with fallthrough with
16315         initialization before sscanf.
16316         (parse_rule): Likewise.
16317         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16318         new-style function definition.
16319         * timezone/Makefile (tests): Add tst-tzset.
16320         (tst-tzset.out): Dependencies on time zone files.
16321         (tst-tzset-ENV): Set TZDIR.
16322         (testdata/XT%): Copy crafted time zone files.
16323         * timezone/README: Mention crafted time zone files.
16324         * timezone/testdata/XT1, timezone/testdata/XT2,
16325         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16326         files.
16327         * timezone/tst-tzset.c: New test.
16329 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16331         * Makeconfig (+gccwarn): Remove -Winline.
16333 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16335         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16337 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16339         * NEWS: Mention sysconf() cache information support for s390.
16340         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16342 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16344         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16345         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16346         (__nearbyint): Likewise.
16347         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16348         (copysignl): Likewise.
16350 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16352         [BZ #18287]
16353         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16354         based on padding.  (CVE-2015-1781)
16356 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16358         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16359         libc-vdso.h.
16360         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16361         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16362         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16363         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16364         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16365         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16367         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16368         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16370         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16371         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16372         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16373         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16374         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16375         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16376         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16377         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16378         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16379         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16380         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16381         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16382         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16384 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16386         * stdlib/setenv.c (__add_to_environ):
16387         Dump core quickly if setenv (..., NULL, ...) is called.
16388         This time, do it the right way, and pacify GCC with a pragma.
16390 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16392         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16393         IMAP->l_prev cannot be null, and #if out the code for the contrary
16394         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16395         believe that NS (&_dl_ns[NSID]) could point outside the array.
16397         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16398         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16399         before using NSID as an index.
16401 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16403         [BZ #17825]
16404         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16405         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16406         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16408 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16410         Add preliminary port to Google Native Client on ARM.
16411         * abi-tags (.*-.*-nacl.*): New entry.
16412         * sysdeps/arm/nacl: New directory.
16413         * sysdeps/nacl: New directory.
16415 2015-04-16  David S. Miller  <davem@davemloft.net>
16417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16418         lowlevellock-futex.h
16420 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16422         * sysdeps/tile/configure.ac: New file.
16423         * sysdeps/tile/configure: Regenerated.
16425 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16427         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16428         conditionals for weak_alias and libc_hidden_weak.
16429         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16430         libc_hidden_weak and weak_alias.
16431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16432         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16433         and weak_alias for static one.
16435 2015-04-15  David S. Miller  <davem@davemloft.net>
16437         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16439 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16441         [BZ #18206]
16442         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16443           Use signed comparision instead of substraction to avoid
16444           overflow bug.
16445         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16446           Take the sign of ret.
16447         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16448           Do not expect precise return values. Only the sign matters.
16449         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16450         * wcsmbs/test-wcsncmp.c: New File.
16451         * string/test-strncmp.c: Add wcsncmp support.
16453 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16455         [BZ #6792]
16456         * math/w_log1p.c: New file.
16457         * math/w_log1pf.c: Likewise.
16458         * math/w_log1pl.c: Likewise.
16459         * math/Makefile (libm-calls): Add w_log1p.
16460         * math/s_log1pl.c (log1pl): Remove weak_alias.
16461         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16462         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16463         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16464         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16465         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16466         [NO_LONG_DOUBLE] (log1pl): Likewise.
16467         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16468         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16469         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16470         (log1p): Remove long_double_symbol.
16471         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16472         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16473         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16474         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16475         remove weak_alias for corresponding log1p function.
16476         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16477         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16478         * sysdeps/ia64/fpu/w_log1p.c: New file.
16479         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16480         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16481         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16483 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16485         [BZ #18247]
16486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16487         decimal exponent by 1.
16488         * stdlib/tst-strtod-round-data: Add more tests.
16489         * stdlib/tst-strtod-round.c (tests): Regenerated.
16491 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16493         * math/auto-libm-test-in: Add more tests of clog and clog10.
16494         * math/auto-libm-test-out: Regenerated.
16495         * sysdeps/i386/fpu/libm-test-ulps: Update.
16496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16498 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16500         * Makeconfig (module-cppflags): Exclude all .v.i files.
16501         (skip-module-cppflags): Variable removed.
16503         * configure.ac (libc_config_ok): Initialize before reading
16504         preconfigure scripts, not after.
16505         * configure: Regenerated.
16507         * test-skeleton.c (TIMEOUT): Move #define to top level.
16508         (main): Grok environment variable TEST_DIRECT.  If set, print
16509         test expectation details into that file and then behave as if
16510         given --direct.
16512 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16514         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16515         warning on 32-bit.
16517 2015-04-08  David S. Miller  <davem@davemloft.net>
16519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16521 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16523         * math/auto-libm-test-in: Add more tests of atanh.
16524         * math/auto-libm-test-out: Regenerated.
16525         * sysdeps/i386/fpu/libm-test-ulps: Update.
16526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16528         * math/auto-libm-test-in: Add more tests of atan.
16529         * math/auto-libm-test-out: Regenerated.
16530         * sysdeps/i386/fpu/libm-test-ulps: Update.
16531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16533 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16535         * elf/pldd.c (main): Rewrite to use struct
16536         scratch_buffer instead of extend_alloca.
16537         * elf/pldd-xx.c (find_maps): Likewise.
16538         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16539         <alloca.h>.
16540         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16541         scratch_buffer instead of extend_alloca.
16542         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16543         grp/compat-initgroups.c.
16544         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16545         Rewrite to use struct scratch_buffer instead of extend_alloca.
16546         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16547         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16549 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16551         * math/auto-libm-test-in: Add more tests of cbrt.
16552         * math/auto-libm-test-out: Regenerated.
16553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16555         * math/auto-libm-test-in: Add more tests of cabs.
16556         * math/auto-libm-test-out: Regenerated.
16557         * sysdeps/i386/fpu/libm-test-ulps: Update.
16558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560         [BZ #18210]
16561         [BZ #18211]
16562         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16563         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16564         computations.
16565         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16566         clog10.
16567         * math/auto-libm-test-out: Regenerated.
16568         * sysdeps/i386/fpu/libm-test-ulps: Update.
16569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16571         [BZ #18197]
16572         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16573         (atan): Set FE_TONEAREST mode for internal computations.
16574         * math/auto-libm-test-in: Add more tests of atan.
16575         * math/auto-libm-test-out: Regenerated.
16577 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16579         [BZ #17930]
16580         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16582 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16584         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16586 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16588         * include/scratch_buffer.h: New file.
16589         * malloc/scratch_buffer_grow.c: Likewise.
16590         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16591         * malloc/scratch_buffer_set_array_size.c: Likewise.
16592         * malloc/tst-scratch_buffer.c: Likewise.
16593         * malloc/Makefile (routines): Add scratch_buffer_grow.
16594         (tests): Add test case.
16595         * malloc/Versions (GLIBC_PRIVATE): Export
16596         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16597         __libc_scratch_buffer_set_array_size.
16599 2015-04-06  Richard Henderson  <rth@redhat.com>
16601         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16602         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16604         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16605         unsigned int before printing.
16607 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16609         [BZ #17596]
16610         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16611         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16613 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16615         * include/libc-internal.h (libc_max_align_t): Define.
16617 2015-04-02  Andreas Schwab  <schwab@suse.de>
16619         [BZ #16850]
16620         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16622 2015-04-02  Mel Gorman  <mgorman@suse.de>
16624         [BZ #17195]
16625         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16626         as well as the main arena.
16628 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16630         [BZ #18185]
16631         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16632         sharing L2 cache to 2 for Silvermont/Knights Landing.
16634 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16636         [BZ #17711]
16637         * config.make.in (have-protected-data): New.
16638         * configure.ac: Check linker support for protected data symbol.
16639         * configure: Regenerated.
16640         * elf/Makefile (modules-names): Add tst-protected1moda and
16641         tst-protected1modb if $(have-protected-data) is yes.
16642         (tests): Add tst-protected1a and tst-protected1b if
16643         $(have-protected-data) is yes.
16644         ($(objpfx)tst-protected1a): New.
16645         ($(objpfx)tst-protected1b): Likewise.
16646         (tst-protected1modb.so-no-z-defs): Likewise.
16647         * elf/tst-protected1a.c: New file.
16648         * elf/tst-protected1b.c: Likewise.
16649         * elf/tst-protected1mod.h: Likewise.
16650         * elf/tst-protected1moda.c: Likewise.
16651         * elf/tst-protected1modb.c: Likewise.
16653 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16655         [BZ #17711]
16656         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16657         indicates it is called from do_lookup_x on relocation against
16658         protected data, skip the data definion in the executable from
16659         copy reloc.
16660         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16661         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16662         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16663         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16664         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16665         otherwise to 0.
16666         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16667         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16668         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16669         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16670         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16671         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16673 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16675         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16676         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16678 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16680         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16681         THREAD_SETMEM_NC.
16682         * sysdeps/x86_64/nptl/tls.h: Ditto.
16684 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16686         * dlfcn/tststatic.c (main): Converted to ...
16687         (do_test): ... this.
16688         (TEST_FUNCTION): New macro.
16689         Include test-skeleton.c.
16691 2015-03-26  Alan Modra  <amodra@gmail.com>
16693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16694         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16695         zero for undefined weak.
16696         (elf_machine_plt_conflict): Similarly.
16698 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16700         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16701         atanh.
16702         * math/auto-libm-test-out: Regenerated.
16703         * sysdeps/i386/fpu/libm-test-ulps: Update.
16704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706         * math/auto-libm-test-in: Add another test of asin.
16707         * math/auto-libm-test-out: Regenerated.
16708         * sysdeps/i386/fpu/libm-test-ulps: Update.
16709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16711         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16712         Remove macro.
16713         (LLL_EBX_REG): Likewise.
16714         (LLL_ENTER_KERNEL): Likewise.
16716         * math/auto-libm-test-in: Add more tests of asin.
16717         * math/auto-libm-test-out: Regenerated.
16718         * sysdeps/i386/fpu/libm-test-ulps: Update.
16719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721         [BZ #18138]
16722         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16723         libc_do_syscall_args): New structure.
16724         (INTERNAL_SYSCALL_MAIN_0): New macro.
16725         (INTERNAL_SYSCALL_MAIN_1): Likewise.
16726         (INTERNAL_SYSCALL_MAIN_2): Likewise.
16727         (INTERNAL_SYSCALL_MAIN_3): Likewise.
16728         (INTERNAL_SYSCALL_MAIN_4): Likewise.
16729         (INTERNAL_SYSCALL_MAIN_5): Likewise.
16730         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
16731         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16732         Replace conditional definitions by conditional definitions of ....
16733         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
16734         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16735         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16736         (libpthread-sysdep_routines): Add libc-do-syscall.
16737         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16739         to __NR_futex not 240.
16741 2015-03-25  Alan Modra  <amodra@gmail.com>
16743         * NEWS: Advertise TLS optimization.
16744         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16745         (DT_PPC_NUM): Increment.
16746         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16747         (CHECK_STATIC_TLS): Use here.
16748         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16749         TLS descriptors.
16750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16751         * sysdeps/powerpc/dl-tls.c: New file.
16752         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16753         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16754         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16755         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16760 2015-03-25  Alan Modra  <amodra@gmail.com>
16762         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16763         for overlapping .opd entries" to "support...".
16764         * sysdeps/powerpc/powerpc64/configure: Regenerate
16766 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16768         * math/auto-libm-test-in: Add more tests of acos.
16769         * math/auto-libm-test-out: Regenerated.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update.
16771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773         * math/auto-libm-test-in: Add more tests of expm1.
16774         * math/auto-libm-test-out: Regenerated.
16775         * sysdeps/i386/fpu/libm-test-ulps: Update.
16776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
16780         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16781         * math/auto-libm-test-out: Regenerated.
16782         * sysdeps/i386/fpu/libm-test-ulps: Update.
16783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16785         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16788         * math/auto-libm-test-in: Add more tests of log2.
16789         * math/auto-libm-test-out: Regenerated.
16790         * sysdeps/i386/fpu/libm-test-ulps: Update.
16791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16793 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16795         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16796         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16797         _IO_IS_APPENDING bit in READ_WRITE instead.
16799 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16801         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16802         (__determine_cpumask_size): Replace extend_alloca with a
16803         variable-length array.  Do not treat res == 0 as an error.
16805 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16807         [BZ #18100]
16808         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16809         and integer overflow.
16810         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16811         (main): Add integer overflow tests.
16812         * manual/pattern.texi (Calling Wordexp): Document additional use
16813         for WRDE_SYNTAX.
16815 2015-03-23  Alan Modra  <amodra@gmail.com>
16817         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16818         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16819         and false branch of conditional.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16821         Likewise.
16823 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16825         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16826         libc-modules.h
16827         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16828         unused declaration of _hurd_intr_rpc_msg_in_trap.
16829         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16830         defined instead of whether it is non-zero.
16831         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16832         input constraint instead of both input and output constraint.  Use ecx
16833         clobber instead of %ecx.
16834         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16835         mutex_unlock): Use a statement expression instead of an expression list.
16836         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16837         type to vm_size_t instead of vm_address_t.
16838         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16839         defined instead of whether it is non-zero.
16840         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16841         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16842         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16843         comparisons with mapaddr.
16844         * nscd/nscd-client.h: Include <time.h>.
16845         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16846         9th parameter to __vm_region instead of int.
16847         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16848         * scripts/check-local-headers.sh (exclude): Add device/,
16849         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16850         cthreads.h.
16852 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16854         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16855         to account for alignment padding.
16856         * sysdeps/arm/memmove.S: Likewise.
16858 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16860         * sysdeps/unix/sysv/linux/generic/README: New file.
16862 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16864         [BZ #18138]
16865         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16866         (futex_abstimed_wait)
16867         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16868         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16869         of lll_futex_timed_wait.
16871 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16873         [BZ #17542]
16874         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16876 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16878         [BZ #17090]
16879         [BZ #17620]
16880         [BZ #17621]
16881         [BZ #17628]
16882         * NEWS: Update.
16883         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16884         entries with Static TLS too.  Skip entries past the end of the
16885         allocated DTV, from Alan Modra.
16886         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16887         Static TLS DTV entry set up from...
16888         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16889         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16890         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16891         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16892         for Static TLS.
16893         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16894         that the slot we find is associated with the given map before
16895         using its generation count.
16896         * nptl_db/db_info.c: Include ldsodefs.h.
16897         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16898         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16899         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16900         (link_map::l_tls_offset): New struct field.
16901         (dtv_t::counter): Likewise.
16902         (rtld_global): New struct.
16903         (_rtld_global): New rtld variable.
16904         (dl_tls_dtv_slotinfo_list): New rtld global field.
16905         (dtv_slotinfo_list): New struct.
16906         (dtv_slotinfo): Likewise.
16907         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16908         (td_lookup): Rename to...
16909         (td_mod_lookup): ... this.  Use new mod parameter instead of
16910         LIBPTHREAD_SO.
16911         * nptl_db/td_thr_tlsbase.c: Include link.h.
16912         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16913         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16914         addresses even if the DTV is out of date or missing them.
16915         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16916         index zero-length arrays.
16917         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16918         (td_lookup): Make it a macro implemented in terms of...
16919         (td_mod_lookup): ... this declaration.
16920         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16921         (DB_MAIN_VARIABLE): Likewise.
16923 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16925         [BZ #18134]
16926         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16928 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16930         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16932 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16934         [BZ #18128]
16935         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16936         (atomic_add, atomic_increment_and_test)
16937         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16939 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16941         * stdlib/setenv.c (__add_to_environ):
16942         Dump core quickly if setenv (..., NULL, ...) is called.
16944 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16946         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16947         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16948         all the necessary asm magic in one place.
16949         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16950         using those.
16952 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16954         [BZ #14906]
16955         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16956         traced file mtime. Use consistent log message.
16957         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16958         (register_traced_file): Call install_watches. Always set mtime.
16959         (invalidate_cache): Iterate over all trace files. Call install_watches.
16960         (inotify_check_files): Don't inline. Handle watching parent
16961         directories and configuration file movement in and out.
16962         (handle_inotify_events): New function.
16963         (main_loop_poll): Call handle_inotify_events.
16964         (main_loop_epoll): Likewise.
16965         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16966         (struct traced_file): Use array of inotify fds. Add parent directory,
16967         and basename.
16968         (struct database_dyn): Remove unused file_mtime.
16969         (init_traced_file): New inline function.
16970         (define_traced_file): New macro.
16971         * nss/nss_db/db-init.c: Use define_traced_file.
16972         (_nss_db_init): Use init_traced_file.
16973         * nss/nss_files/files-init.c: Use define_traced_file.
16974         (_nss_files_init): Use init_traced_file.
16976 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16978         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16979         [_LIBC]: Do not include <stdlib.h>.
16980         [!_LIBC] (abort): Remove declaration.
16981         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16982         _FP_STATIC_ASSERT instead of conditionally calling abort.
16983         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16984         (_FP_EXTEND_CNAN): Likewise.
16985         (FP_TRUNC): Likewise.
16986         (__FP_CLZ): Likewise.
16987         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16989 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16991         * manual/string.texi (XPG basename): Fix prototype.
16993 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16995         [BZ #18080]
16996         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16997         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16998         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16999         (__setcontext): Likewise.
17000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17001         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17002         Call rt_sigprocmask syscall one time to set new signal mask
17003         and retrieve the current signal mask instead of two calls.
17004         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17005         (__swapcontext): Likewise.
17006         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17007         * stdlib/tst-setcontext2.c: New file.
17009 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17011         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17013 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17015         [BZ #18093]
17016         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17017         the wrong size.
17019 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17021         [BZ #18043]
17022         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17024 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17026         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17027         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17028         Remove define.
17029         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17030         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17031         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17032         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17033         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17034         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17035         define.
17036         * nptl_db/td_symbol_list.c (td_lookup): Remove
17037         HAVE_ASM_GLOBAL_DOT_NAME code.
17038         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17039         HAVE_ASM_GLOBAL_DOT_NAME check.
17040         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17041         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17042         (DOT_LABEL): Remove define.
17043         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17044         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17045         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17046         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17047         (__TLS_GET_ADDR): Likewise.
17048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17049         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17051 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17053         [BZ #18111]
17054         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17055         (_FPU_SETCW): Initialize cw from fpsr before storing.
17056         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17057         (fesetexceptflag): Rewrite using fpu_control.h.
17058         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17060 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17062         [BZ #18110]
17063         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17064         asms.
17065         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17067 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17069         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17070         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17071         abort.
17072         (_FP_FMA): Likewise.
17073         (_FP_DIV): Likewise.
17075 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17077         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17078         with 0 in that case.
17079         * Makefile (summarize-tests): New canned sequence, factored out of
17080         commands for targets tests and xtests.  Display summary lines that
17081         don't start with PASS: or XFAIL: rather than ones that do start with
17082         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17083         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17084         do start with ERROR: or FAIL:.
17085         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17086         (except for [$(build-shared) = yes]).
17087         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17088         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17089         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17090         * nptl/Makefile: Revert 2015-03-04 changes.
17091         [$(CXX) empty] (tests-unsupported): New variable.
17092         * debug/Makefile: Likewise.
17094         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17095         gnulib file.  Replace __attribute with __attribute__ throughout.
17097 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17099         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17101 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17103         [BZ #18104]
17104         * math/auto-libm-test-in: Add another test of pow.
17105         * math/auto-libm-test-out: Regenerated.
17107 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17109         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17110         $(config-cflags-nofma).
17112 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17114         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17115         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17116         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17117         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17118         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17119         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17120         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17121         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17122         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17123         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17124         Add comment on closing #endif.
17126 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17128         * posix/wordexp.c (CHAR_IN_SET): New macro.
17129         (parse_param): Use it.
17131 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17133         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17135 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17137         [BZ #18043]
17138         * posix/wordexp.c (parse_param): Fix buffer overflow.
17139         * posix/wordexp-test.c (test_case): Add test case.
17141 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17143         [BZ #18042]
17144         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17145         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17147 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17149         [BZ #18043]
17150         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17151         (do_bz18043): Delete.
17152         (at_page_end): New.
17153         (testit): Refactor to have words at the edge of unreadable page.
17155 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17157         [BZ #16734]
17158         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17159         Cleanup read-only streams as well.
17160         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17162 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17164         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17165         <bits/libc-lockP.h>
17167 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17169         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17170         on [__KERNEL__].
17171         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17172         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17173         * soft-fp/op-common.h (_FP_DECL): Likewise.
17175 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17177         * elf/ifuncdep2.c (global): Replace
17178         __attribute__((visibility("protected"))) with
17179         asm (".protected global").
17180         * elf/ifuncmod1.c (global): Likewise.
17181         * elf/ifuncmod5.c (global): Likewise.
17183 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17185         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17186         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17188 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17190         * manual/install.texi (Configuring and compiling):
17191         Document test-wrapper-env-only.
17192         * INSTALL: Regenerated.
17194 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17196         [BZ #18043]
17197         * posix/wordexp.c (parse_param): Fix buffer overflow.
17198         * posix/wordexp-test.c (do_bz18043): Add test case.
17200 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17202         * time/tst-strptime2.c (do_test): Ensure failing tests are
17203         reported correctly.
17204         * time/tst-strptime3.c (do_test): Likewise.
17206 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17208         Fix aio_error thread-safety.
17209         * sysdeps/pthread/aio_error.c: New file
17210         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17211         synchronization.
17213 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17215         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17216         (group_number, vfprintf): Use it.
17217         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17218         (JUMP, REF): Use it.
17219         (WORK_BUFFER_SIZE): New enum constant.
17220         (process_arg, vfprintf): Use it.
17222 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17224         * manual/errno.texi (Error Messages): Complete example function
17225         by adding missing #define.
17226         (program_invocation_name): Add statement indicating GNU
17227         extension and reference which header file declares the variable.
17228         (program_invocation_short_name): Likewise.
17230 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17232         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17233         compatibility note.
17235 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17237         * Makeconfig (test-wrapper-env-only): New variable.
17238         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17239         then use that with $(test-wrapper-env-only) rather than using
17240         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17242 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17244         [BZ #18082]
17245         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17246         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17247         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17248         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17249         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17250         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17251         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17252         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17253         Likewise.
17254         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17255         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17256         Likewise.
17257         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17258         Likewise.
17259         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17260         Likewise.
17261         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17262         Likewise.
17263         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17265         Likewise.
17266         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17267         Likewise.
17268         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17269         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17271 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17274         (ETH_ALEN): New macro.
17275         (struct ether_addr): Use it for length of ether_addr_octet.
17277         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17278         (setdb): Don't call __nss_configure_lookup for "rpc".
17279         (do_test): Don't call test_rpc.
17280         (output_rpcent, test_rpc): Functions moved ...
17281         * sunrpc/test-rpcent.c: ... to this new file.
17282         * sunrpc/Makefile (tests): Add it.
17284         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17285         __xpg_sigpause.
17286         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17287         * nptl/tst-signal6.c: Likewise.
17288         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17289         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17291         * configure.ac (libc_cv_cxx_link_ok): New check.
17292         Reset CXX to empty if it fails to link.
17293         * configure: Regenerated.
17294         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17295         bug-atexit3-lib only if $(CXX) is nonempty.
17296         * nptl/Makefile (tests): Likewise for tst-cancel24.
17297         (tests, tests-static): Likewise for tst-cancel24-static.
17298         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17299         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17300         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17301         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17303 2015-03-04  Andreas Schwab  <schwab@suse.de>
17305         [BZ #17631]
17306         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17307         for non-GCC compilers.
17308         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17309         Likewise.
17311 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17313         [BZ #17776]
17314         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17315         integer before bitwise and assembly operations.
17316         (feclearexcept): Likewise.
17317         * math/test-fenvinline.c: New file.
17318         * math/Makefile: Add test-fenvinline test.
17320 2015-03-03  Alan Modra  <amodra@gmail.com>
17322         [BZ #16512]
17323         * scripts/localplt.awk: Strip off symbol version.
17324         * NEWS: Mention bug fix.
17326 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17328         * sysdeps/pthread/timer_routines.c
17329         (timer_free_list, thread_free_list, thread_active_list): Make static.
17331 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17333         [BZ #17779]
17334         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17335         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17336         Undefine.
17337         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17338         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17339         Likewise.
17340         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17341         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17342         Likewise.
17344 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17346         [BZ #18036]
17347         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17348         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17350 2015-03-02  Andreas Schwab  <schwab@suse.de>
17352         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17353         variable name.
17355 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17357         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17358         Return error status.
17360 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17362         [BZ #15969]
17363         * locale/findlocale.c (_nl_find_locale): Introduce const
17364         version of loc_name and drop unsafe type casts.
17366 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17368         * dlfcn/tststatic2.c (main): Converted to ...
17369         (do_test): ... this.
17370         (TEST_FUNCTION): New macro.
17371         Include test-skeleton.c.
17373 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17375         [BZ #17711]
17376         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17377         (tests-pie): Add vismain.
17378         (CFLAGS-vismain.c): New.
17379         * elf/vismain.c: Add comments for PIE requirement.
17381 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17383         [BZ #18046]
17384         [BZ #18047]
17385         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17386         0x1p-56L as threshold for just returning the argument.
17387         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17388         0x1p-32L as threshold for just returning the argument.
17389         * math/auto-libm-test-in: Add more tests of atanh.
17390         * math/auto-libm-test-out: Regenerated.
17391         * sysdeps/i386/fpu/libm-test-ulps: Update.
17392         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17394 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17396         * string/bcopy.c (bcopy): Call memmove for performance.
17398 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17400         * string/bzero.c (__bzero): Call memset for performance.
17402 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17404         [BZ #18068]
17405         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17406         to 00100000.
17408 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17410         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17412 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17414         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17415         (__kernel_standard): Use CSTR macro when setting exc.name.
17416         * sysdeps/ieee754/Makefile [$(subdir) = math]
17417         (CFLAGS-k_standard.c): Remove variable.
17419         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17420         setting p and q from "else if" to "else".
17421         (qzero): Likewise.
17422         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17423         (qone): Likewise.
17424         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17425         (qzerof): Likewise.
17426         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17427         (qonef): Likewise.
17428         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17429         (qzero): Likewise.
17430         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17431         (qone): Likewise.
17433         [BZ #18038]
17434         [BZ #18039]
17435         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17436         return pi/2 for arguments below 0x1p-113L.
17437         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17438         return pi/2 for arguments below 0x1p-106L.
17439         * math/auto-libm-test-in: Add more tests of acos.
17440         * math/auto-libm-test-out: Regenerated.
17442         [BZ #16351]
17443         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17444         (MO): New macro.
17445         (__ieee754_asin): Force underflow exception for results with small
17446         absolute value.
17447         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17448         (MO): New macro.
17449         (__ieee754_asinf): Force underflow exception for results with
17450         small absolute value.
17451         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17452         (__ieee754_asin): Force underflow exception for results with small
17453         absolute value.
17454         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17455         (__ieee754_asinf): Force underflow exception for results with
17456         small absolute value.
17457         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17458         (__ieee754_asinl): Force underflow exception for results with
17459         small absolute value.
17460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17461         (__ieee754_asinl): Force underflow exception for results with
17462         small absolute value.
17463         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17464         (__ieee754_asinl): Force underflow exception for results with
17465         small absolute value.
17466         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17467         Include <math.h>.
17468         * math/auto-libm-test-in: Do not mark underflow exceptions as
17469         possibly missing for bug 16351.
17470         * math/auto-libm-test-out: Regenerated.
17472         [BZ #18030]
17473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17474         of power of 2 down when low part has opposite sign.
17475         * math/libm-test.inc (logb_test_data): Add more tests.
17477 2015-02-26  Andreas Schwab  <schwab@suse.de>
17479         [BZ #18032]
17480         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17481         over collating symbol inside a bracket expression.  Minor cleanup.
17482         * posix/tst-fnmatch3.c (do_test): Add test case.
17484 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17486         [BZ #18029]
17487         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17488         Adjust exponent of power of 2 down when low part has opposite
17489         sign.
17490         * math/libm-test.inc (ilogb_test_data): Add more tests.
17492 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17494         [BZ #15969]
17495         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17496         the previous change.
17498         [BZ #15969]
17499         * locale/findlocale.c (_nl_find_locale): Retry archive search
17500         after alias expansion.
17502 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17504         * iconv/tst-iconv3.c (main): Converted to ...
17505         (do_test): ... this.
17506         (TEST_FUNCTION): New macro.
17507         Include test-skeleton.c.
17509         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17510         (convert): Make function static.
17511         (test_unalign): Likewise.  Add const to argument pointee types.
17512         (main): Replace with static function do_test.
17513         Print "Succeeded." only if RET is zero.
17514         (TEST_FUNCTION): New macro.
17515         Include test-skeleton.c.
17517         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17518         returns a null pointer.
17520 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17522         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17523         to __memcpy_ppc only for static builds.
17525 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17527         [BZ #18020]
17528         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17529         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17530         * math/auto-libm-test-in: Add more tests of asinh.
17531         * math/auto-libm-test-out: Regenerated.
17532         * sysdeps/i386/fpu/libm-test-ulps: Update.
17533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17535 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17537         [BZ #15850]
17538         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17539         and ip6_mtuinfo definitions here.
17540         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17541         in this define too.  Update comment.
17543 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17545         * elf/sprof.c (load_shobj): Tweak error message to match others.
17547 2015-02-24  Kevin Easton  <kevin@guarana.org>
17549         [BZ #16145] (partial fix)
17550         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17551         to reduce lock contention.
17553 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17555         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17556         (struct timex): Update time comment.
17557         (ADJ_SETOFFSET): Define.
17559 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17561         [BZ #18019]
17562         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17563         2**56 not 2**28 as threshold for log (2x) formula.
17564         * math/auto-libm-test-in: Add more tests of acosh.
17565         * math/auto-libm-test-out: Regenerated.
17566         * sysdeps/i386/fpu/libm-test-ulps: Update.
17567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17569 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17571         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17572         parenthesis around the buf assignment.
17573         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17575 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17577         [BZ #16783]
17578         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17579         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17580         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17581         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17582         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17583         * math/libm-test.inc (scalb_test_data): Add more tests.
17585 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17587         [BZ #17916]
17588         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17589         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17591 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17593         [BZ #17523]
17594         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17595         * io/bits/fcntl2.h (open): Use it.
17596         (openat): Likewise.
17597         * io/open.c (__libc_open): Likewise.
17598         * io/open64.c (__libc_open64): Likewise.
17599         * io/open64_2.c (__open64_2): Likewise.
17600         * io/open_2.c (__open_2): Likewise.
17601         * io/openat.c (__openat): Likewise.
17602         * io/openat64.c (__openat64): Likewise.
17603         * io/openat64_2.c (__openat64_2): Likewise.
17604         * io/openat_2.c (__openat_2): Likewise.
17605         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17606         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17607         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17608         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17609         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17610         (__open_nocancel): Likewise.
17611         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17612         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17613         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17615 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17617         [BZ #14841]
17618         * resolv/gethnamaddr.c (getanswer): Skip logging if
17619         RES_USE_DNSSEC is set.
17620         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17622 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17624         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17626 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17628         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17629         201304L, for Unicode 7.
17631 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17633         [BZ #17836]
17634         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17635         shared library.  Add gmon-start.os otherwise.
17636         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17637         $(objpfx)gmon-start.os if builing shared library.
17638         ($(objpfx)g$(static-start-installed-name)): Likewise.
17640 2015-02-23  Andreas Schwab  <schwab@suse.de>
17642         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17644 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17646         [BZ #17269]
17647         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17648         (enlarge_userbuf): Likewise.
17650 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17652         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17653         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17654         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17655         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17657 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17659         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17660         expression inside statement expression.
17662 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17664         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17665         <sysdeps/nptl/lowlevellock.h> and remove macros and
17666         functions that are now defined there.
17667         (SYS_futex): Remove.
17668         (lll_compare_and_swap): Remove.
17669         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17671 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17673         [BZ #17999]
17674         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17675         instead of scandirat.
17676         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17677         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17678         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17679         __scandirat.
17680         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17681         (__scandirat): Declare.  Use libc_hidden_proto.
17682         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17683         Remove variable.
17684         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17686 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17688         [BZ #15319]
17689         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17690         (MO): New macro.
17691         (__ieee754_atan2): For results with small absolute value, force
17692         underflow exception and remove excess range and precision from
17693         return value.
17694         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17695         (MO): New macro.
17696         (__ieee754_atan2f): For results with small absolute value, force
17697         underflow exception and remove excess range and precision from
17698         return value.
17699         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17700         (MO): New macro.
17701         (__atan): For results with small absolute value, force underflow
17702         exception and remove excess range and precision from return value.
17703         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17704         (MO): New macro.
17705         (__atanf): For results with small absolute value, force underflow
17706         exception and remove excess range and precision from return value.
17707         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17708         <math.h>.
17709         (__ieee754_atan2): Force underflow exception for results with
17710         small absolute value.
17711         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17712         <math_private.h>.
17713         (atan): Force underflow exception for results with small absolute
17714         value.
17715         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17716         (__atanf): Force underflow exception for results with small
17717         absolute value.
17718         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17719         <math.h>.
17720         (__atanl): Force underflow exception for results with small
17721         absolute value.
17722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17723         (__atanl): Force underflow exception for results with small
17724         absolute value.
17725         * sysdeps/x86/fpu/bits/mathinline.h
17726         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17727         (__ieee754_atan2): Only define inline for long double.
17728         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17729         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17730         * math/auto-libm-test-in: Do not mark underflow exceptions as
17731         possibly missing for bug 15319.  Add more tests of atan2.
17732         * math/auto-libm-test-out: Regenerated.
17733         * math/libm-test.inc (casin_test_data): Do not mark underflow
17734         exceptions as possibly missing for bug 15319.
17735         (casinh_test_data): Likewise.
17736         * sysdeps/i386/fpu/libm-test-ulps: Update.
17738 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
17740         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17741         * sysdeps/mips/bits/endian.h: Fix comments.
17743 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17745         [BZ #17996]
17746         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17747         (hdestroy_r): Likewise.
17748         (hsearch_r): Likewise.
17749         (__hcreate_r): Declare and use libc_hidden_proto.
17750         (__hdestroy_r): Likewise.
17751         (__hsearch_r): Likewise.
17752         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17753         (hcreate): Call __hcreate_r instead of hcreate_r.
17754         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17755         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17756         as weak alias of __hcreate_r.
17757         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17758         __hdestroy_r.
17759         (hsearch_r): Rename to __hsearch_r and define as weak alias of
17760         __hsearch_r.
17761         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17762         Remove variable.
17763         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17764         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17765         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17766         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17768 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17770         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17771         arena_lock into a single arena_get.
17773 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
17775         * dl-reloc.c: Inlucde libc-internal.h.
17776         (_dl_try_allocate_static_tls): Call ALIGN_UP.
17777         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17778         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17779         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17780         (grow_heap): Likewise.
17781         * malloc/malloc.c: Include libc-internal.h.
17782         (do_check_malloc): Call powerof2.
17783         (sysmalloc): Use pagesize. Call ALIGN_UP.
17784         (systrim): Use pagesize.
17785         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17786         (__libc_valloc): Use pagesize.
17787         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17789 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17791         [BZ #17991]
17792         * include/sys/resource.h (__getrlimit64): Declare.  Use
17793         libc_hidden_proto.
17794         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17795         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17796         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17797         getrlimit64.
17798         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17799         __getrlimit64.
17800         [!getrlimit64] (getrlimit64): Define as weak alias of
17801         __getrlimit64.  Use libc_hidden_weak.
17802         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17803         using __getrlimit64 not __new_getrlimit64.
17804         (__GI_getrlimit64): Likewise.
17805         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17806         Likewise.
17807         (__GI_getrlimit64): Likewise.
17808         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17810         (getrlimit): Add __getrlimit64 alias.
17811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17812         Likewise.
17813         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17814         Remove variable.
17815         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17816         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17818 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17820         * libio/fileops.c: Add missing sys/mman.h
17821         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17823 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17825         * manual/math.texi (Errors in Math Functions): Clarify goals
17826         regarding inexact and underflow exceptions.
17828 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17830         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17831         * sysdeps/mips/memset.S: Ditto.
17833 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17835         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17837 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17839         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17840         (__v1longjmp): Remove versioned symbol.
17841         (__v1siglongjmp): Remove alias and versioned symbol.
17842         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17843         (__v2siglongjmp): Likewise.
17845 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17847         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17849 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17851         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17853 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17855         [BZ #17987]
17856         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17857         zero result does not depend on the sign resulting from
17858         subtraction.
17859         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17860         Likewise.
17861         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17862         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17863         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17864         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17865         * math/libm-test.inc (remquo_test_data): Add more tests.
17867 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17869         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17870         Problem reported by J William Piggott.
17872 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17874         [BZ #17978]
17875         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17876         products 4 * y and 2 * y where those would overflow.
17877         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17878         Likewise.
17879         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17880         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17882         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17883         * math/libm-test.inc (remquo_test_data): Add more tests.
17885         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17887         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17888         [defined _COMPILING_NEWLIB].
17889         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17890         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17892         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17893         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17895 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17897         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17898         acquired.
17900 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17902         [BZ #17792]
17903         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17904         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17905         HOST_STACK_END_ADDR): Likewise.
17907 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17909         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17910         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17911         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17913 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17915         * sysdeps/generic/c++-types.data: New file.
17916         * sysdeps/generic/ld.abilist: New file.
17917         * sysdeps/generic/libBrokenLocale.abilist: New file.
17918         * sysdeps/generic/libanl.abilist: New file.
17919         * sysdeps/generic/libc.abilist: New file.
17920         * sysdeps/generic/libcrypt.abilist: New file.
17921         * sysdeps/generic/libdl.abilist: New file.
17922         * sysdeps/generic/libm.abilist: New file.
17923         * sysdeps/generic/libpthread.abilist: New file.
17924         * sysdeps/generic/libresolv.abilist: New file.
17925         * sysdeps/generic/librt.abilist: New file.
17927 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17929         [BZ #17569]
17930         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17931         Compute absolute value of x as modified by fmod, not original
17932         value of x.
17933         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17934         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17935         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17936         RUN_TEST_ffI_f1_mod8.
17937         (remquo_test_data): Add more tests.
17939 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17941         * sysdeps/init_array/pt-crti.S: New file.
17943 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17945         [BZ #17967]
17946         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17947         __builtin_fmaf instead of relying on contraction of a * b + c.
17949 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17951         [BZ #17969]
17952         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17953         node.
17955 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17957         [BZ #17964]
17958         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17959         __builtin_fma instead of relying on contraction of a * b + c.
17961 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17963         * Makeconfig (ASFLAGS): Add -Werror=undef.
17964         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17965         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17966         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17968         * Makeconfig (after-link): New variable.
17969         (+link-pie, +link-pie-tests): Use it.
17970         (+link-static, +link-static-tests): Likewise.
17971         (+link, +link-tests): Likewise.
17972         * Makerules (build-module, build-module-asneeded): Likewise.
17973         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17974         Likewise.
17975         * elf/Makefile ($(objpfx)ld.so): Likewise.
17977 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17979         [BZ #17965]
17980         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17981         both struct timeval and struct timespec.
17983 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17985         [BZ #16560]
17986         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17987         and redefine.
17988         (__ieee754_exp2l): Do not multiply small fractional parts by
17989         M_LN2l.
17990         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17991         small argument.
17992         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17993         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17994         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17995         * math/auto-libm-test-in: Add more tests of exp2.
17996         * math/auto-libm-test-out: Regenerated.
17998 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18000         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18001         unaligned path.
18003 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18005         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18006         little endian.
18008 2015-02-12  Andreas Schwab  <schwab@suse.de>
18010         [BZ #15790]
18011         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18012         Filter out elision flags from value returned in kind.
18013         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18014         * nptl/tst-pthread-mutexattr.c: New file.
18016 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18018         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18019         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18020         into gnu-gnu, and update comment to refer to abi-tags.
18022 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18024         [BZ #15467]
18025         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18026         (__sincos): Set errno to EDOM for infinite argument.
18027         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18028         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18029         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18030         (__sincosl): Set errno to EDOM for infinite argument.
18031         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18032         (__sincosl): Set errno to EDOM for infinite argument.
18033         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18034         (__sincosl): Set errno to EDOM for infinite argument.
18035         * math/libm-test.inc (sincos_test_data): Test errno setting.
18037 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18039         * string/strxfrm_l.c: Remove #define STRCMP.
18040         * string/strcoll_l.c: Remove #define STRLEN.
18041         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18042         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18044 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18046         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18047         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18048         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18049         * sysdeps/mips/mips64/Makefile: ... here.
18050         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18051         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18052         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18053         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18054         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18055         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18056         * sysdeps/mips/mips64/n64/Implies: Likewise.
18058 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18060         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18061         <sys/time.h>, <string.h>, and <errno.h>.
18062         (dest_offset, dest_address, value, zero): Remove unused variables.
18063         (ldouble): Remove typedef.
18064         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18065         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18066         1).  Fix code style.
18067         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18068         (check): Function removed.
18069         (CHECK): New macro.
18070         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18071         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18072         Don't call set_sigaction_FP and remove_sigaction_FP here.
18073         (ldouble_test): Just use 'long double' as macro argument, no need for
18074         the 'ldouble' typedef.
18075         (do_test): Set up SIGFPE handler at start, using plain signal rather
18076         than sigaction.  Fix code style.
18078 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18080         [BZ #17949]
18081         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18082         jump label.
18084 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18086         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18087         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18089         * sysdeps/powerpc/configure.ac: Remove file.
18090         * sysdeps/powerpc/configure: Likewise.
18092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18093         [sysdep_routines]: Remove wordcopy-power6 object.
18094         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18095         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18096         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18097         (__memmove_ppc32): Likewise.
18098         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18099         file.
18100         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18101         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18102         Remove preprocessor.
18104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18105         [sysdep_routines]: Remove wide chars objects.
18106         [wcsmbs]: New rule for wide char objects.
18108         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18109         Remove wordcopy-power6 obejct.
18110         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18111         Use local call for wordcopy and memcpy symbols.
18112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18113         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18114         implementation for loader.
18115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18117         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18118         Remove wordcopy-power7 object.
18119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18120         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18121         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18122         (_wordcopy_fwd_dest_aligned): Likewise.
18123         (_wordcopy_bwd_aligned): Likewise.
18124         (_wordcopy_bwd_dest_aligned): Likewise.
18126         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18127         Rewrite to call __memmove_ppc instead of include default
18128         implementation.
18130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18131         Remove wide chars objects.
18132         [wcsmbs]: New rule for wide char objects.
18134 2015-02-09  Andreas Schwab  <schwab@suse.de>
18136         [BZ #17912]
18137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18138         in terms of __O_DIRECTORY.
18140 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18142         * time/getdate.c: Include <stdbool.h>.
18143         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18144         call PTR_MANGLE.
18145         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18146         PTR_DEMANGLE.
18148 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18150         Add ersatz _Static_assert on older C hosts
18151         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18152         pre-C11 C platform that is not known to support _Static_assert.
18154 2015-02-07  Richard Braun  <rbraun@sceen.net>
18156         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18157         sigstate.
18158         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18160 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18162         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18163         priority against unexistent AIO_PRIO_DELTA_MAX.
18164         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18165         instead of int.
18166         * misc/fchflags.c (fchflags): Likewise.
18167         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18168         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18169         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18170         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18171         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18172         Declare macros.
18173         [__USE_MISC] (chflags, fchflags): Declare functions.
18174         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18175         EINVAL when nfds is greater than FD_SETSIZE.
18176         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18177         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18178         45.
18179         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18180         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18181         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18182         MACH_RCV_TIMED_OUT.
18183         * hurd/hurd/signal.h (_hurd_self_sigstate,
18184         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18185         Explicit casts from void *.
18186         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18187         * abi-tags: Rename gnu-gnu os into gnu.
18189         [BZ #4719]
18190         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18191         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18192         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18193         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18194         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18195         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18197         [BZ #17944]
18198         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18199         duplicates ADDR->sun_path with sockaddr LEN limitation.
18200         * sysdeps/mach/hurd/connect.c: Include <string.h>
18201         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18202         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18203         * sysdeps/mach/hurd/sendto.c: Likewise.
18204         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18205         implementing it by hand.
18207 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18209         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18210         Use sfi_breg on ldr.
18211         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18212         Likewise.
18214         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18215         it's defined.
18216         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18217         Test SIGSETXID only if it's defined.
18219         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18221         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18222         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18224         * nptl/tst-align2.c: Moved ...
18225         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18226         * nptl/Makefile (tests): Remove tst-align2.
18227         * sysdeps/unix/sysv/linux/Makefile
18228         [$(subdir) = nptl] (tests): Add tst-align-clone.
18229         * nptl/tst-getpid1.c: Moved ...
18230         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18231         * nptl/tst-getpid2.c: Moved ...
18232         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18233         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18234         * sysdeps/unix/sysv/linux/Makefile
18235         [$(subdir) = nptl] (tests): ... here.
18236         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18237         * sysdeps/unix/sysv/linux/Makefile
18238         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18240         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18241         Drop trailing \n from perror argument.  Use return rather than exit.
18243         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18244         on [SA_SIGINFO].
18245         * nptl/tst-cancel21.c (do_test): Likewise.
18246         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18247         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18248         [!SA_SIGINFO]: Make it a stub test.
18250         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18251         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18253         * posix/tst-getlogin.c: Move to ...
18254         * login/tst-getlogin.c: ... here.
18255         * posix/Makefile (tests): Move tst-getlogin to ...
18256         * login/Makefile (tests): ... here.
18258         * libio/tst-atime.c (do_test): Move local variables SV and E
18259         inside [ST_NOATIME] conditional.
18261         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18263         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18265         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18266         (wait_code): New function replaces macro.
18267         Call nanosleep rather than syscall.
18269         * nptl/pt-system.c: Rewritten.  Put everything under
18270         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18271         Use IFUNC to redirect when possible.
18273         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18274         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18275         Use IFUNC to redirect when possible.
18277         * nptl/pt-fork.c: Rewritten.  Put everything under
18278         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18279         Use IFUNC to redirect when possible.
18280         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18283         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18284         unconditionally nowadays.  This included the only reference to
18285         __vdso_clock_gettime that appears outside libc proper.
18286         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18287         Remove version set (containing only __vdso_clock_gettime).
18288         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18289         Add attribute_hidden.
18290         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18291         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18292         libc_hidden_data_def.
18293         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18294         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18296         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18297         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18298         setrpcent, and getrpcport to ...
18299         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18300         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18301         getrpcbynumber_r, and getrpcent_r to ...
18302         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18303         * inet/getrpcbyname.c: Moved ...
18304         * sunrpc/getrpcbyname.c: ... here.
18305         * inet/getrpcbyname_r.c: Moved ...
18306         * sunrpc/getrpcbyname_r.c: ... here.
18307         * inet/getrpcbynumber.c: Moved ...
18308         * sunrpc/getrpcbynumber.c: ... here.
18309         * inet/getrpcbynumber_r.c: Moved ...
18310         * sunrpc/getrpcbynumber_r.c: ... here.
18311         * inet/getrpcent.c: Moved ...
18312         * sunrpc/getrpcent.c: ... here.
18313         * inet/getrpcent_r.c: Moved ...
18314         * sunrpc/getrpcent_r.c: ... here.
18315         * inet/Makefile (routines): Move those to ...
18316         * sunrpc/Makefile (routines): ... here.
18317         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18318         the $(subdirs) list.
18319         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18320         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18321         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18322         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18324         * elf/Makefile (routines): Include $(all-dl-routines), not just
18325         $(dl-routines).
18326         (rtld-routines): Likewise.  Use = rather than :=.
18327         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18328         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18329         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18330         * sysdeps/arm/Makefile: Likewise.
18331         * sysdeps/i386/Makefile: Likewise.
18332         * sysdeps/x86_64/Makefile: Likewise.
18333         * sysdeps/hppa/Makefile [$(subdir) = elf]
18334         (sysdep_routines, sysdep-rtld-routines): Don't add
18335         $(sysdep-dl-routines) to these.
18336         * sysdeps/ia64/Makefile: Likewise.
18337         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18338         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18339         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18340         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18341         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18342         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18343         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18344         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18345         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18346         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18347         these; sysdep-dl-routines alone is enough.
18349 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #17932]
18352         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18353         where multiplication results in zero and third argument is finite
18354         and nonzero.
18355         * math/auto-libm-test-in: Add more tests of fma.
18356         * math/auto-libm-test-out: Regenerated.
18358         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18359         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18360         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18361         (_FP_CMP_EQ): Likewise.
18362         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18364         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18365         extra argument CHECK_NAN.  Redefine as wrapper around
18366         _FP_EXTEND_CNAN.
18368 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18370         * version.h (RELEASE): Set to "stable".
18371         (VERSION): Set to "2.21"
18372         * include/features.h (__GLIBC_MINOR__): Set to 21.
18374         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18376 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18377             Paul Eggert  <eggert@cs.ucla.edu>
18379         [BZ #16618]
18380         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18381         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18382         size in bytes. Store needed elements in wpmax. Use needed size
18383         in bytes for extend_alloca.
18385 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18387         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18388         binutls 2.25, and texinfo 5.2.
18389         * INSTALL: Regenerate.
18390         * sysdeps/nios2/configure: Regenerate.
18391         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18392         * manual/contrib.texi: Update.
18393         * po/be.po: Update.
18394         * po/bg.po: Update.
18395         * po/ca.po: Update.
18396         * po/cs.po: Update.
18397         * po/da.po: Update.
18398         * po/de.po: Update.
18399         * po/el.po: Update.
18400         * po/eo.po: Update.
18401         * po/es.po: Update.
18402         * po/fi.po: Update.
18403         * po/fr.po: Update.
18404         * po/gl.po: Update.
18405         * po/hr.po: Update.
18406         * po/hu.po: Update.
18407         * po/ia.po: Update.
18408         * po/id.po: Update.
18409         * po/it.po: Update.
18410         * po/ja.po: Update.
18411         * po/ko.po: Update.
18412         * po/lt.po: Update.
18413         * po/nb.po: Update.
18414         * po/nl.po: Update.
18415         * po/pl.po: Update.
18416         * po/pt_BR.po: Update.
18417         * po/ru.po: Update.
18418         * po/rw.po: Update.
18419         * po/sk.po: Update.
18420         * po/sl.po: Update.
18421         * po/sv.po: Update.
18422         * po/tr.po: Update.
18423         * po/uk.po: Update.
18424         * po/vi.po: Update.
18425         * po/zh_CN.po: Update.
18426         * po/zh_TW.po: Update.
18428         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18429         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18430         * sysdeps/hppa/dl-irel.h: Remove #warning.
18431         * sysdeps/hppa/entry.h: Provide prototype for
18432         __canonicalize_funcptr_for_compare and cast argument.
18433         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18434         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18435         * sysdeps/hppa/sotruss-lib.c: New file.
18436         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18437         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18438         (atomic_compare_and_exchange_bool_acq): Likewise.
18439         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18440         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18442         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18443         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18444         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18446 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18448         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18449         called function in non-PIC case.
18451 2015-01-31  David S. Miller  <davem@davemloft.net>
18453         * sysdeps/sparc/sparc32/bits/atomic.h
18454         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18455         unlock not after it.
18456         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18457         volatile register usage warnings from the compiler.
18459         * sysdeps/sparc/nptl/sem_init.c: Delete.
18460         * sysdeps/sparc/nptl/sem_post.c: Delete.
18461         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18462         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18463         * sysdeps/sparc/sparc32/sem_init.c: New file.
18464         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18465         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18466         padding explicitly initialized.
18467         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18468         padding for in-semaphore spinlock.
18469         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18470         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18471         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18472         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18473         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18474         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18475         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18476         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18477         version.
18478         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18479         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18481 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18483         [BZ #17801]
18484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18485         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18486         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18487         New.
18488         (index_AVX_Fast_Unaligned_Load): Likewise.
18489         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18490         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18491         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18492         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18493         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18494         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18495         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18496         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18497         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18499 2015-01-29  Andreas Schwab  <schwab@suse.de>
18501         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18503 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18505         [BZ #17892]
18506         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18508 2015-01-28  Martin Sebor  <msebor@redhat.com>
18510         * math/README.libm-test: Clarify. Add "How to read the test output."
18512 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18514         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18515         Define to 0.
18517 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18519         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18520         (__HAVE_64B_ATOMICS): Define to 0.
18522 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18524         [BZ #17885]
18525         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18526         value to set as new flag.
18528         [BZ #16576]
18529         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18530         and use _ARCH_PPCSQ instead.
18531         (__ieee754_sqrt): Likewise.
18532         (__ieee754_sqrtf): Likewise.
18533         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18534         _ARCH_PPCSQ is defined.
18535         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18536         fsqrt instruction.
18537         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18538         _ARCH_PPCSQ is defined.
18539         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18540         fsqrts instruction.
18541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18543 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18545         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18546         bug (GCC BZ #64739).
18548 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18550         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18551         Mark _retval as used.
18552         (lll_futex_wake_unlock): Likewise.
18553         (lll_futex_timed_wait_requeue_pi): Likewise.
18555         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18556         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18557         register variables.
18559         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18560         libm_hidden_def.
18562         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18563         (__bswap_64): Mark as __always_inline.
18565 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18567         [BZ #15378]
18568         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18569         when none of the search directories exist.
18571 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18573         [BZ #17869]
18574         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18575         power8 in .machine directive.
18577         [BZ #17868]
18578         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18579         set dependency from opd value.
18581 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18584         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18585         architecture.
18587 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18589         [BZ #17870]
18590         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18591         with uint64_t.
18592         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18593         (uint64_t) 1.
18594         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18595         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18596         Replace 1UL with (uint64_t) 1.
18597         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18598         int with uint64_t.
18600 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18602         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18603         (if_freenameindex): Likewise.
18605         * resource/getrlimit64.c: Add missing libc_hidden_def.
18607 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18609         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18610         __label__.
18611         (_FP_FMA): Likewise.
18612         (_FP_TO_INT_ROUND): Likewise.
18613         (_FP_FROM_INT): Likewise.
18615 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18617         [BZ #16418]
18618         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18619         Make code racy and cancel safe.
18621 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18623         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18624         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18625         attribution.
18627         * pwd/tst-getpw.c: Rewrite.
18629         [BZ #17702]
18630         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18631         (modules-names): Add moddummy1 and moddummy2.
18632         ($(objpfx)tst-rec-dlopen): Define.
18633         * dlfcn/moddummy1.c: New file.
18634         * dlfcn/moddummy2.c: New file.
18635         * dlfcn/tst-rec-dlopen.c: New file.
18636         * elf/dl-cache.c (_dl_load_cache_lookup):
18637         Return char*. Copy result with alloca/strcpy/strdup.
18638         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18639         returns char*. Free cached. If not saving realname
18640         free cached.
18641         * elf/dl-open.c (dl_open_worker): Do not assert that
18642         _r_debug->r_state is RT_CONSISTENT.
18643         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18644         returns char*.
18646 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18647             Carlos O'Donell  <carlos@redhat.com>
18649         [BZ #12674]
18650         * nptl/sem_waitcommon.c: New file.
18651         * nptl/sem_wait.c: Include sem_waitcommon.c.
18652         (__sem_wait_cleanup, do_futex_wait): Remove.
18653         (__new_sem_wait): Adapt.
18654         (__new_sem_trywait): New function.
18655         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18656         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18657         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18658         (sem_timedwait): Adapt.
18659         * nptl/sem_post.c (__new_sem_post): Adapt.
18660         (futex_wake): New function.
18661         (__old_sem_post): Add release MO fence.
18662         * nptl/sem_open.c (sem_open): Adapt.
18663         * nptl/sem_init.c (__new_sem_init): Adapt.
18664         (futex_private_if_supported): New function.
18665         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18666         (__old_sem_getvalue): Add using previous code.
18667         * sysdeps/nptl/internaltypes.h: Adapt.
18668         * nptl/tst-sem13.c (do_test): Adapt.
18669         * nptl/tst-sem11.c (main): Adapt.
18670         * nptl/sem_trywait.c: Remove.
18671         * nptl/DESIGN-sem.txt: Remove.
18672         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18673         (gen-as-const-headers): Remove structsem.sym.
18674         * nptl/structsem.sym: Remove.
18675         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18676         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18677         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18678         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18679         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18680         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18681         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18682         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18683         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18684         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18685         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18686         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18687         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18688         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18689         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18690         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18691         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18692         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18693         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18694         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18695         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18696         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18698 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18700         * INSTALL: Regenerated.
18702         * po/libc.pot: Regenerated.
18704 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18705             Sandra Loosemore  <sandra@codesourcery.com>
18706             Andrew Jenner  <andrew@codesourcery.com>
18707             Joseph Myers  <joseph@codesourcery.com>
18708             Nathan Sidwell  <nathan@codesourcery.com>
18710         * NEWS: Mention new Nios II port.
18711         * sysdeps/nios2/Implies: New file.
18712         * sysdeps/nios2/Makefile: New file.
18713         * sysdeps/nios2/Subdirs: New file.
18714         * sysdeps/nios2/Versions: New file.
18715         * sysdeps/nios2/__longjmp.S: New file.
18716         * sysdeps/nios2/abort-instr.h: New file.
18717         * sysdeps/nios2/backtrace.c: New file.
18718         * sysdeps/nios2/bits/endian.h: New file.
18719         * sysdeps/nios2/bits/fenv.h: New file.
18720         * sysdeps/nios2/bits/link.h: New file.
18721         * sysdeps/nios2/bits/setjmp.h: New file.
18722         * sysdeps/nios2/bsd-_setjmp.S: New file.
18723         * sysdeps/nios2/bsd-setjmp.S: New file.
18724         * sysdeps/nios2/configure: New generated file.
18725         * sysdeps/nios2/configure.ac: New file.
18726         * sysdeps/nios2/crti.S: New file.
18727         * sysdeps/nios2/crtn.S: New file.
18728         * sysdeps/nios2/dl-init.c: New file.
18729         * sysdeps/nios2/dl-machine.h: New file.
18730         * sysdeps/nios2/dl-sysdep.h: New file.
18731         * sysdeps/nios2/dl-tls.h: New file.
18732         * sysdeps/nios2/dl-trampoline.S: New file.
18733         * sysdeps/nios2/gccframe.h: New file.
18734         * sysdeps/nios2/gmp-mparam.h: New file.
18735         * sysdeps/nios2/jmpbuf-offsets.h: New file.
18736         * sysdeps/nios2/jmpbuf-unwind.h: New file.
18737         * sysdeps/nios2/ldsodefs.h: New file.
18738         * sysdeps/nios2/libc-tls.c: New file.
18739         * sysdeps/nios2/libm-test-ulps: New file.
18740         * sysdeps/nios2/machine-gmon.h: New file.
18741         * sysdeps/nios2/math-tests.h: New file.
18742         * sysdeps/nios2/math_private.h: New file.
18743         * sysdeps/nios2/memusage.h: New file.
18744         * sysdeps/nios2/nptl/Makefile: New file.
18745         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18746         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18747         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18748         * sysdeps/nios2/nptl/pthreaddef.h: New file.
18749         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18750         * sysdeps/nios2/nptl/tls.h: New file.
18751         * sysdeps/nios2/preconfigure: New file.
18752         * sysdeps/nios2/s_fma.c: New file.
18753         * sysdeps/nios2/s_fmaf.c: New file.
18754         * sysdeps/nios2/setjmp.S: New file.
18755         * sysdeps/nios2/sfp-machine.h: New file.
18756         * sysdeps/nios2/sotruss-lib.c: New file.
18757         * sysdeps/nios2/stackguard-macros.h: New file.
18758         * sysdeps/nios2/stackinfo.h: New file.
18759         * sysdeps/nios2/start.S: New file.
18760         * sysdeps/nios2/sysdep.h: New file.
18761         * sysdeps/nios2/tls-macros.h: New file.
18762         * sysdeps/nios2/tst-audit.h: New file.
18763         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18764         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18765         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18766         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18767         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18768         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18769         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18770         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18771         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18772         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18773         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18774         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18775         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18776         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18777         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18778         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18779         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18780         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18781         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18782         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18783         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18784         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18785         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18786         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18787         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18788         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18789         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18790         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18791         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18792         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18793         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18794         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18795         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18796         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18797         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18798         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18799         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18800         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18801         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18802         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18803         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18804         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18805         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18806         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18808 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18810         [BZ #17844]
18811         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18812         (getutent): Use weak_alias in non SHARED case
18813         and default_symbol_version in SHARED case.
18814         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18815         (getutent_r, pututline): Likewise.
18816         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18817         (getutid): Likewise.
18818         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18819         (getutid_r): Likewise.
18820         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18821         (getutline): Likewise.
18822         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18823         (getutline_r): Likewise.
18824         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18825         (updwtmp): Likewise.
18827 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18829         [BZ #17848]
18830         * sysdeps/s390/s390-32/memcmp.S
18831         (memcmp_g5): Rename to __memcmp_g5.
18832         * sysdeps/s390/s390-32/memcpy.S
18833         (memcpy_g5): Rename to __memcpy_g5.
18834         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18835         (memcpy_mvcle) Rename to __memcpy_mvcle.
18836         * sysdeps/s390/s390-32/memset.S
18837         (memset_g5): Rename to __memset_g5.
18838         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18839         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18840         and use prefixed functions.
18841         * sysdeps/s390/s390-32/multiarch/memcmp.S
18842         (memcmp_z196): Rename to __memcmp_z196.
18843         (memcmp_z10): Rename to __memcmp_z10.
18844         (memcmp): Set alias to __memcmp_g5.
18845         (bcmp): Set alias to __memcmp_g5.
18846         * sysdeps/s390/s390-32/multiarch/memcpy.S
18847         (memcpy_z196): Rename to __memcpy_z196.
18848         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18849         (memcpy_z10): Rename to __memcpy_z10.
18850         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18851         (memcpy): Set alias to __memcpy_g5.
18852         * sysdeps/s390/s390-32/multiarch/memset.S
18853         (memset_z196): Rename to __memset_z196.
18854         Jump to __memset_mvcle instead of memset_mvcle.
18855         (memset_z10): Rename to __memset_z10.
18856         Jump to __memset_mvcle instead of memset_mvcle.
18857         (memset_mvcle) Rename to __memset_mvcle.
18858         (memset): Set alias to __memset_g5.
18859         * sysdeps/s390/s390-64/memcmp.S
18860         (memcmp_z900): Rename to __memcmp_z900.
18861         * sysdeps/s390/s390-64/memcpy.S
18862         (memcpy_z900): Rename to __memcpy_z900.
18863         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18864         (memcpy_mvcle) Rename to __memcpy_mvcle.
18865         * sysdeps/s390/s390-64/memset.S
18866         (memset_z900): Rename to __memset_z900.
18867         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18868         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18869         and use prefixed functions.
18870         * sysdeps/s390/s390-64/multiarch/memcmp.S
18871         (memcmp_z196): Rename to __memcmp_z196.
18872         (memcmp_z10): Rename to __memcmp_z10.
18873         (memcmp): Set alias to __memcmp_z900.
18874         (bcmp): Set alias to __memcmp_z900.
18875         * sysdeps/s390/s390-64/multiarch/memcpy.S
18876         (memcpy_z196): Rename to __memcpy_z196.
18877         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18878         (memcpy_z10): Rename to __memcpy_z10.
18879         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18880         (memcpy): Set alias to __memcpy_z900.
18881         * sysdeps/s390/s390-64/multiarch/memset.S
18882         (memset_z196): Rename to __memset_z196.
18883         Jump to __memset_mvcle instead of memset_mvcle.
18884         (memset_z10): Rename to __memset_z10.
18885         Jump to __memset_mvcle instead of memset_mvcle.
18886         (memset_mvcle) Rename to __memset_mvcle.
18887         (memset): Set alias to __memset_z900.
18889 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18891         [BZ #17748]
18892         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18893         __fesetenv instead of fesetenv.
18895 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18897         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18898         macro.
18900 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18903         regression on LE.
18905         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18906         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18907         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18908         strncmp-power8 object.
18909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18910         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18911         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18912         * NEWS: Update.
18914 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18915             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18917         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18918         trailing byte check.
18920 2015-01-13  David S. Miller  <davem@davemloft.net>
18922         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18924 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18926         * login/logout.c (logout): Use memset rather than bzero.
18927         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18928         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18929         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18930         (_gethtbyaddr): Likewise.
18931         * locale/programs/simple-hash.c (bcopy): Macro removed.
18933 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18936         Add strcmp-power8 object.
18937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18938         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18939         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18940         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18941         __strcmp_power8 implementation.
18942         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18943         * NEWS: Update.
18945         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18946         Add strncpy-power8 and stpncpy-power8 objects.
18947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18948         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18949         implementations.
18950         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18951         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18952         __stpncpy_power8 implementation.
18953         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18954         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18955         __strncpy_power8 implementation.
18956         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18957         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18958         * NEWS: Update.
18960         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18961         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18962         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18965         strncat-power8 object.
18966         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18967         __strcat_power8 implementation.
18968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18969         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18970         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18971         optimized strcat for power8.
18973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18974         strcpy-power8 and stpcpy-power8 objects.
18975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18976         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18977         implementations.
18978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18979         multiarch stpcpy implementation for POWER8.
18980         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18981         multiarch strcpy implementation for POWER8.
18982         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18983         __strcpy_power8 function.
18984         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18985         stpcpy for POWER8.
18986         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18987         strcpy for POWER8.
18988         * NEWS: Update.
18990 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18992         [BZ #16009]
18993         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18994         weights and rules. Use do_xfrm_cached if data fits in cache,
18995         do_xfrm otherwise.  Moved former main loop to...
18996         * (do_xfrm_cached): New function.
18997         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18998         find_idx, find_position and stack_push.
18999         * (find_idx): New function.
19000         * (find_position): Likewise.
19001         * localedata/sort-test.sh: Added test run for do_xfrm.
19002         * localedata/xfrm-test.c (main): Added command line option
19003         -nocache to run the test with strings that are too large for
19004         the STRXFRM cache.
19006 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19008         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19009         variable to lll_futex_wake call, not the value itself.
19011 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #17803]
19014         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19015         twom64.  Adjust value to 0x1p-64L.
19016         (__scalblnl): Only return standard underflowing result for K <=
19017         -64 not K <= -63; adjust exponent for underflowing result by 64
19018         not 63.
19019         * math/libm-test.inc (scalbn_test_data): Add more tests.
19020         (scalbln_test_data): Likewise.
19022         [BZ #17834]
19023         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19024         0x1p63L.
19025         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19026         not HX.
19027         * math/libm-test.inc (scalbn_test_data): Add more tests.
19028         (scalbln_test_data): Likewise.
19030 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19031             Stefani Seibold  <stefani@seibold.net>
19033         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19034         (sysdep_routines): Add dl-vdso here, ...
19035         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19036         (sysdep_routines): ... not here.
19037         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19038         fallback when vDSO is not presented.
19039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19040         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19041         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19042         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19043         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19044         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19045         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19046         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19047         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19049         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19050         fallback configurable symbol when vDSO is not available.
19051         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19052         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19053         be able to redefine fallback symbol when vDSO is not available.
19054         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19055         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19057 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19059         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19060         (TLS_INIT_TP): Add tm_capable initialization.
19061         (TLS_DEFINE_INIT_TP): Likewise.
19062         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19063         TCB.
19064         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19065         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19066         calculation.
19067         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19068         transactoion is lock elision is built and TCB tm_capable is set.
19069         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19071         (INTERNAL_SYSCALL_NCS): Likewise.
19072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19073         (INTERNAL_SYSCALL_NCS): Likewise.
19074         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19076         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19077         for powerpc.
19078         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19079         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19080         and remove it for 32 bits case.
19081         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19083         initialization.
19084         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19085         Disable lock elision with rdlocks if elision is not available.
19087         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19088         (sysdep_routines): Add lock elision objects.
19089         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19090         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19091         [pthread_mutex_t] (__elision): Add field.
19092         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19093         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19094         elision definitions for powerpc.
19095         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19096         implementation of lock elision for powerpc.
19097         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19098         implementation of timed lock elision for powerpc.
19099         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19100         implementation of trylock with lock elision for powerpc.
19101         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19102         implementaion of unlock for lock elision for powerpc.
19103         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19104         automatic enable lock elision for mutexes.
19105         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19106         transaction execution definitions for powerpc.
19107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19108         definitions.
19109         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19110         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19111         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19112         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19113         * NEWS: Update.
19115 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19117         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19118         for #include of <shm-directory.h>.
19120 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19122         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19123         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19125 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19127         [BZ #17791]
19128         * NEWS: Mention bug fix.
19129         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19130         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19131         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19133 2015-01-09  Torvald Riegel <triegel@redhat.com>
19135         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19137 2015-01-09  Torvald Riegel <triegel@redhat.com>
19139         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19141 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19143         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19144         pointer and cast to uintptr_t.
19146 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19148         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19149         removed.
19150         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19152 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19154         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19155         of 0.
19157 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19159         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19160         <nptl/pthreadP.h> instead.
19161         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19163         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19164         already defined.
19165         [__SIGRTMIN] (init): Function removed.
19166         [__SIGRTMIN] (initialized): Variable removed.
19167         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19168         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19169         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19170         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19171         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19172         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19173         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19174         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19175         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19176         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19177         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19178         * sysdeps/nptl/allocrtsig.c: New file.
19179         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19180         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19181         * sysdeps/generic/testrtsig.h: File removed.
19183         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19184         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19186         * nptl/nptl-init.c (pthread_functions): Conditionalize
19187         .ptr__nptl_setxid initialization on [SIGSETXID].
19189         * sysdeps/nptl/sys/procfs.h: New file.
19190         * nptl_db/Makefile (headers): Add it.
19191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19193         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19194         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19195         * nptl/pthread_attr_setaffinity.c: Include it.
19196         * nptl/pthread_setattr_default_np.c: Likewise.
19197         * nptl/check-cpuset.h: New file.
19199 2015-01-08  Richard Henderson  <rth@redhat.com>
19201         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19202         (CFLAGS-tst-execstack-prog.c): Likewise.
19203         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19205 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19206             Sandra Loosemore  <sandra@codesourcery.com>
19207             Andrew Jenner  <andrew@codesourcery.com>
19208             Joseph Myers  <joseph@codesourcery.com>
19209             Nathan Sidwell  <nathan@codesourcery.com>
19211         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19212         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19213         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19214         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19215         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19216         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19217         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19218         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19219         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19220         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19221         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19222         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19223         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19224         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19225         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19226         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19227         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19229 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19231         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19232         timespec struct member in syscall macro.
19233         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19234         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19235         first timeval struct member in syscall macro.
19236         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19238 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19240         [BZ #17748]
19241         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19242         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19243         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19244         __feupdateenv and define as weak alias of __feupdateenv.  Use
19245         libm_hidden_weak.
19246         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19247         libm_hidden_def.
19248         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19249         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19250         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19251         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19252         libm_hidden_def.
19253         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19254         __feupdateenv and define as weak alias of __feupdateenv.  Use
19255         libm_hidden_weak.
19256         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19257         libm_hidden_def.
19258         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19259         __feupdateenv and define as weak alias of __feupdateenv.  Use
19260         libm_hidden_weak.
19261         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19262         libm_hidden_def.
19263         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19264         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19265         (__feupdateenv): Likewise.
19266         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19267         __feupdateenv and define as weak alias of __feupdateenv.  Use
19268         libm_hidden_weak.
19269         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19270         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19271         libm_hidden_def.
19272         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19273         function.
19274         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19275         libm_hidden_def.
19276         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19277         __feupdateenv instead of feupdateenv.
19278         (default_libc_feupdateenv_test): Likewise.
19279         (libc_feresetround_ctx): Likewise.
19281 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19283         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19284         prototype.
19286 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19288         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19289         COLL_SYM in a couple of places to avoid uninitialized variable
19290         wanings on tilegx gcc 4.8.2.
19292 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19294         * sysdeps/aarch64/strcpy.S: New file.
19295         * sysdeps/aarch64/stpcpy.S: New file.
19296         * NEWS: Updated.
19298 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19300         * sysdeps/aarch64/strrchr.S: New file.
19301         * NEWS: Updated.
19303 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19305         [BZ #17658]
19306         * stdlib/setenv.c: Fix memory leak when setting large,
19307         duplicate string.
19309 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19311         [BZ #17273]
19312         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19313         and tabs from buffer before parsing fstab entry.
19314         * misc/tst-mntent.c (main): Add test for mount entry with
19315         trailing spaces and tabs.
19317 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19319         [BZ #17748]
19320         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19321         * math/fesetround.c (fesetround): Rename to __fesetround and
19322         define as weak alias of __fesetround.  Use libm_hidden_weak.
19323         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19324         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19325         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19326         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19327         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19328         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19329         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19330         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19331         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19332         __fesetround_inline.
19333         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19334         __fesetround_inline instead of __fesetround.
19335         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19336         __fesetround and define as weak alias of __fesetround.  Use
19337         libm_hidden_weak.  Call __fesetround_inline instead of
19338         __fesetround.
19339         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19340         __fesetround and define as weak alias of __fesetround.  Use
19341         libm_hidden_weak.
19342         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19343         Likewise.
19344         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19345         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19346         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19347         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19348         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19349         __fesetround and define as weak alias of __fesetround.  Use
19350         libm_hidden_weak.
19351         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19352         __fesetround instead of fesetround.
19353         (default_libc_feholdexcept_setround): Likewise.
19354         (libc_feholdsetround_ctx): Likewise.
19355         (libc_feholdsetround_noex_ctx): Likewise.
19357         [BZ #17748]
19358         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19359         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19360         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19361         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19362         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19363         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19364         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19365         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19366         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19367         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19368         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19369         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19370         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19371         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19372         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19373         libm_hidden_def.
19374         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19375         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19376         Likewise.
19377         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19378         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19379         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19380         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19381         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19382         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19383         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19384         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19385         __fesetenv instead of fesetenv.
19386         (libc_feresetround_noex_ctx): Likewise.
19387         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19388         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19389         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19390         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19391         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19392         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19393         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19394         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19395         (__feupdateenv): Likewise.
19396         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19397         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19398         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19399         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19401 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19403         [BZ #17806]
19404         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19405         addresses have been freed.
19407 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19409         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19410         and nservall.
19412 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19414         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19415         Clean up check_pf allocation pattern. addresses
19417 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19419         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19420         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19421         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19422         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19423         * nptl/pthread_join.c (pthread_join): Likewise.
19424         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19425         * sysdeps/posix/waitid.c (__waitid): Likewise.
19426         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19427         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19428         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19429         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19431         Likewise.
19432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19433         (__libc_pread64): Likewise.
19434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19435         (__libc_pwrite): Likewise.
19436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19437         (__libc_pwrite64): Likewsie.
19438         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19439         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19440         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19441         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19442         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19443         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19444         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19446         Likewise.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19448         (__libc_pread64): Likewise.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19450         Likewise.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19452         (__libc_pwrite64): Likewise.
19453         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19454         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19455         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19456         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19457         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19458         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19459         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19460         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19461         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19462         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19463         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19464         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19465         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19466         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19467         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19468         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19469         Likewise.
19471 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19473         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19474         (CFLAGS-test-double.c): Likewise.
19475         (CFLAGS-test-ldouble.c): Likewise.
19476         (CPPFLAGS-test-ifloat.c): Likewise.
19477         (CPPFLAGS-test-idouble.c): Likewise.
19478         (CPPFLAGS-test-ildoubl.c): Likewise.
19479         (CFLAGS-test-test-fenv.c): Remove variable.
19480         (CFLAGS-test-misc.c): Likewise.
19482 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19484         [BZ #17797]
19485         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19486         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19487         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19488         CLOCKS_PER_SEC == 1000000.
19489         * time/clocktest.c (main): Replace %ld with %jd and cast to
19490         intmax_t.
19492 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19494         * sysdeps/generic/unwind-resume.h: New file.
19495         * sysdeps/gnu/unwind-resume.c: Include it.
19496         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19497         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19498         argument list.
19499         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19500         global rather than static.
19501         (_Unwind_Resume): Update user.
19502         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19503         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19504         rather than static.  Add __attribute__ ((cold)).
19505         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19506         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19507         * sysdeps/arm/arm-unwind-resume.S: New file.
19508         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19509         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19510         * sysdeps/arm/Makefile [$(subdir) = csu]
19511         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19512         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19513         Add rt-arm-unwind-resume.
19514         [$(subdir) = nptl]
19515         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19516         Add pt-arm-unwind-resume.
19517         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19518         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19520 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #17748]
19523         * include/fenv.h (__feholdexcept): Declare.  Use
19524         libm_hidden_proto.
19525         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19526         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19527         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19528         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19529         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19530         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19531         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19532         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19533         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19534         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19535         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19536         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19537         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19538         (feholdexcept): Likewise.
19539         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19540         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19541         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19542         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19543         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19544         __feholdexcept instead of feholdexcept.
19545         (default_libc_feholdexcept_setround): Likewise.
19547 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19549         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19550         to avoid using stl/str to align destination.
19552 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19554         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19556 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19558         [BZ #17796]
19559         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19560         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19561         Define as weak alias not strong alias.
19563 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19565         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19566         bltzal with addiupc.
19567         (RTLD_START): Ditto.
19569 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19571         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19572         for __vdso_* functions in declarations.
19573         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19574         definitions.
19575         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19576         INTERNAL_VSYSCALL): Use struct return types to check for error.
19578         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19579         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19580         function with cast from llround().
19581         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19582         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19583         Define.
19585 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19587         [BZ #17793]
19588         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19589         Define as weak alias not strong alias.
19591         [BZ #17635]
19592         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19593         ...
19594         * ctype/ctype-extn.c: ... here.
19595         (__isblank_l): Move to ...
19596         * ctype/ctype-c99_l.c: ... here.  New file.
19597         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19598         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19599         Remove variable.
19600         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19601         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19602         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19603         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19604         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19606         [BZ #17777]
19607         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19608         (posix_fadvise64): Define as weak alias not strong alias.
19609         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19610         (posix_fallocate64): Likewise.
19611         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19612         Remove variable.
19613         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19614         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19615         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19616         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19617         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19619 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19621         [BZ #16191]
19622         * NEWS: Mention bug fix.
19623         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19624         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19625         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19626         (HOST_STACK_END_ADDR): Likewise.
19628 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19630         [BZ #17748]
19631         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19632         * math/fegetround.c (fegetround): Rename to __fegetround and
19633         define as weak alias of __fegetround.  Use libm_hidden_weak.
19634         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19635         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19636         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19637         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19638         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19639         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19640         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19641         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19642         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19643         Undefine after rather than before function definition; use
19644         parentheses around function name in definition.
19645         (__fegetround): Also undefine macro after function definition.
19646         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19647         __fegetround and define as weak alias of __fegetround.  Use
19648         libm_hidden_weak.  Do not undefine as macro.
19649         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19650         Likewise.
19651         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19652         __fegetround and define as weak alias of __fegetround.  Use
19653         libm_hidden_weak.
19654         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19655         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19656         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19657         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19658         __fegetround and define as weak alias of __fegetround.  Use
19659         libm_hidden_weak.
19660         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19661         __fegetround instead of fegetround.
19663         [BZ #17782]
19664         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19665         Condition macro definition on [__USE_MISC].
19667         [BZ #17781]
19668         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19669         (struct sigaction): Change type of sa_flags field to int.
19671         [BZ #17780]
19672         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19673         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19674         __glibc_reserved0.
19676         * nptl/version.c (banner): Use single year in copyright notice.
19678         * NEWS: Update copyright dates.
19679         * catgets/gencat.c (print_version): Likewise.
19680         * csu/version.c (banner): Likewise.
19681         * debug/catchsegv.sh: Likewise.
19682         * debug/pcprofiledump.c (print_version): Likewise.
19683         * debug/xtrace.sh (do_version): Likewise.
19684         * elf/ldconfig.c (print_version): Likewise.
19685         * elf/ldd.bash.in: Likewise.
19686         * elf/pldd.c (print_version): Likewise.
19687         * elf/sotruss.sh: Likewise.
19688         * elf/sprof.c (print_version): Likewise.
19689         * iconv/iconv_prog.c (print_version): Likewise.
19690         * iconv/iconvconfig.c (print_version): Likewise.
19691         * locale/programs/locale.c (print_version): Likewise.
19692         * locale/programs/localedef.c (print_version): Likewise.
19693         * login/programs/pt_chown.c (print_version): Likewise.
19694         * malloc/memusage.sh (do_version): Likewise.
19695         * malloc/memusagestat.c (print_version): Likewise.
19696         * malloc/mtrace.pl: Likewise.
19697         * manual/libc.texinfo: Likewise.
19698         * nptl/version.c (banner): Likewise.
19699         * nscd/nscd.c (print_version): Likewise.
19700         * nss/getent.c (print_version): Likewise.
19701         * nss/makedb.c (print_version): Likewise.
19702         * posix/getconf.c (main): Likewise.
19703         * scripts/test-installation.pl: Likewise.
19704         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19706 2015-01-02  Will Newton  <will.newton@linaro.org>
19708         * sysdeps/arm/armv7/configure: Removed.
19709         * sysdeps/arm/armv7/configure.ac: Likewise.
19711 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19713         * All files with FSF copyright notices: Update copyright dates
19714         using scripts/update-copyrights.
19715         * intl/plural.c: Regenerated.
19716         * locale/programs/charmap-kw.h: Likewise.
19717         * locale/programs/locfile-kw.h: Likewise.
19719 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19721         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19723 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19725         [BZ #17748]
19726         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19727         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19728         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19729         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19730         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19731         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19732         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19733         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19734         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19735         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19736         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19737         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19738         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19739         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19740         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19741         libm_hidden_def.
19742         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19744         Likewise.
19745         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19746         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19747         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19748         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19749         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19750         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19751         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19752         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19753         __fegetenv instead of fegetenv.
19754         (libc_feholdsetround_noex_ctx): Likewise.
19756 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19758         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19759         (Elf_MIPS_ABIFlags_v0): New structure.
19760         (EF_MIPS_FP64): Define.
19761         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19762         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19763         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19764         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19765         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19766         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19767         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19768         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19769         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19770         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19771         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19772         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19773         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19774         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19775         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19776         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19777         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19778         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19779         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19780         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19781         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19782         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19783         field.
19784         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19785         EF_MIPS_FP64.
19786         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19787         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19788         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19789         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19790         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19791         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19792         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19793         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19794         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19795         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19796         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19797         record the current FP ABI extension.
19798         (mips-mode-switch): Define to show if kernel headers support mode
19799         switching.
19800         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19801         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19802         supported SYSV ABI version to 3.
19803         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19804         feature.
19806 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19807             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19809         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19810         path.
19811         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19813 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19815         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19816         __fegetround and redefine to call __fegetround.  Remove condition
19817         on [!__NO_MATH_INLINES].
19818         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19819         function.
19820         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19821         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19822         Remove macro.
19823         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19824         instead of <fenv_libc.h>.
19825         (__llrintl): Call fegetround instead of __fegetround.
19826         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19827         instead of <fenv_libc.h>.
19828         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19829         (__lrintl): Call fegetround instead of __fegetround.
19830         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19831         instead of <fenv_libc.h>.
19832         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19833         (__rintl): Call fegetround instead of __fegetround.
19835 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19837         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19838         arrays.
19840 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19842         [BZ #17775]
19843         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19844         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19845         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19847 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19849         * sysdeps/i386/tls-macros.h: Include <features.h>.
19850         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19851         (TLS_IE): Likewise.
19852         (TLS_LD): Likewise.
19853         (TLS_GD): Likewise.
19854         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19855         define for GCC >= 5.0.
19857 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19859         * math/test-fenv.c (test_single_exception, set_single_exc,
19860         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19861         feexcp_mask_test, feenable_test, fe_single_test): Add
19862         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19863         case where they are not used.
19864         * math/libm-test.inc: Likewise.
19865         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19866         unused in the absence of FP rounding/exception support.
19867         * stdio-common/tst-printf-round.c: Likewise.
19868         * stdlib/tst-strtod-round.c: Likewise.
19869         * stdlib/tst-strtod-underflow.c: Likewise.
19871 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19873         [BZ #17723]
19874         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19875         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19876         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19877         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19878         libm_hidden_weak.
19879         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19880         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19881         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19882         libm_hidden_def.
19883         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19884         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19885         libm_hidden_weak.
19886         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19887         Likewise.
19888         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19889         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19890         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19891         libm_hidden_weak.
19892         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19893         libm_hidden_def.
19894         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19895         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19896         (__feraiseexcept): Likewise.
19897         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19898         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19899         libm_hidden_weak.
19900         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19901         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19902         libm_hidden_def.
19903         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19904         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19905         Use libm_hidden_def.
19906         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19907         libm_hidden_def.
19908         (feraiseexcept): Define as weak not strong alias.  Use
19909         libm_hidden_weak.
19910         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19911         New inline function.  Factored out of ...
19912         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19913         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19914         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19915         feraiseexcept.
19916         * math/w_acos.c (__acos): Likewise.
19917         * math/w_asin.c (__asin): Likewise.
19918         * math/w_ilogb.c (__ilogb): Likewise.
19919         * math/w_j0.c (y0): Likewise.
19920         * math/w_j1.c (y1): Likewise.
19921         * math/w_jn.c (yn): Likewise.
19922         * math/w_log.c (__log): Likewise.
19923         * math/w_log10.c (__log10): Likewise.
19924         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19925         * sysdeps/aarch64/fpu/math_private.h
19926         (libc_feupdateenv_test_aarch64): Likewise.
19927         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19928         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19929         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19930         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19931         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19932         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19933         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19934         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19935         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19936         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19938 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19940         [BZ #17732]
19941         * io/test-utime.c (main): Replace %ld with %jd and cast to
19942         intmax_t.
19943         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19944         * nptl/tst-mutex5.c: Include <stdint.h>.
19945         (do_test): Replace %ld with %jd and cast to intmax_t.
19946         * posix/tst-regex.c (run_test): Likewise.
19947         (run_test_backwards): Likewise.
19948         * rt/tst-clock.c: Include <stdint.h>.
19949         (clock_test): Replace %ld with %jd and cast to intmax_t.
19950         * rt/tst-cpuclock1.c: Include <stdint.h>.
19951         (do_test): Replace %lu with %ju and cast to uintmax_t.
19952         * rt/tst-cpuclock2.c: Include <stdint.h>.
19953         (do_test): Replace %lu with %ju and cast to uintmax_t.
19954         * rt/tst-mqueue1.c: Include <stdint.h>.
19955         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19956         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19957         intmax_t.
19958         * rt/tst-mqueue4.c (do_test): Likewise.
19959         * rt/tst-timer4.c: Include <stdint.h>.
19960         (check_ts): Replace %ld with %jd and cast to intmax_t.
19961         (do_test): Likewise.
19962         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19963         and cast to intmax_t.
19964         * sysdeps/pthread/tst-timer.c (main): Likewise.
19965         * time/clocktest.c (main): Likewise.
19966         * time/tst-posixtz.c (do_test): Likewise.
19967         * timezone/tst-timezone.c (main): Likewise.
19969 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19970             H.J. Lu  <hongjiu.lu@intel.com>
19972         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19973         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19974         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19975         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19976         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19977         version if bit_Fast_Unaligned_Load is set.
19978         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19979         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19980         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19981         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19982         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19983         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19985         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19986         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19987         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19988         to 4.
19989         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19990         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19991         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19992         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19994 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19996         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19997         instead of #if to avoid a Wundef warning.
19998         * stdlib/tst-limits.c (do_test): Likewise.
20000         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20001         parallel other exception macros.
20002         (fegetenv): Convert from macro to extern inline so that it applies
20003         retroactively to inline functions already seen by the compiler.
20004         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20006         * posix/Makefile (before-compile): Use $(objpfx) for
20007         posix-conf-vars-def.h.
20009 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20011         * posix/getconf.c (main): Use size_t for type of I.
20012         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20013         NSPEC.
20015         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20016         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20017         * posix/posix-envs.def: Likewise.
20018         * sysdeps/posix/sysconf.c: Likewise.
20019         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20020         (specs): Remove array.
20021         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20022         array.
20024         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20025         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20026         (__sysconf): Use CONF_IS_* macros.
20028         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20029         ($(objpfx)posix-conf-vars-def.h): New target.
20030         * posix/posix-conf-vars.list: New file.
20031         * posix/posix-conf-vars.h: New file.
20032         * posix/confstr.c: Include posix-conf-vars.h.
20033         (confstr): Use CONF_IS_* macros.
20034         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20035         CONF_IS_* macros.
20036         * scripts/gen-posix-conf-vars.awk: New file.
20038 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20040         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20041         fegetround): Add no-op macros to avoid linknamespace issues.
20043         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20044         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20046         * sysdeps/unix/sysv/linux/tile/sysdep.h
20047         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20048         assembly-specific section to avoid a redefinition warning.
20050         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20051         long before casting to pointer to avoid a cast warning.
20053 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20055         * sysdeps/tile/tilegx/Implies: New file.
20057 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20059         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20061 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20063         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20065 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20068         not define.
20069         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20070         <kernel-features.h>.
20071         (__utimes) [__NR_utimes]: Make code unconditional.
20072         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20074         (__ASSUME_UTIMES): Do not undefine.
20075         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20076         (__ASSUME_UTIMES): Likewise.
20077         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20078         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20079         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20080         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20082 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20084         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20086 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20088         [BZ #17747]
20089         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20090         alias to weak alias for j0l, y0l.
20091         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20092         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20094         [BZ #17746]
20095         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20096         conversion.
20098 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20100         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20101         to zero if not already defined.
20103 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20105         [BZ #17724]
20106         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20107         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20108         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20109         (char *) casts added.
20110         * sysdeps/ieee754/k_standardf.c: New file.
20111         * sysdeps/ieee754/k_standardl.c: Likewise.
20112         * math/Makefile (libm-support): Remove k_standard.
20113         (libm-calls): Add k_standard.
20115 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20117         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20118         Optimize to avoid an unnecessary FPCR read.
20120 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20122         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20123         Optimize to reduce FPCR/FPSR accesses.
20125 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20127         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20128         Call libc_fetestexcept_aarch64.
20130 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20132         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20133         Call libc_fesetround_aarch64.
20135 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20137         [BZ #17733]
20138         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20139         (__bind): Do not define as weak alias.
20140         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20141         define.
20142         (__getsockname): Do not define as weak alias.
20144 2014-12-22  Will Newton  <will.newton@linaro.org>
20146         * manual/install.texi: Document that we require bison 2.7
20147         or above.
20148         * INSTALL: Regenerate.
20149         * configure.ac: Use AC_CHECK_PROG_VER instead of
20150         AC_PATH_PROG when checking for bison and check for
20151         version 2.7 or above.
20152         * configure: Regenerate.
20154 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20156         [BZ #17745]
20157         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20158         * sysdeps/tile/ffsll.c (ffsll): To here.
20160         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20162 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20164         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20165         if not defined.
20166         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20167         definition.
20168         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20169         hidden ___tls_get_addr.
20170         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20171         hidden __tls_get_addr.
20172         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20173         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20174         Likewise.
20176 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20178         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20179         _dl_init call.
20181 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20183         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20184         from "call _dl_init@PLT".
20185         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20187 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20189         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20190         guarantees.
20192 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20194         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20196 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20198         [BZ #17744]
20199         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20200         strnlen.
20202 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20204         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20205         of multu on MIPSr6.
20206         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20207         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20208         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20209         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20210         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20212 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20214         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20215         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20216         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20217         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20218         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20219         mips32r6/mips64r6.
20220         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20222 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20224         * string/strncat.c (STRNCAT): Simplify implementation.
20226 2014-12-19  David S. Miller  <davem@davemloft.net>
20228         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20229         access the quad as both a long double and as a series of 4 words.
20231         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20232         link_map->l_info array access.
20234 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20236         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20238         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20239         * math/atest-exp2.c (TIMEOUT): Likewise.
20240         * math/atest-sincos.c (TIMEOUT): Likewise.
20242 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20244         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20245         -Wno-error with -fno-builtin-lround.
20247 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20249         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20250         Contains futex constants and functions moved over from ...
20251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20252         <lowlevellock-futex.h>.
20253         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20254         (lll_timedwait_tid): Add comments and parentheses around macro
20255         arguments.
20257 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20260         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20261         (__lll_private_flag): Remove.
20262         (lll_futex_wait): Likewise.
20263         (lll_futex_timed_wait): Likewise.
20264         (lll_futex_wake): Likewise.
20265         (lll_futex_requeue): Likewise.
20266         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20267         (__lll_timedwait_tid): Spell out argument names.
20268         (lll_timedwait_tid): Add comments and parentheses around macro
20269         arguments.
20270         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20271         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20273 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20275         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20276         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20277         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20278         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20279         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20280         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20281         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20282         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20283         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20284         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20285         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20287         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20289         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20290         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20291         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20292         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20293         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20295 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20297         * sysdeps/x86_64/x32/Makefile: New file.
20299 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20301         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20302         1L with (mp_limb_t) 1.
20304 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20306         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20307         * nptl/libc_pthread_init.c: ... here.
20308         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20309         * nptl/register-atfork.c: ... here.
20311         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20312         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20313         Use assert_perror to check its return value.
20314         (__gai_create_helper_thread): Likewise.
20316         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20318         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20320 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20322         [BZ #17725]
20323         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20324         __profil_counter.
20325         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20326         Likewise.
20327         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20328         Likewise.
20329         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20330         Likewise.
20331         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20332         (profil_counter): Likewise.
20333         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20334         (profil_counter): Likewise.
20335         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20336         Likewise.
20337         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20338         Likewise.
20339         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20340         (profil_counter): Likewise.
20341         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20342         Likewise.
20343         [!__profil_counter] (profil_counter): Define as weak alias of
20344         __profil_counter.
20345         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20346         (profil_counter): Rename to __profil_counter.
20347         [!__profil_counter] (profil_counter): Define as weak alias of
20348         __profil_counter.
20349         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20350         (profil_counter): Rename to __profil_counter.
20351         [!__profil_counter] (profil_counter): Define as weak alias of
20352         __profil_counter.
20353         * sysdeps/posix/profil.c: Update comment referring to
20354         profil_counter.
20355         (__profil): Use __profil_counter instead of profil_counter.
20356         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20357         __profil_counter.  Use __profil_counter_ushort and
20358         __profil_counter_uint in definitions.
20359         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20360         instead of profil_counter_uint and profil_counter_ushort.
20362         [BZ #17722]
20363         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20364         define as weak alias of __inet_makeaddr.
20365         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20366         as weak alias of __inet_addr.
20367         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20368         as weak alias of __inet_pton.  Use libc_hidden_weak.
20369         * include/arpa/inet.h (__inet_pton): Declare.  Use
20370         libc_hidden_proto.
20371         (inet_makeaddr): Don't use libc_hidden_proto.
20372         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20373         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20374         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20375         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20376         Remove variable.
20377         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20378         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20380 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20382         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20384 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20386         * stdio-common/bug-vfprintf-nargs.c (do_test):
20387         Cast value to intptr_t to avoid format warning
20388         for usage with PRIdPTR printing macro.
20390 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20392         * libio/tst-widetext.c (do_test):
20393         Use format type %td instead of %Zd for ptrdiff_t
20394         in order to avoid format warning.
20396 2014-12-17  Andreas Schwab  <schwab@suse.de>
20398         * nscd/mem.c (gc): Add size_t cast to match printf format.
20400 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20402         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20403         (init): Apply PTR_MANGLE to pointers before storing them.
20404         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20405         before using them.
20407 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20409         [BZ #17719]
20410         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20411         define as weak alias of __memrchr.
20412         (__memrchr): Do not define as strong alias of memrchr.
20413         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20414         Remove variable.
20415         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20416         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20417         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20419         [BZ #17717]
20420         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20421         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20422         (if_indextoname): Rename to __if_indextoname and define as weak
20423         alias of __if_indextoname.  Use libc_hidden_weak.
20424         (if_freenameindex): Rename to __if_freenameindex and define as
20425         weak alias of __if_freenameindex.
20426         (if_nameindex): Rename to __if_nameindex and define as weak alias
20427         of __if_nameindex.
20428         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20429         __if_nametoindex and define as weak alias of __if_nametoindex.
20430         Use libc_hidden_weak.
20431         (if_freenameindex): Rename to __if_freenameindex and define as
20432         weak alias of __if_freenameindex.
20433         (if_nameindex): Rename to __if_nameindex and define as weak alias
20434         of __if_nameindex.
20435         (if_indextoname): Rename to __if_indextoname and define as weak
20436         alias of __if_indextoname.  Use libc_hidden_weak.
20437         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20438         __if_nametoindex and define as weak alias of __if_nametoindex.
20439         Use libc_hidden_weak.
20440         (if_freenameindex): Rename to __if_freenameindex and define as
20441         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20442         (if_nameindex_netlink): Use __if_freenameindex instead of
20443         if_freenameindex.
20444         (if_nameindex): Rename to __if_nameindex and define as weak alias
20445         of __if_nameindex.  Use libc_hidden_weak.
20446         (if_indextoname): Rename to __if_indextoname and define as weak
20447         alias of __if_indextoname.  Use libc_hidden_weak.
20448         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20449         libc_hidden_proto.
20450         [!_ISOMAC] (__if_freenameindex): Likewise.
20451         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20452         if_nametoindex.
20453         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20454         variable.
20455         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20456         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20457         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20458         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20459         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20460         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20461         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20463         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20464         Remove variable.
20465         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20466         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20468 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20470         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20471         subscript above bounds'
20473         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20474         bounds.
20476 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20478         * libio/tst-fopenloc.c: Use test-skeleton.c.
20480         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20481         (entry): Rename to ITEM.
20482         (do_test, comp): Adjust.
20484         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20486 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20488         * string/tester.c: Include <libc-internal.h>.
20489         (test_memset): Ignore -Wmemset-transposed-args.
20491 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20493         * misc/tst-mntent2.c (do_test): Fix warning.
20495 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20497         * elf/tst-unique4lib.cc(a): Mark as used.
20499 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20501         [BZ #17630]
20502         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20503         names.
20505 2014-12-16  Allan McRae  <allan@archlinux.org>
20507         * stdio-common/Makefile (tests): Re-add bug26.
20509 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20511         [BZ #17657]
20512         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20513         static array.
20515 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20517         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20518         (__lll_lock_wait): Likewise.
20519         (__lll_timedlock_wait): Likewise.
20520         (__lll_timedwait_tid): Likewise.
20521         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20522         (__lll_robust_timedlock_wait): Likewise.
20523         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20524         (lll_cond_trylock): Likewise.
20525         (__lll_lock): Likewise.
20526         (__lll_robust_lock): Likewise.
20527         (__lll_cond_lock): Likewise.
20528         (lll_robust_cond_lock): Likewise.
20529         (__lll_timedlock): Likewise.
20530         (__lll_robust_timedlock): Likewise.
20531         (__lll_unlock): Likewise.
20532         (__lll_robust_unlock): Likewise.
20533         (lll_wait_tid): Likewise.
20534         (lll_timedwait_tid): Likewise.
20536 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20538         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20540 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20542         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20544 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20546         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20547         * stdio-common/tst-sprintf.c: Likewise.
20549 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20551         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20553 2014-12-15  Jeff Law  <law@redhat.com>
20555         [BZ #16617]
20556         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20557         on the heap.  (CVE-2012-3406)
20558         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20559         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20560         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20562 2014-12-15  Will Newton  <will.newton@linaro.org>
20564         * manual/install.texi: Bump required version of texinfo
20565         to 4.7 from 4.5.
20566         * INSTALL: Regenerated.
20567         * configure.ac: Check for makeinfo version 4.7 and above.
20568         * configure: Regenerated.
20570 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20572         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20573         PREFIX, string constant to insert between directory and name.
20574         * sysdeps/posix/shm_open.c: Update caller.
20575         * sysdeps/posix/shm_unlink.c: Likewise.
20576         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20577         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20578         (SEM_SHM_PREFIX): New macro.
20579         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20580         [$(have-thread-library) = no].
20581         * nptl/Makefile (libpthread-routines): Add shm-directory.
20582         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20583         * sysdeps/nptl/shm-directory.h: New file.
20584         * sysdeps/posix/shm-directory.c
20585         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20586         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20587         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20588         INTERNAL_SYSCALL.
20589         (__where_is_shmfs): Function removed.
20590         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20591         Variables removed.
20592         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20593         Use SHM_GET_NAME.
20594         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20596         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20597         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20598         unconditional for use inside libpthread.
20599         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20601 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20603         * nptl/pthread_getaffinity.c: New file.
20604         * nptl/pthread_setaffinity.c: New file.
20605         * nptl/pthread_getname.c: New file.
20606         * nptl/pthread_setname.c: New file.
20608         * nptl/pthread_create.c (START_THREAD_DEFN)
20609         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20611 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20612             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20614         * resolv/res_send.c (send_vc): Disable warning resplen may
20615         be used uninitialized.
20617 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20619         * nptl/tst-mutex6.c
20620         (ATTR_NULL): New define checks ATTR against NULL.
20621         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20622         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20624 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20626         [BZ #17581]
20627         * malloc/hooks.c
20628         (mem2mem_check): Revert my previous change.
20629         (malloc_check_get_size): Revert my previous change.
20630         (mem2chunk_check): Revert my previous change.
20632 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20634         * sysdeps/posix/shm-directory.c: New file.
20635         * sysdeps/posix/shm-directory.h: New file.
20636         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20637         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20638         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20639         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20640         Transmute EPERM to EACCES.
20641         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20642         from ...
20643         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20644         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20646 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20648         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20649         pointer and cast to uintptr_t.
20650         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20651         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20652         Add cast to avoid warning.
20653         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20655 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20657         * nptl/semaphore.h: Move to ...
20658         * sysdeps/pthread/semaphore.h: ... here.
20659         * Makefile (installed-headers): Change nptl/semaphore.h to
20660         sysdeps/pthread/semaphore.h.
20662 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20664         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20665         generated error format strings.
20667         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20668         -Wformat-extra-args warnings for scanf formats.
20669         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20670         test of zero-length format (duh).
20671         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20672         corner-case scanf format test.
20673         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20674         generated fprintf format string.
20675         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20676         corner-case sprintf format tests.
20677         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20678         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20679         -Wformat-extra-args warnings throughout.
20680         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20681         (CFLAGS-scanf4.c): Likewise.
20682         (CFLAGS-scanf7.c): Likewise.
20683         (CFLAGS-tst-sprintf.c): Likewise.
20684         (CFLAGS-tst-printf.c): Likewise.
20685         (CFLAGS-tst-printfsz.c): Likewise.
20687 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20689         * include/cpio.h: New file.
20690         * include/fmtmsg.h: Likewise.
20692         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20693         corresponding format argument to size_t.
20694         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20695         arguments.
20696         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20697         corresponding format argument to size_t.
20698         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20699         arguments.
20700         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20701         corresponding format argument to size_t.
20702         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20703         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20704         (CFLAGS-tst-mbswcs2.c): Likewise.
20705         (CFLAGS-tst-mbswcs3.c): Likewise.
20706         (CFLAGS-tst-mbswcs4.c): Likewise.
20707         (CFLAGS-tst-mbswcs5.c): Likewise.
20708         (CFLAGS-tst-trans.c): Likewise.
20710 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20712         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20713         rather than assuming they won't contain any '%'s.
20715 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
20717         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20718         inhibit_loop_to_libcall to avoid recursive calls.
20719         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20720         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20722 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20724         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20725         prototype.
20727 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20729         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20730         integer value instead of boolean.
20732 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20734         * malloc/malloc.c: Fix powerof2 check.
20736 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20738         * locale/programs/locfile.h (maybe_swap_uint32):
20739         Remove inline and add unused attribute.
20741 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20743         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20744         Truncating assembler expression to a .long expression.
20746 2014-12-11  Andreas Schwab  <schwab@suse.de>
20748         * elf/rtld.c (struct map_args): Constify str member.
20749         (do_preload): Constify fname argument.
20751 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20753         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20754         constants definition.
20756 2014-12-11  Andreas Schwab  <schwab@suse.de>
20758         [BZ #16657]
20759         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20760         FORCE_ELISION instead of DO_ELISION.
20761         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20762         Remove.
20763         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20764         Likewise.
20766         * iconvdata/gconv-modules: Remove duplicate entry.
20768 2014-12-11  Will Newton  <will.newton@linaro.org>
20770         Merge gettext 0.19.3 into intl/.
20772         This involves a number of cosmetic changes to comments
20773         and ANSI function definitions and prototypes throughout
20774         all the files. The gettext copyright header is used but
20775         with the date ranges taken from the glibc copy.
20777         * NEWS: Add gettext merge to 2.21.
20778         * intl/bindtextdom.c: Switch to gettext copyright.
20779         Use ANSI definitions and prototypes.
20780         Use gl_* locking primitives rather than __libc_* ones.
20781         Use __builtin_expect rather than __glibc_likely/unlikely.
20782         * intl/dcgettext.c: Switch to gettext copyright.
20783         Use ANSI definitions and prototypes.
20784         * intl/dcigettext.c: Switch to gettext copyright.
20785         Use ANSI definitions and prototypes.
20786         (INTDIV0_RAISES_SIGFPE): New define.
20787         Use gl_* locking primitives rather than __libc_* ones.
20788         Include eval-plural.h instead of plural-eval.c.
20789         Use __builtin_expect rather than __glibc_likely/unlikely.
20790         * intl/dcngettext.c: Switch to gettext copyright.
20791         Use ANSI definitions and prototypes.
20792         * intl/dgettext.c: Likewise.
20793         * intl/dngettext.c: Likewise.
20794         * intl/plural-eval.c: Renamed to...
20795         * intl/eval-plural.h: ...this.
20796         * intl/explodename.c: Switch to gettext copyright.
20797         Use ANSI definitions and prototypes.
20798         (_nl_explode_name): Use strchr instead of __rawmemchr.
20799         * intl/finddomain.c: Switch to gettext copyright.
20800         Use ANSI definitions and prototypes.
20801         Use gl_* locking primitives rather than __libc_* ones.
20802         (_nl_find_domain): Use malloc rather than alloca for
20803         allocation of temporary locale name.
20804         * intl/gettext.c: Switch to gettext copyright.
20805         Use ANSI definitions and prototypes.
20806         * intl/gettextP.h: Switch to gettext copyright.
20807         Use ANSI definitions and prototypes.
20808         Use gl_* locking primitives rather than __libc_* ones.
20809         * intl/gmo.h: Switch to gettext copyright.
20810         (struct sysdep_string): Move struct segment_pair outside of
20811         struct definition.
20812         * intl/hash-string.c: Use ANSI definitions and prototypes.
20813         * intl/hash-string.h: Switch to gettext copyright.
20814         Use ANSI definitions and prototypes.
20815         * intl/l10nflist.c: Switch to gettext copyright.
20816         Use ANSI definitions and prototypes.
20817         (_nl_normalize_codeset): Avoid integer overflow.
20818         * intl/loadinfo.h: Switch to gettext copyright.
20819         Use ANSI definitions and prototypes.
20820         (LIBINTL_DLL_EXPORTED): New define.
20821         (PATH_SEPARATOR): New define.
20822         * intl/loadmsgcat.c: Switch to gettext copyright.
20823         * intl/localealias.c: Switch to gettext copyright.
20824         Use ANSI definitions and prototypes.
20825         (_nl_expand_alias): Use PATH_SEPARATOR.
20826         * intl/ngettext.c: Switch to gettext copyright.
20827         Use ANSI definitions and prototypes.
20828         * intl/plural-exp.c: Likewise.
20829         * intl/plural-exp.h: Switch to gettext copyright.
20830         Use ANSI definitions and prototypes.
20831         (struct expression): Move definition of enum operator outside
20832         of struct definition.
20833         * intl/plural.c: Regenerate.
20834         * intl/plural.y: Switch to gettext copyright.
20835         Use ANSI definitions and prototypes.
20836         Port to bison 3.0.
20837         * intl/textdomain.c: Switch to gettext copyright.
20838         Use ANSI definitions and prototypes.
20839         Use gl_* locking primitives rather than __libc_* ones.
20841 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20843         * debug/warning-nop.c: Add used atrribute.
20845 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20847         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20849         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20850         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20851         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20853 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20854             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20856         [BZ #17634]
20857         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20858         Undefine after defining function.  Define as weak alias of
20859         __wcschr.  Use libc_hidden_weak.
20860         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20861         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20862         (libc_hidden_def): Also define __GI___wcschr alias.
20863         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20864         __wcschr and define as weak alias of __wcschr.
20865         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20866         __wcschr.
20867         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20868         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20869         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20870         libc_hidden_weak.  Do not use libc_hidden_def.
20871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20872         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20873         __GI___wcschr alias.
20874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20875         [IS_IN (libc)] (wcschr): Define as macro expanding to
20876         __redirect_wcschr.
20877         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20878         [IS_IN (libc)] (__wcschr_power6): Likewise.
20879         [IS_IN (libc)] (__wcschr_power7): Likewise.
20880         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20881         instead of wcschr.
20882         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20883         __libc_wcschr.
20884         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20885         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20886         __wcschr and define as weak alias of __wcschr.  Use
20887         libc_hidden_builtin_def.
20888         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20889         as weak alias of __wcschr.  Use libc_hidden_weak.
20890         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20891         wcschr.
20892         * time/era.c (_nl_init_era_entries): Likewise.
20893         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20894         variable.
20895         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20896         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20898 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20900         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20901         format for long int variable.
20903 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20905         [BZ #10672]
20906         * manual/search.texi: (Array Sort Function): Remove claim how to make
20907         qsort stable.
20909 2014-12-10  Andreas Schwab  <schwab@suse.de>
20911         [BZ #12847]
20912         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20913         user-controlled locks.
20915 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20917         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20918         register.
20920 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20922         * configure.ac (--disable-werror): New configure option.
20923         (enable_werror): New AC_SUBST.
20924         * configure: Regenerated.
20925         * config.make.in (enable-werror): New variable.
20926         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20927         -Wno-error=undef.
20928         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20929         * manual/install.texi (Configuring and compiling): Document
20930         --disable-werror.
20931         * INSTALL: Regenerated.
20932         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20933         (CFLAGS-tst-chk2.c): Likewise.
20934         (CFLAGS-tst-chk3.c): Likewise.
20935         (CFLAGS-tst-chk4.cc): Likewise.
20936         (CFLAGS-tst-chk5.cc): Likewise.
20937         (CFLAGS-tst-chk6.cc): Likewise.
20938         (CFLAGS-tst-lfschk1.c): Likewise.
20939         (CFLAGS-tst-lfschk2.c): Likewise.
20940         (CFLAGS-tst-lfschk3.c): Likewise.
20941         (CFLAGS-tst-lfschk4.cc): Likewise.
20942         (CFLAGS-tst-lfschk5.cc): Likewise.
20943         (CFLAGS-tst-lfschk6.cc): Likewise.
20945         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20946         (main): Disable -Wdeprecated-declarations around calls to
20947         register_printf_function.
20949         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20950         (do_test): Disable -Wdiv-by-zero around some calls to
20951         fwrite_unlocked and fread_unlocked.
20953         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20954         (DIAG_POP_NEEDS_COMMENT): Likewise.
20955         (_DIAG_STR1): Likewise.
20956         (_DIAG_STR): Likewise.
20957         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20958         * stdio-common/bug21.c: Include <libc-internal.h>.
20959         (do_test): Disable -Wformat around call to sscanf.
20960         * stdio-common/scanf14.c: Include <libc-internal.h>.
20961         (main): Disable -Wformat around some calls to scanf functions.
20963 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20965         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20967 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20969         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20970         stack variable alignment.
20972 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20974         [BZ #17682]
20975         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20976         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20977         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20978         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20979         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20980         __getrlimit instead of getrlimit.
20981         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20982         __gettimeofday instead of gettimeofday.
20983         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20984         Likewise.
20985         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20986         Likewise.
20987         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20988         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20989         Remove variable.
20990         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20991         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20993 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20995         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20996         for wide-character tests.
20998 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21000         * io/openat64.c: #include <libc-internal.h>
21001         (__openat64): Prototypify.  Use ignore_value on MODE.
21002         * io/openat.c: Likewise.
21003         * misc/reboot.c: #include <libc-internal.h>
21004         (reboot): Prototypify.  Use ignore_value on HOWTO.
21005         * misc/ptrace.c: #include <libc-internal.h>
21006         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21008 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21010         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21011         XPG4, UNIX98 and XOPEN2K.
21012         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21013         Remove variable.
21014         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21016 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21018         * libio/fileops.c: Use ISO C style for function definitions.
21019         * libio/iofopen.c: Likewise.
21020         * libio/wfileops.c: Likewise.
21022         [BZ #17653]
21023         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21024         offset on EOF.
21025         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21026         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21027         (fgets_func): Function pointer to fgets and fgetws.
21028         (do_ftell_test): Add test to verify ftell value after read
21029         EOF.
21030         (do_test): Set fgets_func.
21032         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21033         O_TRUNC flag for w and w+ modes.
21034         (do_rewind_test): Likewise.
21035         (do_ftell_test): Likewise.
21036         (do_write_test): Likewise.
21038         [BZ #17647]
21039         * libio/fileops.c (do_ftell): Seek only when there are
21040         unflushed writes.
21041         * libio/wfileops.c (do_ftell_wide): Likewise.
21042         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21043         test case.
21044         (do_one_test): Call it.
21046 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21048         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21049         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21050         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21051         Remove variable.
21052         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21053         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21054         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21056 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21058         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21059         Remove variable.
21060         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21062         [BZ #17668]
21063         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21064         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21065         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21066         __freeifaddrs.  Use libc_hidden_weak.
21067         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21068         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21069         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21070         __freeifaddrs.  Use libc_hidden_weak.
21071         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21072         __getifaddrs and define as weak alias of __getifaddrs.  Use
21073         libc_hidden_weak.
21074         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21075         __freeifaddrs.  Use libc_hidden_weak.
21076         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21077         Remove variable.
21078         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21079         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21081 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21083         [BZ #17601]
21084         * sysdeps/mips/start.S (__start): Use indirect jump to call
21085         __libc_start_main.
21087 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21089         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21091         * nptl/tst-mutex1.c: Include <stdbool.h>.
21092         [!ATTR] (ATTR_NULL): New macro.
21093         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21094         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21095         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21097         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21098         to char *.
21100         [BZ #17665]
21101         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21102         Change conditional to [__USE_MISC].
21104         [BZ #17664]
21105         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21106         fgets_unlocked.
21107         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21108         __fgets_unlocked.
21109         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21110         fgets_unlocked.
21111         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21112         Remove variable.
21113         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21114         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21115         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21116         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21117         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21118         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21119         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21120         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21121         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21123         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21125 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21127         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21128         Remove strpbrk objects.
21129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21130         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21131         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21133         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21134         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21136         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21137         Remove strcspn objects.
21138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21139         (__libc_ifunc_impl_list): Remove strcspn implementation.
21140         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21141         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21142         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21143         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21145         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21146         Remove strspn objetcs.
21147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21148         (__libc_ifunc_impl_list): Remove strspn implementation.
21149         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21150         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21151         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21152         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21154 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21156         [BZ #17581]
21157         * malloc/hooks.c
21158         (mem2mem_check): Add a terminator to the chain of checking blocks.
21159         (malloc_check_get_size): Use it here.
21160         (mem2chunk_check): Ditto.
21162 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21164         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21165         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21167 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21169         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21171         * nptl/nptl-init.c: Include libc-internal.h.
21172         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21174         * elf/ldconfig.c (search_dir): Expand comment.
21176 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21178         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21179         variable.
21180         (linknamespace-symlist-stdlibs-tests): Likewise.
21181         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21182         instead of $(objpfx)symlist-stdlibs.
21183         (linknamespace-libs-isoc): New variable.
21184         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21185         (linknamespace-libs-ISO): New variable.
21186         (linknamespace-libs-ISO99): Likewise.
21187         (linknamespace-libs-ISO11): Likewise.
21188         (linknamespace-libs-XPG3): Likewise.
21189         (linknamespace-libs-XPG4): Likewise.
21190         (linknamespace-libs-POSIX): Likewise.
21191         (linknamespace-libs-UNIX98): Likewise.
21192         (linknamespace-libs-XOPEN2K): Likewise.
21193         (linknamespace-libs-POSIX2008): Likewise.
21194         (linknamespace-libs-XOPEN2K8): Likewise.
21195         ($(objpfx)symlist-stdlibs): Replace by
21196         $(linknamespace-symlist-stdlibs-tests).  Use
21197         $(linknamespace-libs-$*) as set of libraries.
21198         ($(linknamespace-header-tests)): Update dependencies.  Use
21199         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21200         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21201         * conform/linknamespace.pl: Remove comment about considering
21202         definitions of symbols from irrelevant libraries.
21204 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21206         [BZ #13862]
21207         * elf/dl-tls.c: Include <atomic.h>.
21208         (oom): Remove #ifdef SHARED/#endif.
21209         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21210         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21211         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21212         big enough.
21213         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21214         * nptl/Makefile (tests): Add tst-stack4.
21215         (modules-names): Add tst-stack4mod.
21216         ($(objpfx)tst-stack4): New.
21217         (tst-stack4mod.sos): Likewise.
21218         ($(objpfx)tst-stack4.out): Likewise.
21219         ($(tst-stack4mod.sos)): Likewise.
21220         (clean): Likewise.
21221         * nptl/tst-stack4.c: New file.
21222         * nptl/tst-stack4mod.c: Likewise.
21224 2014-11-27  J. Brown  <jb999@gmx.de>
21226         * sysdeps/x86/bits/string.h: Add recent CPUs.
21228 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21230         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21231         sigblock.
21233         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21234         feof.
21236         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21237         variable.
21239 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21241         * nscd/connections.c: Include libc-internal.h because of macro
21242         usage ignore_value.
21244 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21246         * string/bits/string3.h (__warn_memset_zero_len): Don't
21247         declare for gcc newer than 5.0.
21248         (memset): Don't test for zero-length __LEN for gcc newer than
21249         5.0.
21251 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21253         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21254         size_t for %zu format.
21256         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21257         difference, not %ju.
21259 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21261         * include/libc-internal.h (ignore_value): New macro.
21262         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21263         with ignore_value.
21265         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21266         definition.
21268         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21269         pthread_cleanup_push to void *.
21271         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21272         Undefine.
21274         [BZ #16619]
21275         [BZ #16740]
21276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21277         instead of 1L << 52.
21279         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21280         * libio/bug-rewind2.c (do_test): Likewise.
21282         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21283         * debug/test-strcpy_chk-ifunc.c: Likewise.
21284         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21285         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21286         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21287         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21288         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21289         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21290         * Rules [$(multi-arch) = no] (tests): Do not filter out
21291         $(tests-ifunc).
21292         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21293         * debug/Makefile (tests-ifunc): Remove variable.
21294         (tests): Do not add $(tests-ifunc).
21295         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21296         (tests): Do not add $(tests-ifunc).
21297         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21298         [TEST_IFUNC]: Remove conditionals.
21299         * string/test-string.h (TEST_IFUNC): Remove macro.
21300         [TEST_IFUNC]: Remove conditionals.
21302         * string/test-strchr.c [!WIDE] (L): New macro.
21303         [WIDE] (L): Likewise.
21304         (check1): Use CHAR instead of char.  Use L on string and character
21305         constants.
21307 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21309         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21310         tests.
21311         * sysdeps/powerpc/bits/atomic.h
21312         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21313         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21314         (atomic_exchange_and_add_acq): Likewise.
21315         (atomic_exchange_and_add_rel): Likewise.
21316         * sysdeps/powerpc/powerpc32/bits/atomic.h
21317         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21318         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21319         * sysdeps/powerpc/powerpc64/bits/atomic.h
21320         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21321         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21323 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21325         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21326         Change synchronization of __sched_fifo_min_prio and
21327         __sched_fifo_max_prio.
21328         * nptl/pthread_mutexattr_getprioceiling.c
21329         (pthread_mutexattr_getprioceiling): Likewise.
21330         * nptl/pthread_mutexattr_setprioceiling.c
21331         (pthread_mutexattr_setprioceiling): Likewise.
21332         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21333         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21334         Likewise.
21336 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21338         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21339         void.
21341 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21343         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21344         third argument const.
21346 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21348         fnmatch: work around GCC compiler warning bug with uninit var
21349         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21350         This works around a bug with x86-64 GCC 4.9.2 and earlier
21351         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21352         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21353         used uninitialized in this function [-Wmaybe-uninitialized]".
21355 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21357         * posix/bug-regex31.c (main): Return RES not 0.
21359 2014-11-25  Anton Blanchard <anton@samba.org>
21361         * sysdeps/powerpc/bits/atomic.h
21362         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21364 2014-11-24  Sterling Augustine  <saugustine@google.com>
21366         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21368 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21370         [BZ #17608]
21371         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21373 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21375         [BZ #17633]
21376         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21377         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21378         variable.
21379         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21380         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21382 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21384         * string/strncpy.c (strncpy): Improve performance by using memset.
21386 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21388         * string/strcpy.c (strcpy):
21389         Improve performance by using strlen and memcpy.
21391 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21393         * string/strcoll_l.c (get_next_seq): __always_inline.
21394         * string/strcoll_l.c (do_compare): __always_inline.
21396 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21398         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21399         defined.
21400         * include/mqueue.h: Likewise.
21401         * include/stdlib.h: Likewise.
21403         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21404         (get_null_defines): Adjust.
21405         * sunrpc/Makefile: Adjust comment.
21406         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21407         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21408         (CFLAGS-interp.c): Likewise.
21409         (CFLAGS-ldconfig.c): Likewise.
21410         (CPPFLAGS-.os): Likewise.
21411         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21412         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21413         * extra-modules.mk (extra-modules.mk): Likewise.
21414         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21415         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21416         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21417         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21418         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21419         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21420         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21421         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21422         * iconvdata/Makefile (CPPFLAGS): Likewise.
21423         (cpp-srcs-left): Add libof for all iconvdata routines.
21424         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21425         * include/assert.h: Likewise.
21426         * include/ctype.h: Likewise.
21427         * include/errno.h: Likewise.
21428         * include/libc-symbols.h: Likewise.
21429         * include/math.h: Likewise.
21430         * include/netdb.h: Likewise.
21431         * include/resolv.h: Likewise.
21432         * include/stdio.h: Likewise.
21433         * include/stdlib.h: Likewise.
21434         * include/string.h: Likewise.
21435         * include/sys/stat.h: Likewise.
21436         * include/wctype.h: Likewise.
21437         * intl/l10nflist.c: Likewise.
21438         * libidn/idn-stub.c: Likewise.
21439         * libio/libioP.h: Likewise.
21440         * nptl/libc_multiple_threads.c: Likewise.
21441         * nptl/pthreadP.h: Likewise.
21442         * posix/regex_internal.h: Likewise.
21443         * resolv/res_hconf.c: Likewise.
21444         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21445         * sysdeps/arm/memmove.S: Likewise.
21446         * sysdeps/arm/sysdep.h: Likewise.
21447         * sysdeps/generic/_itoa.h: Likewise.
21448         * sysdeps/generic/symbol-hacks.h: Likewise.
21449         * sysdeps/gnu/errlist.awk: Likewise.
21450         * sysdeps/gnu/errlist.c: Likewise.
21451         * sysdeps/i386/i586/memcpy.S: Likewise.
21452         * sysdeps/i386/i586/memset.S: Likewise.
21453         * sysdeps/i386/i686/memcpy.S: Likewise.
21454         * sysdeps/i386/i686/memmove.S: Likewise.
21455         * sysdeps/i386/i686/mempcpy.S: Likewise.
21456         * sysdeps/i386/i686/memset.S: Likewise.
21457         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21458         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21459         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21460         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21461         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21462         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21463         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21464         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21465         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21466         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21467         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21468         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21469         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21470         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21471         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21472         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21473         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21474         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21475         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21477         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21478         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21479         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21480         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21481         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21482         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21483         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21484         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21485         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21486         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21487         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21491         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21492         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21493         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21494         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21495         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21496         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21497         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21498         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21499         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21500         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21501         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21502         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21503         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21505         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21506         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21507         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21508         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21509         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21510         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21511         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21512         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21513         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21514         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21515         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21516         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21517         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21518         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21519         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21520         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21521         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21522         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21523         * sysdeps/posix/closedir.c: Likewise.
21524         * sysdeps/posix/opendir.c: Likewise.
21525         * sysdeps/posix/readdir.c: Likewise.
21526         * sysdeps/posix/rewinddir.c: Likewise.
21527         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21528         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21529         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21530         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21531         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21532         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21533         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21538         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21539         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21540         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21541         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21542         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21543         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21544         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21545         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21546         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21547         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21548         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21549         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21550         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21552         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21553         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21555         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21563         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21564         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21565         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21566         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21567         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21568         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21569         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21571         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21572         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21573         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21574         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21575         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21576         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21577         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21578         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21579         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21580         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21581         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21584         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21585         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21586         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21587         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21588         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21589         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21590         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21591         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21592         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21593         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21594         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21595         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21596         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21597         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21598         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21599         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21600         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21601         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21602         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21603         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21604         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21605         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21606         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21607         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21608         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21609         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21611         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21612         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21613         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21614         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21615         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21617         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21618         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21619         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21621         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21623         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21625         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21626         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21627         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21628         * sysdeps/unix/alpha/sysdep.S: Likewise.
21629         * sysdeps/unix/alpha/sysdep.h: Likewise.
21630         * sysdeps/unix/make-syscalls.sh: Likewise.
21631         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21633         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21634         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21635         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21636         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21637         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21638         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21639         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21640         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21641         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21642         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21643         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21645         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21646         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21647         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21648         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21649         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21650         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21651         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21653         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21654         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21655         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21656         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21657         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21660         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21661         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21665         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21667         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21669         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21670         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21671         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21672         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21673         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21674         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21675         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21677         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21678         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21679         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21681         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21682         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21683         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21684         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21687         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21689         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21690         * sysdeps/x86_64/memcpy.S: Likewise.
21691         * sysdeps/x86_64/memmove.c: Likewise.
21692         * sysdeps/x86_64/memset.S: Likewise.
21693         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21694         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21695         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21696         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21697         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21699         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21700         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21701         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21702         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21703         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21704         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21705         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21706         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21707         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21708         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21709         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21710         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21711         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21712         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21713         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21714         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21715         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21717         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21718         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21719         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21720         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21721         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21722         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21723         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21724         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21725         * sysdeps/x86_64/strcmp.S: Likewise.
21727         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21729         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21730         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21731         * elf/rtld-Rules: Likewise.
21732         * elf/setup-vdso.h: Likewise.
21733         * include/assert.h: Likewise.
21734         * include/bits/stdlib-float.h: Likewise.
21735         * include/errno.h: Likewise.
21736         * include/sys/stat.h: Likewise.
21737         * include/unistd.h: Likewise.
21738         * sysdeps/aarch64/setjmp.S: Likewise.
21739         * sysdeps/alpha/setjmp.S: Likewise.
21740         * sysdeps/arm/__longjmp.S: Likewise.
21741         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21742         * sysdeps/arm/setjmp.S: Likewise.
21743         * sysdeps/arm/sysdep.h: Likewise.
21744         * sysdeps/generic/_itoa.h: Likewise.
21745         * sysdeps/generic/dl-sysdep.h: Likewise.
21746         * sysdeps/generic/ldsodefs.h: Likewise.
21747         * sysdeps/i386/dl-tls.h: Likewise.
21748         * sysdeps/i386/setjmp.S: Likewise.
21749         * sysdeps/m68k/setjmp.c: Likewise.
21750         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21751         * sysdeps/mach/hurd/opendir.c: Likewise.
21752         * sysdeps/posix/getcwd.c: Likewise.
21753         * sysdeps/posix/opendir.c: Likewise.
21754         * sysdeps/posix/profil.c: Likewise.
21755         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21756         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21757         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21758         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21759         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21760         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21762         * sysdeps/s390/dl-tls.h: Likewise.
21763         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21764         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21765         * sysdeps/sh/sh3/setjmp.S: Likewise.
21766         * sysdeps/sh/sh4/setjmp.S: Likewise.
21767         * sysdeps/unix/alpha/sysdep.h: Likewise.
21768         * sysdeps/unix/arm/sysdep.S: Likewise.
21769         * sysdeps/unix/i386/sysdep.S: Likewise.
21770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21771         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21772         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21773         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21774         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21775         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21776         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21777         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21778         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21779         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21780         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21781         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21782         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21785         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21788         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21789         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21790         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21793         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21794         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21795         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21797         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21798         * sysdeps/x86_64/setjmp.S: Likewise.
21800         * include/math.h: Use IS_IN instead of IS_IN_libm.
21801         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21802         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21803         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21804         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21805         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21806         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21807         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21808         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21809         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21810         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21811         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21812         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21813         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21814         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21815         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21816         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21817         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21818         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21819         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21820         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21821         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21822         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21823         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21824         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21825         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21826         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21827         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21828         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21829         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21830         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21831         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21832         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21833         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21835         Likewise.
21836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21837         Likewise.
21838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21839         Likewise.
21840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21841         Likewise.
21842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21843         Likewise.
21844         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21846         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21847         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21848         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21849         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21855         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21856         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21857         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21858         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21859         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21860         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21861         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21862         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21863         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21864         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21865         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21867         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21868         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21870         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21872         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21873         * nptl/pthreadP.h: Likewise.
21874         * nptl_db/structs.def: Likewise.
21875         * sysdeps/arm/sysdep.h: Likewise.
21876         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21877         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21878         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21879         * sysdeps/unix/alpha/sysdep.h: Likewise.
21880         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21882         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21883         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21884         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21885         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21886         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21887         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21888         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21889         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21890         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21891         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21892         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21893         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21898         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21899         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21901         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21902         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21903         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21904         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21905         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21907         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21908         * nptl/pthreadP.h: Likewise.
21909         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21910         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21911         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21912         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21913         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21914         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21915         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21916         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21917         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21918         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21919         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21920         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21922         Likewise.
21923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21924         Likewise.
21925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21926         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21927         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21928         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21929         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21930         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21931         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21932         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21934         * dlfcn/dladdr.c: Use IS_IN.
21935         * dlfcn/dladdr1.c: Likewise.
21936         * dlfcn/dlclose.c: Likewise.
21937         * dlfcn/dlerror.c: Likewise.
21938         * dlfcn/dlinfo.c: Likewise.
21939         * dlfcn/dlmopen.c: Likewise.
21940         * dlfcn/dlopen.c: Likewise.
21941         * dlfcn/dlsym.c: Likewise.
21942         * dlfcn/dlvsym.c: Likewise.
21944         * include/ifaddrs.h: Use IS_IN.
21945         * inet/check_pf.c: Likewise.
21946         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21947         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21949         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21950         IS_IN_ldconfig.
21951         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21952         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21954         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21955         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21956         IS_IN (libc).
21958         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21960         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21961         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21962         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21963         * include/libc-symbols.h (IS_IN_LIB): New macro.
21964         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21965         * include/netdb.h: Likewise.
21966         * include/stap-probe.h: Remove all uses of IN_LIB.
21968         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21969         instead of IN_MODULE.
21970         * include/libc-symbols.h (IN_MODULE): Define using
21971         MODULE_NAME.
21972         (PASTE_NAME, PASTE_NAME1): New macros.
21973         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21974         of IN_LIB.
21975         (STAP_PROBE_ASM): Likewise.
21977 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21979         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21980         __mach_init in dlopened libc.
21982 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21984         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21985         * sysdeps/arm/preconfigure: Regenerate.
21987 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21989         * nptl/pthread_create.c (__pthread_create_2_1): Set
21990         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21991         when copying values from IATTR into PD.
21993 2014-11-21  Will Newton  <will.newton@linaro.org>
21994             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21996         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21997         Refactor inline-asm.  Also add comment.
21999         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22000         ElfW macro instead of hardcoded Elf64 types.
22001         (la_aarch64_gnu_pltenter): Likewise.
22002         * sysdeps/aarch64/dl-machine.h
22003         (elf_machine_runtime_setup): Use ElfW(Addr).
22005         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22006         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22007         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22008         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22009         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22010         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22011         (R_AARCH64_TLS_DTPMOD): This.
22012         (R_AARCH64_TLS_DTPREL64): Rename to ...
22013         (R_AARCH64_TLS_DTPREL): This.
22014         (R_AARCH64_TLS_TPREL64): Rename to ...
22015         (R_AARCH64_TLS_TPREL): This.
22016         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22017         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22018         R_AARCH64_TLS_TPREL64.
22019         (elf_machine_rela): Likewise.
22021 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22023         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22024         by setting it to 0.  64b atomics are not supported currently.
22026 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22028         [BZ #16469]
22029         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22030         search domain names.
22032 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22034         [BZ #16469]
22035         * NEWS: Update.
22036         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22037         trailing dot.
22038         * posix/tst-getaddrinfo5.c: New.
22039         * posix/Makefile (tests): Add it.
22041 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22043         [BZ #14498]
22044         * NEWS: Fixed.
22045         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22046         after parsing line but before break_if_match.
22047         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22048         if there is a protocol mismatch.
22050 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22052         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22053         because the potential race is on the user-supplied stream.
22055 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22057         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22058         string literal if not passed a buffer.
22059         * manual/job.texi (ctermid): Update reasoning, note deviation
22060         from posix, suggest mtasurace when not passed a buffer, for
22061         future non-preliminary safety notes.
22063 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22065         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22066         of not passing it a buffer.
22067         Reported by Peng Haitao.
22069 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22071         * manual/Makefile ($(objpfx)stamp-summary): Require
22072         check-safety.sh to pass.
22073         * manual/check-safety.sh: Wish for verification that every
22074         @deftypefn and @deftypefun is followed by a @safety remark.
22076 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22078         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22080         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22081         PTHREAD_CANCEL_ASYNCHRONOUS.
22082         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22083         send SIGCANCEL.
22085         * nptl/default-sched.h: New file.
22086         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22087         * nptl/pthread_create.c: Include it.
22088         (__pthread_create_2_1): Use collect_default_sched instead of making
22089         Linux syscalls here directly.
22091 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22093         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22094         __pthread_once): Use C11 atomics.
22096 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22098         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22100 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22102         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22103         atomic_thread_fence_acquire, atomic_thread_fence_release,
22104         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22105         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22106         atomic_compare_exchange_weak_relaxed,
22107         atomic_compare_exchange_weak_acquire,
22108         atomic_compare_exchange_weak_release,
22109         atomic_exchange_acquire, atomic_exchange_release,
22110         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22111         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22112         atomic_fetch_and_acquire,
22113         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22115 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22117         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22118         USE_ATOMIC_COMPILER_BUILTINS): Define.
22119         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22121         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22123         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22125         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22127         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22129         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22131         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22133         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22135         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22137         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22139         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22141         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22145         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22147         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22149         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22151         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22153         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22154         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22155         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22157         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22160 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22162         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22163         the sched_priority value here.  It was already checked when the user
22164         called pthread_attr_setschedparam.
22166         * nptl/tst-bad-schedattr.c: New file.
22167         * nptl/Makefile (tests): Add it.
22169 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22170             Florian Weimer  <fweimer@redhat.com>
22171             Joseph Myers  <joseph@codesourcery.com>
22172             Adam Conrad  <adconrad@0c3.net>
22173             Andreas Schwab  <schwab@suse.de>
22174             Brooks  <bmoses@google.com>
22176         [BZ #17625]
22177         * wordexp-test.c (__dso_handle): Add prototype.
22178         (__register_atfork): Likewise.
22179         (__app_register_atfork): New function.
22180         (registered_forks): New global.
22181         (register_fork): New function.
22182         (test_case): Add 3 new tests for WRDE_CMDSUB.
22183         (main): Call __app_register_atfork.
22184         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22185         fork count is non-zero fail the test.
22186         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22187         is set.
22188         (parse_dollars): Remove check for WRDE_NOCMD.
22189         (parse_dquote): Likewise.
22191 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193         * Makeconfig (built-modules): List non-library modules to be
22194         built.
22195         (module-cppflags): Include libc-modules.h for
22196         everything except shlib-versions.v.i.
22197         (CPPFLAGS): Use it.
22198         (before-compile): Add libc-modules.h.
22199         ($(common-objpfx)libc-modules.h,
22200         $(common-objpfx)libc-modules.stmp): New targets.
22201         (common-generated): Add libc-modules.h and libc-modules.stmp.
22202         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22203         * include/libc-symbols.h: Don't include libc-modules.h.
22204         * include/libc-modules.h: Remove file.
22205         * scripts/gen-libc-modules.awk: New script to generate
22206         libc-modules.h.
22207         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22208         Depend on libc-modules.stmp.
22210         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22212         * Makeconfig (in-module): Get value of libof set for the
22213         translation unit.
22214         (CPPFLAGS): Use $(in-module).
22215         * Makerules: Don't suffix routine names for nonlib.
22216         * include/libc-modules.h: New file.
22217         * include/libc-symbols.h: Include libc-modules.h
22218         (IS_IN): New macro to replace IS_IN_* macros.
22219         * elf/Makefile: Set libof-* for each routine.
22220         * elf/rtld-Rules: Likewise.
22221         * extra-modules.mk: Likewise.
22222         * iconv/Makefile: Likewise.
22223         * iconvdata/Makefile: Likewise.
22224         * locale/Makefile: Likewise.
22225         * malloc/Makefile: Likewise.
22226         * nss/Makefile: Likewise.
22227         * sysdeps/gnu/Makefile: Likewise.
22228         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22229         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22230         * sysdeps/s390/s390-64/Makefile: Likewise.
22231         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22232         CPPFLAGS for nscd instead of nonlib.
22234 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22236         * nptl/createthread.c: New file.
22238         * nptl/createthread.c: Moved ...
22239         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22241         * nptl/createthread.c: Add proper top-line comment.
22242         (do_clone): Folded into ...
22243         (create_thread): ... here.  Take new arguments STOPPED_START and
22244         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22245         increment __nptl_threads, do event-reporting logic, do
22246         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22247         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22248         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22249         just send SIGCANCEL.
22250         * nptl/pthread_create.c: Forward-declare create_thread before
22251         including createthread.c.
22252         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22253         declaration, and new macro START_THREAD_SELF to replace argument.
22254         Remove return statement.
22255         (report_thread_creation): New function.
22256         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22257         synchronization logic, and __nptl_nthreads increment here, around
22258         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22259         PD->parent_cancelhandling here, before create_thread.  When
22260         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22261         __deallocate_stack, and ENOMEM translation here.
22263 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22265         [BZ #17616]
22266         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22267         (mptwo): Rename to __mptwo.
22268         (__inv): Use __mptwo instead of mptwo.
22269         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22270         (mptwo): Rename to __mptwo.
22271         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22272         of mpone and __mptwo instead of mptwo.
22273         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22274         instead of mpone.
22275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22276         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22277         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22278         of mpone and __mptwo instead of mptwo.
22279         (__mpranred): Use __mpone instead of mpone.
22280         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22281         variable.
22282         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22283         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22284         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22285         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22286         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22287         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22288         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22289         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22290         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22291         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22292         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22293         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22294         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22295         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22296         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22297         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22298         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22299         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22300         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22302 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22304         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22305         replace BSD Handler xref with BSD Signal Handling.
22307 2014-11-17  Richard Henderson  <rth@redhat.com>
22309         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22310         (_FP_PACK_RAW_2): Remove.
22311         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22312         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22313         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22314         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22315         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22316         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22317         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22318         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22319         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22320         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22321         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22322         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22323         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22324         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22325         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22326         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22328 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22330         * signal/signal.h [__USE_MISC]
22331         (struct sigvec): Remove type.
22332         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22333         (sigvec): Remove declaration.
22334         * sysdeps/posix/sigvec.c: Moved ...
22335         * signal/sigvec.c: ... here, replacing old file.
22336         (struct sigvec): New type, copied from old signal.h definition.
22337         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22338         (__sigvec): Convert definition to prototype.
22339         (sigvec): Replace weak_alias with compat_symbol.
22340         * signal/Versions (libc: GLIBC_2.21): New version set.
22341         * include/signal.h: Remove __sigvec declaration.
22342         * sysdeps/unix/bsd/sigvec.c: Remove file.
22343         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22344         * manual/signal.texi (BSD Handler): Remove subsection.
22345         Move siginterrupt up to ...
22346         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22347         (Blocking in BSD): Fold subsection into its parent.
22348         * NEWS: Mention sigvec removal.
22350 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22352         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22353         (DLA_FMS): Make definition conditional only on [__FMA4__].
22354         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22355         definition.
22357         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22358         Make definition conditional only on [PROF].
22359         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22360         definition.
22361         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22362         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22364         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22365         !__GNUC__].
22366         * include/signal.h (__sigpause): Move declaration above call to
22367         libc_hidden_proto.
22368         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22369         variable.
22370         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22371         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22373 2014-11-14  David S. Miller  <davem@davemloft.net>
22375         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22376         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22378 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22380         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22381         * configure: Regenerated.
22382         * manual/install.texi (Tools for Compilation): Document a
22383         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22384         compiler verified to work.
22385         * INSTALL: Regenerated.
22387         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22388         redeclare with asm name.
22389         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22390         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22391         including <string.h>.
22392         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22393         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22394         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22395         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22396         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22398         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22400 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22402         * stdlib/strtol.c (__strtol): Use prototype definition.
22404         [BZ #17594]
22405         * stdlib/strtol.c (SYM__): New macro.
22406         (SYM__1): Likewise.
22407         (__strtol): Likewise.
22408         (strtol): Rename to __strtol and define as weak alias of
22409         __strtol.  Use libc_hidden_weak.
22411 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22413         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22414         Use numbered labels in inline assembly.
22416 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22418         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22419         Add setjmp LIBC_PROBE.
22420         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22421         Likewise.
22422         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22423         Add longjmp, longjmp_target LIBC_PROBE.
22424         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22425         Likewise.
22427 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22429         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22430         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22431         to get rid of unused variable warning.
22433 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22435         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22436         Check for unwind_backtrace ==  NULL only in SHARED case.
22437         (__backchain_backtrace): Compile only in SHARED case.
22438         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22439         Likewise.
22440         (__backchain_backtrace): Declare as static.
22442 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22444         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22445         (__libc_multiple_threads_ptr): Variable moved ...
22446         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22448 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22450         * conform/GlibcConform.pm: New file.
22451         * conform/conformtest.pl: Use GlibcConform module.
22452         * conform/linknamespace.pl: New file.
22453         * conform/list-header-symbols.pl: Likewise.
22454         * conform/Makefile (linknamespace-symlists-base): New variable.
22455         (linknamespace-symlists-tests): Likewise.
22456         (linknamespace-header-base): Likewise.
22457         (linknamespace-header-tests): Likewise.
22458         (tests-special): Add new tests.
22459         ($(linknamespace-symlists-tests)): New rule.
22460         (linknamespace-libs): New variable.
22461         ($(objpfx)symlist-stdlibs): New rule.
22462         ($(linknamespace-header-tests)): Likewise.
22463         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22464         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22465         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22466         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22467         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22468         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22469         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22470         (test-xfail-ISO/math.h/linknamespace): Likewise.
22471         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22472         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22473         (test-xfail-ISO/time.h/linknamespace): Likewise.
22474         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22475         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22476         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22477         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22478         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22479         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22480         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22481         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22482         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22483         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22484         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22485         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22486         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22487         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22488         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22489         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22490         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22491         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22492         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22493         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22494         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22495         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22496         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22497         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22498         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22499         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22500         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22501         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22502         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22503         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22504         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22505         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22506         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22507         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22508         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22509         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22510         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22511         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22512         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22513         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22514         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22515         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22516         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22517         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22518         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22519         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22520         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22521         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22522         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22523         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22524         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22525         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22526         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22527         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22528         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22529         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22530         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22531         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22532         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22533         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22534         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22535         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22536         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22537         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22538         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22539         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22540         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22541         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22542         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22543         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22544         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22545         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22546         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22547         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22548         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22549         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22550         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22551         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22552         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22553         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22554         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22555         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22556         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22557         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22558         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22559         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22560         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22561         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22562         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22563         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22564         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22565         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22566         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22567         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22568         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22569         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22570         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22571         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22572         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22573         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22574         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22575         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22576         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22577         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22578         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22579         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22580         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22581         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22582         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22583         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22584         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22585         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22586         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22587         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22588         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22589         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22590         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22591         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22592         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22593         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22594         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22595         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22596         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22597         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22598         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22599         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22600         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22601         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22602         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22603         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22604         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22605         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22606         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22607         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22608         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22609         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22610         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22611         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22612         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22613         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22614         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22615         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22616         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22617         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22618         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22619         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22620         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22621         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22622         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22623         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22625         [BZ #17589]
22626         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22627         of fgets_unlocked.
22629         [BZ #17585]
22630         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22631         (memmem): Rename to __memmem and define as weak alias of
22632         __memmem.  Use libc_hidden_weak.
22633         (__memmem): Use libc_hidden_def.
22634         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22635         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22636         memmem.
22638         [BZ #17582]
22639         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22640         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22641         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22642         and define as weak alias of __fgets_unlocked.  Use
22643         libc_hidden_weak.
22644         (__fgets_unlocked): Use libc_hidden_def.
22645         * include/stdio.h (__fgets_unlocked): Declare.  Use
22646         libc_hidden_proto.
22647         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22648         __fgets_unlocked instead of fgets_unlocked.
22649         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22650         (GET_NPROCS_CONF_PARSER): Likewise.
22651         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22652         (GET_NPROCS_CONF_PARSER): Likewise.
22654         [BZ #17574]
22655         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22656         weak alias of __wmemset.  Use libc_hidden_weak.
22657         (__wmemset): Use libc_hidden_def.
22658         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22659         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22660         of wmemset.
22662         [BZ #17573]
22663         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22664         with asm name __mempcpy.
22665         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22667         [BZ #17572]
22668         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22669         and define as weak alias of __rawmemchr.
22670         (__rawmemchr): Do not define as strong alias of rawmemchr.
22672         [BZ #17571]
22673         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22674         alias of __qsort_r.
22675         (qsort): Call __qsort_r instead of qsort_r.
22676         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22677         (__qsort_r): Declare.  Call libc_hidden_proto.
22678         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22679         instead of qsort_r.
22680         * nscd/gai.c (__qsort_r): Define to qsort_r.
22681         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22682         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22683         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22685         [BZ #17570]
22686         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22687         define as weak alias of __malloc_info.
22689         [BZ #17584]
22690         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22691         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22692         (__rewinddir): Use libc_hidden_def.
22693         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22694         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22695         (__rewinddir): Use libc_hidden_def.
22696         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22697         weak alias of __rewinddir.  Don't use libc_hidden_def.
22698         (__rewinddir): Use libc_hidden_def.
22699         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22700         (__rewinddir): Use libc_hidden_proto.
22701         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22702         rewinddir.
22703         (__getcwd): Use __rewinddir instead of rewinddir.
22705         [BZ #17583]
22706         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22707         alias of __fileno.  Use libc_hidden_weak.
22708         (__fileno): Use libc_hidden_def.
22709         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22710         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22711         alias of __ftello.
22712         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22713         __ftello.
22714         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22715         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
22716         libc_hidden_def.
22717         (fread_unlocked): Don't use libc_hidden_ver.
22718         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22719         and define as weak alias of __fread_unlocked.  Don't use
22720         libc_hidden_def.
22721         (__fread_unlocked): Use libc_hidden_def.
22722         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
22723         (ftello): Don't use libc_hidden_proto.
22724         (__ftello): Declare.  Use libc_hidden_proto.
22725         (fread_unlocked): Don't use libc_hidden_proto.
22726         (__fread_unlocked): Declare.  Use libc_hidden_proto.
22727         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22728         and __ftello instead of fileno, fread_unlocked and ftello.
22730 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22733         GOT12.
22734         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22735         Likewise.
22736         (_dl_start_user): Likewise.
22737         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22739 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
22740             Siddhesh Poyarekar  <siddhesh@redhat.com>
22742         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22743         Move argv and envp down instead of moving argc up.
22744         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22746 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
22748         [BZ #17506]
22749         * test-skeleton.c (main): Return successful if one of
22750         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22751         * string/tst-strcoll-overflow.c: Define expected status.
22753 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
22755         [BZ #17475]
22756         * locale/iso-639.def: Define Bhili and Tulu language codes.
22758 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
22760         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22762 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
22764         [BZ #17555]
22765         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22767 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22769         * configure.ac: Updated check of minimal required version to
22770         2.22.
22771         * manual/install.texi (Tools for Compilation): Updated version
22772         number.
22773         * configure: Regenerated.
22774         * INSTALL: Likewise.
22776 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
22778         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22779         __tls_get_addr.
22781 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22783         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22784         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22785         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22786         libc_hidden_weak.
22787         (waitpid): Define as alias of __waitpid.
22788         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22789         __waitpid.
22790         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22791         libc_hidden_weak.
22792         (waitpid): Define as alias of __waitpid.
22793         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22794         __libc_waitpid alias.
22795         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22796         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22797         Likewise.
22798         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22799         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22800         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22801         alias.
22802         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22803         __waitpid.
22804         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22805         libc_hidden_weak.
22806         (waitpid): Define as alias of __waitpid.
22808 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22810         * manual/llio.texi: Add comment that write safety has been
22811         fixed in Linux.
22813         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22814         (localplt-build-dso): Add elf/ld.so.
22815         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22816         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22817         and free for ld.so.
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22819         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22821         Likewise.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22823         Likewise.
22824         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22825         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22826         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22827         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22828         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22829         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22830         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22831         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22832         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22833         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22834         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22836 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #14132]
22839         * include/libc-symbols.h (INTUSE): Remove macro.
22840         (INTDEF): Likewise.
22841         (INTVARDEF): Likewise.
22842         (_INTVARDEF): Likewise.
22843         (INTDEF2): Likewise.
22844         (INTVARDEF2): Likewise.
22845         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22846         rtld_hidden_def instead of INTVARDEF.
22847         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22848         (_dl_starting_up_internal): Remove declaration.
22849         (_dl_starting_up): Use rtld_hidden_proto.
22850         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22851         declaration.
22852         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22853         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22854         _dl_starting_up.
22855         * elf/dl-writev.h (_dl_writev): Likewise.
22856         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22857         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22858         _dl_starting_up_internal.
22860 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22862         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22863         test-skeleton.c.
22865 2014-11-05  Will Newton  <will.newton@linaro.org>
22867         * benchtests/Makefile: (bench-malloc): Add malloc thread
22868         scalability benchmark.
22869         * benchtests/bench-malloc-threads.c: New file.
22871 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22873         * sysdeps/aarch64/strchrnul.S: New file.
22875 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22877         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22878         definition.
22879         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22880         Likwise.
22881         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22882         Likewise.
22883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22884         Likewise.
22885         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22886         Likewise.
22887         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22888         Likewise.
22890 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22892         * catgets/test-gencat.c: Use test-skeleton.c.
22893         * catgets/tst-catgets.c: Likewise.
22894         * csu/tst-empty.c: Likewise.
22895         * elf/tst-audit2.c: Likewise.
22896         * elf/tst-global1.c: Likewise.
22897         * elf/tst-pathopt.c: Likewise.
22898         * elf/tst-piemod1.c: Likewise.
22899         * elf/tst-tls10.c: Likewise.
22900         * elf/tst-tls11.c: Likewise.
22901         * elf/tst-tls12.c: Likewise.
22902         * gnulib/tst-gcc.c: Likewise.
22903         * iconvdata/tst-e2big.c: Likewise.
22904         * iconvdata/tst-loading.c: Likewise.
22905         * iconv/tst-iconv1.c: Likewise.
22906         * iconv/tst-iconv2.c: Likewise.
22907         * inet/test-inet6_opt.c: Likewise.
22908         * inet/tst-gethnm.c: Likewise.
22909         * inet/tst-network.c: Likewise.
22910         * inet/tst-ntoa.c: Likewise.
22911         * intl/tst-codeset.c: Likewise.
22912         * intl/tst-gettext2.c: Likewise.
22913         * intl/tst-gettext3.c: Likewise.
22914         * intl/tst-ngettext.c: Likewise.
22915         * intl/tst-translit.c: Likewise.
22916         * io/test-stat.c: Likewise.
22917         * libio/test-fmemopen.c: Likewise.
22918         * libio/tst-freopen.c: Likewise.
22919         * libio/tst-sscanf.c: Likewise.
22920         * libio/tst-ungetwc1.c: Likewise.
22921         * libio/tst-ungetwc2.c: Likewise.
22922         * libio/tst-widetext.c: Likewise.
22923         * localedata/tst-ctype.c: Likewise.
22924         * localedata/tst-digits.c: Likewise.
22925         * localedata/tst-leaks.c: Likewise.
22926         * localedata/tst-mbswcs1.c: Likewise.
22927         * localedata/tst-mbswcs2.c: Likewise.
22928         * localedata/tst-mbswcs3.c: Likewise.
22929         * localedata/tst-mbswcs4.c: Likewise.
22930         * localedata/tst-mbswcs5.c: Likewise.
22931         * localedata/tst-setlocale.c: Likewise.
22932         * localedata/tst-trans.c: Likewise.
22933         * localedata/tst-wctype.c: Likewise.
22934         * localedata/tst-xlocale1.c: Likewise.
22935         * login/tst-grantpt.c: Likewise.
22936         * malloc/tst-calloc.c: Likewise.
22937         * malloc/tst-malloc.c: Likewise.
22938         * malloc/tst-mallocstate.c: Likewise.
22939         * malloc/tst-mcheck.c: Likewise.
22940         * malloc/tst-mtrace.c: Likewise.
22941         * malloc/tst-obstack.c: Likewise.
22942         * math/atest-exp2.c: Likewise.
22943         * math/atest-exp.c: Likewise.
22944         * math/atest-sincos.c: Likewise.
22945         * math/test-matherr.c: Likewise.
22946         * math/test-misc.c: Likewise.
22947         * math/test-powl.c: Likewise.
22948         * math/tst-definitions.c: Likewise.
22949         * misc/tst-dirname.c: Likewise.
22950         * misc/tst-efgcvt.c: Likewise.
22951         * misc/tst-fdset.c: Likewise.
22952         * misc/tst-hsearch.c: Likewise.
22953         * misc/tst-mntent2.c: Likewise.
22954         * nptl/tst-sem7.c: Likewise.
22955         * nptl/tst-sem8.c: Likewise.
22956         * nptl/tst-sem9.c: Likewise.
22957         * nss/test-netdb.c: Likewise.
22958         * posix/tst-fnmatch.c: Likewise.
22959         * posix/tst-getlogin.c: Likewise.
22960         * posix/tst-gnuglob.c: Likewise.
22961         * posix/tst-mmap.c: Likewise.
22962         * pwd/tst-getpw.c: Likewise.
22963         * resolv/tst-inet_ntop.c: Likewise.
22964         * rt/tst-timer.c: Likewise.
22965         * stdio-common/test-fseek.c: Likewise.
22966         * stdio-common/test-popen.c: Likewise.
22967         * stdio-common/test-vfprintf.c: Likewise.
22968         * stdio-common/tst-cookie.c: Likewise.
22969         * stdio-common/tst-fileno.c: Likewise.
22970         * stdio-common/tst-gets.c: Likewise.
22971         * stdio-common/tst-obprintf.c: Likewise.
22972         * stdio-common/tst-perror.c: Likewise.
22973         * stdio-common/tst-sprintf2.c: Likewise.
22974         * stdio-common/tst-sprintf3.c: Likewise.
22975         * stdio-common/tst-sprintf.c: Likewise.
22976         * stdio-common/tst-swprintf.c: Likewise.
22977         * stdio-common/tst-tmpnam.c: Likewise.
22978         * stdio-common/tst-unbputc.c: Likewise.
22979         * stdio-common/tst-wc-printf.c: Likewise.
22980         * stdlib/tst-environ.c: Likewise.
22981         * stdlib/tst-fmtmsg.c: Likewise.
22982         * stdlib/tst-limits.c: Likewise.
22983         * stdlib/tst-rand48-2.c: Likewise.
22984         * stdlib/tst-rand48.c: Likewise.
22985         * stdlib/tst-random2.c: Likewise.
22986         * stdlib/tst-random.c: Likewise.
22987         * stdlib/tst-strtol.c: Likewise.
22988         * stdlib/tst-strtoll.c: Likewise.
22989         * stdlib/tst-tls-atexit.c: Likewise.
22990         * stdlib/tst-xpg-basename.c: Likewise.
22991         * string/test-ffs.c: Likewise.
22992         * string/tst-bswap.c: Likewise.
22993         * string/tst-inlcall.c: Likewise.
22994         * string/tst-strtok.c: Likewise.
22995         * string/tst-strxfrm.c: Likewise.
22996         * sysdeps/x86_64/tst-audit10.c: Likewise.
22997         * sysdeps/x86_64/tst-audit3.c: Likewise.
22998         * sysdeps/x86_64/tst-audit4.c: Likewise.
22999         * sysdeps/x86_64/tst-audit5.c: Likewise.
23000         * time/tst-ftime_l.c: Likewise.
23001         * time/tst-getdate.c: Likewise.
23002         * time/tst-mktime3.c: Likewise.
23003         * time/tst-mktime.c: Likewise.
23004         * time/tst-posixtz.c: Likewise.
23005         * time/tst-strptime2.c: Likewise.
23006         * time/tst-strptime3.c: Likewise.
23007         * wcsmbs/tst-btowc.c: Likewise.
23008         * wcsmbs/tst-mbrtowc.c: Likewise.
23009         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23010         * wcsmbs/tst-wchar-h.c: Likewise.
23011         * wcsmbs/tst-wcpncpy.c: Likewise.
23012         * wcsmbs/tst-wcrtomb.c: Likewise.
23013         * wcsmbs/tst-wcsnlen.c: Likewise.
23014         * wcsmbs/tst-wcstof.c: Likewise.
23016 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23018         [BZ #14132]
23019         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23020         INTDEF.
23021         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23022         declaration.
23023         (_dl_mcount): Use rtld_hidden_proto.
23024         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23025         _dl_mcount.
23026         * elf/rtld.c (_rtld_global_ro): Likewise.
23028         [BZ #14132]
23029         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23030         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23031         of _dl_init_internal.
23032         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23033         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23034         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23035         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23036         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23037         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23038         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23039         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23040         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23041         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23042         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23043         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23044         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23045         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23046         * sysdeps/tile/dl-start.S (_start): Likewise.
23047         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23048         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23050         [BZ #14132]
23051         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23052         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23053         (rtld_progname): Make macro definition unconditional.
23054         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23055         INTDEF.
23056         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23057         (dl_main): Likewise.
23058         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23059         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23060         instead of _dl_argv_internal.
23061         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23062         __GI__dl_argv instead of INTUSE(_dl_argv).
23063         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23064         __GI__dl_argv instead of _dl_argv_internal.
23066         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23067         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23068         macro.
23069         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23070         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23071         New macro.
23072         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23073         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23074         macro.
23075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23076         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23078 2014-11-04  Andreas Schwab  <schwab@suse.de>
23080         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23082 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23084         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23085         mtvsrd instruction in binary form.
23087 2014-11-03  Andreas Schwab  <schwab@suse.de>
23089         [BZ #17522]
23090         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23091         for less than MB_LEN_MAX use a local buffer of that size.
23092         * libio/tst-fputws.c: New file.
23093         * libio/Makefile (tests): Add tst-fputws.
23095 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23097         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23098         the size of the fpu_fr.fpu_dregs[] array.
23100 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23102         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23103         (__nanosleep): Do not define as alias.
23104         (nanosleep): Define as alias of __nanosleep.
23105         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23106         __libc_nanosleep name.
23108 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23110         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23111         install.texi in comment.
23113 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23115         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23116         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23117         ... add here and use lwsync or sync ...
23118         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23119         ... and add here using lwsync.
23121 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23123         * elf/dl-machine-reject-phdr.h: New file.
23124         * elf/dl-load.c: #include that.
23125         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23126         if that returned true.
23128 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23130         [BZ #17496]
23131         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23132         gen-as-const-headers chunk.  Add a big scare comment after the last
23133         safe place to touch before-compile.
23135 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23137         * manual/install.texi (Tools for Compilation): Update autoconf
23138         version requirements.
23139         * INSTALL: Regenerated.
23141         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23142         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23143         (__libc_pselect): Likewise.
23145         [BZ #14138]
23146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23151 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23153         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23154         correct barrier instruction.
23155         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23156         Likewise.
23157         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23158         Likewise.
23160 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23162         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23163         after defining inlines.  Instead, just use parens to defeat macro
23164         expansion of __isctype in its declaration.
23166 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23168         * include/sys/uio.h (__libc_readv): Remove declaration.
23169         (__libc_writev): Likewise.
23170         * misc/readv.c (__libc_readv): Rename to __readv.
23171         (__readv): Do not define as alias.
23172         (readv): Define as alias of __readv.
23173         * misc/writev.c (__libc_writev): Rename to __writev.
23174         (__writev): Do not define as alias.
23175         (writev): Define as alias of __writev.
23176         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23177         (__readv): Do not define as alias.
23178         (readv): Define unconditionally as alias of __readv.
23179         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23180         (__writev): Do not define as alias.
23181         (writev): Define unconditionally as alias of __writev.
23182         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23183         name.
23184         (writev): Do not define __libc_writev name.
23186 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23188         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23189         (convert_charseq): New function, broken out of ...
23190         (use_from_charmap): ... here.  Call it.
23191         (use_to_charmap): Use convert_charseq and free instead of duplicating
23192         its code with a variable-length stack struct.
23194 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23196         * include/fcntl.h (__libc_creat): Remove declaration.
23197         * io/creat.c (__libc_creat): Rename to creat.
23198         (creat): Do not define as alias.
23199         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23200         of creat instead of __libc_creat.
23201         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23202         to creat.
23203         (creat): Do not define as alias.
23204         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23205         __libc_creat.
23206         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23207         __libc_creat name.
23208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23209         Likewise.
23211 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23213         * manual/llio.texi: Add comments discussing why write() may be
23214         considered MT-unsafe on Linux.
23216 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23218         * dl-load.c (local_strdup): Remove.
23219         (expand_dynamic_string_token): Use __strdup.
23220         (decompose_rpath): Likewise.
23221         (_dl_map_object): Likewise.
23223 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23225         [BZ #14132]
23226         * sysdeps/generic/unwind-dw2-fde.c
23227         (__register_frame_info_bases_internal): Do not declare.
23228         (__register_frame_info_table_bases_internal): Likewise.
23229         (__deregister_frame_info_bases_internal): Likewise.
23230         (__register_frame_info_bases): Declare and use hidden_proto before
23231         definition.  Use hidden_def instead of INTDEF.
23232         (__register_frame_info_table_bases): Likewise.
23233         (__deregister_frame_info_bases): Likewise.
23234         (__register_frame_info): Do not use INTUSE.
23235         (__register_frame): Likewise.
23236         (__register_frame_info_table): Likewise.
23237         (__register_frame_table): Likewise.
23238         (__deregister_frame_info): Likewise.
23239         (__deregister_frame): Likewise.
23241 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23243         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23244         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23245         not undefine.
23246         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23247         Likewise.
23248         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23249         Likewise.
23251 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #14138]
23254         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23255         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23256         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23257         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23258         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23259         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23260         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23261         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23262         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23263         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23264         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23265         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23266         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23267         syscall.
23268         (setfsuid): Likewise.
23269         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23270         (setfsuid): Likewise.
23271         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23272         (setfsuid): Likewise.
23273         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23274         Likewise.
23275         (setfsuid): Likewise.
23276         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23277         (setfsuid): Likewise.
23278         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23279         Likewise.
23280         (setfsuid): Likewise.
23282 2014-10-27  Andreas Schwab  <schwab@suse.de>
23284         [BZ #17501]
23285         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23286         check for Slow_SSE4_2 feature bit.
23287         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23288         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23289         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23290         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23292 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23294         * configure.ac: Validate compiler version with a empirical test of
23295         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23296         $CC -v output.
23297         * configure: Regenerated.
23299         * inet/htons.c (htons): Prototypify.
23300         * inet/htonl.c (htonl): Likewise.
23302 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23304         * string/strncat.c (strncat): Improve performance by using strlen.
23306 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23308         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23310 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23312         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23313         Call libc_fetestexcept_aarch64.
23315 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23317         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23318         Call libc_feholdexcept_aarch64.
23320 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23322         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23323         Call get_rounding_mode.
23325 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23327         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23328         Simplify logic.
23330 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23332         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23333         Simplify logic.
23335 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23337         [BZ #14138]
23338         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23339         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23340         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23341         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23342         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23343         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23344         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23345         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23346         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23347         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23348         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23349         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23350         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23351         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23352         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23353         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23354         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23355         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23356         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23357         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23358         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23359         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23360         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23361         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23362         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23363         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23364         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23365         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23366         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23367         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23368         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23369         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23370         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23371         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23372         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23373         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23374         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23375         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23376         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23377         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23378         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23379         syscall.
23380         (geteuid): Likewise.
23381         (getgid): Likewise.
23382         (getuid): Likewise.
23383         (getresgid): Likewise.
23384         (getresuid): Likewise.
23385         (getgroups): Likewise.
23386         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23387         (geteuid): Likewise.
23388         (getgid): Likewise.
23389         (getuid): Likewise.
23390         (getresgid): Likewise.
23391         (getresuid): Likewise.
23392         (getgroups): Likewise.
23393         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23394         (geteuid): Likewise.
23395         (getgid): Likewise.
23396         (getuid): Likewise.
23397         (getresgid): Likewise.
23398         (getresuid): Likewise.
23399         (getgroups): Likewise.
23400         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23401         Likewise.
23402         (geteuid): Likewise.
23403         (getgid): Likewise.
23404         (getuid): Likewise.
23405         (getresgid): Likewise.
23406         (getresuid): Likewise.
23407         (getgroups): Likewise.
23408         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23409         (geteuid): Likewise.
23410         (getgid): Likewise.
23411         (getuid): Likewise.
23412         (getresgid): Likewise.
23413         (getresuid): Likewise.
23414         (getgroups): Likewise.
23415         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23416         Likewise.
23417         (geteuid): Likewise.
23418         (getgid): Likewise.
23419         (getuid): Likewise.
23420         (getgroups): Likewise.
23422         [BZ #14138]
23423         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23424         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23425         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23426         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23427         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23428         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23429         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23430         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23431         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23432         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23433         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23434         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23435         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23436         __chown.
23437         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23438         (lchown): Likewise.
23439         (fchown): Likewise.
23440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23441         Likewise.
23442         (lchown): Likewise.
23443         (fchown): Likewise.
23444         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23445         (lchown): Likewise.
23446         (fchown): Likewise.
23447         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23448         Likewise.
23449         (lchown): Likewise.
23450         (fchown): Likewise.
23452 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23454         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23455         Simplify logic.
23457 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23459         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23460         Cleanup logic.
23462 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23464         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23465         Remove unused include.
23467 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23469         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23470         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23471         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23472         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23474 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23475             Helge Deller <deller@gmx.de>
23477         [BZ #17508]
23478         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23479         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23480         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23482 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23484         [BZ #14132]
23485         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23486         Remove macro definition.
23487         (__ashrdi3_v_glibc20): Likewise.
23488         (__lshrdi3_v_glibc20): Likewise.
23489         (__cmpdi2_v_glibc20): Likewise.
23490         (__ucmpdi2_v_glibc20): Likewise.
23491         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23492         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23493         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23494         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23495         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23496         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23498 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23500         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23501         old GNU extension [0] syntax.
23502         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23503         alloca rather than an array member with variable length.
23504         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23505         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23506         (parse_opt): ... here.  Likewise use alloca there.
23507         Validate the -i argument before checking for rootness.
23508         (send_shutdown): New function, broken out of ...
23509         (parse_opt): ... here.
23511 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23513         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23514         macro to get at the _rt_local_ro field.
23515         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23516         ([PIC] case) or _dl_hwcap ([!PIC] case).
23517         * sysdeps/arm/setjmp.S: Likewise.
23519         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23520         * sysdeps/arm/configure.ac: New check to define it.
23521         * sysdeps/arm/configure: Regenerated.
23522         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23523         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23524         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23525         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23526         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23527         Use move/movt pair instead of a load.
23528         (LDST_GLOBAL): Macro removed.
23529         (LDR_GLOBAL): New macro replaces it.
23530         (LDR_HIDDEN): New macro.
23531         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23532         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23534         * setjmp/tst-setjmp-static.c: New file.
23535         * setjmp/Makefile (tests): Add it.
23536         (tests-static): New variable.
23538 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23540         [BZ #17485]
23541         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23543 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23545         [BZ #14132]
23546         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23548 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23550         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23552 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23554         * io/fts.c (dirent_not_directory): New function.
23555         (fts_build): Call it.
23557 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23559         * nptl/version.c (__nptl_main): Use normal __write rather than
23560         INTERNAL_SYSCALL.
23561         (banner): Update copyright years.
23563         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23564         gettimeofday.
23565         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23566         * nptl/pthread_cond_timedwait.c: Likewise.
23567         * nptl/pthread_mutex_timedlock.c: Likewise.
23568         * nptl/sem_timedwait.c: Likewise.
23570         * sysdeps/nptl/bits/libc-lock.h
23571         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23572         (__libc_lock_init_recursive): Return void, not 0.
23573         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23574         (__libc_rwlock_init): Likewise.
23575         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23577 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23579         [BZ #15215]
23580         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23581         (__pthread_once_slow): ... here.
23582         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23583         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23585 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23587         [BZ #15215]
23588         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23589         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23590         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23591         * nptl/pthread_once.c (__pthread_once): Likewise.
23592         Update comments.
23594 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23596         [BZ #14138]
23597         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23598         name.
23599         (writev): Use __libc_writev as strong name.
23600         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23601         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23603 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23605         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23607         * sysdeps/i386/nptl/tls.h
23608         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23609         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23610         New macros.
23611         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23612         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23613         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23614         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23615         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23616         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23618         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23619         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23620         on [__NR_futex].
23621         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23622         broken out of ...
23623         (__pthread_mutex_init): ... here.  Call it.
23624         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23625         Conditionalize PI cases on [__NR_futex].
23626         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23627         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23628         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23630         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23631         conditional on [SIGSETXID].
23632         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23633         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23634         is defined.  Likewise for SIGSETXID.
23635         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23636         Conditionalize definitions on [SIGSETXID].
23637         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23638         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23639         unblocking on [SIGCANCEL].
23641         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23642         [__NR_set_robust_list].
23644 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23646         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23647         (do_compare): Likewise.
23649 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23651         [BZ #15884]
23652         * string/strcoll_l.c: Don't include stdio.h.
23653         (coll_seq): Remove members idxarr and rulearr.
23654         (get_next_seq_cached): Remove function.
23655         (get_next_seq): Likewise.
23656         (get_next_seq_nocache): Rename to get_next_seq.
23657         (do_compare): Remove function.
23658         (do_compare_nocache): Rename to do_compare.
23659         (STRCOLL): Remove weight and rules cache.
23661 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23663         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23664         * sysdeps/arm/sfp-machine.h: ... to here.
23665         * sysdeps/arm/Implies: Remove arm/soft-fp.
23667 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23669         * conform/data/sys/utsname.h-data (*_t): Allow.
23670         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23671         [POSIX] (WEXITED): Do not expect constant.
23672         [POSIX] (WSTOPPED): Likewise.
23673         [POSIX] (WNOHANG): Likewise.
23674         [POSIX] (WNOWAIT): Likewise.
23675         [POSIX] (siginfo_t): Do not expect type or elements.
23676         [POSIX] (pid_t): Do not expect type.
23677         [POSIX] (signal.h): Do not allow header.
23678         [POSIX] (sys/resource.h): Likewise.
23679         [POSIX] (si_*): Do not allow pattern.
23680         [POSIX] (W*): Likewise.
23681         [POSIX] (P_*): Likewise.
23682         [POSIX] (BUS_*): Likewise.
23683         [POSIX] (CLD_*): Likewise.
23684         [POSIX] (FPE_*): Likewise.
23685         [POSIX] (ILL_*): Likewise.
23686         [POSIX] (POLL_*): Likewise.
23687         [POSIX] (SEGV_*): Likewise.
23688         [POSIX] (SI_*): Likewise.
23689         [POSIX] (TRAP_*): Likewise.
23690         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23691         variable.
23693 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23695         [BZ #12926]
23696         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23697         infinite loop when __recvmsg returns 0.
23699 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23701         * CANCEL-FCT-WAIVE: Remove file.
23702         * CANCEL-FILE-WAIVE: Likewise.
23704         [BZ #14132]
23705         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23706         instead of INTVARDEF.
23707         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23708         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23709         rtld_hidden_data_def instead of INTVARDEF.
23710         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23711         * elf/dl-deps.c (expand_dst): Likewise.
23712         * elf/dl-load.c (_dl_dst_count): Likewise.
23713         (_dl_dst_substitute): Likewise.
23714         (decompose_rpath): Likewise.
23715         (_dl_init_paths): Likewise.
23716         (open_path): Likewise.
23717         (_dl_map_object): Likewise.
23718         * elf/rtld.c (dl_main): Likewise.
23719         (process_dl_audit): Likewise.
23720         (process_envvars): Likewise.
23721         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23722         Remove declaration.
23723         (__libc_enable_secure): Use rtld_hidden_proto.
23725 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23727         * elf/dl-load.c
23728         (add_path): New function broken out of _dl_rtld_di_serinfo.
23729         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
23731 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23733         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23734         parentheses around macro arguments.
23735         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23736         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23740         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23744         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23746         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23747         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23748         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23749         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23750         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23751         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23752         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23753         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23762         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23764         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23765         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23766         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23767         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23768         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23769         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23770         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23771         Likewise.
23772         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23773         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23779         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23780         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23781         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23782         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23783         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23784         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23791         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23793         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23794         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23795         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23796         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23797         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23798         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23799         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23800         (_FP_FRAC_SRS_1): Likewise.
23801         (_FP_FRAC_CLZ_1): Likewise.
23802         (_FP_MUL_MEAT_1_imm): Likewise.
23803         (_FP_MUL_MEAT_1_wide): Likewise.
23804         (_FP_MUL_MEAT_1_hard): Likewise.
23805         (_FP_SQRT_MEAT_1): Likewise.
23806         (_FP_FRAC_ASSEMBLE_1): Likewise.
23807         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23808         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23809         (__FP_CLZ_2): Likewise.
23810         (_FP_MUL_MEAT_2_wide): Likewise.
23811         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23812         (_FP_MUL_MEAT_2_gmp): Likewise.
23813         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23814         (_FP_SQRT_MEAT_2): Likewise.
23815         (_FP_FRAC_ASSEMBLE_2): Likewise.
23816         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23817         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23818         (_FP_FRAC_CLZ_4): Likewise.
23819         (_FP_MUL_MEAT_4_wide): Likewise.
23820         (_FP_MUL_MEAT_4_gmp): Likewise.
23821         (_FP_SQRT_MEAT_4): Likewise.
23822         (_FP_FRAC_ASSEMBLE_4): Likewise.
23823         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23824         * soft-fp/op-common.h (_FP_CMP): Likewise.
23825         (_FP_CMP_EQ): Likewise.
23826         (_FP_CMP_UNORD): Likewise.
23827         (_FP_TO_INT): Likewise.
23828         (_FP_FROM_INT): Likewise.
23829         [!__FP_CLZ] (__FP_CLZ): Likewise.
23830         (_FP_DIV_HELP_imm): Likewise.
23831         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23832         Likewise.
23833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23836         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23838         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23840         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23841         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23842         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23844         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23845         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23846         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23847         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23848         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23849         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23850         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23858         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23859         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23860         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23862         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23863         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23864         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23865         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23866         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23867         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23868         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23869         (FP_UNPACK_RAW_SP): Likewise.
23870         (FP_PACK_RAW_S): Likewise.
23871         (FP_PACK_RAW_SP): Likewise.
23872         (FP_UNPACK_S): Likewise.
23873         (FP_UNPACK_SP): Likewise.
23874         (FP_UNPACK_SEMIRAW_S): Likewise.
23875         (FP_UNPACK_SEMIRAW_SP): Likewise.
23876         (FP_PACK_S): Likewise.
23877         (FP_PACK_SP): Likewise.
23878         (FP_PACK_SEMIRAW_S): Likewise.
23879         (FP_PACK_SEMIRAW_SP): Likewise.
23880         (_FP_SQRT_MEAT_S): Likewise.
23881         (FP_CMP_S): Likewise.
23882         (FP_CMP_EQ_S): Likewise.
23883         (FP_CMP_UNORD_S): Likewise.
23884         (FP_TO_INT_S): Likewise.
23885         (FP_FROM_INT_S): Likewise.
23887         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23889         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23890         (FP_EX_INVALID_IMZ): Likewise.
23891         (FP_EX_INVALID_IMZ_FMA): Likewise.
23892         (FP_EX_INVALID_ISI): Likewise.
23893         (FP_EX_INVALID_ZDZ): Likewise.
23894         (FP_EX_INVALID_IDI): Likewise.
23895         (FP_EX_INVALID_SQRT): Likewise.
23896         (FP_EX_INVALID_CVI): Likewise.
23897         (FP_EX_INVALID_VC): Likewise.
23898         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23899         "invalid" exceptions.
23900         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23901         (_FP_ADD_INTERNAL): Likewise.
23902         (_FP_MUL): Likewise.
23903         (_FP_FMA): Likewise.
23904         (_FP_DIV): Likewise.
23905         (_FP_CMP_CHECK_NAN): Likewise.
23906         (_FP_SQRT): Likewise.
23907         (_FP_TO_INT): Likewise.
23908         (FP_EXTEND): Likewise.
23910 2014-10-09  Allan McRae  <allan@archlinux.org>
23912         * po/fr.po: Update French translation from translation project.
23914 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #14132]
23917         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23918         of INTDEF.
23919         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23920         (__cxa_atexit): Use libc_hidden_proto.
23921         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23923         [BZ #14132]
23924         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23925         declaration.
23926         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23927         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23928         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23929         [!_ISOMAC] (__iswctype_internal): Likewise.
23930         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23931         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23932         alias.
23933         (fcntl): Remove __fcntl_internal alias.
23934         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23935         __connect_internal alias.
23936         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23937         Likewise.
23939         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23941         FP_DENORM_ZERO.
23942         (_FP_CHECK_FLUSH_ZERO): New macro.
23943         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23944         (_FP_CMP): Likewise.
23945         (_FP_CMP_EQ): Likewise.
23946         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23947         FP_DENORM_ZERO.
23948         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23949         (FP_TRUNC): Likewise.
23951         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23952         treated as invalid conversion, not as normal exponent.
23954         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23955         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23956         (_FP_CMP_EQ): Likewise.
23957         (_FP_CMP_UNORD): Likewise.
23958         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23959         (FP_CMP_EQ_D): Likewise.
23960         (FP_CMP_UNORD_D): Likewise.
23961         * soft-fp/extended.h (FP_CMP_E): Likewise.
23962         (FP_CMP_EQ_E): Likewise.
23963         (FP_CMP_UNORD_E): Likewise.
23964         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23965         (FP_CMP_EQ_Q): Likewise.
23966         (FP_CMP_UNORD_Q): Likewise.
23967         * soft-fp/single.h (FP_CMP_S): Likewise.
23968         (FP_CMP_EQ_S): Likewise.
23969         (FP_CMP_UNORD_S): Likewise.
23970         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23971         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23972         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23973         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23974         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23975         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23976         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23977         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23978         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23979         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23980         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23981         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23982         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23983         to FP_CMP_Q.
23984         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23985         FP_CMP_Q.
23986         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23987         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23988         FP_CMP_EQ_Q.
23989         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23990         FP_CMP_Q.
23991         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23992         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23993         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23994         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23995         FP_CMP_EQ_Q.
23996         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23997         FP_CMP_Q.
23998         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23999         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24000         FP_CMP_EQ_Q.
24001         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24002         FP_CMP_Q.
24003         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24004         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24005         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24006         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24007         FP_CMP_EQ_Q.
24009         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24010         a subnormal result, set the underflow exception if trapping on
24011         underflow is enabled.
24012         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24013         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24014         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24015         redefine to 0.
24016         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24017         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24018         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24019         * soft-fp/extendxftf2.c (__extendxftf2): Use
24020         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24022         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24023         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24024         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24025         FP_HANDLE_EXCEPTIONS.
24026         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24027         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24028         FP_HANDLE_EXCEPTIONS.
24029         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24030         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24031         FP_HANDLE_EXCEPTIONS.
24032         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24033         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24034         FP_HANDLE_EXCEPTIONS.
24036 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24038         [BZ #14132]
24039         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24040         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24041         use INTUSE.
24042         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24043         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24044         Remove alias.
24045         (__adjtimex): Define using libc_hidden_ver.
24046         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24047         Remove declaration.
24048         (ntp_gettime): Call __adjtimex directly.
24049         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24050         Remove declaration.
24051         (ntp_gettimex): Call __adjtimex directly.
24052         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24053         __adjtimex_internal alias.
24055 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24057         [BZ #17460]
24058         * nscd/nscd.c (more_help): Rewrite list of tables collection
24059         using xstrdup and asprintf.
24061         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24063 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24064             Roland McGrath  <roland@hack.frob.com>
24066         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24067         (do_lookup_unique): ... local function 'enter' here; update callers.
24069 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24071         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24072         compat_symbol calls on [SHARED].
24073         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24074         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24075         Remove.
24076         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24077         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24078         (oldsetrlimit): Remove.
24079         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24081         (lchown): New syscall entry.
24082         (oldsetrlimit): Remove.
24083         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24085         (oldsetrlimit): Remove.
24086         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24088         [BZ #14138]
24089         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24090         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24091         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24092         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24093         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24094         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24095         (fchown): Likewise.
24096         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24097         (fchown): Likewise.
24098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24099         Likewise.
24101 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24103         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24104         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24105         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24106         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24107         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24108         Likewise.
24109         (__old_sem_post): Likewise.
24111 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24113         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24114         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24115         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24116         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24117         Use INLINE_VSYSCALL macro.
24118         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24119         __vdso_clock_gettime.
24120         * sysdeps/unix/sysv/linux/tile/init-first.c
24121         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24122         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24123         __vdso_clock_gettime.
24125         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24126         to set up frame more cleanly.
24128         * sysdeps/tile/memcmp.c: New file.
24130         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24132         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24133         * sysdeps/tile/tilegx/strcasestr.c: New file.
24134         * sysdeps/tile/tilegx/strnlen.c: New file.
24135         * sysdeps/tile/tilegx/strstr.c: New file.
24137         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24139 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24141         * nptl/tst-setuid3.c: Write errors to stdout.
24143 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24145         * elf/dl-deps.c
24146         (preload): New functions broken out of _dl_map_object_deps.
24147         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24149 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24151         [BZ #14138]
24152         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24153         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24155 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24157         * sysdeps/mips/strcmp.S: New.
24159 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24161         [BZ #14138]
24162         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24163         (linkat): Likewise.
24164         (mkdirat): Likewise.
24165         (readlinkat): Likewise.
24166         (renameat): Likewise.
24167         (symlinkat): Likewise.
24168         (unlinkat): Likewise.
24169         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24170         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24171         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24172         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24173         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24174         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24175         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24177 2014-09-30  Will Newton  <will.newton@linaro.org>
24179         * math/math.h: Define long double math functions if
24180         _LIBC_TEST is defined.
24181         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24183         * localedata/Makefile: Move assignment to tests-special
24184         into an ifdef testing run-built-tests.
24185         * timezone/Makefile: Likewise.
24187 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24189         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24190         with $(BASH) not $(SHELL).
24192 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24193             Matthew LeGendre  <legendre1@llnl.gov>
24195         [BZ #17411]
24196         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24197         l_reloc_result.
24199 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24201         * stdio-common/printf_fp.c
24202         (hack_digit): New function, broken out of ...
24203         (__printf_fp): ... local function here.  Update call sites.
24204         hack_digit now takes an additional parameter that is a pointer
24205         to a struct of the referenced locals.  Those locals moved inside
24206         the struct and references updated.
24208 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24210         * aclocal.m4: Require autoconf 2.69.
24211         * configure: Regenerated.
24212         * sysdeps/aarch64/configure: Likewise.
24213         * sysdeps/alpha/configure: Likewise.
24214         * sysdeps/arm/armv7/configure: Likewise.
24215         * sysdeps/arm/configure: Likewise.
24216         * sysdeps/ia64/configure: Likewise.
24217         * sysdeps/mach/configure: Likewise.
24218         * sysdeps/mips/configure: Likewise.
24219         * sysdeps/s390/configure: Likewise.
24220         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24223         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24224         file.
24225         * sysdeps/ia64/configure.ac: Likewise.
24227 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24230         specify symbol version for ld.so.  Do not include entry for
24231         libpthread.
24232         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24233         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24234         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24236         [BZ #14171]
24237         * Makeconfig [$(build-shared) = yes]
24238         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24239         makefiles.
24240         [$(build-shared) = yes && $(soversions.mk-done) = t]
24241         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24242         [$(build-shared) = yes && $(soversions.mk-done) = t]
24243         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24244         to Makerules.
24245         [$(build-shared) = yes && $(soversions.mk-done) = t]
24246         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24247         here.
24248         [$(build-shared) = yes && $(soversions.mk-done) = t]
24249         (common-generated): Don't append gnu/lib-names.h and
24250         gnu/lib-names.stmp here.
24251         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24252         (lib-names-h-abi): New variable.
24253         [$(build-shared) = yes && $(soversions.mk-done) = t]
24254         (lib-names-stmp-abi): Likewise.
24255         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24256         abi-variants] (before-compile): Append
24257         $(common-objpfx)$(lib-names-h-abi).
24258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24259         abi-variants] (common-generated): Append gnu/lib-names.h.
24260         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24261         abi-variants] (install-others-nosubdir): Depend on
24262         $(inst_includedir)/$(lib-names-h-abi).
24263         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24264         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24265         [$(build-shared) = yes && $(soversions.mk-done) = t]
24266         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24267         [$(build-shared) = yes && $(soversions.mk-done) = t]
24268         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24269         [$(build-shared) = yes && $(soversions.mk-done) = t]
24270         (common-generated): Append $(lib-names-h-abi) and
24271         $(lib-names-stmp-abi).
24272         * scripts/lib-names.awk: Do not handle multi being set.
24273         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24274         Remove variable.
24275         (abi-lp64_be-ld-soname): Likewise.
24276         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24277         Likewise.
24278         (abi-hard-ld-soname): Likewise.
24279         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24280         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24281         Remove variable.
24282         (abi-o32_hard-ld-soname): Likewise.
24283         (abi-o32_soft_2008-ld-soname): Likewise.
24284         (abi-o32_hard_2008-ld-soname): Likewise.
24285         (abi-n32_soft-ld-soname): Likewise.
24286         (abi-n32_hard-ld-soname): Likewise.
24287         (abi-n32_soft_2008-ld-soname): Likewise.
24288         (abi-n32_hard_2008-ld-soname): Likewise.
24289         (abi-n64_soft-ld-soname): Likewise.
24290         (abi-n64_hard-ld-soname): Likewise.
24291         (abi-n64_soft_2008-ld-soname): Likewise.
24292         (abi-n64_hard_2008-ld-soname): Likewise.
24293         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24294         Likewise.
24295         (abi-64-v2-ld-soname): Likewise.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24297         ld.so entries.
24298         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24299         variable.
24300         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24301         entry.
24302         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24303         variable.
24304         (abi-64-ld-soname): Likewise.
24305         (abi-x32-ld-soname): Likewise.
24306         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24307         entry.
24308         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24310 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24312         [BZ #14138]
24313         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24314         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24315         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24316         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24317         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24318         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24319         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24320         syscall entry for GLIBC_2.2 symbol version.
24321         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24322         Likewise.
24323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24324         (setrlimit): Likewise.
24325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24326         Likewise.
24328 2014-09-23  Will Newton  <will.newton@linaro.org>
24330         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24331         _LINUX_ARM_SYSDEP_H include guard too.
24332         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24333         define.
24335 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24337         * sysdeps/unix/sysv/linux/eventfd.c:
24338         Make first argument unsigned.
24339         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24340         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24342 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24344         [BZ #16852]
24345         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24346         * socket/sys/socket.h: Likewise.
24347         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24349 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24351         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24353 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24355         * time/tst-ftime.c: New test.
24356         * time/Makefile (tests): Add tst-ftime.
24358 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24360         * soft-fp/extended.h: Fix comment formatting.
24361         * soft-fp/op-1.h: Likewise.
24362         * soft-fp/op-2.h: Likewise.
24363         * soft-fp/op-4.h: Likewise.
24364         * soft-fp/op-8.h: Likewise.
24365         * soft-fp/op-common.h: Likewise.
24366         * soft-fp/soft-fp.h: Likewise.
24368         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24370 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #6652]
24373         * Makeconfig (soversions-default-setname): Remove variable.
24374         ($(common-objpfx)soversions.i): Don't pass default_setname to
24375         soversions.awk.
24376         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24377         oldest_abi to abi-versions.awk.
24378         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24379         * config.make.in (oldest-abi): Remove variable.
24380         * configure.ac (--enable-oldest-abi): Remove configure option.
24381         * configure: Regenerated.
24382         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24383         text.
24384         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24385         * scripts/soversions.awk: Do not handle default_setname variable.
24386         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24387         variable.
24388         * sysdeps/mach/hurd/configure: Regenerated.
24389         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24390         variable.
24391         * sysdeps/unix/sysv/linux/configure: Regenerated.
24393 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24395         * elf/Makefile (CFLAGS-interp.c): Remove.
24396         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24397         path string.
24398         * elf/interp.c: Include generated runtime-linker.h
24400         * Makerules (lib%.so): Don't include $(+interp) in
24401         prerequisites.
24402         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24403         * dlfcn/eval.c: Remove file.
24405         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24406         macros.
24408         [BZ #17266]
24409         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24410         4.2 and newer.
24412         [BZ #17370]
24413         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24415 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24416             Jakub Jelinek  <jakub@redhat.com>
24418         [BZ #17266]
24419         * libio/stdio.h: Check definition of __fortify_function
24420         instead of __extern_always_inline to include bits/stdio2.h.
24421         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24422         check if __extern_always_inline is defined.
24423         [__USE_MISC || __USE_XOPEN]: Likewise.
24424         [__USE_ISOC99] Likewise.
24425         * misc/sys/cdefs.h (__fortify_function): Define only if
24426         __extern_always_inline is defined.
24427         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24428         __extern_always_inline and __extern_inline only for g++-4.3
24429         and newer or a compatible gcc.
24431 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24433         [BZ #17371]
24434         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24435         last change to handle zero prefix length.
24437 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24439         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24440         _SC_REGEX_VERSION.
24442         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24443         _POSIX_RAW_SOCKETS.
24445 2014-09-13  Allan McRae  <allan@archlinux.org>
24447         * po/ru.po: Update Russian translation from translation project.
24449 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24451         * locale/programs/locale.c (show_locale_vars): Inline local function
24452         into its sole call site.  Clean up some style nits.
24453         (print_item): New function, broken out of ...
24454         (show_info): ... local function here.  Clean up style nits.
24456         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24457         out of ...
24458         (set_class_defaults): ... local function set_default here.
24459         Define set_default as a macro locally to pass constant parameters.
24460         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24461         rather than a shared local.
24463         * stdlib/rpmatch.c (try): New function, broken out of ...
24464         (rpmatch): ... local function here.  Also, prototypify definition.
24466 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24468         * scripts/soversions.awk: Do not handle configuration names.
24469         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24470         vendor and os variables to soversions.awk.
24471         * configure.ac: Do not modify gnu-* host_os.
24472         * configure: Regenerated
24473         * shlib-versions: Remove first column with configuration names.
24474         * nptl/shlib-versions: Likewise.
24475         * nptl_db/shlib-versions: Likewise.
24476         * sysdeps/hppa/shlib-versions: Likewise.
24477         * sysdeps/m68k/shlib-versions: Likewise.
24478         * sysdeps/mach/hurd/shlib-versions: Likewise.
24479         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24480         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24481         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24482         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24483         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24484         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24485         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24486         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24488         Likewise.
24489         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24490         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24491         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24492         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24493         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24494         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24495         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24496         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24499         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24501         Regenerated.
24502         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24504         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24506         * shlib-versions: Remove OS-specific entries.  Moved to files in
24507         sysdeps.
24508         * sysdeps/mach/hurd/shlib-versions: New file.
24509         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24511         * nptl/shlib-versions: Remove architecture-specific entries.
24512         Moved to files in sysdeps.
24513         * shlib-versions: Likewise.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24515         file.
24516         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24517         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24518         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24519         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24521         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24522         (UDP_NO_CHECK6_RX): Likewise.
24524 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24526         * sysdeps/posix/sysconf.c (__sysconf): Spell
24527         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24529 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24531         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24532         loading.
24533         * iconv/Versions (__gconv_transliterate): Export for use from
24534         gconv modules.
24535         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24536         (struct __gconv_trans_data, __gconv_trans_fct,
24537         __gconv_trans_context_fct, __gconv_trans_query_fct,
24538         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24539         definitions.
24540         (struct __gconv_step_data): Remove __trans member.
24541         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24542         longer hidden.  Remove unused trans_data argument.
24543         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24544         (__gconv_translit_find): Remove declaration.
24545         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24546         prototype.
24547         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24548         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24549         trans_data argument.  Add hidden definition.
24550         (__gconv_translit_find): Remove.
24551         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24552         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24553         * iconv/skeleton.c: Remove transliteration initialization.
24554         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24555         __gconv_step_data initialization.
24556         * libio/iofwide.c (__libio_translit_): Remove.
24557         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24558         * wcsmbs/btowc.c (__btowc): Likewise.
24559         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24560         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24561         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24562         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24563         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24564         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24565         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24566         * wcsmbs/wctob.c (wctob): Likewise.
24568 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24570         [BZ #16194]
24571         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24572         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24573         register usage.
24574         * sysdeps/x86/Makefile: Adjust.
24576 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24577             Roland McGrath  <roland@hack.frob.com>
24579         * locale/weight.h: Add include guard.
24580         (findidx): Make static rather than auto; take new parameters
24581         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24582         * locale/weightwc.h: Likewise.
24583         * posix/fnmatch_loop.c
24584         (FCT): Change type of EXTRA from int32_t to wint_t.
24585         Don't include either header inside the function.
24586         Call FINDIDX rather than findidx, and pass new arguments.
24587         #undef FINDIDX at the end of the file.
24588         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24589         FINDIDX before including fnmatch_loop.c for the non-wide version.
24590         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24591         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24592         for the wide version.
24593         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24594         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24595         Pass new arguments to findidx.
24596         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24597         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24598         Don't #include it inside the function.  Pass new arguments to findidx.
24599         * posix/regex_internal.h
24600         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24601         (re_string_elem_size_at): Don't #include it inside the function.
24602         Pass new arguments to findidx.
24603         * string/strcoll_l.c: #include WEIGHT_H at top level.
24604         (get_next_seq): Don't #include it inside the function.
24605         Pass new arguments to findidx.
24606         (get_next_seq_nocache): Likewise.
24607         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24608         (STRXFRM): Don't #include it inside the function.
24609         Pass new arguments to findidx.
24611 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24613         [BZ #17344]
24614         * malloc/malloc.c (unlink): Turn asserts into a call to
24615         malloc_printerr.
24617 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24619         [BZ #17370]
24620         * libio/wfileops (do_ftell_wide): Free OUT.
24622 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24624         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24626 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24628         [BZ #17363]
24629         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24630         group if the current group is empty.
24632 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24634         * benchtests/bench-memset.c (test_main): Add more test from size
24635         from 32 to 512 bytes.
24636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24637         Add POWER8 memset object.
24638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24639         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24640         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24641         implementation.
24642         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24643         Likewise.
24644         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24645         multiarch POWER8 memset optimization.
24646         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24647         POWER8 memset optimization.
24649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24650         Remove bzero multiarch objects.
24651         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24652         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24653         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24654         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24655         Remove define.
24656         [__bzero]: Redefine to specific name.
24657         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24658         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24659         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24660         define.
24661         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24662         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24664 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24666         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24667         warnings into errors.
24669         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24670         __cxa_thread_atexit_impl prototype.
24672 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24674         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24675         Fix capitalization of error message.
24677 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24679         * sysdeps/mips/preconfigure: Modify ABI tests.
24681 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24683         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24685 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24686             Carlos O'Donell  <carlos@systemhalted.org>
24688         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24689         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24690         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24691         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24692         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24693         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24694         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24695         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24696         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24697         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24698         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24699         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24701         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24702         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24703         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24704         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24705         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24706         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24707         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24708         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24709         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24710         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24711         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24712         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24713         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24714         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24715         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24716         Deconditionalize the code that was previously under [RESET_PID].
24717         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24718         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24719         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24720         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24721         include sysdep.h.
24723 2014-09-08  Allan McRae  <allan@archlinux.org>
24725         * version.h (RELEASE): Set to "development".
24726         (VERSION): Set to "2.20.90"
24728 2014-09-07  Allan McRae  <allan@archlinux.org
24730         * version.h (RELEASE): Set to "stable".
24731         (VERSION): Set to "2.20"
24732         * include/features.h (__GLIBC_MINOR__): Set to 20.
24734         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24735         Liebler.
24737         * po/ko.po: Update Korean translation from translation project.
24739 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
24741         [BZ #17354]
24742         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24743         macro for handling signed relocations.
24745 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24747         [BZ #17325]
24748         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24749         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24750         assert.
24751         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24752         * iconvdata/ibm935.c (BODY): Likewise.
24753         * iconvdata/ibm937.c (BODY): Likewise.
24754         * iconvdata/ibm939.c (BODY): Likewise.
24755         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24756         assert.
24757         * iconvdata/Makefile (iconv-test.out): Pass module list to test
24758         script.
24759         * iconvdata/run-iconv-test.sh: New test loop for checking for
24760         decoder crashers.
24762 2014-09-02  Khem Raj  <raj.khem@gmail.com>
24764         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24765         libm_hidden_ver.
24767 2014-09-01  Allan McRae  <allan@archlinux.org>
24769         * po/eo.po: Update Esperanto translation from translation project.
24771         * po/ca.po: Update Catalan translation from translation project.
24773 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24775         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24776         __proc_dostop call.
24778 2014-08-27  Mark Wielaard  <mjw@redhat.com>
24780         [BZ #17319]
24781         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24782         to call set_thread_area instead of hand written asm.
24783         (__NR_set_thread_area): Removed define.
24784         (TLS_FLAG_WRITABLE): Likewise.
24785         (__ASSUME_SET_THREAD_AREA): Remove check.
24786         (TLS_EBX_ARG): Remove define.
24787         (TLS_LOAD_EBX): Likewise.
24789 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24791         Simplify atomicity of socket creation in bind.
24793         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24794         looking up the name after linking the file.
24796 2014-08-27  Allan McRae  <allan@archlinux.org>
24798         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24800 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24802         [BZ #17187]
24803         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24804         trans_compare, open_translit, __gconv_translit_find):
24805         Remove module loading code.
24807 2014-08-26  Allan McRae  <allan@archlinux.org>
24809         * po/vi.po: Update Vietnamese translation from translation project.
24811         * po/uk.po: Update Ukrainian translation from translation project.
24813         * po/fr.po: Update French translation from translation project.
24815         * po/ru.po: Update Russian translation from translation project.
24817         * po/pl.po: Update Polish translation from translation project.
24819         * po/cs.po: Update Czech translation from translation project.
24821         * po/de.po: Update German translation from translation project.
24823         * po/bg.po: Update Bulgarian translation from translation project.
24825         * po/sv.po: Update Sweedish translation from translation project.
24827         * po/nl.po: Update Dutch translation from translation project.
24829         * po/es.po: Update Spanish translation from translation project.
24831 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24835         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24836         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24837         (CPPFLAGS-iconvconfig): Likewise.
24838         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24840         * include/libc-symbols.h: Remove unnecessary check for
24841         NOT_IN_libc.
24842         * nptl/pthreadP.h: Likewise.
24843         * sysdeps/aarch64/setjmp.S: Likewise.
24844         * sysdeps/alpha/setjmp.S: Likewise.
24845         * sysdeps/arm/sysdep.h: Likewise.
24846         * sysdeps/i386/setjmp.S: Likewise.
24847         * sysdeps/m68k/setjmp.c: Likewise.
24848         * sysdeps/posix/getcwd.c: Likewise.
24849         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24851         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24852         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24853         * sysdeps/sh/sh3/setjmp.S: Likewise.
24854         * sysdeps/sh/sh4/setjmp.S: Likewise.
24855         * sysdeps/unix/alpha/sysdep.h: Likewise.
24856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24857         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24858         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24859         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24863         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24864         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24867         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24869         * sysdeps/x86_64/setjmp.S: Likewise.
24871 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #17263]
24874         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24875         <stdint.h>.
24876         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24877         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24879 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24881         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24883         [BZ #17262]
24884         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24885         and __x86_64__ when disabling x87 inline functions.
24887 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24889         [BZ #17259]
24890         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24891         asm statement with __cpuid_count.
24893 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24895         * configure.ac: Change __ehdr_start code to dereference the struct.
24896         Run readelf on the output to look for relocations.
24897         * configure: Regenerated.
24899 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24901         [BZ #17261]
24902         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24903         value to 0.
24904         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24906 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24908         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24910 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24912         [BZ #16892]
24913         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24914         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24916 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24918         * malloc/malloc.c: Fix typo in comment.
24920 2014-08-09  Allan McRae  <allan@archlinux.org>
24922         * Regenerate libc.po.
24924 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24926         * intl/tst-gettext2.sh: Check every lang file for creation.
24928 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24930         * sysdeps/aarch64/fpu/math_private.h
24931         (libc_feholdsetround_noex_aarch64_ctx): New function.
24933 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24935         * sysdeps/arm/armv6/strcpy.S (strcpy):
24936         Fix performance issue in misaligned cases.
24938 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24940         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24941         Move definition from termios.h.
24942         (struct termio): Likewise.
24943         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24944         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24945         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24946         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24949         Move definition to ioctl-types.h
24950         (struct termio): Likewise.
24951         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24952         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24953         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24954         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24955         Likewise.
24957 2014-08-05  Richard Henderson  <rth@redhat.com>
24959         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24960         exceptions.
24961         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24962         Add fraiseexcpt.
24963         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24964         Use __feraiseexcept.
24965         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24966         Protect libm symbols with IS_IN_libm.
24968         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24970 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24972         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24974 2014-08-04  Will Newton  <will.newton@linaro.org>
24976         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24977         file.
24979 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24981         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24982         variants for each function.
24984 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24986         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24987         appended ...
24988         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24989         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24990         appended ...
24991         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24992         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24993         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24994         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24995         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24996         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24997         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24998         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24999         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25000         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25001         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25002         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25003         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25004         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25005         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25006         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25007         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25008         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25009         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25010         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25011         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25012         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25013         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25014         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25015         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25016         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25017         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25018         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25019         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25020         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25021         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25022         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25023         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25024         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25025         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25026         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25027         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25028         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25029         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25030         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25031         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25033         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25035         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25036         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25037         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25039         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25041         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25042         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25043         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25044         Update #include.
25045         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25046         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25048 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25050         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25051         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25052         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25053         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25054         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25055         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25057 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25059         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25060         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25061         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25062         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25064 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25066         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25067         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25068         (__libc_vfork): Define function under this name.
25069         (__vfork): Define as an alias.
25070         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25071         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25073 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25075         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25076         that was previously under [RESET_PID].
25077         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25079 2014-08-04  Andreas Schwab  <schwab@suse.de>
25081         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25083 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25085         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25086         (main): Likewise.
25088 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25090         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25092 2014-08-01  Richard Henderon  <rth@redhat.com>
25094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25095         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25096         typo in exact zero test.
25097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25098         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25099         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25101 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25103         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25104         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25105         * sysdeps/arm/sysdep.h: ... here.
25106         [!__ASSEMBLER__]: Include <stdint.h>.
25108 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25110         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25111         (HAVE_WCTYPE_H): Likewise.
25112         (HAVE_ISWCTYPE): Likewise.
25113         (ENABLE_NLS): Likewise.
25114         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25115         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25117         * posix/regex_internal.c: Check if DEBUG is defined and is
25118         set.
25120         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25121         (HAVE_MBSRTOWCS): Likewise.
25122         * posix/fnmatch.c: Include string.h unconditionally.
25124 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25126         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25127         reversal.
25129 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25131         * sysdeps/generic/safe-fatal.h: New file.
25132         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25133         * nptl/forward.c: Include it.
25134         (__pthread_unwind): Use __safe_fatal as default action, rather
25135         than a bogus use of INTERNAL_SYSCALL that could never work.
25137         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25138         * configure.ac (libc_cv_builtin_trap): New test.
25139         * configure: Regenerated.
25140         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25141         (ABORT_INSTRUCTION): Define using __builtin_trap.
25143         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25144         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25145         * sysdeps/nptl/nptl-signals.h: New file.
25146         * nptl/pthreadP.h: Include <nptl-signals.h>.
25148 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25150         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25151         (ONE_DIRECTION): Define.
25152         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25153         (ONE_DIRECTION): Define.
25154         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25155         (ONE_DIRECTION): Define.
25157 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25159         * sysdeps/s390/Makefile: Delete file.
25160         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25161         * sysdeps/s390/__longjmp.c: Delete file.
25162         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25163         Remove fields __flags and __reserved.
25164         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25165         and add versioning.
25166         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25167         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25168         * sysdeps/s390/rtld-setjmp.S: Likewise.
25169         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25170         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25171         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25172         * sysdeps/s390/s390-32/setjmp.S: ... here.
25173         Add versioning.
25174         (__sigsetjmp): Remove setting __flags field.
25175         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25176         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25177         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25178         * sysdeps/s390/s390-64/setjmp.S: ... here.
25179         Add versioning.
25180         (__sigsetjmp): Remove setting __flags field.
25181         * sysdeps/s390/setjmp.S: Delete file.
25182         * sysdeps/s390/sigjmp.c: Likewise.
25183         * sysdeps/s390/v1-longjmp.c: Likewise.
25184         * sysdeps/s390/v1-setjmp.h: Likewise.
25185         * sysdeps/s390/v1-sigjmp.c: Likewise.
25186         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25187         Remove v1-longjmp_chk.
25188         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25189         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25190         Include debug/longjmp_chk.c and add versioning.
25191         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25192         Include nptl/pt-longjmp.c and add versioning.
25193         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25194         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25195         Include __longjmp.c.
25196         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25197         Move to ...
25198         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25199         (__getcontext): Remove setting __flags field.
25200         Add versioning.
25201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25202         Don't restore upper high grps.
25203         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25204         Likewise.
25205         (__swapcontext): Remove setting uc_flags field.
25206         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25207         Delete file.
25208         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25209         Include __longjmp.c.
25210         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25211         Move to ...
25212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25213         (__getcontext): Remove setting __flags field.
25214         Add versioning.
25215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25216         (__swapcontext): Remove setting uc_flags field.
25217         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25218         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25219         Remove fields uc_high_gprs and __reserved.
25220         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25221         New file with reverted content.
25222         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25223         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25224         Regenerated.
25225         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25226         Regenerated.
25228 2014-07-31  Andreas Schwab  <schwab@suse.de>
25230         * config.h.in (HAVE_IFUNC): Define to 0.
25231         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25232         definedness.
25234 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25237         memmove-avx-unaligned, memcpy-avx-unaligned and
25238         mempcpy-avx-unaligned.
25239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25240         Add tests for AVX memcpy functions.
25241         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25242         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25243         memcpy_chk.
25244         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25245         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25246         memmove_chk.
25247         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25248         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25249         mempcpy_chk.
25250         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25251         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25252         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25254 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25256         [BZ #17213]
25257         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25258         powerpc64le.
25260 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25262         [BZ #16839]
25263         * manual/llio.texi: Add section about open file description locks.
25264         * manual/examples/ofdlocks.c: Example of open file description
25265         lock usage.
25266         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25267         F_OFD_SETLK, and F_OFD_SETLKW.
25269 2014-07-23  Allan McRae  <allan@archlinux.org>
25271         * po/es.po: Update Spanish translation from translation project.
25273 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25275         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25277 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25279         [BZ #17078]
25280         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25281         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25282         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25284 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25286         [BZ #17088]
25287         * math/fesetenv.c (__fesetenv)
25288         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25289         * math/feupdateenv.c (__feupdateenv)
25290         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25292         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25293         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25294         (__ASSUME_SOCKETCALL): Do not define.
25296         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25297         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25298         (__ASSUME_SOCKETCALL): Do not define.
25299         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25300         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25301         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25302         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25304         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25305         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25306         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25308         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25309         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25310         (__ASSUME_SOCKETCALL): Do not define.
25311         (__ASSUME_IPC64): Define unconditionally.
25312         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25313         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25314         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25315         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25316         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25317         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25318         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25319         Likewise.
25321         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25322         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25323         (__ASSUME_SOCKETCALL): Do not define.
25324         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25325         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25326         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25327         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25328         (__ASSUME_REQUEUE_PI): Define unconditionally.
25329         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25330         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25331         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25332         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25334         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25336         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25337         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25338         (__ASSUME_SOCKETCALL): Do not define.
25339         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25340         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25341         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25342         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25344         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25346         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25347         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25348         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25349         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25350         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25351         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25352         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25353         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25354         (__ASSUME_GETCPU_SYSCALL): Likewise.
25356         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25357         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25358         cases for individual architectures.
25359         * sysdeps/gnu/configure: Regenerated.
25360         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25361         LIBC_SLIBDIR_RTLDDIR.
25362         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25363         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25364         LIBC_SLIBDIR_RTLDDIR.
25365         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25367         LIBC_SLIBDIR_RTLDDIR.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25369         Regenerated.
25370         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25371         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25372         file.
25373         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25374         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25375         file.
25376         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25377         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25378         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25379         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25381         * sysdeps/aarch64/shlib-versions: Move to ...
25382         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25383         * sysdeps/alpha/shlib-versions: Move to ...
25384         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25385         * sysdeps/arm/shlib-versions: Move to ...
25386         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25387         * sysdeps/hppa/shlib-versions: Move all contents except for
25388         libgcc_s entry to ...
25389         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25390         entry from ...
25391         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25392         * sysdeps/ia64/shlib-versions: Move to ...
25393         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25394         entry from ...
25395         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25396         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25397         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25398         * sysdeps/microblaze/shlib-versions: Move to ...
25399         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25400         * sysdeps/mips/shlib-versions: Move to ...
25401         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25402         entry from ...
25403         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25404         * sysdeps/tile/shlib-versions: Move to ...
25405         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25406         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25407         from ...
25408         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25409         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25410         entry from ...
25411         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25413 2014-07-17  Will Newton  <will.newton@linaro.org>
25415         * sysdeps/arm/bits/atomic.h
25416         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25417         (__arch_compare_and_exchange_bool_16_int): Likewise.
25418         (__arch_compare_and_exchange_bool_64_int): Likewise.
25420         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25421         into an #else block.
25423 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25425         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25426         just Linux configurations.  Test empirically that the compiler sets
25427         __ARM_EABI__, rather than using the tuple to decide.
25428         * sysdeps/arm/preconfigure: Regenerated.
25429         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25430         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25431         contents appended ...
25432         * sysdeps/arm/configure.ac: ... here.
25433         * sysdeps/arm/configure: Regenerated.
25435 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25437         * nptl/pthread_kill.c: New file.
25438         * nptl/pthread_sigmask.c: New file.
25439         * nptl/pthread_sigqueue.c: New file.
25441         * sysdeps/nptl/lowlevellock.h: New file.
25442         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25443         * sysdeps/nptl/lowlevellock-futex.h: New file.
25445         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25446         Remove dead declarations.
25448 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25450         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25451         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25452         config-cflags-avx2.
25453         * sysdeps/x86_64/configure.ac: Likewise.
25454         * sysdeps/i386/configure: Regenerated.
25455         * sysdeps/x86_64/configure: Likewise.
25456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25457         memset-avx2 only if config-cflags-avx2 is yes.
25458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25459         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25460         defined.
25461         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25462         only if HAVE_AVX2_SUPPORT is defined.
25463         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25465 2014-07-14  Alan Modra  <amodra@gmail.com>
25467         [BZ #17153]
25468         * elf/elf.h (DT_PPC64_NUM): Correct value.
25469         * NEWS: Add to fixed bug list.
25471 2014-07-13  Jim Meyering  <meyering@fb.com>
25473         [BZ 17150]
25474         regex: don't deref NULL upon heap allocation failure
25475         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25476         failure in one more place.
25477         To trigger the segfault, configure grep -with-included-regex,
25478         build it, and run these commands:
25479         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25481 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25483         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25485 2014-07-11  Richard Henderson  <rth@redhat.com>
25487         * sysdeps/aarch64/libm-test-ulps: Update.
25489 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25491         [BZ #17135]
25492         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25493         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25494         (__nptl_setxid): Initialize error member.  Call
25495         __nptl_setxid_error.
25496         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25497         * nptl/descr.h (struct xid_command): Add error member.
25498         * nptl/tst-setuid3.c: New file.
25499         * nptl/Makefile (tests): Add it.
25501 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25504         New define.
25505         (__lll_trylock): Use __lll_base_trylock.
25506         (__lll_cond_trylock): Likewise.
25508 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25510         * nptl/pthread_create.c (start_thread): Use atomic_or and
25511         lll_futex_wake directly rather than lll_robust_dead.
25512         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25513         (lll_robust_dead): Macro removed.
25514         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25515         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25516         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25517         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25519         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25520         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25522         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25524         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25527         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25530         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25531         Use atomic_compare_and_exchange_val_acq directly rather than
25532         lll_robust_trylock.
25533         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25534         (__lll_robust_trylock, lll_robust_trylock): Removed.
25535         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25536         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25537         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25538         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25539         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25540         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25541         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25542         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25544         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25545         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25546         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25547         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25550 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25552         * manual/locale.texi (Locale Names): New section documenting
25553         locale name syntax.  Adjust menu and node chaining accordingly.
25554         (Choosing Locale): Reference Locale Names, Locale Categories.
25555         Mention setting LC_ALL=C.  Reflect that name syntax is now
25556         documented.
25557         (Locale Categories): New section title.  Reference Locale Names.
25558         LC_ALL is an environment variable, but not a category.
25559         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25560         description, now in Locale Name.  Reference that section.  Locale
25561         name syntax is now documented.
25563 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25565         [BZ #17137]
25566         * locale/findlocale.c (name_present, valid_locale_name): New
25567         functions.
25568         (_nl_find_locale): Use the loc_name variable to store name
25569         candidates.  Call name_present and valid_locale_name to check and
25570         validate locale names.  Return an error if the locale is invalid.
25572 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25574         * locale/setlocale.c (setlocale): Use strdup for allocating
25575         composite name copy.
25577 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25579         Sync up with gnulib.
25580         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25581         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25582         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25583         and _GL_ARG_NONNULL.
25584         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25585         [!_LIBC]: Include code for Windows and Cygwin.
25586         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25587         Include prototype for int strerror_r.
25588         [!_LIBC] (is_open): New function.
25589         (flush_stdout): New function.
25590         (print_errno_message): Use it.
25591         (error): Likewise.
25592         (error_at_line): Likewise.
25593         (error_tail) Add function attribute macros.  Use
25594         __builtin_expect.
25596         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25598         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25600         * io/ftw.c: Include sys/param.h unconditionally.
25602         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25604         [BZ #17125]
25605         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25606         libc_freeres_ptr.
25607         (freecache): New function to free CACHE on exit.
25609         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25610         initialization.
25612 2014-07-09  David S. Miller  <davem@davemloft.net>
25614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25616         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25617         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25618         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25619         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25620         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25621         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25622         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25623         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25624         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25625         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25626         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25627         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25628         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25630 2014-07-09  Andreas Schwab  <schwab@suse.de>
25632         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25633         output.
25634         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25635         (do_test): Likewise.
25637         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25639 2014-07-09  Will Newton  <will.newton@linaro.org>
25641         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25642         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25643         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25644         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25645         * sysdeps/hppa/start.S (_start): Likewise.
25647 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25649         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25651         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25652         defined.
25654 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25656         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25657         after checking that it is non-NULL.
25659         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25661 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25663         * sysdeps/powerpc/memmove.c: Remove file.
25664         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25665         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25666         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25667         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25668         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25669         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25670         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25671         string memmove instead of removed powerpc one.
25673         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25674         [weak_alias]: Fix compiler warning due trailing data.
25675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25676         [weak_alias]: Likewise.
25677         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25678         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25681         (__libc_ifunc_impl_list): Add memmove functions.
25683 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25685         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25686         Remove code.
25687         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25688         Likewise.
25689         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25690         Likewise.
25691         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25692         Likewise.
25693         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25694         Likewise.
25695         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25696         Likewise.
25697         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25698         Likewise.
25699         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25700         Likewise.
25701         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25702         Likewise.
25703         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25704         Likewise.
25705         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25706         Likewise.
25707         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25708         Likewise.
25709         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25710         Likewise.
25711         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25712         Likewise.
25713         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25714         Likewise.
25715         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25716         Likewise.
25717         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25718         Likewise.
25720 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25722         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25723         to avoid alignment traps in non-cacheable memory.
25724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25727         multiarch objects.
25728         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25729         file: multiarch power7 memmove.
25730         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25731         multiarch default memmove.
25732         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25733         multiarch memove for powerpc32/power4.
25735         * string/bcopy.c: Use full path to include memmove.c.
25736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25737         multiarch objects.
25738         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25739         bcopy for powerpc64.
25740         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25741         bcopy for powerpc64.
25742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25743         and memmove implementations.
25744         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25745         optimized multiarch memmove for POWER7/powerpc64.
25746         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25747         default multiarch memmove for powerpc64.
25748         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25749         multiarch for powerpc64.
25750         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25751         for POWER7/powerpc64.
25752         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25753         memmove for POWER7/powerpc64.
25755         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25756         glibc default one.
25758         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25759         __ELF_NATIVE_CLASS equal to 64.
25761 2014-07-07  Roland McGrath  <roland@hack.frob.com>
25763         * sysdeps/nptl/lowlevellock.h: File removed.
25765         * NEWS: NPTL is no longer an add-on!
25766         * nptl/internaltypes.h: Moved ...
25767         * sysdeps/nptl/internaltypes.h: ... here.
25768         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25769         * sysdeps/nptl/fork.c: Likewise.
25770         * sysdeps/nptl/gai_misc.h: Likewise.
25771         * sysdeps/nptl/librt-cancellation.c: Likewise.
25772         * sysdeps/nptl/jmp-unwind.c: Likewise.
25773         * sysdeps/nptl/setxid.h: Likewise.
25774         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25775         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25776         * sysdeps/unix/sysv/linux/arm/Implies: New file.
25777         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25778         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25779         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25780         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25781         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25782         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25783         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25784         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25785         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25786         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25787         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25788         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25789         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25790         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25791         * nptl/Makeconfig: Moved ...
25792         * sysdeps/nptl/Makeconfig: ... here.
25793         * nptl/configure: File removed.
25794         * nptl/ANNOUNCE: File removed.
25795         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25796         * sysdeps/unix/sysv/linux/configure: Regenerated.
25798         * nptl/Makefile (routines): Add libc_pthread_init,
25799         libc_multiple_threads, register-atfork and unregister-atfork.
25800         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25801         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25802         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25803         pthread-pi-defines.sym, structsem.sym.
25804         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25805         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25806         [$(subdir) = nptl] (tests): Add tst-setgetname.
25807         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25808         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25809         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25810         [!LIBC_SIGACTION]: Remove aliases.
25811         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25812         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25813         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25814         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25815         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25816         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25817         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25818         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25819         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25820         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25821         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25822         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25823         __libc_allocate_rtsig_private.
25824         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25825         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25826         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25827         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25828         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25829         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25830         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25831         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25832         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25833         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25834         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25835         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25836         * nptl/internaltypes.h: ... here.
25837         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25838         * sysdeps/nptl/jmp-unwind.c: ... here.
25839         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25840         * nptl/libc-lowlevellock.c: ... here.
25841         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25842         * nptl/libc_multiple_threads.c: ... here.
25843         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25844         * nptl/libc_pthread_init.c: ... here.
25845         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25846         * nptl/lowlevelbarrier.sym: ... here.
25847         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25848         * nptl/lowlevelcond.sym: ... here.
25849         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25850         * nptl/lowlevellock.c: ... here.
25851         * nptl/lowlevellock.h: Moved ...
25852         * sysdeps/nptl/lowlevellock.h: ... here.
25853         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25854         * nptl/lowlevelrobustlock.c: ... here.
25855         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25856         * nptl/lowlevelrobustlock.sym: ... here.
25857         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25858         * nptl/lowlevelrwlock.sym: ... here.
25859         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25860         * nptl/pt-fork.c: ... here.
25861         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25862         * nptl/pthread-pi-defines.sym: ... here.
25863         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25864         * nptl/pthread_attr_getaffinity.c: ... here.
25865         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25866         * nptl/pthread_attr_setaffinity.c: ... here.
25867         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25868         * nptl/pthread_mutex_cond_lock.c: ... here.
25869         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25870         Update #include.
25871         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25872         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25873         * nptl/pthread_once.c: ... here, replacing old file.
25874         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25875         * nptl/pthread_yield.c: ... here.
25876         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25877         * nptl/register-atfork.c: ... here.
25878         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25879         * nptl/sem_post.c: ... here.
25880         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25881         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25882         * nptl/sem_timedwait.c: ... here.
25883         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25884         * nptl/sem_trywait.c: ... here.
25885         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25886         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25887         * nptl/sem_wait.c: ... here.
25888         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25889         * nptl/structsem.sym: ... here.
25890         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25891         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25892         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25893         * nptl/unregister-atfork.c: ... here.
25894         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25895         * nptl/unwindbuf.sym: ... here.
25896         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25897         * sysdeps/nptl/fork.c: ... here.
25898         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25899         * sysdeps/nptl/fork.h: ... here.
25900         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25901         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25902         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25903         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25904         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25905         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25906         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25907         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25908         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25909         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25910         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25911         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25912         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25913         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25914         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25915         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25916         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25917         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25918         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25919         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25920         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25921         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25922         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25923         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25924         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25925         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25926         * sysdeps/unix/sysv/linux/raise.c: ... here.
25927         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25928         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25929         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25930         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25931         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25932         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25933         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25934         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25935         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25936         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25937         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25938         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25939         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25940         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25941         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25943 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25945         * sysdeps/generic/memcopy.h: Add comment for
25946         MEMCPY_OK_FOR_FWD_MEMMOVE.
25948 2014-07-04  Will Newton  <will.newton@linaro.org>
25950         * string/memchr.c: Merge from gnulib.
25951         [_LIBC]: Remove conditionals.
25952         (__ptr_t): Remove define.
25953         (LONG_MAX_32_BITS): Likewise.
25954         (LONG_MAX): Likewise.
25955         (MEMCHR): Use ANSI prototype and optimize algorithm.
25957         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25959 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25961         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25962         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25964         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25965         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25966         in a bare environment with no <stdlib.h> installed.
25967         * sysdeps/nptl/configure: Regenerated.
25969         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25971         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25972         AC_EGREP_CPP for kernel header checks, so they only succeed if
25973         including <linux/version.h> actually works right.
25974         * sysdeps/unix/sysv/linux/configure: Regenerated.
25976         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25977         value so it's not diagnosed as unused.
25979         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25980         thing) with "ifeq ($(subdir),rt)".
25982 2014-07-03  Richard Henderson  <rth@redhat.com>
25984         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25985         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25986         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25988         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25989         (math_force_eval): New.
25991         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25992         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25994         * sysdeps/alpha/fpu/s_round.c: Remove file.
25995         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25997         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25998         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25999         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26000         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26001         (_dl_start, print_statistics): Likewise.
26002         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26003         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26005         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26006         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26007         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26008         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26009         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26010         (HP_SMALL_TIMING_AVAIL): Define.
26011         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26012         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26013         (HP_SMALL_TIMING_AVAIL): Define.
26014         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26015         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26017         * sysdeps/aarch64/hp-timing.h: New file.
26019         * sysdeps/generic/hp-timing.h: Remove dead comment.
26020         * sysdeps/generic/hp-timing-common.h: New file.
26021         * sysdeps/alpha/hp-timing.h: Include it.
26022         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26023         * sysdeps/i386/i686/hp-timing.h: Likewise.
26024         * sysdeps/ia64/hp-timing.h: Likewise.
26025         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26026         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26027         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26028         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26029         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26030         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26031         (hp_timing_t): New.
26033         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26034         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26035         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26036         * elf/rtld.c (_dl_start_final): Likewise.
26037         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26038         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26039         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26040         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26041         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26042         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26043         (HP_TIMING_DIFF_INIT): Remove.
26044         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26046         (HP_TIMING_DIFF_INIT): Remove.
26047         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26048         * sysdeps/i386/i686/hp-timing.c: Remove file.
26049         * sysdeps/x86_64/hp-timing.c: Remove file.
26050         * sysdeps/ia64/hp-timing.c: Remove file.
26051         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26052         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26053         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26054         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26056         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26057         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26058         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26059         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26060         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26061         (HP_TIMING_ACCUM): Remove.
26062         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26063         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26064         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26066         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26067         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26068         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26069         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26070         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26071         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26073         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26075         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26077 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26079         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26081 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26083         Sync up with gettext.
26084         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26085         [_MSC_VER]: Include malloc.h
26086         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26087         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26088         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26089         TEMP_FAILURE_RETRY.  Cast return of alloca.
26090         [!_LIBC] Call gl_rwlock_init.
26091         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26093 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26095         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26096         before checking its value.
26098 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26102         * debug/memcpy_chk.c: Don't include pagecopy.h.
26103         * debug/mempcpy_chk.c: Likewise.
26104         * string/memcpy.c: Likewise.
26105         * string/memmove.c: Likewise.
26106         * sysdeps/powerpc/memmove.c: Likewise.
26107         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26108         definition of PAGE_COPY_FWD_MAYBE here...
26109         * sysdeps/generic/pagecopy.h: ... from here.
26110         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26112 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26113             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26115         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26117         optimizations.
26118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26119         (__libc_ifunc_impl_list): Likewise.
26120         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26121         multiarch strcat for PPC64.
26122         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26123         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26125 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26127         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26129 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26131         * intl/loadmsgcat.c: Remove declaration of
26132         get_sysdep_segment_value.
26133         (get_sysdep_segment_value): Use ISO C style.
26134         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26135         semicolon.  Fix typo and formatting in comment.
26136         (_nl_unload_domain): Use ISO C style.
26138         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26140 2014-07-02  Will Newton  <will.newton@linaro.org>
26142         * malloc/obstack.c: Merge from gnulib master.
26143         [HAVE_CONFIG_H]: Remove conditional code.
26144         [!_LIBC]: Include config.h.
26145         [!ELIDE_CODE]: Don't include inttypes.h, include
26146         stdint.h unconditionally.
26147         (print_and_abort): Mark as _Noreturn.
26148         (_obstack_allocated_p): Mark as __attribute_pure__.
26149         (obstack_free): Rename to __obstack_free.
26150         [!__attribute__]: Remove conditional code.
26151         * malloc/obstack.h: Merge from gnulib master.
26152         [__cplusplus]: Move conditional down.
26153         [!__attribute_pure__]: Define __attribute_pure__ here
26154         if it is not already defined.
26155         (_obstack_memory_used): Mark as __attribute_pure__.
26156         [!__obstack_free]: Define as obstack_free.
26157         [__GNUC__]: Remove check for ancient NeXT gcc.
26159 2014-07-02  Will Newton  <will.newton@linaro.org>
26160             Paul Eggert  <eggert@cs.ucla.edu>
26162         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26164 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26166         * resolv/gethnamaddr.c: Add comment warning that the file is
26167         not maintained.
26169 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26171         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26172         entries.
26174         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26175         entry for aio_cancel and aio_cancel64.
26176         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26177         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26178         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26179         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26180         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26181         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26182         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26183         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26184         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26185         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26186         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26187         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26188         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26190 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26192         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26193         * nptl/pthread_mutex_lock.c: Likewise.
26194         * nptl/pthread_mutex_timedlock.c: Likewise.
26195         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26197 2014-07-01  Richard henderson  <rth@redhat.com>
26199         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26200         (__isnan, __isnanl): Remove.
26201         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26203         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26205 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26207         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26209 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26211         * resolv/nss_dns/dns-host.c (getanswer_r)
26212         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26214 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26216         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26217         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26218         undefine.
26219         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26220         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26222 2014-07-01  Roland McGrath <roland@hack.frob.com>
26224         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26225         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26227         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26228         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26230         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26231         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26232         ... here.
26233         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26234         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26236         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26237         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26238         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26239         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26241         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26242         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26243         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26244         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26245         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26246         Moved ...
26247         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26248         ... here.
26249         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26250         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26251         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26252         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26253         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26254         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26255         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26256         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26258         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26259         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26260         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26261         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26262         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26263         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26264         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26265         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26266         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26267         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26268         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26269         ... here.
26270         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26271         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26272         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26273         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26274         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26275         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26276         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26277         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26279 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26281         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26282         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26283         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26284         Add sysdep.
26286 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26290 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26292         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26293         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26295         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26297         * sysdeps/arm/libm-test-ulps: Regenerated.
26299 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26300             Roland McGrath <roland@hack.frob.com>
26302         * test-skeleton.c (signal_handler): Kill the whole process group
26303         before killing the child individually.
26304         (main): Report any failure on `setpgid'.
26306 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26308         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26309         from _TLS_H to _ARM_NPTL_TLS_H.
26310         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26311         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26313 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26315         [BZ #16539]
26316         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26317         (__expm1l): Return argument unchanged when small but not
26318         subnormal.
26320         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26321         include macro name.
26322         (_FP_UNPACK_RAW_1_P): Likewise.
26323         (_FP_PACK_RAW_1): Likewise.
26324         (_FP_PACK_RAW_1_P): Likewise.
26325         (_FP_MUL_MEAT_1_wide): Likewise.
26326         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26327         (_FP_MUL_MEAT_1_hard): Likewise.
26328         (_FP_DIV_MEAT_1_imm): Likewise.
26329         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26330         (_FP_DIV_MEAT_1_udiv): Likewise.
26331         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26332         (_FP_UNPACK_RAW_2): Likewise.
26333         (_FP_UNPACK_RAW_2_P): Likewise.
26334         (_FP_PACK_RAW_2): Likewise.
26335         (_FP_PACK_RAW_2_P): Likewise.
26336         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26337         (_FP_MUL_MEAT_2_wide): Likewise.
26338         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26339         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26340         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26341         (_FP_MUL_MEAT_2_gmp): Likewise.
26342         (_FP_DIV_MEAT_2_udiv): Likewise.
26343         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26344         (_FP_FRAC_SRL_4): Likewise.
26345         (_FP_FRAC_SRST_4): Likewise.
26346         (_FP_FRAC_SRS_4): Likewise.
26347         (_FP_UNPACK_RAW_4): Likewise.
26348         (_FP_UNPACK_RAW_4_P): Likewise.
26349         (_FP_PACK_RAW_4): Likewise.
26350         (_FP_PACK_RAW_4_P): Likewise.
26351         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26352         (_FP_MUL_MEAT_4_wide): Likewise.
26353         (_FP_MUL_MEAT_4_gmp): Likewise.
26354         (umul_ppppmnnn): Likewise.
26355         (_FP_DIV_MEAT_4_udiv): Likewise.
26356         (__FP_FRAC_ADD_4): Likewise.
26357         (__FP_FRAC_SUB_3): Likewise.
26358         (__FP_FRAC_SUB_4): Likewise.
26359         (__FP_FRAC_DEC_3): Likewise.
26360         (__FP_FRAC_DEC_4): Likewise.
26361         (__FP_FRAC_ADDI_4): Likewise.
26362         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26363         (_FP_FRAC_SRL_8): Likewise.
26364         (_FP_FRAC_SRS_8): Likewise.
26366         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26367         include macro name.
26368         (FP_UNPACK_RAW_EP): Likewise.
26369         (FP_PACK_RAW_E): Likewise.
26370         (FP_PACK_RAW_EP): Likewise.
26371         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26372         (_FP_ISSIGNAN): Likewise.
26373         (_FP_ADD_INTERNAL): Likewise.
26374         (_FP_FMA): Likewise.
26375         (_FP_CMP): Likewise.
26376         (_FP_SQRT): Likewise.
26377         (_FP_TO_INT): Likewise.
26378         (_FP_FROM_INT): Likewise.
26379         (FP_EXTEND): Likewise.
26380         (_FP_DIV_MEAT_N_loop): Likewise.
26382 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26384         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26385         throughout.
26387 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26389         [BZ #17097]
26390         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26391         result with correct sign in case of exponents that produce
26392         overflow except for X very close to 1.
26394 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26396         mktime: merge #if/#ifdef usage from glibc
26397         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26398         as that works with both Glibc's and Gnulib's style.
26399         See thread starting at Siddhesh Poyarekar's bug report at:
26400         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26402 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26404         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26405         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26406         * sysdeps/tile/tilegx/memmove.c: Remove file.
26408 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26410         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26411         abi-name definition.
26412         * scripts/soversions.awk: Do not handle or generate ABI lines.
26413         * shlib-versions: Remove ABI entries.
26414         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26415         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26417 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26420         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26421         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26422         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26424         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26426         Moved ...
26427         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26428         ... here.
26429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26430         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26432         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26434         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26436         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26438         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26440         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26442         Moved ...
26443         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26445         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26449         Moved ...
26450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26452         Moved ...
26453         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26455         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26457         Moved ...
26458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26460         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26462         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26464         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26466         Moved ...
26467         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26469         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26470         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26471         Moved ...
26472         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26473         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26474         Moved ...
26475         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26477         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26478         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26479         Moved ...
26480         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26481         ... here.
26482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26483         Identical file removed.
26484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26485         Moved ...
26486         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26488         Identical file removed.
26489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26490         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26491         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26492         Moved ...
26493         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26495         Identical file removed.
26496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26497         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26499         Identical file removed.
26500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26501         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26503         Identical file removed.
26504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26505         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26506         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26507         Identical file removed.
26508         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26509         Moved ...
26510         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26512         Identical file removed.
26513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26514         Moved ...
26515         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26517         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26519         Identical file removed.
26520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26521         Moved ...
26522         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26523         ... here.
26524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26525         Identical file removed.
26526         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26527         Moved ...
26528         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26530         Identical file removed.
26531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26532         Moved ...
26533         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26535         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26537         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26539         Moved ...
26540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26541         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26542         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26544         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26545         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26546         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26547         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26548         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26550 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26552         [BZ #17092]
26553         * nscd/nscd.c (monitor_child): Return exit status of child
26554         instead of return value from wait syscall.
26556 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26558         * configure.ac (libc_commonpagesize): Remove variable.
26559         (libc_relro_required): Likewise.
26560         (libc_cv_z_relro): Remove configure test.
26561         * configure: Regenerated.
26562         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26563         variable.
26564         (libc_relro_required): Likewise.
26565         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26566         (libc_relro_required): Likewise.
26567         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26568         (libc_relro_required): Likewise.
26569         * sysdeps/arm/preconfigure: Regenerated.
26570         * sysdeps/ia64/preconfigure: Remove file.
26571         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26572         variable.
26573         (libc_relro_required): Likewise.
26575         [BZ #16561]
26576         [BZ #16562]
26577         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26578         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26579         recompute overflowing results in original rounding mode.
26580         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26581         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26582         recompute overflowing results in original rounding mode.
26583         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26584         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26585         recompute overflowing results in original rounding mode.
26586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26587         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26588         recompute overflowing results in original rounding mode.
26589         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26590         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26591         recompute overflowing results in original rounding mode.
26592         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26593         (libc_feholdsetround_ctx): New macro.
26594         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26595         * sysdeps/i386/fpu/libm-test-ulps: Update.
26596         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26598 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26600         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26601         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26602         corresponding .cpsetup call.
26604 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26606         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26607         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26608         * sysdeps/arm/Makefile [$(subdir) = csu]
26609         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26610         (static-only-routines): Add aeabi_read_tp here.
26611         (shared-only-routines): Add libc-aeabi_read_tp here.
26612         (CFLAGS-libc-start.c): Add -fexceptions here.
26613         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26614         (sysdep_routines, static-only-routines, shared-only-routines):
26615         Don't add to these here.
26616         (CFLAGS-libc-start.c): Likewise.
26618         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26619         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26620         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26621         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26622         * sysdeps/arm/Makefile [$(subdir) = rt]
26623         (librt-sysdep_routines, librt-shared-only-routines):
26624         Append rt-aeabi_unwind_cpp_pr1 here.
26625         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26626         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26627         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26628         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26629         Append nptl-aeabi_unwind_cpp_pr1 here.
26630         (tests): Filter out tst-cleanupx4 here.
26631         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26632         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26633         Don't do those here.
26635 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26637         * scripts/list-sources.sh: Do not handle ports specially.
26639 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26641         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26642         * sysdeps/arm/feupdateenv.c: Likewise.
26644         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26646 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26648         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26649         trailing whitespace removed.
26650         * scripts/config.guess: Update to version 2014-03-23.
26651         * scripts/config.sub: Update to version 2014-05-01
26652         * scripts/install-sh: Update to version 2013-12-25.23.
26653         * scripts/move-if-change: Update from gnulib.
26655 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26657         * debug/memmove_chk.c: Remove pagecopy.h include.
26659 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26661         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26662         identical to gnulib mktime.
26664 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26666         * configure.ac: Do not test for machine being rs6000.  Do not test
26667         for powerpc*-*soft.
26668         * configure: Regenerated.
26670         [BZ #11505]
26671         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26672         test.
26673         * configure: Regenerated.
26674         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26675         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26676         Remove configure test.
26677         * sysdeps/arm/configure: Regenerated.
26678         * sysdeps/nptl/configure.ac: Do not check
26679         libc_cv_asm_cfi_directives.
26680         * sysdeps/nptl/configure: Regenerated.
26681         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26682         * sysdeps/x86_64/nptl/configure: Remove generated file.
26683         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26684         unconditional.
26685         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26687 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26689         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26690         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26691         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26692         it is defined.
26694         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26695         instead of whether it is defined.
26696         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26697         * sysdeps/hppa/dl-machine.h: Likewise.
26698         * sysdeps/ia64/dl-machine.h: Likewise.
26699         * sysdeps/m68k/dl-machine.h: Likewise.
26700         * sysdeps/microblaze/dl-machine.h: Likewise.
26701         * sysdeps/mips/dl-machine.: Likewise.
26702         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26703         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26704         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26705         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26706         * sysdeps/sh/dl-machine.h: Likewise.
26707         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26708         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26709         * sysdeps/tile/dl-machine.h: Likewise.
26710         * sysdeps/x86_64/dl-machine.h: Likewise.
26712         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26713         code.
26714         (verify_persistent_db): Likewise.
26716 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26719         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26721         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26723         Moved ...
26724         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26725         ... here.
26726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26727         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26729         Identical file removed.
26730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26735         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26737         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26739         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26741         Moved ...
26742         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26748         Moved ...
26749         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26751         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26753         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26755         Identical file removed.
26756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26757         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26759         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26761         Moved ...
26762         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26763         ... here.
26764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26767         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26769         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26771         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26773         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26775         Moved ...
26776         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26781         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26783         Moved ...
26784         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26786         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26788         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26789         folded into ...
26790         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26791         * sysdeps/unix/sysv/linux/s390/Versions
26792         (libpthread: GLIBC_2.19): New version set.
26793         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26794         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26795         (librt: GLIBC_2.3.3): New version set.
26796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26797         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26798         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26799         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26800         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26802         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26803         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26804         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26805         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26806         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26807         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26808         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26810         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26812         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26814         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26816         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26818         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26820         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26821         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26822         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26824         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26825         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26826         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26827         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26832         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26833         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26834         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26836         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26838         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26840         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26842         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26843         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26844         (__libc_vfork): Define the function under this name.
26845         [!NOT_IN_libc] (__vfork): Make this an alias.
26846         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26848         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26849         (__libc_vfork): Define the function under this name.
26850         [!NOT_IN_libc] (__vfork): Make this an alias.
26851         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26852         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26855         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26856         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26858         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26859         code that was previously under [RESET_PID].
26860         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26861         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26864         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26865         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26866         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26867         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26868         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26869         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26870         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26871         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26872         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26873         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26874         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26875         Moved ...
26876         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26877         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26878         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26879         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26880         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26881         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26882         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26883         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26884         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26885         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26886         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26887         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26888         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26889         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26890         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26891         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26892         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26893         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26894         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26895         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26896         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26897         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26898         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26899         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26900         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26901         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26902         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26904         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26906 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26908         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26909         that was previously under [RESET_PID].
26910         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26912 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26914         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26915         not undefine and redefine.
26916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26917         [O_CLOEXEC]: Make code unconditional.
26918         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26919         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26920         <kernel-features.h>.
26921         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26922         conditional variable definition.
26923         (shm_open) [O_CLOEXEC]: Make code unconditional.
26924         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26925         code.
26927         * configure.ac (USE_REGPARMS): Don't define here.
26928         * configure: Regenerated.
26929         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26930         * sysdeps/i386/configure: Regenerated.
26932         * nptl/createthread.c: Don't include kernel-features.h.
26933         * nptl/pthread_cancel.c: Likewise.
26934         * nptl/pthread_condattr_setclock.c: Likewise.
26935         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26936         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26937         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26938         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26939         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26940         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26944         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26945         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26946         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26947         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26948         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26949         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26950         * nscd/gai.c: Likewise.
26951         * nss/nss_db/db-open.c: Likewise.
26952         * sysdeps/generic/ldsodefs.h: Likewise.
26953         * sysdeps/sh/nptl/tls.h: Likewise.
26954         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26955         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26956         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26957         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26958         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26959         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26960         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26961         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26962         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26963         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26964         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26965         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26966         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26967         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26968         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26969         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26970         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26971         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26972         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26973         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26976         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26977         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26980         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26982         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26983         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26984         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26985         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26986         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26987         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26988         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26989         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26990         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26991         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26992         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26993         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26994         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26995         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26996         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26997         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26998         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26999         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27000         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27001         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27002         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27003         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27004         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27005         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27006         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27007         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27008         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27009         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27010         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27011         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27034         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27035         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27036         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27037         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27038         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27039         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27040         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27041         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27042         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27043         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27044         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27045         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27046         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27047         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27048         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27049         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27050         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27051         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27052         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27053         * sysdeps/unix/sysv/linux/system.c: Likewise.
27054         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27055         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27056         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27057         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27058         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27059         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27060         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27062         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27063         * configure: Regenerated.
27064         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27066         * configure.ac (base_machine): Do not set specially for particular
27067         machines here.
27068         * configure: Regenerated.
27069         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27070         settings from configure.ac.
27071         * sysdeps/i386/preconfigure: New file.
27072         * sysdeps/s390/preconfigure: Likewise.
27073         * sysdeps/sh/preconfigure: Likewise.
27074         * sysdeps/sparc/preconfigure: Likewise.
27076 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27078         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27079         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27080         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27081         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27082         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27083         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27084         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27085         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27086         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27087         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27088         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27089         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27090         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27091         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27092         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27093         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27094         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27095         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27096         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27098         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27099         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27100         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27101         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27102         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27103         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27104         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27105         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27106         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27107         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27108         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27109         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27110         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27111         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27112         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27113         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27114         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27115         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27116         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27117         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27119         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27120         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27121         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27122         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27123         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27125         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27126         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27127         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27128         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27129         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27130         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27131         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27132         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27133         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27134         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27135         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27138         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27140         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27142         Moved ...
27143         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27144         ... here.
27145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27146         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27148         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27150         Moved ...
27151         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27153         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27155         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27159         Moved ...
27160         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27162         Moved ...
27163         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27167         Moved ...
27168         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27170         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27172         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27174         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27176         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27178         Moved ...
27179         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27180         ... here.
27181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27182         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27184         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27186         Moved ...
27187         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27189         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27191         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27193         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27195         Moved ...
27196         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27198         Moved ...
27199         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27201         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27203         Moved ...
27204         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27206         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27208         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27210 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27212         * timezone/checktab.awk: Update from tzcode 2014e.
27213         * timezone/private.h: Likewise.
27214         * timezone/tzfile.h: Likewise.
27215         * timezone/zdump.c: Likewise.
27216         * timezone/zic.c: Likewise.
27218         * sysdeps/unix/sysv/linux/kernel-features.h
27219         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27220         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27221         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27222         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27223         Remove conditional code.
27225 2014-06-25  Will Newton  <will.newton@linaro.org>
27227         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27228         (_dl_arm_cap_flags): Add HWCAP2 values.
27229         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27230         (_DL_HWCAP_COUNT): Increase to 37.
27231         (_DL_HWCAP_LAST): New define.
27232         (_DL_HWCAP2_LAST): New define.
27233         (_dl_procinfo): Add support for printing
27234         AT_HWCAP2 entries.
27235         (_dl_string_hwcap): Use _dl_hwcap_string.
27237 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27241 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27243         * README: Do not mention ports directory.
27245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27246         Remove macro.
27247         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27248         <kernel-features.h>.
27249         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27250         conditional variable definition.
27251         (__futimes): Update comment.
27252         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27253         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27255         [BZ #16560]
27256         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27257         arguments close to 0.
27258         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27259         Likewise.
27260         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27261         Likewise.
27262         * math/auto-libm-test-in: Add more tests of exp10.
27263         * math/auto-libm-test-out: Regenerated.
27264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27266         * sysdeps/unix/sysv/linux/kernel-features.h
27267         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27268         * sysdeps/unix/sysv/linux/readv.c: Do not include
27269         <kernel-features.h>.
27270         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27271         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27272         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27273         unconditional.
27274         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27275         conditional code.
27276         * sysdeps/unix/sysv/linux/writev.c: Do not include
27277         <kernel-features.h>.
27278         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27279         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27280         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27281         unconditional.
27282         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27283         conditional code.
27285 2014-06-25  Will Newton  <will.newton@linaro.org>
27287         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27288         comment changes throughout the file.  Remove checks
27289         for HAVE_*_H definitions that are not required.
27290         (__gen_tempname): Call abort if an unknown kind value is
27291         passed.
27293 2014-06-25  Andreas Schwab  <schwab@suse.de>
27295         [BZ #17086]
27296         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27297         scalbln, scalblnf, scalblnl in libc.
27299 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27301         [BZ #17086]
27302         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27303         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27304         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27306 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27308         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27309         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27310         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27311         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27312         Update #include.
27313         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27314         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27315         Update #include.
27316         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27317         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27318         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27320         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27321         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27322         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27323         * sysdeps/x86/bits/semaphore.h: ... here.
27324         * sysdeps/x86/nptl/elide.h: Moved ...
27325         * sysdeps/x86/elide.h: ... here.
27326         * sysdeps/x86_64/nptl/Implies: File removed.
27327         * sysdeps/i386/nptl/Implies: File removed.
27329 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #16539]
27332         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27333         return the argument for normal arguments with exponent below -64.
27334         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27335         Likewise.
27336         * math/auto-libm-test-in: Add another test of expm1.
27337         * math/auto-libm-test-out: Regenerated.
27339         [BZ #16287]
27340         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27341         calling __erfcl for arguments at least 16.
27342         * math/auto-libm-test-in: Add more tests of erf.
27343         * math/auto-libm-test-out: Regenerated.
27345         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27346         individual architectures.
27347         * sysdeps/unix/sysv/linux/configure: Regenerated.
27348         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27349         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27350         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27351         (ldd_rewrite_script): Define variable.
27352         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27354         file.
27355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27356         generated file.
27357         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27358         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27359         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27360         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27361         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27362         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27363         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27364         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27366 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27368         [BZ #17084]
27369         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27370         Rename member __data.d to __data.__elision_data.
27372 2014-06-24  Wilco  <wdijkstr@arm.com>
27374         * NEWS: Add 16918 to fixed bug list.
27376 2014-06-24  Wilco  <wdijkstr@arm.com>
27378         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27380 2014-06-24  Wilco  <wdijkstr@arm.com>
27382         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27383         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27384         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27385         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27386         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27387         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27388         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27389         Use _FPU_MASK_RM.
27391 2014-06-24  Wilco  <wdijkstr@arm.com>
27393         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27395 2014-06-24  Wilco  <wdijkstr@arm.com>
27397         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27398         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27399         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27400         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27402 2014-06-24  Wilco  <wdijkstr@arm.com>
27404         [BZ #16918]
27405         * sysdeps/arm/feupdateenv.c (feupdateenv):
27406         Rewrite to reduce FPSCR accesses and fix return value.
27408 2014-06-24  Wilco  <wdijkstr@arm.com>
27410         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27411         Optimize to avoid unnecessary FPSCR writes.
27412         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27413         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27414         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27415         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27417 2014-06-24  Wilco  <wdijkstr@arm.com>
27419         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27420         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27421         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27422         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27423         Call libc_fetestexcept_vfp.
27424         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27425         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27426         __SOFTFP__ ifdef so that they can be built for softfp.
27428 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27430         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27431         argument type signed char.
27433         * Makerules (check-abi): Dump diff of symlist if the test
27434         fails.
27436 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27438         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27439         using abort.
27441         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27442         Remove unused variable ST.
27444 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27446         [BZ #16354]
27447         [BZ #17061]
27448         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27449         small arguments before calling __expm1.
27450         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27451         small arguments before calling __expm1f.
27452         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27453         small arguments before calling __expm1l.
27454         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27455         Likewise.
27456         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27457         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27458         spurious underflow for some cosh tests.
27459         * math/auto-libm-test-out: Regenerated.
27460         * sysdeps/i386/fpu/libm-test-ulps: Update.
27462         [BZ #17050]
27463         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27464         (__ieee754_y1): Set errno if return value overflows.
27465         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27466         (__ieee754_y1f): Set errno if return value overflows.
27467         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27468         (__ieee754_y1l): Set errno if return value overflows.
27469         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27470         (__ieee754_y1l): Set errno if return value overflows.
27471         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27472         * math/auto-libm-test-out: Regenerated.
27474         * math/gen-auto-libm-tests.c: Document use of
27475         ignore-zero-inf-sign.
27476         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27477         (input_flags): Add ignore-zero-inf-sign.
27478         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27479         * math/gen-libm-test.pl (generate_testfile): Handle
27480         ignore-zero-inf-sign.
27481         * math/auto-libm-test-in: Mark some cpow tests with
27482         ignore-zero-inf-sign and some with xfail-rounding.
27483         * math/auto-libm-test-out: Regenerated.
27484         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27485         * sysdeps/i386/fpu/libm-test-ulps: Update.
27486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27488         [BZ #16315]
27489         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27490         overflowing or underflowing operations take place with sign of
27491         result.
27492         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27493         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27494         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27495         (__ieee754_pow): Recompute overflowing and underflowing results in
27496         original rounding mode.
27497         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27498         (__powl_helper): Allow negative argument X and scale negated value
27499         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27500         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27501         overflowing or underflowing operations take place with sign of
27502         result.
27503         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27504         Include <math.h>.
27505         * math/auto-libm-test-in: Add more tests of pow.
27506         * math/auto-libm-test-out: Regenerated.
27507         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27508         (pow_tonearest_test_data): Remove.
27509         (pow_test_tonearest): Likewise.
27510         (pow_towardzero_test_data): Likewise.
27511         (pow_test_towardzero): Likewise.
27512         (pow_downward_test_data): Likewise.
27513         (pow_test_downward): Likewise.
27514         (pow_upward_test_data): Likewise.
27515         (pow_test_upward): Likewise.
27516         (main): Don't call removed functions.
27517         * sysdeps/i386/fpu/libm-test-ulps: Update.
27518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27520 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27523         Moved ...
27524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27526         Moved ...
27527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27529         Moved ...
27530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27532         Moved ...
27533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27535         File removed.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27537         File removed.
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27539         File removed.
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27541         File removed.
27542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27543         File removed.
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27545         File removed.
27546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27547         File removed.
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27549         File removed.
27550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27551         File removed.
27552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27553         File removed.
27554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27555         File removed.
27556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27557         File removed.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27559         Moved ...
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27562         Moved ...
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27564         ... here.
27565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27566         Moved ...
27567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27569         Moved ...
27570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27572         Moved ...
27573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27575         Moved ...
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27578         Moved ...
27579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27581         Moved ...
27582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27584         Moved ...
27585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27588         ... here.
27589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27590         Moved ...
27591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27593         Moved ...
27594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27595         ... here.
27596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27597         Moved ...
27598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27599         ... here.
27600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27601         Moved ...
27602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27603         ... here.
27604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27605         Moved ...
27606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27608         Moved ...
27609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27613         Moved ...
27614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27615         ... here.
27616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27617         Moved ...
27618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27619         ... here.
27620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27621         Moved ...
27622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27624         Moved ...
27625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27627         Moved ...
27628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27630         Moved ...
27631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27633         Moved ...
27634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27635         ... here.
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27637         Moved ...
27638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27640         Moved ...
27641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27643         Moved ...
27644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27646         Moved ...
27647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27651         Moved ...
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27654         Moved ...
27655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27657         Moved ...
27658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27659         ... here.
27660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27661         Moved ...
27662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27663         ... here.
27664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27665         Moved ...
27666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27667         ... here.
27668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27669         Moved ...
27670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27672         Moved ...
27673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27675         Moved ...
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27678         Moved ...
27679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27680         ... here.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27682         Moved ...
27683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27684         ... here.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27686         Moved ...
27687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27688         ... here.
27689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27690         Moved ...
27691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27693         Moved ...
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27696 2014-06-23  Will Newton  <will.newton@linaro.org>
27697             Wilco  <wdijkstr@arm.com>
27699         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27700         implementation.  Include get-rounding-mode.h.
27701         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27702         [!libc_feholdsetround_noex_ctx]: Define
27703         libc_feholdsetround_noex_ctx.
27704         [!libc_feholdsetround_noexf_ctx]: Define
27705         libc_feholdsetround_noexf_ctx.
27706         [!libc_feholdsetround_noexl_ctx]: Define
27707         libc_feholdsetround_noexl_ctx.
27708         (libc_feholdsetround_ctx): New function.
27709         (libc_feresetround_ctx): New function.
27710         (libc_feholdsetround_noex_ctx): New function.
27711         (libc_feresetround_noex_ctx): New function.
27713 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27715         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27716         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27717         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27718         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27719         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27720         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27722         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27723         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27724         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27725         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27726         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27727         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27729         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27731         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27733         Moved ...
27734         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27735         ... here.
27736         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27737         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27738         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27739         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27741         Moved ...
27742         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27744         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27745         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27746         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27748         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27750         Moved ...
27751         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27753         Moved ...
27754         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27756         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27758         Moved ...
27759         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27761         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27762         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27763         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27764         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27765         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27767         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27769         Moved ...
27770         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27771         ... here.
27772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27773         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27777         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27778         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27779         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27780         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27781         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27782         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27783         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27785         Moved ...
27786         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27790         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27792         Moved ...
27793         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27795         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27796         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27797         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27799         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27800         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27802         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27803         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27804         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27805         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27806         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27808         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27809         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27810         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27811         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27812         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27813         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27814         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27815         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27816         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27817         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27818         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27819         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27820         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27821         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27822         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27823         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27824         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27825         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27826         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27828 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27831         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27832         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27833         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27834         (IPV6_PMTUDISC_INTERFACE): Likewise.
27835         (IPV6_PMTUDISC_OMIT): Likewise.
27837 2014-06-23  Andreas Schwab  <schwab@suse.de>
27839         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27840         Remove unused errout label.
27842 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27844         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27845         macro: hardware supports Vector Crypto instructions.
27847 2014-06-23  Will Newton  <will.newton@linaro.org>
27849         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27850         rather than __builtin_expect.
27852         * elf/dl-lookup.c (undefined_msg): Remove variable.
27853         (_dl_lookup_symbol_x): Replace undefined_msg with string
27854         literal.
27856         * elf/dl-lookup.c (do_lookup_unique): New function.
27857         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27858         to a separate function.
27860 2014-06-23  Andreas Schwab  <schwab@suse.de>
27862         [BZ #17079]
27863         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27864         before reading the next line.
27866 2014-06-23  Will Newton  <will.newton@linaro.org>
27868         * test-skeleton.c (signal_handler): Use printf and %m
27869         rather than perror.  Use printf rather than fprintf to
27870         stderr.  Use puts rather than fputs to stderr.
27871         (main): Likewise.
27873 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27875         * nscd/nscd.c (thread_info_t): Remove typedef.
27876         (thread_info): Remove variable.
27878 2014-06-21  Allan McRae  <allan@archlinux.org>
27880         * NEWS: Mention CVE-2014-4043.
27882 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27884         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27885         * nptl/smp.h: ... here.
27887         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27889         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27890         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27891         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27892         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27894         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27895         * nptl/stack-aliasing.h: New file.
27896         * sysdeps/i386/i686/stack-aliasing.h: New file.
27897         * sysdeps/i386/i686/nptl/Makefile: File removed.
27898         * sysdeps/x86_64/stack-aliasing.h: New file.
27899         * sysdeps/x86_64/nptl/Makefile
27900         (CFLAGS-pthread_create.c): Variable removed.
27902         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27903         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27904         old file.
27905         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27906         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27907         old file.
27909 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27912         (__ASSUME_SIGFRAME_V2): Remove macro.
27913         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27914         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27915         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27916         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27917         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27918         Declare as function.  Remove conditional macro definitions.
27919         (__default_rt_sa_restorer): Likewise.
27920         (__default_sa_restorer_v1): Remove declaration.
27921         (__default_sa_restorer_v2): Likewise.
27922         (__default_rt_sa_restorer_v1): Likewise.
27923         (__default_rt_sa_restorer_v2): Likewise.
27924         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27925         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27926         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27928 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27930         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27931         (libpthread-routines): Add sysdep.
27932         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27933         * sysdeps/unix/sysv/linux/sparc/Versions
27934         (libpthread: GLIBC_2.3.3): New version set.
27935         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27936         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27937         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27938         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27939         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27940         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27941         Moved ...
27942         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27944         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27945         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27946         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27947         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27948         * sysdeps/sparc/nptl/sem_init.c: ... here.
27949         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27950         * sysdeps/sparc/nptl/sem_post.c: ... here.
27951         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27952         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27953         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27954         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27955         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27957         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27958         (libpthread-routines): Add cpu_relax.
27959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27960         File removed.
27961         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27962         (librt: GLIBC_2.3.3): New version set.
27963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27964         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27965         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27966         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27969         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27971         Moved ...
27972         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27974         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27976         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27978         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27980         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27982         Moved ...
27983         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27984         Update #include.
27985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27986         Moved ...
27987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27988         Update #include.
27989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27990         Moved ...
27991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27992         Update #include.
27993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27994         Moved ...
27995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27996         Update #include.
27997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27998         Moved ...
27999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28000         Update #include.
28001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28002         Moved ...
28003         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28004         Update #include.
28005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28006         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28012         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28014         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28016         Moved ...
28017         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28019         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28021         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28023 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28025         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28026         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28027         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28028         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28029         * nscd/nscd.c: Likewise.
28030         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28031         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28032         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28033         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28035         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28036         <kernel-features.h>.
28037         (init_mq_netlink): Remove conditional have_sock_cloexec
28038         definitions.  Remove code conditional on have_sock_cloexec < 0.
28039         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28040         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28041         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28042         <kernel-features.h>.
28043         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28044         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28046 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28049         Add tests for memset_chk and memset.
28051         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28052         with AVX2_Usable.
28054 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28056         [BZ #16046]
28057         * elf/tst-dl-iter-static.c: New file.
28058         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28060         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28061         error.
28063 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28065         * sysdeps/unix/sysv/linux/kernel-features.h
28066         (__ASSUME_F_GETOWN_EX): Remove macro.
28067         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28068         <kernel-features.h>.
28069         (miss_F_GETOWN_EX): Remove variable or macro.
28070         (do_fcntl): Do not check miss_F_GETOWN_EX.
28071         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28074         Remove macro.
28075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28076         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28077         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28079         * sysdeps/unix/sysv/linux/kernel-features.h
28080         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28081         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28082         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28083         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28085 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28087         [BZ #17075]
28088         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28089         Fix calculation of the symbol's value.
28090         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28091         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28092         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28093         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28094         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28095         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28096         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28097         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28098         (modules-names): Add `tst-armtlsdescmod',
28099         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28100         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28101         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28102         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28103         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28104         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28105         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28106         ($(objpfx)tst-armtlsdescloc): New dependency.
28107         ($(objpfx)tst-armtlsdescextnow): Likewise.
28108         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28109         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28110         TLS scheme support.
28111         * sysdeps/arm/configure: Regenerate.
28113 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28115         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28116         (__atfct_seterrno_2): Likewise.
28117         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28118         <kernel-features.h>.
28119         (__ASSUME_ATFCTS): Do not undefine and redefine.
28120         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28121         (__have_atfcts): Remove conditional definition.
28122         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28123         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28124         unreachable if [__ASSUME_ATFCTS].
28125         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28126         not undefine and redefine.
28127         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28128         <kernel-features.h>.
28129         (faccessat) [__NR_faccessat]: Make code unconditional.
28130         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28131         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28132         <kernel-features.h>.
28133         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28134         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28135         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28136         <kernel-features.h>.
28137         (fchownat) [__NR_fchownat]: Make code unconditional.
28138         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28139         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28140         <kernel-features.h>.
28141         (futimesat) [__NR_futimesat]: Make code unconditional.
28142         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28143         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28144         <kernel-features.h>.
28145         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28146         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28147         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28148         <kernel-features.h>.
28149         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28150         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28151         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28152         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28153         <kernel-features.h>.
28154         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28155         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28156         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28157         <kernel-features.h>.
28158         (linkat) [__NR_linkat]: Make code unconditional.
28159         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28160         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28161         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28162         <kernel-features.h>.
28163         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28164         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28165         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28166         <kernel-features.h>.
28167         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28168         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28169         * sysdeps/unix/sysv/linux/openat.c: Do not include
28170         <kernel-features.h>.
28171         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28172         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28173         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28174         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28175         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28176         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28177         <kernel-features.h>.
28178         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28179         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28180         result of INLINE_SYSCALL directly, not via int variable.
28181         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28182         <kernel-features.h>.
28183         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28184         (renameat) [__NR_renameat]: Make code unconditional.
28185         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28187         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28188         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28189         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28190         (__ASSUME_ATFCTS): Do not undefine and redefine.
28191         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28192         <kernel-features.h>.
28193         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28194         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28195         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28196         <kernel-features.h>.
28197         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28198         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28199         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28200         (__ASSUME_ATFCTS): Do not undefine and redefine.
28201         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28202         <kernel-features.h>.
28203         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28204         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28205         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28206         <kernel-features.h>.
28207         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28208         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28210 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28212         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28214 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28216         [BZ #17069]
28217         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28218         constructed tree before returning error.
28219         * posix/bug-regexp36.c: Expand test case.
28221 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28223         [BZ #6803]
28224         * math/libm-test.inc (scalbln_test_date):
28225         Add errno expectations.
28226         * math/w_scalblnf.c: New File.
28227         Add wrapper which checks for setting errno to ERANGE.
28228         Add weak_alias for corresponding scalbln function.
28229         * math/w_scalbln.c: Likewise.
28230         * math/w_scalblnl.c: Likewise.
28231         * math/Makefile (libm-calls): Add w_scalbln.
28232         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28233         Remove weak_alias for corresponding scalbln function.
28234         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28236         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28237         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28238         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28239         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28240         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28241         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28242         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28243         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28244         Remove long_double_symbol for scalblnl function in libm, libc.
28245         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28246         Add wrapper which checks for setting errno to ERANGE.
28247         Add long_double_symbol for scalblnl function in libm, libc.
28248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28249         Remove long_double_symbol for scalblnl in libm.
28250         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28251         Add wrapper which checks for setting errno to ERANGE.
28252         Add long_double_symbol for scalblnl function in libm.
28253         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28254         Do not use wrapper because of own implementation.
28256 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28258         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28259         3 bytes for __pad1 for x32.
28260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28262 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28263             H.J. Lu  <hongjiu.lu@intel.com>
28265         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28266         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28267         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28269         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28271 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28273         [BZ #17069]
28274         * posix/regcomp.c (parse_expression): Deallocate partially
28275         constructed tree before returning error.
28276         * posix/Makefile.c (tests): Add bug-regex36.
28277         (generated): Add bug-regex36.mtrace.
28278         (tests-special): Add $(objpfx)bug-regex36-mem.out
28279         (bug-regex36-ENV): New variable.
28280         ($(objpfx)bug-regex36-mem.out): New rule.
28281         * posix/bug-regex36.c: New file.
28283 2014-06-19  Will Newton  <will.newton@linaro.org>
28285         * malloc/malloc.c (systrim): If extra is zero then return
28286         early.
28288 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28290         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28292 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28294         * sysdeps/aarch64/strchr.S: New file.
28296 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28298         [BZ #17022]
28299         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28300         from arguments -2 or below.
28301         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28302         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28304 2014-06-18  Andreas Schwab  <schwab@suse.de>
28306         [BZ #17062]
28307         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28308         of a bracket expr not to run off the end of the string.
28309         * posix/Makefile (tests): Add tst-fnmatch3.
28310         * posix/tst-fnmatch3.c: New file.
28312 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28314         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28315         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28316         [$(cross-compiling) = no]: Likewise.
28317         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28318         [$(cross-compiling) = no]: Likewise.
28320 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28322         [BZ #17031]
28323         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28324         double, adjusted for any remainder from the high double.
28325         * math/libm-test.inc (nearbyint): Add tests.
28326         (rint): Likewise.
28328 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28330         * nptl/sysdeps/powerpc/Makefile: Moved ...
28331         * sysdeps/powerpc/nptl/Makefile: ... here.
28332         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28333         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28334         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28335         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28336         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28337         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28338         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28339         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28340         * nptl/sysdeps/powerpc/tls.h: Moved ...
28341         * sysdeps/powerpc/nptl/tls.h: ... here.
28343 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28345         [BZ #16681]
28346         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28347         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28348         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28349         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28350         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28351         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28352         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28353         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28354         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28356 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28358         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28360 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28362         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28363         defined operator.
28365         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28366         $TIMEOUTFACTOR.
28368 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28370         [BZ #17058]
28371         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28372         non-executed part of the test.
28374 2014-06-16  Andreas Schwab  <schwab@suse.de>
28376         * string/bits/string2.h (strdup, strndup): Update feature guard.
28378 2014-06-14  David S. Miller  <davem@davemloft.net>
28380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28382 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28384         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28385         that was previously under [RESET_PID].
28386         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28388         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28389         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28390         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28391         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28392         (__libc_vfork): New strong alias.
28393         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28395 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28397         * sysdeps/generic/elide.h: New file.
28399 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28401         * Makefile (installed-headers): Adjust path of pthread.h header.
28403 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28405         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28406         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28407         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28408         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28410         * nptl/sysdeps/s390/Makefile: Moved ...
28411         * sysdeps/s390/nptl/Makefile: ... here.
28412         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28413         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28414         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28415         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28416         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28417         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28418         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28419         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28420         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28421         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28422         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28423         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28424         * nptl/sysdeps/s390/tls.h: Moved ...
28425         * sysdeps/s390/nptl/tls.h: ... here.
28427         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28428         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28430 2014-06-13  David S. Miller  <davem@davemloft.net>
28432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28435         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28439         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28440         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28441         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28442         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28443         Remove RESET_PID cpp guards.
28444         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28445         Remove RESET_PID cpp guards.
28446         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28448 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28450         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28451         __sp to uintptr_t.
28453 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28455         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28457         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28462         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28465         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28467         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28472         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28476         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28477         (pthread_rwlock_rdlock): Add elision.
28478         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28479         (pthread_rwlock_wrlock): Add elision.
28480         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28481         (pthread_rwlock_trywrlock): Add elision.
28482         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28483         (pthread_rwlock_tryrdlock): Add elision.
28484         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28485         (pthread_rwlock_tryrdlock): Add elision unlock.
28486         * nptl/sysdeps/pthread/pthread.h:
28487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28488         (PTHREAD_RWLOCK_INITIALIZER,
28489         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28490         Handle new elision field.
28491         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28492         * sysdeps/arm/nptl/bits/pthreadtypes.h
28493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28494         * sysdeps/sh/nptl/bits/pthreadtypes.h
28495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28496         * sysdeps/tile/nptl/bits/pthreadtypes.h
28497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28498         * sysdeps/a/nptl/bits/pthreadtypes.h
28499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28502         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28504         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28506         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28508         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28510         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28512         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28514         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28516         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28517         (elision_init): Set try_xbegin to zero when no RTM.
28518         * sysdeps/x86/nptl/bits/pthreadtypes.h
28519         (pthread_rwlock_t): Change __pad1 to __rwelision.
28520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28522 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28524         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28525         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28526         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28527         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28529 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28531         [BZ #16996]
28532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28533         that the cached result has been set before returning it.
28535 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28537         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28538         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28539         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28540         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28541         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28542         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28544         * nptl/sysdeps/sparc/Makefile: Moved ...
28545         * sysdeps/sparc/nptl/Makefile: ... here.
28546         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28547         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28548         * nptl/sysdeps/sparc/tls.h: Moved ...
28549         * sysdeps/sparc/nptl/tls.h: ... here.
28550         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28551         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28552         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28553         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28554         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28555         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28556         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28557         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28558         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28559         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28560         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28561         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28562         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28563         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28564         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28565         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28566         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28567         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28568         Update #include.
28569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28571         Update #include.
28572         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28574         Update #include.
28575         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28577         Update #include.
28579         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28581         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28582         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28584         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28585         (struct list_links): Type removed.
28586         (struct thread_node, struct timer_node): Replace struct list_links
28587         with struct list_head.
28588         (list_unlink_ip): Likewise.
28589         * sysdeps/pthread/timer_routines.c
28590         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28591         (list_append, list_insbefore): Likewise.
28592         (list_init): Function removed.
28593         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28594         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28595         * sysdeps/pthread/Makefile: ... here, new file.
28597         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28598         * sysdeps/nptl/Implies: ... here.
28599         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28600         * nptl/sysdeps/pthread/list.h: Moved ...
28601         * include/list.h: ... here.
28602         * nptl/sysdeps/pthread/createthread.c: Moved ...
28603         * nptl/createthread.c: ... here.
28604         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28605         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28606         * nptl/pt-longjmp.c: ... here.
28607         * nptl/sysdeps/pthread/Makefile: Moved ...
28608         * sysdeps/nptl/Makefile: ... here.
28609         * nptl/sysdeps/pthread/Subdirs: Moved ...
28610         * sysdeps/nptl/Subdirs: ... here.
28611         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28612         * sysdeps/nptl/aio_misc.h: ... here.
28613         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28614         * sysdeps/nptl/bits/libc-lock.h: ... here.
28615         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28616         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28617         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28618         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28619         * nptl/sysdeps/pthread/configure: Moved ...
28620         * sysdeps/nptl/configure: ... here.
28621         * nptl/sysdeps/pthread/configure.ac: Moved ...
28622         * sysdeps/nptl/configure.ac: ... here.
28623         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28624         * sysdeps/nptl/gai_misc.h: ... here.
28625         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28626         * sysdeps/nptl/librt-cancellation.c: ... here.
28627         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28628         * sysdeps/nptl/malloc-machine.h: ... here.
28629         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28630         * sysdeps/nptl/pthread-functions.h: ... here.
28631         * nptl/sysdeps/pthread/pthread.h: Moved ...
28632         * sysdeps/nptl/pthread.h: ... here.
28633         * nptl/sysdeps/pthread/setxid.h: Moved ...
28634         * sysdeps/nptl/setxid.h: ... here.
28635         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28636         * sysdeps/nptl/sigfillset.c: ... here.
28637         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28638         * sysdeps/nptl/tcb-offsets.h: ... here.
28639         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28640         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28641         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28642         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28643         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28644         * sysdeps/pthread/allocalim.h: ... here.
28645         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28646         * sysdeps/pthread/bits/sigthread.h: ... here.
28647         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28648         * sysdeps/pthread/flockfile.c: ... here.
28649         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28650         * sysdeps/pthread/ftrylockfile.c: ... here.
28651         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28652         * sysdeps/pthread/funlockfile.c: ... here.
28653         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28654         * sysdeps/pthread/posix-timer.h: ... here.
28655         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28656         * sysdeps/pthread/timer_create.c: ... here.
28657         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28658         * sysdeps/pthread/timer_delete.c: ... here.
28659         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28660         * sysdeps/pthread/timer_getoverr.c: ... here.
28661         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28662         * sysdeps/pthread/timer_gettime.c: ... here.
28663         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28664         * sysdeps/pthread/timer_routines.c: ... here.
28665         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28666         * sysdeps/pthread/timer_settime.c: ... here.
28667         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28668         * sysdeps/pthread/tst-timer.c: ... here.
28669         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28670         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28672         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28673         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28675         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28676         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28677         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28678         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28679         Update #include target.
28680         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28681         * sysdeps/i386/i686/nptl/Makefile: ... here.
28682         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28683         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28684         Update #include target.
28685         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28686         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28687         * nptl/sysdeps/i386/Makefile: Moved ...
28688         * sysdeps/i386/nptl/Makefile: ... here.
28689         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28690         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28691         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28692         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28693         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28694         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28695         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28696         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28697         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28698         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28699         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28700         * nptl/sysdeps/i386/tls.h: Moved ...
28701         * sysdeps/i386/nptl/tls.h: ... here.
28703         * sysdeps/sh/Makefile [$(subdir) = csu]
28704         (gen-as-const-headers): Add tcb-offsets.sym.
28705         * nptl/sysdeps/sh/Makefile: File removed.
28706         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28707         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28708         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28709         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28710         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28711         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28712         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28713         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28714         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28715         * sysdeps/sh/nptl/pthreaddef.h: ... here.
28716         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28717         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28718         * nptl/sysdeps/sh/tls.h: Moved ...
28719         * sysdeps/sh/nptl/tls.h: ... here.
28720         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28721         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28722         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28723         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28724         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28725         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28726         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28727         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28728         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28729         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28731         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28733         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28735         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28736         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28737         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28738         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28739         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28740         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28741         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28742         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28745         Moved ...
28746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28748         Moved ...
28749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28751         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28753         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28754         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28755         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28756         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28757         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28758         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28759         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28760         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28761         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28762         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28763         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28764         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28765         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28766         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28767         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28769 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28771         * posix/spawn_faction_addopen.c: Include string.h.
28773 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28775         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28776         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28777         * nptl/sysdeps/x86_64/Makefile: Moved ...
28778         * sysdeps/x86_64/nptl/Makefile: ... here.
28779         * nptl/sysdeps/x86_64/configure: Moved ...
28780         * sysdeps/x86_64/nptl/configure: ... here.
28781         * nptl/sysdeps/x86_64/configure.ac: Moved ...
28782         * sysdeps/x86_64/nptl/configure.ac: ... here.
28783         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28784         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28785         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28786         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28787         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28788         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28789         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28790         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28791         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28792         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28793         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28794         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28795         * nptl/sysdeps/x86_64/tls.h: Moved ...
28796         * sysdeps/x86_64/nptl/tls.h: ... here.
28797         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28798         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28799         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28800         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28802         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28804 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28808 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28810         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28811         type.
28812         [POSIX] (off_t): Likewise.
28813         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28814         [POSIX] (S_ISBLK): Require macro.
28815         [POSIX] (S_ISCHR): Likewise.
28816         [POSIX] (S_ISDIR): Likewise.
28817         [POSIX] (S_ISFIFO): Likewise.
28818         [POSIX] (S_ISREG): Likewise.
28819         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28820         optional-macro.
28821         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28822         type.
28823         [POSIX] (time_t): Likewise.
28824         [POSIX] (timer_t): Likewise.
28826 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28828         [BZ #17048]
28829         * posix/spawn_int.h (struct __spawn_action): Make the path string
28830         non-const to support deallocation.
28831         * posix/spawn_faction_addopen.c
28832         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28833         * posix/spawn_faction_destroy.c
28834         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28835         path in all spawn_do_open actions.
28836         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28837         posix_spawn_file_actions_addopen.
28839 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28841         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28842         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28843         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28844         conditional code always true.
28845         (__libc_vfork): New alias.
28847 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28849         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28850         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28852         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28854         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28855         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28857         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28858         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28860         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28861         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28863 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28865         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28866         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28867         multiarch strcmp for PPC64.
28868         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28869         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28871         multiarch optimizations.
28872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28873         (__libc_ifunc_impl_list): Likewise.
28875 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28877         * benchtests/scripts/validate_benchout.py: New script.
28878         * benchtests/Makefile (bench-func): Call it.
28879         * benchtests/scripts/benchout.schema.json: New file.
28881 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28883         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28884         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28885         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28886         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28887         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28888         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28889         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28890         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28891         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28892         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28893         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28894         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28895         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28896         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28897         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28898         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28900         Moved ...
28901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28902         ... here.
28903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28904         Moved ...
28905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28907         Moved ...
28908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28909         ... here.
28910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28911         Moved ...
28912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28913         ... here.
28914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28915         Moved ...
28916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28918         Moved ...
28919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28920         ... here.
28921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28922         Moved ...
28923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28924         ... here.
28925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28926         Moved ...
28927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28929         Moved ...
28930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28931         ... here.
28932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28933         Moved ...
28934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28935         ... here.
28936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28937         Moved ...
28938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28939         ... here.
28940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28941         Moved ...
28942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28944         Moved ...
28945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28946         ... here.
28947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28948         Moved ...
28949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28950         ... here.
28951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28952         Moved ...
28953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28954         ... here.
28955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28956         Moved ...
28957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28959         Moved ...
28960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28961         ... here.
28962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28963         Moved ...
28964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28965         ... here.
28966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28967         Moved ...
28968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28970         Moved ...
28971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28972         ... here.
28973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28974         Moved ...
28975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28977         Moved ...
28978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28980         Moved ...
28981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28982         ... here.
28983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28984         Moved ...
28985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28986         ... here.
28987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28988         Moved ...
28989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28990         ... here.
28991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28992         Moved ...
28993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28995         Moved ...
28996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28997         ... here.
28998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28999         Moved ...
29000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29001         ... here.
29002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29003         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29005         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29007         Moved ...
29008         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29009         ... here.
29010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29011         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29013         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29015         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29016         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29017         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29019         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29021         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29023         Moved ...
29024         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29026         Moved ...
29027         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29029         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29031         Moved ...
29032         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29034         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29035         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29036         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29037         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29038         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29040 2014-06-10  Wilco  <wdijkstr@arm.com>
29042         * math/test-fenv-return.c: New file.
29043         * math/Makefile: Add new test test-fenv-return.
29045 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29047         [BZ #17042]
29048         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29049         when x - 1 is zero.
29050         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29051         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29052         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29053         0.0L for an argument of 1.0L.
29054         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29055         Likewise.
29056         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29057         value when x - 1 is zero.
29058         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29059         * sysdeps/i386/fpu/libm-test-ulps: Update.
29060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29062 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29064         [BZ #15119]
29065         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29067 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29069         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29070         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29072 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29074         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29075         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29077         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29078         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29080         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29081         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29083         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29084         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29086         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29087         if not already defined.
29088         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29089         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29090         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29091         (TLS_INIT_TP): Use it.
29092         (TLS_DEFINE_INIT_TP): New macro.
29093         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29095 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29097         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29098         constant.
29099         [POSIX] (IXANY): Likewise.
29100         [POSIX] (OLCUC): Likewise.
29101         [POSIX || POSIX2008] (CBAUD): Do not allow.
29102         [POSIX || POSIX2008] (DEFECHO): Likewise.
29103         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29104         [POSIX || POSIX2008] (ECHOKE): Likewise.
29105         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29106         [POSIX || POSIX2008] (EXTA): Likewise.
29107         [POSIX || POSIX2008] (EXTB): Likewise.
29108         [POSIX || POSIX2008] (FLUSHO): Likewise.
29109         [POSIX || POSIX2008] (LOBLK): Likewise.
29110         [POSIX || POSIX2008] (PENDIN): Likewise.
29111         [POSIX || POSIX2008] (SWTCH): Likewise.
29112         [POSIX || POSIX2008] (VDISCARD): Likewise.
29113         [POSIX || POSIX2008] (VDSUSP): Likewise.
29114         [POSIX || POSIX2008] (VLNEXT): Likewise.
29115         [POSIX || POSIX2008] (VREPRINT): Likewise.
29116         [POSIX || POSIX2008] (VSTATUS): Likewise.
29117         [POSIX || POSIX2008] (VWERASE): Likewise.
29118         (B*): Change to B[0123456789]*.
29119         * conform/data/time.h-data [POSIX || UNIX98]
29120         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29121         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29122         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29123         [POSIX] (tm_*): Do not allow.
29125 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29127         * Makefile (install): Don't set LANGUAGE.
29128         * Makefile.in (install): Likewise.
29129         * assert/Makefile (test-assert-ENV): Remove variable.
29130         (test-assert-perr-ENV): Likewise.
29131         * elf/Makefile (neededtest4-ENV): Likewise.
29132         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29133         [$(cross-compiling) = no]: Don't set LANGUAGE.
29134         * io/ftwtest-sh (LANG): Remove variable.
29135         * libio/Makefile (tst-widetext-ENV): Likewise.
29136         * manual/install.texi (Running make install): Don't refer to
29137         environment settings for make install.
29138         * INSTALL: Regenerated.
29139         * nptl/tst-tls6.sh: Don't set LANG.
29140         * posix/globtest.sh (LANG): Remove variable.
29141         * string/Makefile (tester-ENV): Likewise.
29142         (inl-tester-ENV): Likewise.
29143         (noinl-tester-ENV): Likewise.
29144         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29145         [$(cross-compiling) = no]: Don't set LANGUAGE.
29146         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29147         without explicit environment settings.
29149 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29151         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29152         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29153         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29154         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29156 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29158         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29159         other files in the crypt directory.
29160         * crypt/crypt.c: Remove duplicate includes.
29161         * crypt/crypt-entry.c: Likewise.
29162         * crypt/crypt_util.c: Likewise.
29164 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29166         * Makeconfig (run-program-env): New variable.
29167         (run-program-prefix-before-env): Likewise.
29168         (run-program-prefix-after-env): Likewise.
29169         (run-program-prefix): Define in terms of new variables.
29170         (built-program-cmd-before-env): New variable.
29171         (built-program-cmd-after-env): Likewise.
29172         (built-program-cmd): Define in terms of new variables.
29173         (test-program-prefix-before-env): New variable.
29174         (test-program-prefix-after-env): Likewise.
29175         (test-program-prefix): Define in terms of new variables.
29176         (test-program-cmd-before-env): New variable.
29177         (test-program-cmd-after-env): Likewise.
29178         (test-program-cmd): Define in terms of new variables.
29179         * Rules (make-test-out): Use $(run-program-env).
29180         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29181         (help): Do not mention environment variables.  Mention
29182         --timeoutfactor option.
29183         (timeoutfactor): New variable.
29184         (blacklist_exports): Remove function.
29185         (exports): Remove variable.
29186         (command): Do not include ${exports}.
29187         * manual/install.texi (Configuring and compiling): Do not mention
29188         test wrappers preserving environment variables.  Mention that last
29189         assignment to a variable must take precedence.
29190         * INSTALL: Regenerated.
29191         * benchtests/Makefile (run-bench): Use $(run-program-env).
29192         * catgets/Makefile ($(objpfx)test1.cat): Use
29193         $(built-program-cmd-before-env), $(run-program-env) and
29194         $(built-program-cmd-after-env).
29195         ($(objpfx)test2.cat): Do not specify environment variables
29196         explicitly.
29197         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29198         $(run-program-env) and $(built-program-cmd-after-env).
29199         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29200         $(run-program-env) and $(test-program-cmd-after-env).
29201         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29202         explicitly.
29203         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29204         run_program_env and test_program_cmd_after_env arguments.
29205         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29206         * elf/tst-pathopt.sh: Use run_program_env argument.
29207         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29208         $(test-wrapper-env) and $(run-program-env).
29209         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29210         run_program_env arguments.
29211         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29212         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29213         $(test-program-prefix-before-env), $(run-program-env) and
29214         $(test-program-prefix-after-env).
29215         ($(objpfx)tst-gettext2.out): Likewise.
29216         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29217         run_program_env and test_program_prefix_after_env arguments.
29218         * intl/tst-gettext2.sh: Likewise.
29219         * intl/tst-gettext4.sh: Do not set environment variables
29220         explicitly.
29221         * intl/tst-gettext6.sh: Likewise.
29222         * intl/tst-translit.sh: Likewise.
29223         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29224         $(test-program-prefix-before-env), $(run-program-env) and
29225         $(test-program-prefix-after-env).
29226         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29227         run_program_env and test_program_prefix_after_env arguments.
29228         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29229         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29230         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29231         explicitly with each use of ${test_wrapper_env}.
29232         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29233         $(test-program-prefix-before-env), $(run-program-env) and
29234         $(test-program-prefix-after-env).
29235         * posix/tst-getconf.sh: Do not set environment variables
29236         explicitly.
29237         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29238         run_program_env and test_program_prefix_after_env arguments.
29239         * stdio-common/tst-printf.sh: Do not set environment variables
29240         explicitly.
29241         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29242         $(test-program-prefix-before-env), $(run-program-env) and
29243         $(test-program-prefix-after-env).
29244         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29245         run_program_env and test_program_prefix_after_env arguments.
29246         Split $test calls into $test_pre and $test.
29247         * timezone/Makefile (build-testdata): Use
29248         $(built-program-cmd-before-env), $(run-program-env) and
29249         $(built-program-cmd-after-env).
29251 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29253         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29254         strlen for non SHARED builds.
29256 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258         * nptl/allocatestack.c (check_list): Inlined function...
29259         (__reclaim_stacks): ... here.
29261 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29263         [BZ #15698]
29264         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29265         memory overrun.
29267 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29269         * Rules (make-test-out): Include
29270         LOCPATH=$(common-objpfx)localedata in default environment.
29271         * debug/Makefile (tst-chk1-ENV): Remove variable.
29272         (tst-chk2-ENV): Likewise.
29273         (tst-chk3-ENV): Likewise.
29274         (tst-chk4-ENV): Likewise.
29275         (tst-chk5-ENV): Likewise.
29276         (tst-chk6-ENV): Likewise.
29277         (tst-lfschk1-ENV): Likewise.
29278         (tst-lfschk2-ENV): Likewise.
29279         (tst-lfschk3-ENV): Likewise.
29280         (tst-lfschk4-ENV): Likewise.
29281         (tst-lfschk5-ENV): Likewise.
29282         (tst-lfschk6-ENV): Likewise.
29283         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29284         (tst-iconv7-ENV): Likewise.
29285         * intl/Makefile (LOCPATH-ENV): Likewise.
29286         (tst-codeset-ENV): Likewise.
29287         (tst-gettext3-ENV): Likewise.
29288         (tst-gettext5-ENV): Likewise.
29289         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29290         (tst-fopenloc-ENV): Likewise.
29291         (tst-fgetws-ENV): Remove variable.
29292         (tst-ungetwc1-ENV): Likewise.
29293         (tst-ungetwc2-ENV): Likewise.
29294         (bug-ungetwc2-ENV): Likewise.
29295         (tst-swscanf-ENV): Likewise.
29296         (bug-ftell-ENV): Likewise.
29297         (tst-fgetwc-ENV): Likewise.
29298         (tst-fseek-ENV): Likewise.
29299         (tst-ftell-partial-wide-ENV): Likewise.
29300         (tst-ftell-active-handler-ENV): Likewise.
29301         (tst-ftell-append-ENV): Likewise.
29302         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29303         (tst-regexloc-ENV): Likewise.
29304         (bug-regex1-ENV): Likewise.
29305         (tst-regex-ENV): Likewise.
29306         (tst-regex2-ENV): Likewise.
29307         (bug-regex5-ENV): Likewise.
29308         (bug-regex6-ENV): Likewise.
29309         (bug-regex17-ENV): Likewise.
29310         (bug-regex18-ENV): Likewise.
29311         (bug-regex19-ENV): Likewise.
29312         (bug-regex20-ENV): Likewise.
29313         (bug-regex22-ENV): Likewise.
29314         (bug-regex23-ENV): Likewise.
29315         (bug-regex25-ENV): Likewise.
29316         (bug-regex26-ENV): Likewise.
29317         (bug-regex30-ENV): Likewise.
29318         (bug-regex32-ENV): Likewise.
29319         (bug-regex33-ENV): Likewise.
29320         (bug-regex34-ENV): Likewise.
29321         (bug-regex35-ENV): Likewise.
29322         (tst-rxspencer-ENV): Likewise.
29323         (tst-rxspencer-no-utf8-ENV): Likewise.
29324         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29325         (tst-sscanf-ENV): Likewise.
29326         (tst-swprintf-ENV): Likewise.
29327         (tst-swscanf-ENV): Likewise.
29328         (test-vfprintf-ENV): Likewise.
29329         (scanf13-ENV): Likewise.
29330         (bug14-ENV): Likewise.
29331         (tst-grouping-ENV): Likewise.
29332         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29333         (tst-strtod3-ENV): Likewise.
29334         (tst-strtod4-ENV): Likewise.
29335         (tst-strtod5-ENV): Likewise.
29336         (testmb2-ENV): Likewise./
29337         * string/Makefile (tst-strxfrm-ENV): Likewise.
29338         (tst-strxfrm2-ENV): Likewise.
29339         (bug-strcoll1-ENV): Likewise.
29340         (test-strcasecmp-ENV): Likewise.
29341         (test-strncasecmp-ENV): Likewise.
29342         * time/Makefile (tst-strptime-ENV): Likewise.
29343         (tst-ftime_l-ENV): Likewise.
29344         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29345         (tst-mbrtowc-ENV): Likewise.
29346         (tst-wcrtomb-ENV): Likewise.
29347         (tst-mbrtowc2-ENV): Likewise.
29348         (tst-c16c32-1-ENV): Likewise.
29349         (tst-mbsnrtowcs-ENV): Likewise.
29351 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29353         * manual/resource.texi (How to get information about the memory
29354         subsystem?): Fix typo.
29355         Reported by Peon de la Parra Ivan <peon@keba.com>
29357 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29359         [BZ #16882]
29360         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29361         (pthread_spin_lock): Branch out of spin loop to proper location.
29362         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29363         (pthread_spin_lock): Likewise.
29365         * nptl/tst-spin4.c: New test.
29366         * nptl/Makefile (tests): Add tst-spin4.
29368 2014-06-03  Andreas Schwab  <schwab@suse.de>
29370         [BZ #15946]
29371         * resolv/res_send.c (send_dg): Reload file descriptor after
29372         calling reopen.
29374 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29376         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29378 2014-06-03  Richard Henderson  <rth@redhat.com>
29380         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29381         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29382         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29383         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29384         in the SAVE_PID block.
29385         (__libc_vfork): New alias.
29386         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29388         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29389         child in registers, not on the stack.  Remove RESET_PID conditionals.
29390         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29392 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29394         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29396 2014-06-03  Wilco  <wdijkstr@arm.com>
29398         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29399         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29400         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29401         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29402         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29403         Likewise.
29405 2014-06-03  Wilco  <wdijkstr@arm.com>
29407         * sysdeps/aarch64/fpu/math_private.h
29408         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29409         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29410         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29411         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29412         Fix declarations.
29414 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29416         * crypt/crypt-private.h: Include ufc-crypt.h.
29417         (__b64_from_24bit): Declare extern.
29418         * crypt/crypt_util.c(__b64_from_24bit): New function.
29419         (b64t): New static const variable.
29420         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29421         (b64t): Remove variable.
29422         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29423         * crypt/sha256-crypt.c: Include crypt-private.h.
29424         (b64t): Remove variable.
29425         (__sha256_crypt_r): Remove b64_from_24bit and replace
29426         with __b64_from_24bit.
29427         * crypt/sha512-crypt.c: Likewise.
29429 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29431         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29432         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29433         Label the code __libc_vfork rather than __vfork.
29434         [!NOT_IN_libc] (vfork): Define as weak alias.
29435         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29436         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29437         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29439 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29441         * malloc/malloc.c (malloc_info): Fix format specifier for
29442         n_mmaps.
29444 2014-06-02  Wilco  <wdijkstr@arm.com>
29446         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29447         FPCR write.
29449 2014-06-02  Wilco  <wdijkstr@arm.com>
29451         [BZ #17009]
29452         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29453         Rewrite to reduce FPCR/FPSR accesses.
29455 2014-06-01  David S. Miller  <davem@davemloft.net>
29457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29459 2014-05-31  David S. Miller  <davem@davemloft.net>
29461         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29462         to occur in round to nearest mode when |x| >= 2.0
29464 2014-05-30  Richard Henderson  <rth@twiddle.net>
29466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29467         (PSEUDO_RET_NOERRNO): Remove.
29468         (ret): Don't redefine.
29469         (ret_NOERRNO): Define in terms of ret.
29470         (ret_ERRVAL): Likewise.
29472         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29473         use of PSEUDO_RET; perform the error check directly.
29475 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29477         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29478         with __int128_t.
29480 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29482         * malloc/malloc (malloc_info): Fix formatting.
29484 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29485             Roland McGrath  <roland@hack.frob.com>
29487         * malloc/malloc (malloc_info): Also print mmapped statistics.
29489 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29491         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29492         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29494 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29496         * malloc/malloc.c (malloc_info): Inline mi_arena.
29498 2014-05-29  Richard Henderson  <rth@twiddle.net>
29500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29501         Remove comma before expanding ASM_ARGS_##nr.
29502         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29503         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29504         of ASM_ARGS_##nr.
29505         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29506         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29507         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29508         (ASM_ARGS_1): Add leading comma.
29510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29511         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29512         to __errno_location.
29513         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29514         Remove the expected plt for __errno_location.
29516         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29517         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29518         call to __read_tp.
29520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29521         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29522         it and break it down.
29523         (DOCARGS_0, DOCARGS_1): Do nothing.
29524         (DOCARGS_2): Update to store into the new stack frame.
29525         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29526         (UNDOCARGS_1): Update to restore from the new stack frame.
29527         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29528         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29530         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29531         (SINGLE_THREAD_P): New parameter for result regno.
29532         (PSEUDO): Update to match; use cbz instead of beq.
29534         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29535         Use ENTRY to define the _nocancel entry point.  Share the syscall
29536         and syscall error check paths with the cancel path.
29537         (PSEUDO_END): New.
29539         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29540         whitespace; tabs before and after asm mnemonics.
29542 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29544         [BZ #15132]
29545         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29546         Call fstat64 or stat64 internally, depending on arguments passed.
29547         Replace stat buffer argument with file descriptor argument.
29548         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29549         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29550         Pass fd to __internal_statvfs instead of calling fstat64.
29551         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29552         Pass fd to __internal_statvfs64 instead of calling fstat64.
29553         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29554         Pass -1 to __internal_statvfs instead of calling stat64.
29555         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29556         Pass -1 to __internal_statvfs64 instead of calling stat64.
29558 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29560         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29561         that was previously under [RESET_PID].
29562         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29564         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29565         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29567 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29569         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29571         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29572         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29574 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29576         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29578 2014-05-27  Andreas Schwab  <schwab@suse.de>
29580         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29581         TLS_INIT_TP macro.
29582         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29583         * elf/rtld.c (init_tls, dl_main): Likewise.
29584         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29585         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29586         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29587         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29588         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29589         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29590         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29591         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29592         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29593         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29594         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29595         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29596         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29597         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29598         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29599         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29600         * sysdeps/generic/tls.h: Update description.
29602 2014-05-27  Will Newton  <will.newton@linaro.org>
29604         [BZ #16990]
29605         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29606         and restore r2 rather than just restoring.
29608 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29610         [BZ #16724]
29611         * libio/tst-ftell-append.c: New test case.
29612         * libio/Makefile (tests): Add test case.
29613         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29614         append mode.
29615         * libio/wfileops.c (do_ftell_wide): Likewise.
29617 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29621         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29622         ...
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29625         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29626         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29627         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29628         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29629         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29630         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29632         Moved ...
29633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29635         Moved ...
29636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29637         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29638         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29639         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29640         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29641         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29642         ...
29643         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29644         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29645         Moved ...
29646         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29647         here.
29648         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29649         ...
29650         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29651         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29652         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29654         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29655         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29656         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29657         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29660         merge into ...
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29663         ...
29664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29666         ...
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29669         Moved ...
29670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29671         here.
29672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29673         Moved ...
29674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29676         Moved ...
29677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29680         conditional [RESET_PID].
29681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29683         removed.
29684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29685         removed.
29687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29688         <tcb-offsets.h>.
29689         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29690         (__libc_vfork): New strong alias.
29691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29692         removed.
29693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29694         Removed.
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29697         <tcb-offsets.h>.
29698         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29699         (__libc_vfork): New strong alias.
29700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29701         removed.
29702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29703         removed.
29705 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29707         * malloc/malloc.c (mi_arena): New function.
29708         (malloc_info): Remove nested function mi_arena. Call non-nosted
29709         function mi_arena.
29711 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29713         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29714         by insrwi.
29715         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29716         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29717         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29718         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29719         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29720         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29721         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29723 2014-05-26  Andreas Schwab  <schwab@suse.de>
29725         [BZ #16984]
29726         * locale/programs/repertoire.c (repertoire_read): Add slash
29727         between I18NPATH element and file name.
29728         * locale/programs/locfile.c (locfile_read): Likewise.
29730 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29732         * nptl/pthread_mutexattr_settype.c
29733         (__pthread_mutexattr_settype):
29734         Disable lock elision for PTHREAD_MUTEX_NORMAL.
29736 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29738         * nptl/tst-mutex5 (do_test):
29739         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29741 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29743         * benchtests/README: Document 'init' directive.
29744         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29745         BENCH_INIT.
29746         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29747         (parse_file): Recognize 'init' directive.
29749 2014-05-26  Kyle McMartin  <kyle@redhat.com>
29751         [BZ #16796]
29752         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29753         alignment of struct pthread.
29755 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29757         [BZ #16878]
29758         * nscd/netgroupcache.c (addgetnetgrentX): Look for
29759         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29760         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29761         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29763 2014-05-25  Richard Henderson  <rth@twiddle.net>
29765         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29766         (SINGLE_THREAD_P_PIC): Remove.
29767         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29768         (SINGLE_THREAD_P_PIC): Remove.
29770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29771         branch to syscall error ...
29772         (PSEUDO): ... here.
29773         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29774         from __local_syscall_error to .Lsyscall_error.
29775         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29776         (SYSCALL_ERROR): Update label name.
29778         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29779         Do not use DOARGS/UNDOARGS.
29780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29781         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29782         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29783         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29784         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29787         block comment.
29789         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29790         define if !NOT_IN_libc.
29791         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29792         define with non-default symbol versions.
29794 2014-05-23  Richard Henderson  <rth@twiddle.net>
29796         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29797         (vfork, __vfork): Define via compat_symbol.
29799         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29800         [!HAVE_IFUNC] (vfork_compat): Remove.
29801         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29803 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29805         [BZ #16978]
29806         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29807         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29808         variable.
29810 2014-05-23  Richard Henderson  <rth@twiddle.net>
29812         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29813         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29814         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29815         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29817         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29818         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29819         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29820         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29821         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29822         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29823         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29824         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29825         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29826         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29827         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29828         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29829         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29830         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29831         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29832         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29833         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29834         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29835         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29836         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29838         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29839         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29840         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29841         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29842         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29843         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29844         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29845         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29846         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29847         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29848         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29849         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29850         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29851         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29852         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29853         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29854         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29855         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29856         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29857         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29858         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29859         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29860         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29861         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29862         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29864         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29865         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29866         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29867         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29868         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29869         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29870         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29871         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29872         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29874         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29875         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29876         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29877         before exiting on error.
29878         (__libc_vfork): New strong alias.
29879         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29880         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29882         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29883         that was previously under [RESET_PID].
29884         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29886         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29888 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29890         [BZ #16977]
29891         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29892         value when x - 1 is zero.
29893         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29894         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29895         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29896         0.0L for an argument of 1.0L.
29897         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29898         Likewise.
29899         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29900         value when x - 1 is zero.
29901         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29902         * sysdeps/i386/fpu/libm-test-ulps: Update.
29903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29907         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29908         alphasort and versionsort.
29910 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29912         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29913         macro.
29914         [copysignf]: Likewise.
29916 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29918         * crypt/md5-crypt.c: Fix formatting.
29920 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29922         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29923         (b64_from_24bit): New function.
29925 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29927         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29928         libc_hidden_builtin_def to ifunc.
29929         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29930         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29932 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29934         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29935         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29937 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29939         * nscd/Depend (linuxthreads): Remove.
29940         (nptl): Add.
29941         * resolv/Depend (linuxthreads): Remove.
29942         * rt/Depend (linuxthreads): Remove.
29944         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29945         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29946         $(common-objpfx)elf/.
29947         (link-libc-before-gnulib): Likewise.
29948         (elfobjdir): Remove variable.
29949         * Makefile (install): Use $(elf-objpfx) instead of
29950         $(common-objpfx)elf/.
29951         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29952         $(elfobjdir)/.
29953         (link-libc-deps): Likewise.
29954         ($(common-objpfx)libc.so): Likewise.
29955         ($(common-objpfx)linkobj/libc.so): Likewise.
29956         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29957         instead of $(common-objpfx)elf/.
29958         (symbolic-link-list): Likewise.
29959         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29960         [$(cross-compiling) = no]: Likewise.
29961         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29962         $(elfobjdir)/.
29963         (static-gnulib-arch): Likewise.
29964         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29965         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29966         $(common-objpfx)elf/.
29968 2014-05-21  Richard Henderson  <rth@redhat.com>
29970         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29971         (SINGLE_THREAD_P): Use the correct width load.  Fold
29972         into the ldr offset.
29974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29975         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29977 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29979         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29980         (libgcc_s_resume): Use __attribute_used__.
29981         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29982         Likewise.
29984 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29986         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29987         optimization when used with float constants.
29989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29991 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29993         [BZ #16915]
29994         * locale/nl_langinfo_l.c: Make direct reference to every
29995         _nl_current_CATEGORY symbol.
29996         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29997         (tests-static): Add tst-langinfo-static.
29998         (tests-special): Add tst-langinfo-static.out.
29999         ($(objpfx)tst-langinfo.out): Redirect output.
30000         ($(objpfx)tst-langinfo-static.out): New.
30001         * localedata/tst-langinfo.sh: Send output to stdout.
30002         * localedata/tst-langinfo-static.c: New file.
30004         [BZ #16965]
30005         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30006         when the shift amount is modulo the limb size.
30008 2014-05-20  Richard Henderson  <rth@redhat.com>
30010         [BZ #16967]
30011         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30012         Change type of sa_flags from unsigned int to int.
30014         [BZ #16966]
30015         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30017         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30019 2014-05-20  Will Newton  <will.newton@linaro.org>
30021         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30022         Test the return value of the system call in the nocancel case.
30024 2014-05-20  Will Newton  <will.newton@linaro.org>
30025             Yvan Roux  <yvan.roux@linaro.org>
30027         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30028         #include of asm/ptrace.h.
30029         (PTRACE_GET_THREAD_AREA): Remove #undef.
30030         (PTRACE_GETHBPREGS): Likewise.
30031         (PTRACE_SETHBPREGS): Likewise.
30032         (struct user_regs_struct): New structure.
30033         (struct user_fpsimd_struct): New structure.
30034         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30035         #include of asm/ptrace.h and second #include of sys/user.h.
30036         (PTRACE_GET_THREAD_AREA): Remove #undef.
30037         (PTRACE_GETHBPREGS): Likewise.
30038         (PTRACE_SETHBPREGS): Likewise.
30039         (ELF_NGREG): Use new struct user_regs_struct.
30040         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30042 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30044         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30047 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30049         [BZ #16958]
30050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30051         membar to avoid block loads/stores to overlap previous stores.
30053 2014-05-17  Richard Henderson  <rth@redhat.com>
30055         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30056         Create the __##syscall_name##_nocancel entry point.
30057         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30058         Remove; let the sysdep-cancel.h code create it.
30060 2014-05-17  David S. Miller  <davem@davemloft.net>
30062         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30063         Protect with __USE_GNU.
30064         (TIOCSET_TEMPT): Likewise.
30065         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30066         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30067         these are already provided in bits/ioctl-types.h
30069 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30071         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30072         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30074         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30075         Use wait4 regardless of [__NR_waitpid].
30077 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30079         PR libgcc/60166
30080         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30081         (_FP_NANSIGN_Q): Set the quiet bit.
30083 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30085         * benchtests/Makefile
30086         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30087         not $(common-objpfx)math/libm.so.
30088         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30089         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30090         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30091         $(common-objpfx)dlfcn/libdl.so.
30092         ($(objpfx)tst-audit8): Depend on $(libm), not
30093         $(common-objpfx)math/libm.so.
30094         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30095         not $(common-objpfx)dlfcn/libdl.so.
30096         * math/Makefile
30097         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30098         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30099         [$(build-shared) = yes].
30100         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30101         $(common-objpfx)nptl/libpthread.so.
30102         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30103         $(common-objpfx)math/libm.so$(libm.so-version) or
30104         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30105         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30106         $(common-objpfx)dlfcn/libdl.so.
30107         * setjmp/Makefile (link-libm): Remove variable.
30108         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30109         * stdio-common/Makefile (link-libm): Remove variable.
30110         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30111         * stdlib/Makefile (link-libm): Remove variable.
30112         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30113         ($(objpfx)tst-strtod-round): Likewise.
30114         ($(objpfx)tst-tininess): Likewise.
30115         ($(objpfx)tst-strtod-underflow): Likewise.
30116         ($(objpfx)tst-strtod6): Likewise.
30117         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30118         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30119         $(common-objpfx)dlfcn/libdl.so.
30121 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30123         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30124         BSD terminal modes definitions.
30126 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30128         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30129         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30131         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30132         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30133         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30134         Don't do #include_next.
30135         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30136         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30137         Don't do #include_next.
30138         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30139         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30140         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30141         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30143 2014-05-16  Allan McRae  <allan@archlinux.org>
30145         * po/sv.po: Update Swedish translation from translation project.
30147         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30148         in sed expression.
30150 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30152         [BZ #16917]
30153         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30154         errno if the TIOCGPTN ioctl fails with an error different than
30155         EINVAL.
30156         * login/tst-ptsname.c: New file.
30157         * login/Makefile (tests): Add tst-ptsname.
30159         [BZ #16943]
30160         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30161         and prlimit64.
30163 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30165         [BZ #16849]
30166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30167         herrno to return EAI_AGAIN.
30169 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30171         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30172         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30173         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30174         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30175         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30176         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30177         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30178         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30180         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30182         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30183         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30184         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30185         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30186         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30187         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30188         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30189         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30190         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30191         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30192         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30193         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30194         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30195         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30196         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30197         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30198         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30199         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30200         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30202         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30204         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30206         Moved ...
30207         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30209         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30211         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30213         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30215         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30217         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30219         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30221         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30223         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30225         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30227         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30229         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30231         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30233         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30235         Moved ...
30236         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30238         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30240         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30242         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30244         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30246         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30248         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30250         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30252         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30254         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30256         Moved ...
30257         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30261         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30262         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30263         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30264         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30265         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30266         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30267         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30268         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30269         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30270         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30271         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30272         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30273         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30274         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30275         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30276         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30277         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30278         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30279         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30280         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30281         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30282         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30283         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30284         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30285         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30286         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30287         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30288         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30289         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30290         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30291         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30293         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30294         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30296         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30297         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30298         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30299         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30300         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30301         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30302         Moved ...
30303         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30305         Moved ...
30306         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30308         Moved ...
30309         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30311         Moved ...
30312         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30313         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30314         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30316         Moved ...
30317         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30318         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30319         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30320         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30321         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30322         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30323         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30324         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30325         Moved ...
30326         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30328         Moved ...
30329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30330         ... here.
30331         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30332         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30333         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30334         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30336         Moved ...
30337         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30338         ... here.
30339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30340         Moved ...
30341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30342         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30343         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30344         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30345         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30346         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30347         Moved ...
30348         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30350         Moved ...
30351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30353         Moved ...
30354         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30356         Moved ...
30357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30358         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30359         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30361         Moved ...
30362         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30363         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30364         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30365         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30366         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30367         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30368         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30369         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30370         Moved ...
30371         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30373         Moved ...
30374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30375         ... here.
30376         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30377         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30378         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30379         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30380         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30381         Moved ...
30382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30383         ... here.
30384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30385         Moved ...
30386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30387         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30388         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30389         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30390         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30391         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30392         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30393         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30394         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30396         Moved ...
30397         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30399         Moved ...
30400         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30402         Moved ...
30403         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30404         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30405         Moved ...
30406         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30407         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30408         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30409         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30410         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30412         Moved ...
30413         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30414         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30415         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30416         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30417         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30418         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30419         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30421         Moved ...
30422         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30424         Moved ...
30425         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30426         ... here.
30427         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30428         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30429         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30430         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30431         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30432         Moved ...
30433         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30434         ... here.
30435         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30436         Moved ...
30437         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30438         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30439         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30440         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30441         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30442         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30443         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30444         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30445         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30446         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30447         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30449         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30450         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30452         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30453         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30455         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30456         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30457         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30458         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30459         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30460         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30461         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30462         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30463         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30464         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30466         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30467         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30468         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30469         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30470         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30471         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30473         Moved ...
30474         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30476         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30477         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30478         Moved ...
30479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30481         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30482         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30483         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30487         Moved ...
30488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30490         Moved ...
30491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30493         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30494         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30495         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30497         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30498         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30499         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30500         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30501         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30502         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30503         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30504         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30505         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30506         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30507         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30509         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30510         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30511         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30512         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30513         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30515         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30516         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30517         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30518         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30519         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30520         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30521         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30522         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30523         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30524         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30526         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30529         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30530         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30531         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30532         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30533         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30534         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30535         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30536         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30537         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30538         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30539         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30540         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30541         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30542         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30544         Update #include.
30545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30546         Likewise.
30547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30548         Likewise.
30549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30550         Likewise.
30551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30552         Likewise.
30553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30554         Likewise.
30555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30556         Likewise.
30557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30558         Likewise.
30559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30560         Likewise.
30561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30562         Likewise.
30563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30565         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30569         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30570         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30573         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30575         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30579         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30580         that was previously under [RESET_PID].
30581         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30582         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30583         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30585         * sysdeps/i386/nptl/Implies: New file.
30586         * sysdeps/x86_64/nptl/Implies: New file.
30587         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30588         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30590         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30592         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30594         (__libc_vfork): New strong alias.
30595         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30596         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30598         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30599         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30600         (__libc_vfork): New strong alias.
30601         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30602         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30604         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30605         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30606         (__libc_vfork): New strong alias.
30607         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30608         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30609         * nptl/pt-vfork.c: New file.
30610         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30611         (libpthread: GLIBC_2.20): New version set (empty).
30613 2014-05-14  Will Newton  <will.newton@linaro.org>
30615         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30616         rather than #if.
30618 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30620         [BZ #16564]
30621         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30622         arguments with exponent 65 or above.
30623         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30624         arguments 0x1p113L or above.
30625         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30626         to arguments 0x1p107L or above.
30627         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30628         positive arguments with exponent 65 or above.
30629         * math/auto-libm-test-in: Add more tests of log1p.
30630         * math/auto-libm-test-out: Regenerated.
30632         [BZ #16928]
30633         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30634         non-finite arguments is +0.
30635         * math/s_cacosf.c (__cacosf): Likewise.
30636         * math/s_cacosl.c (__cacosl): Likewise.
30637         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30638         * sysdeps/i386/fpu/libm-test-ulps: Update.
30639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30641         [BZ #16927]
30642         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30643         value.
30644         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30645         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30646         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30647         for explicit high bit of mantissa when testing for argument equal
30648         to 1.
30649         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30650         * sysdeps/i386/fpu/libm-test-ulps: Update.
30651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30653         [BZ #16516]
30654         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30655         (__erf): Scale by 16 instead of 8 in potentially underflowing
30656         case.  Ensure exception if result actually underflows.
30657         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30658         (__erff): Scale by 16 instead of 8 in potentially underflowing
30659         case.  Ensure exception if result actually underflows.
30660         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30661         (efx8): Remove variable.
30662         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30663         case.  Ensure exception if result actually underflows.
30664         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30665         (efx8): Remove variable.
30666         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30667         case.  Ensure exception if result actually underflows.
30668         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30669         (efx8): Remove variable.
30670         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30671         case.  Ensure exception if result actually underflows.
30672         * math/auto-libm-test-in: Add more tests of erf.
30673         * math/auto-libm-test-out: Regenerated.
30675 2014-05-14  Andreas Schwab  <schwab@suse.de>
30677         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30678         Remove code conditionalized on USE___THREAD.
30680         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30681         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30682         not definedness.
30684 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30687         Define unconditionally.
30688         (__ASSUME_O_CLOEXEC): Likewise.
30689         (__ASSUME_SOCK_CLOEXEC): Likewise.
30690         (__ASSUME_IN_NONBLOCK): Likewise.
30691         (__ASSUME_PIPE2): Likewise.
30692         (__ASSUME_EVENTFD2): Likewise.
30693         (__ASSUME_SIGNALFD4): Likewise.
30694         (__ASSUME_DUP3): Likewise.
30695         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30696         (__ASSUME_DUP3): Do not define.
30697         (__ASSUME_EVENTFD2): Likewise.
30698         (__ASSUME_IN_NONBLOCK): Likewise.
30699         (__ASSUME_O_CLOEXEC): Likewise.
30700         (__ASSUME_PIPE2): Likewise.
30701         (__ASSUME_SIGNALFD4): Likewise.
30702         (__ASSUME_SOCK_CLOEXEC): Likewise.
30703         (__ASSUME_UTIMES): Undefine.
30704         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30705         (__ASSUME_UTIMES): Do not define.
30706         (__ASSUME_O_CLOEXEC): Likewise.
30707         (__ASSUME_SOCK_CLOEXEC): Likewise.
30708         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30709         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30710         0x020621].
30711         (__ASSUME_PIPE2): Likewise.
30712         (__ASSUME_EVENTFD2): Likewise.
30713         (__ASSUME_SIGNALFD4): Likewise.
30714         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30715         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30716         Do not define.
30717         (__ASSUME_EVENTFD2): Likewise.
30718         (__ASSUME_SIGNALFD4): Likewise.
30719         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30720         (__ASSUME_32BITUIDS): Likewise.
30721         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30722         (__ASSUME_IPC64): Likewise.
30723         (__ASSUME_ST_INO_64_BIT): Likewise.
30724         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30725         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30726         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30727         (__ASSUME_UTIMES): Do not define.
30728         (__ASSUME_PSELECT): Likewise.
30729         (__ASSUME_PPOLL): Likewise.
30730         (__ASSUME_O_CLOEXEC): Likewise.
30731         (__ASSUME_SOCK_CLOEXEC): Likewise.
30732         (__ASSUME_IN_NONBLOCK): Likewise.
30733         (__ASSUME_PIPE2): Likewise.
30734         (__ASSUME_EVENTFD2): Likewise.
30735         (__ASSUME_SIGNALFD4): Likewise.
30736         (__ASSUME_DUP3): Likewise.
30737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30738         (__ASSUME_UTIMES): Likewise.
30739         (__ASSUME_O_CLOEXEC): Likewise.
30740         (__ASSUME_SOCK_CLOEXEC): Likewise.
30741         (__ASSUME_IN_NONBLOCK): Likewise.
30742         (__ASSUME_PIPE2): Likewise.
30743         (__ASSUME_EVENTFD2): Likewise.
30744         (__ASSUME_SIGNALFD4): Likewise.
30745         (__ASSUME_DUP3): Likewise.
30746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30747         (__ASSUME_UTIMES): Likewise.
30748         (__ASSUME_O_CLOEXEC): Likewise.
30749         (__ASSUME_SOCK_CLOEXEC): Likewise.
30750         (__ASSUME_IN_NONBLOCK): Likewise.
30751         (__ASSUME_PIPE2): Likewise.
30752         (__ASSUME_EVENTFD2): Likewise.
30753         (__ASSUME_SIGNALFD4): Likewise.
30754         (__ASSUME_DUP3): Likewise.
30755         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30756         Likewise.
30757         (__ASSUME_UTIMES): Likewise.
30758         (__ASSUME_EVENTFD2): Likewise.
30759         (__ASSUME_SIGNALFD4): Likewise.
30760         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30761         (__ASSUME_O_CLOEXEC): Likewise.
30762         (__ASSUME_SOCK_CLOEXEC): Likewise.
30763         (__ASSUME_IN_NONBLOCK): Likewise.
30764         (__ASSUME_PIPE2): Likewise.
30765         (__ASSUME_EVENTFD2): Likewise.
30766         (__ASSUME_SIGNALFD4): Likewise.
30767         (__ASSUME_DUP3): Likewise.
30768         (__ASSUME_UTIMES): Undefine.
30770         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30771         feclearexcept.  Remove symbol versioning code.
30772         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
30773         symbol versioning code.
30774         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
30775         symbol versioning code.
30776         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30777         feupdateenv.  Remove symbol versioning code.
30778         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30779         fegetexceptflag.  Remove symbol versioning code.
30780         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30781         fesetexceptflag.  Remove symbol versioning code.
30782         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30783         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30784         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30785         (__posix_fadvise64_l32): Remove prototype.
30786         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30787         code.
30789 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30791         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30792         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30793         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30794         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30796 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30798         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30799         current working directory
30801 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30803         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30804         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30805         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30806         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30807         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30808         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30809         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30812         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30813         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30814         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30815         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30816         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30817         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30818         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30820         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30821         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30822         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30823         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30824         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30825         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30826         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30827         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30828         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30829         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30830         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30831         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30832         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30833         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30834         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30835         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30836         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30837         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30838         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30839         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30840         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30841         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30842         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30843         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30844         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30846         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30847         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30849         * sysdeps/unix/sysv/linux/arm/Makefile
30850         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30851         Add rt-aeabi_unwind_cpp_pr1.
30852         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30853         Add nptl-aeabi_unwind_cpp_pr1.
30854         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30855         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30856         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30857         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30858         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30859         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30861         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30862         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30863         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30864         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30866         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30867         Deconditionalize the code that was previously under [RESET_PID].
30868         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30870         * sysdeps/generic/exit-thread.h: New file.
30871         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30872         * include/unistd.h (__exit_thread): Remove declaration.
30873         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30874         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30875         * csu/libc-start.c: Include <exit-thread.h>.
30876         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30877         * nptl/pthread_create.c: Include <exit-thread.h>.
30878         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30879         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30880         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30881         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30882         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30883         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30884         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30885         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30886         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30887         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30888         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30889         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30890         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30891         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30892         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30893         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30894         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30896 2014-05-13  Andreas Schwab  <schwab@suse.de>
30898         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30900 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30902         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30903         (__ASSUME_UTIMES): Do not condition on kernel version.
30904         (__ASSUME_PSELECT): Define unconditionally.
30905         (__ASSUME_PPOLL): Likewise.
30906         (__ASSUME_ATFCTS): Likewise.
30907         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30908         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30909         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30910         (__ASSUME_UTIMENSAT): Define unconditionally.
30911         (__ASSUME_PRIVATE_FUTEX): Likewise.
30912         (__ASSUME_FALLOCATE): Likewise.
30913         (__ASSUME_O_CLOEXEC): Likewise.
30914         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30915         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30916         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30917         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30918         (__ASSUME_IN_NONBLOCK): Likewise.
30919         (__ASSUME_PIPE2): Likewise.
30920         (__ASSUME_EVENTFD2): Likewise.
30921         (__ASSUME_SIGNALFD4): Likewise.
30922         (__ASSUME_DUP3): Likewise.
30923         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30924         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30925         (__ASSUME_AT_RANDOM): Likewise.
30926         (__ASSUME_PREADV): Likewise.
30927         (__ASSUME_PWRITEV): Likewise.
30928         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30929         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30930         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30931         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30932         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30933         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30934         (__ASSUME_O_CLOEXEC): Define unconditionally.
30935         (__ASSUME_PSELECT): Do not undefine conditionally.
30936         (__ASSUME_PPOLL): Likewise.
30937         (__ASSUME_ATFCTS): Likewise.
30938         (__ASSUME_SET_ROBUST_LIST): Likewise.
30939         (__ASSUME_UTIMENSAT): Likewise.
30940         (__ASSUME_FDATASYNC): Define unconditionally.
30941         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30942         (__ASSUME_SIGFRAME_V2): Likewise.
30943         )__ASSUME_EVENTFD2): Likewise.
30944         (__ASSUME_SIGNALFD4): Likewise.
30945         (__ASSUME_PSELECT): Do not undefine conditionally.
30946         (__ASSUME_PPOLL): Likewise.
30947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30948         (__ASSUME_PSELECT): Define unconditionally.
30949         (__ASSUME_PPOLL): Likewise.
30950         (__ASSUME_O_CLOEXEC): Likewise.
30951         (__ASSUME_SOCK_CLOEXEC): Likewise.
30952         (__ASSUME_IN_NONBLOCK): Likewise.
30953         (__ASSUME_PIPE2): Likewise.
30954         (__ASSUME_EVENTFD2): Likewise.
30955         (__ASSUME_SIGNALFD4): Likewise.
30956         (__ASSUME_DUP3): Likewise.
30957         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30958         (__ASSUME_O_CLOEXEC): Likewise.
30959         (__ASSUME_SOCK_CLOEXEC): Likewise.
30960         (__ASSUME_IN_NONBLOCK): Likewise.
30961         (__ASSUME_PIPE2): Likewise.
30962         (__ASSUME_EVENTFD2): Likewise.
30963         (__ASSUME_SIGNALFD4): Likewise.
30964         (__ASSUME_DUP3): Likewise.
30965         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30966         (__ASSUME_EVENTFD2): Likewise.
30967         (__ASSUME_SIGNALFD4): Likewise.
30968         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30970 2014-05-12  Andreas Schwab  <schwab@suse.de>
30972         [BZ #16932]
30973         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30974         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30975         than maximum RPC packet size.
30976         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30977         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30978         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30979         (_nss_nis_getservbyport_r): Likewise.
30981 2014-05-12  Will Newton  <will.newton@linaro.org>
30983         * malloc/Makefile (tests): Add tst-mallopt.
30984         * malloc/tst-mallopt.c: New file.
30986 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30988         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30989         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30991 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30993         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30994         (tst-tlsmod6.so): Likewise.
30996 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30998         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31000 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31002         [BZ #16064]
31003         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31004         and <dl-procinfo.h>.
31005         (__fegetenv): Save SSE state in envp->__eip if supported.
31006         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31007         envp->__eip if supported.
31008         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31009         and <dl-procinfo.h>.
31010         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31011         __data_offset and __data_selector in environment to 0.  Set SSE
31012         state if supported.
31013         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31014         test-fenv-sse.
31015         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31016         -mfpmath=sse.
31017         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31019 2014-05-09  Will Newton  <will.newton@linaro.org>
31021         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31022         and libc_relro_required for ARM.
31023         * sysdeps/arm/preconfigure: Regenerate.
31025 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31026             Stefan Liebler  <stli@linux.vnet.ibm.com>
31028         * config.make.in (enable-lock-elision): New Makefile variable.
31029         * configure.ac: Likewise.
31030         * configure: Regenerate.
31031         * sysdeps/s390/configure.ac:
31032         Add check for gcc transactions support.
31033         * sysdeps/s390/configure: Regenerate.
31034         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31035         Build elision files if enabled.
31036         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31037         Add lock elision support for s390.
31038         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31039         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31040         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31041         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31042         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31043         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31045         Likewise.
31046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31047         Likewise.
31048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31049         Likewise.
31050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31051         Likewise.
31052         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31053         (__lll_timedlock_elision, __lll_lock_elision)
31054         (__lll_unlock_elision, __lll_trylock_elision)
31055         (lll_timedlock_elision, lll_lock_elision)
31056         (lll_unlock_elision, lll_trylock_elision): Add.
31057         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31058         (pthread_mutex_t): Add lock elision support for s390.
31060 2014-05-14  Wilco  <wdijkstr@arm.com>
31062         * sysdeps/arm/fclrexcpt.c: Cleanup.
31063         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31064         * sysdeps/arm/feenablxcpt.c: Cleanup.
31065         * sysdeps/arm/fegetenv.c: Cleanup.
31066         * sysdeps/arm/fegetexcept.c: Cleanup.
31067         * sysdeps/arm/fegetround.c: Cleanup.
31068         * sysdeps/arm/feholdexcpt.c: Cleanup.
31069         * sysdeps/arm/fesetenv.c: Cleanup.
31070         * sysdeps/arm/fesetround.c: Cleanup.
31071         * sysdeps/arm/feupdateenv.c: Cleanup.
31072         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31073         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31074         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31075         * sysdeps/arm/ftestexcept.c: Cleanup.
31076         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31077         * sysdeps/arm/setfpucw.c: Cleanup.
31079 2014-05-09  Will Newton  <will.newton@linaro.org>
31081         * sysdeps/arm/armv7/strcmp.S: New file.
31082         * NEWS: Mention addition of ARMv7 optimized strcmp.
31084 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31086         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31087         look for %.ac rather than %.in.
31089         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31090         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31091         * sysdeps/mach/hurd/configure: Regenerated.
31092         * sysdeps/unix/sysv/linux/configure: Regenerated.
31094         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31096 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31098         [BZ# 16922]
31099         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31100         (LONG_SUB): Ditto.
31101         (PTR_SUB): Ditto.
31103 2014-05-07  Andreas Schwab  <schwab@suse.de>
31105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31106         when skipping over non-matching result from nscd.
31108 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31110         [BZ #16876]
31111         * nptl/sockperf.c (client): Check socket return value.
31113         [BZ #16877]
31114         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31115         nscd security class.
31117 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31119         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31120         * sysdeps/arm/unwind.h: ... here.
31122 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31124         [BZ# 16916]
31125         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31126         Define.
31128 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31130         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31131         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31132         multiarch strncpy for PPC64.
31133         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31134         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31136         multiarch optimizations.
31137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31138         (__libc_ifunc_impl_list): Likewise.
31139         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31140         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31141         multiarch stpncpy for PPC64.
31142         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31145 2014-05-06  Andreas Schwab  <schwab@suse.de>
31147         [BZ #16912]
31148         * gmon/mcount.c (_MCOUNT_DECL): Use
31149         atomic_compare_and_exchange_bool_acq instead of
31150         catomic_compare_and_exchange_bool_acq.
31152 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31154         * elf/Makefile (others, install-bin): Remove pldd.
31155         (pldd-modules): Variable removed.
31156         ($(objpfx)pldd): Target removed.
31157         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31158         (others, install-bin): Append pldd here.
31159         ($(objpfx)pldd): New target.
31161         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31162         to 0, so the first #if test emitted later doesn't see it undefined.
31163         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31164         * sysdeps/gnu/errlist.c: Regenerated.
31166 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31169         [libc_hidden_builtin_def]: Define to empty value.
31170         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31171         [libc_hidden_builtin_def]: Likewise.
31172         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31173         [libc_hidden_builtin_def]: Likewise.
31174         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31175         [libc_hidden_builtin_def]: Likewise.
31176         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31177         __redirect_memcpy and define ifunc as default hidden symbol.
31178         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31179         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31181 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31183         * locale/iso-4217.def: Reintroduce XDR currency.
31185 2014-05-04  Allan McRae  <allan@archlinux.org>
31187         * po/eo.po: Update Esperanto translation from translation project.
31189 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31191         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31192         and FEATURE_INDEX_MAX to 1.
31193         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31195 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31197         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31198         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31199         * iconvdata/big5.c (ONE_DIRECTION): Define.
31200         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31201         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31202         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31203         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31204         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31205         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31206         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31207         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31208         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31209         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31210         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31211         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31212         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31213         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31214         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31215         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31216         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31217         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31218         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31219         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31220         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31221         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31222         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31223         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31224         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31225         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31226         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31227         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31228         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31229         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31230         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31231         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31232         * iconvdata/johab.c (ONE_DIRECTION): Define.
31233         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31234         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31235         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31236         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31237         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31238         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31239         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31240         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31241         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31242         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31244 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31246         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31247         (_IO_JUMPS_OFFSET): Define to 0.
31249         * nptl/sysdeps/pthread/bits/libc-lock.h
31250         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31251         (__libc_lock_define_initialized_recursive): Always define using
31252         initializer.  Modern compilers treat uninitialized (implicit zero) and
31253         explicit zero initializers the same (i.e. put the datum in bss).
31255 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31257         * nscd/nscd-client.h: Include <string.h>.
31259 2014-05-01  David S. Miller  <davem@davemloft.net>
31261         [BZ #16885]
31262         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31263         multiple zero bytes exist at the end of a string.
31264         Reported by Aurelien Jarno <aurelien@aurel32.net>
31266         * string/test-strcmp.c (check): Add explicit test for situations where
31267         there are multiple zero bytes after the first.
31269 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31271         [BZ #16890]
31272         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31273         when compiling wprintf.
31274         * stdio-common/tstdiomisc.c (t3): New function.
31275         (main): Call it.
31277 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31279         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31280         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31281         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31282         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31284 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31286         * stdlib/longlong.h: Updated from GCC.
31288 2014-05-01  Will Newton  <will.newton@linaro.org>
31289             Bernard Ogden  <bernie.ogden@linaro.org>
31291         * NEWS: Update fixed bug list.
31293         [BZ #15119]
31294         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31296 2014-04-30  David S. Miller  <davem@davemloft.net>
31298         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31299         (libc_feholdexcept_setround_sparc_ctx): New function.
31300         (libc_fesetenv_sparc_ctx): Likewise.
31301         (libc_feupdateenv_sparc_ctx): Likewise.
31302         (libc_feholdsetround_sparc_ctx): Likewise.
31303         (libc_feholdexcept_setround_ctx): Define.
31304         (libc_feholdexcept_setroundf_ctx): Likewise.
31305         (libc_feholdexcept_setroundl_ctx): Likewise.
31306         (libc_fesetenv_ctx): Likewise.
31307         (libc_fesetenvf_ctx): Likewise.
31308         (libc_fesetenvl_ctx): Likewise.
31309         (libc_feupdateenv_ctx): Likewise.
31310         (libc_feupdateenvf_ctx): Likewise.
31311         (libc_feupdateenvl_ctx): Likewise.
31312         (libc_feresetround_ctx): Likewise.
31313         (libc_feresetroundf_ctx): Likewise.
31314         (libc_feresetroundl_ctx): Likewise.
31315         (libc_feholdsetround_ctx): Likewise.
31316         (libc_feholdsetroundf_ctx): Likewise.
31317         (libc_feholdsetroundl_ctx): Likewise.
31319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31320         with __USE_GNU instead of XOPEN cpp guards.
31322         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31323         0.
31325         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31326         with XOPEN cpp guards.
31328 2014-04-30  Julian Brown  <julian@codesourcery.com>
31330         [BZ #16888]
31331         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31332         handling.
31334 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31336         [BZ #9894]
31337         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31338         Change to 2.6.32.
31339         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31340         * sysdeps/unix/sysv/linux/configure: Regenerated.
31341         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31342         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31343         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31344         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31345         * README: Update reference to required Linux kernel version.
31346         * manual/install.texi (Linux): Update reference to required Linux
31347         kernel headers version.
31348         * INSTALL: Regenerated.
31350         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31351         header inclusion.
31352         [POSIX] (limits.h): Likewise.
31353         [POSIX] (math.h): Likewise.
31354         [POSIX] (sys/wait.h): Likewise.
31355         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31356         function.
31357         [POSIX] (stddef.h): Do not allow header inclusion.
31359 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31361         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31363 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31365         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31366         Return immediately after lll_futex_wake.
31368 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31370         [BZ #16791]
31371         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31372         structure.
31373         (datahead_init_pos): Call datahead_init_common early.
31374         (datahead_init_neg): Likewise.
31376         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31377         datahead_init_neg): New functions.
31378         * nscd/aicache.c (addhstaiX): Use them.
31379         * nscd/grpcache.c (cache_addgr): Likewise.
31380         * nscd/hstcache.c (cache_addhst): Likewise.
31381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31382         * nscd/netgroupcache.c (do_notfound): Likewise.
31383         (addgetnetgrentX): Likewise.
31384         (addinnetgrX): Likewise.
31385         * nscd/pwdcache.c (cache_addpw): Likewise.
31386         * nscd/servicescache.c (cache_addserv): Likewise.
31388 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31389             Atsushi Onoe  <atsushi@onoe.org>
31391         [BZ #14308]
31392         [BZ #12994]
31393         [BZ #13651]
31394         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31395         one response is valid.
31396         * resolv/res_send.c (send_dg): Check for validity of other
31397         response if the current response is a referral.
31399 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31401         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31403 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31405         [BZ #16823]
31406         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31407         Always divide by positive zero when computing -Inf result.
31408         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31409         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31411 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31413         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31414         FPSCR if value do not change.
31415         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31416         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31417         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31418         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31420         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31421         function.
31423 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31425         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31426         * sysdeps/unix/sysv/linux/hppa: Move directory from
31427         ports/systeps/unix/sysv/linux/hppa.
31428         * README: Update listing for hppa-*-linux-gnu.
31430 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31432         [BZ #16754]
31433         * manual/stdio.texi (Hook functions): Fix types of stream hook
31434         functions.
31435         [BZ #16854]
31436         * socket/sys/socket.h: Fix typo in comment.
31438 2014-04-28  Wilco  <wdijkstr@arm.com>
31440         * sysdeps/arm/fenv_private.h: New file.
31441         * sysdeps/arm/math_private.h: New file.
31442         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31444 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31446         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31447         with __int128_t.
31448         (La_x86_64_retval): Likewise.
31450 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31452         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31453         fpsr if value didn't change.
31454         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31455         to fpcr if value didn't change.
31456         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31457         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31458         fpsr or fpcr if value didn't change.
31459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31460         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31461         fpcr if value didn't change.
31462         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31463         to fpsr if value didn't change.
31465 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31467         * nptl/tst-sem3.c: Use test-skeleton.c
31468         (main): Rename to do_test.  Use return instead of
31469         exit.
31470         * nptl/tst-sem4.c: Use test-skeleton.c
31471         (main): Rename to do_test.
31473 2014-04-22  David S. Miller  <davem@davemloft.net>
31475         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31476         (struct sigaction): New struct member __glibc_reserved0, change
31477         type of sa_flags to int.
31479 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31481         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31482         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31484 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31486         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31487         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31489 2014-04-22  Will Newton  <will.newton@linaro.org>
31490             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31492         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31493         (__longjmp): Add longjmp and longjmp_target SystemTap
31494         probes.
31495         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31496         (__sigsetjmp): Add setjmp SystemTap probe.
31498 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31500         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31501         match manual order.
31503 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31505         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31507         * sysdeps/powerpc/fpu/fenv_private.h
31508         (libc_feholdexcept_setroundl_ctx): Define to
31509         libc_feholdexcept_setround_ppc_ctx.
31510         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31511         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31512         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31513         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31515 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31517         * sysdeps/aarch64/math-tests.h: New file.
31519 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31521         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31522         New.
31523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31524         Check and set bit_AVX2_Usable.
31525         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31526         macro.
31527         (bit_AVX2): Likewise.
31528         (index_AVX2_Usable): Likewise.
31529         (CPUID_AVX2): Likewise.
31530         (HAS_AVX2): Likewise.
31532 2014-04-17  Will Newton  <will.newton@linaro.org>
31534         * manual/setjmp.texi (System V contexts): Add note that
31535         calling setcontext on a context created by a call to a
31536         signal handler is undefined.  Update text to note that
31537         setcontext from a signal handler is possible but not
31538         recommended.
31540         [BZ #16629]
31541         * stdlib/tst-setcontext.c: Include signal.h.
31542         (main): Check that the signal stack before and
31543         after swapcontext is the same.
31545         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31546         Re-implement to restore registers in user code and avoid
31547         rt_sigreturn system call.
31549 2014-04-17  Wilco  <wdijkstr@arm.com>
31551         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31552         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31553         * math/test-fenv.c: Skip exception trap tests on targets which only
31554         support non-stop mode.
31556 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31557             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31559         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31560         (libc_feholdsetround_aarch64_ctx)
31561         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31562         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31563         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31564         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31565         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31566         (libc_feresetround_noexl_ctx): Define.
31568 2014-04-16  Richard Henderson  <rth@redhat.com>
31570         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31572         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31573         unwind tables.
31575         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31576         const from the non-libc, non-ldso copy.
31578         * sysdeps/alpha/libm-test-ulps: Regenerate.
31580 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31581             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31583         * sysdeps/aarch64/fpu/math_private.h: New file.
31585 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31587         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31589 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31591         [BZ #16275]
31592         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31593         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31594         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31595         Intel MPX bound registers before _dl_profile_fixup.
31596         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31597         registers after _dl_profile_fixup.  Save and restore bound
31598         registers bnd0/bnd1 when calling _dl_call_pltexit.
31599         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31600         (LR_BND_OFFSET): Likewise.
31601         (LRV_BND0_OFFSET): Likewise.
31602         (LRV_BND1_OFFSET): Likewise.
31604 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31606         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31607         to...
31608         * sysdeps/mach/hurd/i386/tls.h: ... here.
31609         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31610         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31611         fields.
31613 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31615         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31617 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31619         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31621 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31623         [BZ #14770]
31624         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31625         * sysdeps/s390/configure: Regenerate.
31627         [BZ #16824]
31628         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31629         Set round-to-nearest internally to reduce error accumulation.
31631 2014-04-16  Alan Modra  <amodra@gmail.com>
31633         [BZ #16740]
31634         [BZ #16619]
31635         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31636         * math/libm-test.inc (frexp_test_data): Add tests.
31637         * NEWS: Update fixed bug list.
31639 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31641         * benchtests/Makefile: Depend on libraries in build directory.
31642         (bench-math): Separate out math tests.
31643         (bench-pthread): Separate out pthread tests.
31644         (bench): Include math and pthread tests.
31646 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31648         [BZ #16831]
31649         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31650         _dl_debug_initialize.
31652         * configure.ac: Remove SELinux header check.
31653         * configure: Regenerate.
31654         * nscd/selinux.c (perms): Array of const char* to permission names.
31655         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31656         default policy. Call string_to_security_class and string_to_av_perm to
31657         translate strings. Enforce default policy and call avs_has_perm with
31658         results of translated strings.
31660 2014-04-13  David S. Miller  <davem@davemloft.net>
31662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31664 2014-04-12  Allan McRae  <allan@archlinux.org>
31666         [BZ #16838]
31667         * manual/string.texi (Collation Functions): Fix qsort argument
31668         order in example.
31669         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31671 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31673         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31674         Make the test a no-op if there are no exceptions defined.
31676 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31678         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31679         enable-hardcoded-path-in-tests
31681 2014-04-11  Will Newton  <will.newton@linaro.org>
31683         * benchtests/Makefile (extra-objs): Add json-lib.o.
31684         (bench-func): Tidy up JSON output.
31685         * benchtests/bench-skeleton.c: Include json-lib.h.
31686         (main): Use JSON library functions to do output of
31687         benchmark results.
31688         * benchtests/bench-timing-type.c (main): Output the
31689         timing type simply, leaving formatting to the user.
31690         * benchtests/json-lib.c: New file.
31691         * benchtests/json-lib.h: Likewise.
31693 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31695         [BZ #15215]
31696         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31697         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31698         memory barriers.  Add comments.
31699         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31700         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31701         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31702         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31703         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31704         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31706 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31708         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31709         * sysdeps/s390/s390-64/configure.ac: ... this ...
31710         * sysdeps/s390/configure.ac: ... to here.
31711         * sysdeps/s390/s390-32/configure: Delete file.
31712         * sysdeps/s390/s390-64/configure: Delete file.
31713         * sysdeps/s390/configure: Regenerate.
31715 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
31717         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31719 2014-04-11  Will Newton  <will.newton@linaro.org>
31721         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31722         to zero if it is not defined elsewhere.  (mtrim): Test
31723         the value of MALLOC_DEBUG with #if rather than #ifdef.
31725 2014-04-10 Torvald Riegel  <triegel@redhat.com>
31727         * benchtests/pthread_once-inputs: New file.
31728         * benchtests/pthread_once-source.c: New file.
31729         * benchtests/README: Update documentation.
31731 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31732             H.J. Lu  <hongjiu.lu@intel.com>
31734         [BZ #16275]
31735         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31736         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31737         * sysdeps/x86_64/configure: Regenerated.
31738         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31739         macro.
31740         (REGISTER_SAVE_RAX): Likewise.
31741         (REGISTER_SAVE_RCX): Likewise.
31742         (REGISTER_SAVE_RDX): Likewise.
31743         (REGISTER_SAVE_RSI): Likewise.
31744         (REGISTER_SAVE_RDI): Likewise.
31745         (REGISTER_SAVE_R8): Likewise.
31746         (REGISTER_SAVE_R9): Likewise.
31747         (REGISTER_SAVE_BND0): Likewise.
31748         (REGISTER_SAVE_BND1): Likewise.
31749         (REGISTER_SAVE_BND2): Likewise.
31750         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
31751         bound registers when calling _dl_fixup.
31753 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31756         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31757         of its definition.
31758         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31759         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31760         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31761         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31762         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31763         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31764         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31766 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
31768         [BZ #15514]
31769         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31770         pathconf(_PC_NAME_MAX).
31772 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31774         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31775         Remove macro usage.
31776         (__PTHREAD_SPINS): Move definition to ...
31777         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31778         (__PTHREAD_SPINS): ... here.
31779         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31780         (__PTHREAD_SPIN): Likewise.
31781         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31782         (__PTHREAD_SPIN): Likewise.
31783         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31784         (__PTHREAD_SPIN): Likewise.
31785         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31786         (__PTHREAD_SPIN): Likewise.
31787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31788         (__PTHREAD_SPIN): Likewise.
31789         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31790         (__PTHREAD_SPIN): Likewise.
31791         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31792         (__PTHREAD_SPIN): Likewise.
31793         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31794         (__PTHREAD_SPIN): Likewise.
31795         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31796         (__PTHREAD_SPIN): Likewise.
31797         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31798         (__PTHREAD_SPIN): Likewise.
31799         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31800         (__PTHREAD_SPIN): Likewise.
31801         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31802         (__PTHREAD_SPIN): Likewise.
31804         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31805         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31806         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31807         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31808         imply folder.
31809         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31810         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31811         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31812         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31813         correct imply path.
31814         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31815         strlen symbol for non multi-arch builds.
31816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31817         missing hidden_def and weak_alias.
31819 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31821         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31823 2014-04-07  Will Newton  <will.newton@linaro.org>
31825         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31826         and contents.  [!_LIBC] Remove #ifndef and contents.
31827         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31828         * string/memccpy.c (__memccpy): Use ANSI prototype.
31829         * string/memfrob.c (memfrob): Likewise.
31830         * string/strcoll.c (STRCOLL): Likewise.
31831         * string/strlen.c (strlen): Likewise.
31832         * string/strtok.c (STRTOK): Likewise.
31833         * string/strcat.c: Remove unused #include of memcopy.h.
31834         (strcat): Use ANSI prototype.
31835         * string/strchr.c: Remove unused #include of memcopy.h.
31836         (strchr): Use ANSI prototype.
31837         * string/strcmp.c: Remove unused #include of memcopy.h.
31838         (strcmp): Use ANSI prototype.
31839         * string/strcpy.c: Remove unused #include of memcopy.h.
31840         (strcpy): Use ANSI prototype.
31842 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31844         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31845         * config.make.in (config-extra-cppflags): Set it from
31846         libc_extra_cppflags.
31847         * configure.ac (libc_extra_cflags): Make it accumulate over
31848         configure fragments.
31849         (libc_extra_cppflags): New flag.
31850         * configure. Regenerate.
31851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31852         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31853         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31856         [BZ #16815]
31857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31858         result for FE_DOWNWARD rounding mode.
31859         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31860         Likewise.
31861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31863 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31865         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31866         in function argument name.
31868 2014-04-03  David Svoboda  <svoboda@cert.org>
31870         [BZ #5666]
31871         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31872         explicitly.
31874 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31876         * elf/dl-unmap-segments.h: New file.
31877         * sysdeps/generic/ldsodefs.h
31878         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31879         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31880         * elf/dl-fptr.c: Likewise.
31881         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31882         * sysdeps/aarch64/tlsdesc.c: Likewise.
31883         * sysdeps/arm/tlsdesc.c: Likewise.
31884         * sysdeps/i386/tlsdesc.c: Likewise.
31885         * sysdeps/tile/dl-runtime.c: Likewise.
31886         * sysdeps/x86_64/tlsdesc.c: Likewise.
31887         * elf/dl-load.h: New file.
31888         * elf/dl-load.c: Include it.
31889         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31890         Macros moved to dl-load.h.
31891         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31892         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31893         Use _dl_unmap_segments in place of __munmap.
31894         Break out segment-mapping loop into ...
31895         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31897 2014-04-03  Will Newton  <will.newton@linaro.org>
31899         * elf/dl-lookup.c (do_lookup_x): Remove comment
31900         referring to nested function and move variable
31901         declarations down to before first use.
31903 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31905         [BZ #16799]
31906         [BZ #16800]
31907         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31908         with 0 numerator.
31909         * math/s_catanf.c (__catanf): Likewise.
31910         * math/s_catanh.c (__catanh): Likewise.
31911         * math/s_catanhf.c (__catanhf): Likewise.
31912         * math/s_catanhl.c (__catanhl): Likewise.
31913         * math/s_catanl.c (__catanl): Likewise.
31914         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31915         by positive zero when computing -Inf result.
31916         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31917         (catanh_test): Likewise.
31918         * sysdeps/i386/fpu/libm-test-ulps: Update.
31919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31921         [BZ #16789]
31922         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31923         instead of using underflowing value in computing result.
31924         * math/s_clog10.c (__clog10): Likewise.
31925         * math/s_clog10f.c (__clog10f): Likewise.
31926         * math/s_clog10l.c (__clog10l): Likewise.
31927         * math/s_clogf.c (__clogf): Likewise.
31928         * math/s_clogl.c (__clogl): Likewise.
31929         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31930         (clog10_test): Likewise.
31931         * sysdeps/i386/fpu/libm-test-ulps: Update.
31932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31934 2014-04-02  Alan Modra  <amodra@gmail.com>
31936         [BZ #16739]
31937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31938         output when value is near a power of two.  Use int64_t for lx and
31939         remove casts.  Use decimal rather than hex exponent constants.
31940         Don't use long double multiplication when double will suffice.
31941         * math/libm-test.inc (nextafter_test_data): Add tests.
31942         * NEWS: Add 16739 and 16786 to bug list.
31944         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31946         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31948 2014-04-01  Will Newton  <will.newton@linaro.org>
31950         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31951         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31953 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31955         [BZ #13347]
31956         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31957         * nptl/tst-setuid2.c: New file.
31958         * nptl/Makefile (xtests): Add tst-setuid2.
31960 2014-04-01  Alan Modra  <amodra@gmail.com>
31962         [BZ #16786]
31963         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31965 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31967         [BZ #6803]
31968         [BZ #6804]
31969         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31970         set errno as appropriate.
31971         * math/w_scalbf.c (__scalbf): Likewise.
31972         * math/w_scalbl.c (__scalbl): Likewise.
31973         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31974         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31975         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31976         Add more NaN tests.
31978         [BZ #16349]
31979         * math/w_atan2.c: Include <errno.h>.
31980         (__atan2): Set errno for result underflowing to zero.
31981         * math/w_atan2f.c: Include <errno.h>.
31982         (__atan2f): Set errno for result underflowing to zero.
31983         * math/w_atan2l.c: Include <errno.h>.
31984         (__atan2l): Set errno for result underflowing to zero.
31985         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31986         tests.
31987         * math/auto-libm-test-out: Regenerated.
31989 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31991         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31992         Encode instruction correctly in little endian.
31993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31994         Likewise.
31995         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31996         Likewise.
31997         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31998         Likewise.
31999         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32000         Likewise.
32002 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #9894]
32005         * sysdeps/unix/sysv/linux/kernel-features.h
32006         [__sparc__ && !__arch64__ && !__sparc_v9__]
32007         (__ASSUME_SET_ROBUST_LIST): Do not define.
32008         [__sparc__ && !__arch64__ && !__sparc_v9__]
32009         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32010         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32011         Likewise.
32012         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32013         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32014         (__ASSUME_REQUEUE_PI): Likewise.
32015         (__ASSUME_SET_ROBUST_LIST): Likewise.
32016         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32017         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32018         Undefine.
32019         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32020         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32021         Likewise.
32022         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32023         Likewise.
32024         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32025         Likewise.
32026         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32027         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32028         Undefine.
32029         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32030         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32031         Likewise.
32033         [BZ #16648]
32034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32035         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32036         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32038 2014-03-31  Will Newton  <will.newton@linaro.org>
32040         * benchtests/Makefile (bench): Add ffs and ffsll to list
32041         of tests.
32042         * benchtests/ffs-inputs: New file.
32043         * benchtests/ffsll-inputs: Likewise.
32045 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32047         [BZ #16770]
32048         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32049         too large before casting to int.
32050         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32051         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32052         * math/libm-test.inc (scalb_test_data): Add more tests.
32054 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32056         * benchtests/Makefile (DETAILED_OPT): New make option.
32057         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32058         set.
32059         * benchtests/bench-skeleton.c: Include stdbool.h.
32060         (main): Store and print timings per input.
32061         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32062         member to each argument value.
32063         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32064         (_print_arg_data): Initialize per-input timing to 0.
32066         * benchtests/Makefile (timing-type): New binary.
32067         (bench-clean): Also remove bench-timing-type.
32068         (bench): New target for timing-type.
32069         (bench-func): Print output in JSON format.
32070         * benchtests/bench-skeleton.c (main): Print output in JSON
32071         format.
32072         * benchtests/bench-timing-type.c: New file.
32073         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32074         (TIMING_PRINT_STATS): Remove.
32075         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32076         name separately.
32078         * benchtests/bench-modf.c: Remove.
32079         * benchtests/modf-inputs: New inputs file.
32081 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32083         [BZ #16362]
32084         * math/s_clog10.c (M_PI_LOG10E): New macro.
32085         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32086         imaginary parts are 0.
32087         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32088         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32089         imaginary parts are 0.
32090         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32091         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32092         imaginary parts are 0.
32093         * math/libm-test.inc (clog10_test_data): Update expected results
32094         for when real and imaginary parts are 0.
32096 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32098         * elf/dl-load.c: Finish conversion of __builtin_expect into
32099         __glibc_{un}likely.
32101 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32103         [BZ #16348]
32104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32105         1+x for argument with exponent below -67.
32106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32107         Likewise.
32108         * math/auto-libm-test-in: Add more tests of exp.
32109         * math/auto-libm-test-out: Regenerated.
32111 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         [BZ #16759]
32114         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32115         (nscd_getnetgrent): Use it.
32117         [BZ #16760]
32118         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32119         of stpcpy.
32121 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32123         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32124         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32125         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32126         (lll_robust_unlock): Remove out of line section. Use cfi
32127         intrinsics.
32128         (LLL_STUB_UNWIND_INFO*): Remove.
32129         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32130         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32131         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32132         (lll_robust_unlock): Remove out of line section. Use cfi
32133         intrinsics.
32134         (LLL_STUB_UNWIND_INFO*): Remove.
32136 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32138         [BZ #16758]
32139         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32140         blank values.
32142 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32144         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32146 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32148         [BZ #16198]
32149         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32150         fnstenv.
32151         * math/test-fenv-preserve.c: New file.
32152         * math/Makefile (tests): Add test-fenv-preserve.
32154 2014-03-26  Will Newton <will.newton@linaro.org>
32156         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32158 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32160         * scripts/versionlist.awk: Partition the version sets and emit all
32161         GLIBC_* (sorted) before all others (sorted).
32163 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32165         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32166         GLIBC_2.2.5 version.
32168 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32170         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32171         calls.
32173         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32174         previous change.
32176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32178 2014-03-25  Andreas Schwab  <schwab@suse.de>
32180         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32181         label to be used after in6ailist is initialized.
32183 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32185         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32186         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32188 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32190         [BZ #16357]
32191         [BZ #16599]
32192         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32193         min_plus_half.
32194         (fp_formats): Update initializers.
32195         (init_fp_formats): Initialize new field.
32196         (output_for_one_input_case): Allow underflow for results up to
32197         min_plus_half.
32198         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32199         * math/auto-libm-test-in: Don't mark some underflows from asin and
32200         atanh as spurious.
32201         * math/auto-libm-test-out: Regenerated.
32202         * sysdeps/i386/fpu/libm-test-ulps: Update.
32203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32205 2014-03-25  Andreas Schwab  <schwab@suse.de>
32207         * libio/Makefile (tst-ftell-partial-wide-ENV)
32208         (tst-ftell-active-handler-ENV): Define.
32210 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32212         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32214 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32216         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32218 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32220         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32221         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32222         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32224 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32226         [BZ #16634]
32227         * elf/dl-load.c (open_verify): Add mode parameter.
32228         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32229         (open_path): Change from boolean 'secure' to complete flag 'mode'
32230         (_dl_map_object): Adjust.
32231         * elf/Makefile (tests): Add tst-dlopen-aout.
32232         * elf/tst-dlopen-aout.c: New test.
32234 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32236         [BZ #16714]
32237         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32238         (struct stat): Rename member pad0 to __glibc_reserved0.
32240         [BZ #16712]
32241         * sysdeps/s390/s390-32/bits/wordsize.h
32242         (__WORDSIZE32_SIZE_ULONG): New define.
32243         * sysdeps/s390/s390-64/bits/wordsize.h
32244         (__WORDSIZE32_SIZE_ULONG): Likewise.
32245         * sysdeps/generic/stdint.h (SIZE_MAX):
32246         Define as UL if __WORDSIZE32_SIZE_ULONG.
32248         [BZ #16713]
32249         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32250         (__glibc_reserved0): New variable.
32251         (sa_flags): Change type to int.
32253         * posix/Makefile (before-compile): Use += before-compile instead
32254         of a :=.
32256         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32257         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32259 2014-03-20  Andreas Schwab  <schwab@suse.de>
32261         [BZ #16743]
32262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32263         non-matching result from nscd.
32265 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32267         * scripts/bench.py: Moved to ...
32268         * benchtests/scripts/bench.py: ... here.
32269         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32271 2014-03-24  Andreas Schwab  <schwab@suse.de>
32273         [BZ #16002]
32274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32275         alloca_account and account alloca use for struct in6ailist.
32277 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32279         [BZ #16284]
32280         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32281         rounding mode to recompute results that overflow to infinity or
32282         underflow to zero.
32283         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32284         bug 16284.
32285         * math/auto-libm-test-out: Regenerated.
32286         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32287         (ccosh_test): Likewise.
32288         (csin_test_data): Use plus_oflow.
32289         (csin_test): Use ALL_RM_TEST.
32290         (csinh_test_data): Use plus_oflow.
32291         (csinh_test): Use ALL_RM_TEST.
32292         * sysdeps/i386/fpu/libm-test-ulps: Update.
32293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32297         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32298         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32299         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32301         [BZ #16731]
32302         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32303         when x - 1 is zero.
32304         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32305         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32306         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32307         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32308         argument is 1.
32309         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32310         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32311         zero.
32312         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32313         * sysdeps/i386/fpu/libm-test-ulps: Update.
32314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32316 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32318         * scripts/bench.pl: Remove file.
32319         * scripts/bench.py: New benchmark script.
32320         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32321         * benchtests/README: Mention python dependency.
32322         * scripts/pylintrc: New file.
32323         * scripts/pylint: New file.
32325         * bits/mathdef.h: Use #ifdef instead of #if.
32326         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32327         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32328         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32329         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32330         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32331         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32333 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32334             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32336         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32338         and strpbrk-ppc64 objects.
32339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32340         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32341         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32342         multiarch strpbrk for POWER7.
32343         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32344         multiarch strpbrk for PPC64.
32345         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32346         ifunc selector.
32347         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32348         strpbrk for POWER7.
32350 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32352         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32353         (atan_test): Likewise.
32354         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32355         (atanh_test): Use ALL_RM_TEST.
32356         (atan2_test_data): Likewise.
32357         (cabs_test): Likewise.
32358         (cacosh_test): Likewise.
32359         (carg_test): Likewise.
32360         (casin_test): Likewise.
32361         (casinh_test): Likewise.
32362         (cbrt_test): Likewise.
32363         (csqrt_test): Likewise.
32364         (erf_test): Likewise.
32365         (erfc_test): Likewise.
32366         (pow10_test): Likewise.
32367         (exp2_test): Likewise.
32368         (hypot_test): Likewise.
32369         (j0_test): Likewise.
32370         (j1_test): Likewise.
32371         (lgamma_test): Likewise.
32372         (gamma_test): Likewise.
32373         (sincos_test): Likewise.
32374         (tanh_test): Likewise.
32375         (y0_test): Likewise.
32376         (y1_test): Likewise.
32377         * sysdeps/i386/fpu/libm-test-ulps: Update.
32378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32380 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32382         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32384         and strcspn-ppc64 objects.
32385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32386         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32387         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32388         multiarch strcspn for POWER7.
32389         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32390         multiarch strcspn for PPC64.
32391         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32392         ifunc selector.
32393         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32394         strcspn for POWER7.
32396 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32398         * math/gen-libm-test.pl (generate_testfile): Expect only function
32399         name as argument to AUTO_TESTS_* and pass results for all rounding
32400         modes to parse_args.
32401         (parse_auto_input): Separate inputs of automatic tests from
32402         outputs before storing in %auto_tests.
32403         * math/libm-test.inc (acos_test_data): Update call to
32404         AUTO_TESTS_f_f.
32405         (acos_test): Use ALL_RM_TEST.
32406         (acos_tonearest_test_data): Remove.
32407         (acos_test_tonearest): Likewise.
32408         (acos_towardzero_test_data): Likewise.
32409         (acos_test_towardzero): Likewise.
32410         (acos_downward_test_data): Likewise.
32411         (acos_test_downward): Likewise.
32412         (acos_upward_test_data): Likewise.
32413         (acos_test_upward): Likewise.
32414         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32415         (asin_test_data): Likewise.
32416         (asin_test): Use ALL_RM_TEST.
32417         (asin_tonearest_test_data): Remove.
32418         (asin_test_tonearest): Likewise.
32419         (asin_towardzero_test_data): Likewise.
32420         (asin_test_towardzero): Likewise.
32421         (asin_downward_test_data): Likewise.
32422         (asin_test_downward): Likewise.
32423         (asin_upward_test_data): Likewise.
32424         (asin_test_upward): Likewise.
32425         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32426         (atan_test_data): Likewise.
32427         (atanh_test_data): Likewise.
32428         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32429         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32430         (carg_test_data): Likewise.
32431         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32432         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32433         (ccosh_test_data): Likewise.
32434         (cexp_test_data): Likewise.
32435         (clog_test_data): Likewise.
32436         (clog10_test_data): Likewise.
32437         (cos_test_data): Update call to AUTO_TESTS_f_f.
32438         (cos_test): Use ALL_RM_TEST.
32439         (cos_tonearest_test_data): Remove.
32440         (cos_test_tonearest): Likewise.
32441         (cos_towardzero_test_data): Likewise.
32442         (cos_test_towardzero): Likewise.
32443         (cos_downward_test_data): Likewise.
32444         (cos_test_downward): Likewise.
32445         (cos_upward_test_data): Likewise.
32446         (cos_test_upward): Likewise.
32447         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32448         (cosh_test): Use ALL_RM_TEST.
32449         (cosh_tonearest_test_data): Remove.
32450         (cosh_test_tonearest): Likewise.
32451         (cosh_towardzero_test_data): Likewise.
32452         (cosh_test_towardzero): Likewise.
32453         (cosh_downward_test_data): Likewise.
32454         (cosh_test_downward): Likewise.
32455         (cosh_upward_test_data): Likewise.
32456         (cosh_test_upward): Likewise.
32457         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32458         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32459         (ctan_test_data): Likewise.
32460         (ctan_test): Use ALL_RM_TEST.
32461         (ctan_tonearest_test_data): Remove.
32462         (ctan_test_tonearest): Likewise.
32463         (ctan_towardzero_test_data): Likewise.
32464         (ctan_test_towardzero): Likewise.
32465         (ctan_downward_test_data): Likewise.
32466         (ctan_test_downward): Likewise.
32467         (ctan_upward_test_data): Likewise.
32468         (ctan_test_upward): Likewise.
32469         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32470         (ctanh_test): Use ALL_RM_TEST.
32471         (ctanh_tonearest_test_data): Remove.
32472         (ctanh_test_tonearest): Likewise.
32473         (ctanh_towardzero_test_data): Likewise.
32474         (ctanh_test_towardzero): Likewise.
32475         (ctanh_downward_test_data): Likewise.
32476         (ctanh_test_downward): Likewise.
32477         (ctanh_upward_test_data): Likewise.
32478         (ctanh_test_upward): Likewise.
32479         (erf_test_data): Update call to AUTO_TESTS_f_f.
32480         (erfc_test_data): Likewise.
32481         (exp_test_data): Likewise.
32482         (exp_test): Use ALL_RM_TEST.
32483         (exp_tonearest_test_data): Remove.
32484         (exp_test_tonearest): Likewise.
32485         (exp_towardzero_test_data): Likewise.
32486         (exp_test_towardzero): Likewise.
32487         (exp_downward_test_data): Likewise.
32488         (exp_test_downward): Likewise.
32489         (exp_upward_test_data): Likewise.
32490         (exp_test_upward): Likewise.
32491         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32492         (exp10_test): Use ALL_RM_TEST.
32493         (exp10_tonearest_test_data): Remove.
32494         (exp10_test_tonearest): Likewise.
32495         (exp10_towardzero_test_data): Likewise.
32496         (exp10_test_towardzero): Likewise.
32497         (exp10_downward_test_data): Likewise.
32498         (exp10_test_downward): Likewise.
32499         (exp10_upward_test_data): Likewise.
32500         (exp10_test_upward): Likewise.
32501         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32502         (expm1_test_data): Likewise.
32503         (expm1_test): Use ALL_RM_TEST.
32504         (expm1_tonearest_test_data): Remove.
32505         (expm1_test_tonearest): Likewise.
32506         (expm1_towardzero_test_data): Likewise.
32507         (expm1_test_towardzero): Likewise.
32508         (expm1_downward_test_data): Likewise.
32509         (expm1_test_downward): Likewise.
32510         (expm1_upward_test_data): Likewise.
32511         (expm1_test_upward): Likewise.
32512         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32513         (fma_test): Use ALL_RM_TEST.
32514         (fma_towardzero_test_data): Remove.
32515         (fma_test_towardzero): Likewise.
32516         (fma_downward_test_data): Likewise.
32517         (fma_test_downward): Likewise.
32518         (fma_upward_test_data): Likewise.
32519         (fma_test_upward): Likewise.
32520         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32521         (j0_test_data): Update call to AUTO_TESTS_f_f.
32522         (j1_test_data): Likewise.
32523         (jn_test_data): Update call to AUTO_TESTS_if_f.
32524         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32525         (log_test_data): Update call to AUTO_TESTS_f_f.
32526         (log10_test_data): Likewise.
32527         (log1p_test_data): Likewise.
32528         (log2_test_data): Likewise.
32529         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32530         (pow_tonearest_test_data): Likewise.
32531         (sin_test_data): Update call to AUTO_TESTS_f_f.
32532         (sin_test): Use ALL_RM_TEST.
32533         (sin_tonearest_test_data): Remove.
32534         (sin_test_tonearest): Likewise.
32535         (sin_towardzero_test_data): Likewise.
32536         (sin_test_towardzero): Likewise.
32537         (sin_downward_test_data): Likewise.
32538         (sin_test_downward): Likewise.
32539         (sin_upward_test_data): Likewise.
32540         (sin_test_upward): Likewise.
32541         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32542         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32543         (sinh_test): Use ALL_RM_TEST.
32544         (sinh_tonearest_test_data): Remove.
32545         (sinh_test_tonearest): Likewise.
32546         (sinh_towardzero_test_data): Likewise.
32547         (sinh_test_towardzero): Likewise.
32548         (sinh_downward_test_data): Likewise.
32549         (sinh_test_downward): Likewise.
32550         (sinh_upward_test_data): Likewise.
32551         (sinh_test_upward): Likewise.
32552         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32553         (sqrt_test): Use ALL_RM_TEST.
32554         (sqrt_tonearest_test_data): Remove.
32555         (sqrt_test_tonearest): Likewise.
32556         (sqrt_towardzero_test_data): Likewise.
32557         (sqrt_test_towardzero): Likewise.
32558         (sqrt_downward_test_data): Likewise.
32559         (sqrt_test_downward): Likewise.
32560         (sqrt_upward_test_data): Likewise.
32561         (sqrt_test_upward): Likewise.
32562         (tan_test_data): Update call to AUTO_TESTS_f_f.
32563         (tan_test): Use ALL_RM_TEST.
32564         (tan_tonearest_test_data): Remove.
32565         (tan_test_tonearest): Likewise.
32566         (tan_towardzero_test_data): Likewise.
32567         (tan_test_towardzero): Likewise.
32568         (tan_downward_test_data): Likewise.
32569         (tan_test_downward): Likewise.
32570         (tan_upward_test_data): Likewise.
32571         (tan_test_upward): Likewise.
32572         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32573         (tgamma_test_data): Likewise.
32574         (y0_test_data): Likewise.
32575         (y1_test_data): Likewise.
32576         (yn_test_data): Update call to AUTO_TESTS_if_f.
32577         (main): Do not call removed functions.
32579 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32581         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32582         (ldexp_test_data): Remove.
32583         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32584         scalbn_test_data.
32585         (scalb_test): Use ALL_RM_TEST.
32587 2014-03-19  Andreas Schwab  <schwab@suse.de>
32589         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32591 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32593         [BZ #16649]
32594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32595         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32596         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32597         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32598         (__ASSUME_PREADV): Undefine.
32599         (__ASSUME_PWRITEV): Likewise.
32601 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32603         * bits/mman-linux.h: Add comment about non-Linux use.
32604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32605         bits/mman-linux.h resting place.
32607         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32608         * bits/mman-linux.h: ... here.
32610 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32612         * conform/conformtest.pl: Add standard definition when calling C
32613         preprocessor on data files.
32614         (checknamespace): Remove unused variable.
32616 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32618         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32619         minus_oflow, plus_uflow and minus_uflow in expected results.
32620         * math/libm-test.inc (scalbn_test_data): Add more tests of
32621         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32622         minus_uflow.
32623         (scalbn_test): Use ALL_RM_TEST.
32624         (scalbln_test_data): Add more tests of negative arguments.  Use
32625         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32626         (scalbln_test): Use ALL_RM_TEST.
32628 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32630         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32632 2014-03-18  Will Newton  <will.newton@linaro.org>
32634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32635         inaccurate comment.
32637 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32639         * Makerules [!subdir] (check-abi): Exit with error status if a
32640         test failed.
32642 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32644         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32645         for rint.  Include results for all rounding modes.
32646         (nearbyint_test): Use ALL_RM_TEST.
32647         (rint_test_data): Include all tests used for nearbyint.
32649 2014-03-17  Will Newton  <will.newton@linaro.org>
32651         * nptl/sysdeps/pthread/pthread.h: Revert previous
32652         change.
32654         * sysdeps/generic/ldsodefs.h: Revert previous
32655         change.
32657         * libio/genops.c: Revert previous change.
32658         * libio/libioP.h: Likewise.
32659         * stdio-common/vfprintf.c: Likewise.
32661         * sysdeps/generic/math_private.h: Revert previous
32662         change.
32664         * sysdeps/generic/math_private.h: Check whether
32665         HAVE_RM_CTX is defined with #ifdef rather
32666         than #if.
32668         * argp/argp-fmtstream.h: Check whether
32669         __STRICT_ANSI__ is defined with #ifdef rather
32670         than #if.
32671         * argp/argp.h: Likewise.
32673         * libio/genops.c: Check whether
32674         _IO_JUMPS_OFFSET is defined with #ifdef rather
32675         than #if.
32676         * libio/libioP.h: Likewise.
32677         * stdio-common/vfprintf.c: Likewise.
32679         * sysdeps/generic/ldsodefs.h: Check whether
32680         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32681         than #if.
32683         * nptl/sysdeps/pthread/pthread.h: Check
32684         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32685         its value.
32687 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32689         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32690         setting O_APPEND.
32691         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32692         test case.
32694         [BZ #16680]
32695         * libio/fileops.c (_IO_file_open): Seek to end of file but
32696         don't cache the offset.
32697         (get_file_offset): Remove function.
32698         (do_ftell): Use cached offset when available.
32699         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32700         don't cache the offset.
32701         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32702         case.
32703         (do_one_test): Call it.
32704         (do_ftell_test): Fix up expected old offset for a+ mode.
32705         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32706         available.
32708         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32709         up test status with function return status.
32710         (do_write_test): Likewise.
32711         (do_append_test): Likewise.
32713         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32714         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32715         Remove.
32717 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32719         * math/gen-libm-test.pl (parse_args): Handle results specified for
32720         each rounding mode separately.
32721         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32722         tests and results from lrint_tonearest_test_data,
32723         lrint_towardzero_test_data, lrint_downward_test_data and
32724         lrint_upward_test_data.
32725         (lrint_test): Use ALL_RM_TEST.
32726         (lrint_tonearest_test_data): Remove.
32727         (lrint_test_tonearest): Likewise.
32728         (lrint_towardzero_test_data): Likewise.
32729         (lrint_test_towardzero): Likewise.
32730         (lrint_downward_test_data): Likewise.
32731         (lrint_test_downward): Likewise.
32732         (lrint_upward_test_data): Likewise.
32733         (lrint_test_upward): Likewise.
32734         (llrint_test_data): Merge in per-rounding-mode tests and results
32735         from llrint_tonearest_test_data, llrint_towardzero_test_data,
32736         llrint_downward_test_data and llrint_upward_test_data.
32737         (llrint_test): Use ALL_RM_TEST.
32738         (llrint_tonearest_test_data): Remove.
32739         (llrint_test_tonearest): Likewise.
32740         (llrint_towardzero_test_data): Likewise.
32741         (llrint_test_towardzero): Likewise.
32742         (llrint_downward_test_data): Likewise.
32743         (llrint_test_downward): Likewise.
32744         (llrint_upward_test_data): Likewise.
32745         (llrint_test_upward): Likewise.
32746         (rint_test_data): Merge in per-rounding-mode tests and results
32747         from rint_tonearest_test_data, rint_towardzero_test_data,
32748         rint_downward_test_data and rint_upward_test_data.  Add
32749         per-rounding-mode results for tests not in those arrays.
32750         (rint_test): Use ALL_RM_TEST.
32751         (rint_tonearest_test_data): Remove.
32752         (rint_test_tonearest): Likewise.
32753         (rint_towardzero_test_data): Likewise.
32754         (rint_test_towardzero): Likewise.
32755         (rint_downward_test_data): Likewise.
32756         (rint_test_downward): Likewise.
32757         (rint_upward_test_data): Likewise.
32758         (rint_test_upward): Likewise.
32759         (main): Don't call removed functions.
32761 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32763         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32764         "Compiled on ..." crapola.  It is anti-useful.
32766 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
32768         * scripts/evaluate-test.sh: Handle fourth argument to determine
32769         whether test run should stop on failure.
32770         * Makeconfig (stop-on-test-failure): New variable.
32771         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32772         $(stop-on-test-failure).
32773         * Makefile (tests): Give a summary of results from testing and
32774         exit with failure status if they include an ERROR or FAIL.
32775         (xtests): Likewise.
32776         * manual/install.texi (Configuring and compiling): Mention
32777         stop-on-test-failure=y.
32778         * INSTALL: Regenerated.
32780 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32782         * scripts/versionlist.awk: New file.
32783         * Makerules [$(build-shared) = yes]
32784         (postclean-generated): Add Versions.def, not Versions.def.v and
32785         Versions.def.v.i.
32786         ($(common-objpfx)Versions.def.v.i): Target removed.
32787         ($(common-objpfx)Versions.def): New target.
32788         ($(common-objpfx)Versions.all): Depend on that rather that
32789         $(common-objpfx)Versions.def.v.
32790         * Versions.def: File removed.
32792         * Makeconfig (+gccwarn): Add -Wundef.
32793         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32794         a dl-sysdep.h breaking its contract.
32795         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32796         * include/stackinfo.h: New file.
32797         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32798         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32799         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32800         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32801         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32802         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32803         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32804         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32805         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32806         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32807         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32808         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32809         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32810         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32811         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32813 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32815         [BZ #16707]
32816         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32817         implementation.
32818         * math/libm-test.inc (round_test_data): Add more tests.
32820         [BZ #16706]
32821         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32822         implementation.
32823         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32825         [BZ #16701]
32826         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32827         implementation.
32828         * math/libm-test.inc (ceil_test_data): Add more tests.
32830         * math/libm-test.inc (trunc_test_data): Add more tests related to
32831         BZ#16414.
32833 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32835         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32836         with #if rather than #ifdef.
32837         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32839 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32841         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32842         first.  Disable AVX-512 GCC support if assembler doesn't support
32843         it.
32844         * sysdeps/x86_64/configure: Regenerated.
32846 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32848         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32849         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32850         (__old_pthread_attr_setstack): Likewise.
32851         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32852         [!_STACK_GROWS_DOWN]: Likewise.
32854 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32856         * config.make.in (have-bash2): Delete.
32857         * configure.ac (libc_cv_have_bash2): Delete.
32858         * configure: Regenerate.
32859         * elf/Makefile (common-ldd-rewrite): Rename to ...
32860         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32861         (sh-ldd-rewrite): Delete.
32862         (bash-ldd-rewrite): Delete.
32863         (have-bash2): Delete checks.
32864         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32865         ldd-rewrite.
32867         * config.make.in (have-ksh): Delete.
32868         (KSH): Delete.
32869         * configure.ac (libc_cv_have_ksh): Delete.
32870         * configure: Regenerate.
32872         * elf/Makefile: Delete $(have-ksh) check.
32873         ($(objpfx)sotruss): Change KSH to BASH.
32874         * elf/sotruss.ksh: Rename to ...
32875         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32876         function style to match POSIX.  Drop ksh vim mode setting.
32878         * manual/time.texi (Specifying the Time Zone with TZ): Change
32879         Tuesday to Thursday.
32881         * debug/tst-longjmp_chk2.c: Update header comment.
32882         (stackoverflow_handler): Add comment.  Call assert on pass value.
32884 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32886         [BZ #16194]
32887         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32888         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32889         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32890         (La_x86_64_vector): Add zmm.
32891         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32892         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32893         ($(objpfx)tst-audit10): New target.
32894         ($(objpfx)tst-audit10.out): Likewise.
32895         (tst-audit10-ENV): New.
32896         (AVX512-CFLAGS): Likewise.
32897         (CFLAGS-tst-audit10.c): Likewise.
32898         (CFLAGS-tst-auditmod10a.c): Likewise.
32899         (CFLAGS-tst-auditmod10b.c): Likewise.
32900         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32901         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32902         * sysdeps/x86_64/configure: Regenerated.
32903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32904         AVX-512 zmm register support.
32905         (_dl_x86_64_save_sse): Likewise.
32906         (_dl_x86_64_restore_sse): Likewise.
32907         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32908         size vector registers.
32909         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32910         (ZMM_SIZE): Likewise.
32911         * sysdeps/x86_64/tst-audit10.c: New file.
32912         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32913         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32915 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32917         * configure.ac (HAVE_EHDR_START): New check.
32918         * configure: Regenerated.
32919         * config.h.in (HAVE_EHDR_START): New #undef.
32920         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32921         assuming the lowest-addressed segment maps the start of the file.
32923 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32925         * INSTALL: Regenerated.
32927 2014-03-13  Will Newton  <will.newton@linaro.org>
32929         * manual/setjmp.texi (System V contexts): Improve
32930         clarity and grammar of documentation.
32932 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32934         [BZ #16381]
32935         * elf/Makefile (tests): Add tst-pie2.
32936         (tests-pie): Add tst-pie2.
32937         * elf/tst-pie2.c: New file.
32938         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32939         for ET_EXEC.
32940         * elf/rtld.c (map_doit): Load executable as lt_executable.
32941         (dl_main): Likewise.
32943 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32945         [BZ #16642]
32946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32947         (__ASSUME_PSELECT): Undefine.
32949 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32951         [BZ #16689]
32952         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32953         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32954         static build.
32955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32956         selector for static builds.
32958 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32960         [BZ #16695]
32961         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32962         key in the buffer.
32964 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32966         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32967         IFUNC selector for static builds.
32969 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32971         * sysdeps/mips/math_private.h [__mips_hard_float]
32972         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32973         libc_feresetround_mips_ctx.
32974         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32975         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32976         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32978         [BZ #16677]
32979         * math/s_nextafter.c (__nextafter): Do not return value from
32980         overflowing computation.
32981         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32982         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32984         Likewise.
32985         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32986         Likewise.
32987         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32988         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32990 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32992         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32993         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32994         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32995         the new mov targetting sp.
32997 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32999         [BZ #16683]
33000         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33001         Define it for static builds as well.
33002         (NO_BZERO_IMPL): Likewise.
33004 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33006         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33007         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33008         multiarch strspn for PPC64.
33009         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33010         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33012         (__libc_ifunc_impl_list): Likewise.
33013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33014         multiarch optimizations
33015         * string/strspn.c (strspn): Using macro to redefine symbol name.
33017 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33020         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33021         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33022         multiarch strncat for PPC64.
33023         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33024         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33026         (__libc_ifunc_impl_list): Likewise.
33027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33028         multiarch optimizations
33030 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33032         [BZ #16639]
33033         * nscd/nscd.service: Make service type forking.
33035 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33037         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33038         sign in non default rounding modes.
33039         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33041 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33043         * math/libm-test.inc (ALL_RM_TEST): New macro.
33044         (ceil_test): Use ALL_RM_TEST.
33045         (cimag_test): Likewise.
33046         (conj_test): Likewise.
33047         (copysign_test): Likewise.
33048         (cproj_test): Likewise.
33049         (creal_test): Likewise.
33050         (fabs_test): Likewise.
33051         (floor_test): Likewise.
33052         (fmax_test): Likewise.
33053         (fmin_test): Likewise.
33054         (fmod_test): Likewise.
33055         (fpclassify_test): Likewise.
33056         (frexp_test): Likewise.
33057         (ilogb_test): Likewise.
33058         (isfinite_test): Likewise.
33059         (finite_test): Likewise.
33060         (isgreater_test): Likewise.
33061         (isgreaterequal_test): Likewise.
33062         (isinf_test): Likewise.
33063         (isless_test): Likewise.
33064         (islessequal_test): Likewise.
33065         (islessgreater_test): Likewise.
33066         (isnan_test): Likewise.
33067         (isnormal_test): Likewise.
33068         (issignaling_test): Likewise.
33069         (isunordered_test): Likewise.
33070         (logb_test): Likewise.
33071         (logb_downward_test_data): Remove.
33072         (logb_test_downward): Likewise.
33073         (lround_test): Use ALL_RM_TEST.
33074         (llround_test): Likewise.
33075         (modf_test): Likewise.
33076         (nexttoward_test): Likewise.
33077         (remainder_test): Likewise.
33078         (drem_test): Likewise.
33079         (remainder_tonearest_test_data): Likewise.
33080         (remainder_test_tonearest): Likewise.
33081         (drem_test_tonearest): Likewise.
33082         (remainder_towardzero_test_data): Likewise.
33083         (remainder_test_towardzero): Likewise.
33084         (drem_test_towardzero): Likewise.
33085         (remainder_downward_test_data): Likewise.
33086         (remainder_test_downward): Likewise.
33087         (drem_test_downward): Likewise.
33088         (remainder_upward_test_data): Likewise.
33089         (remainder_test_upward): Likewise.
33090         (drem_test_upward): Likewise.
33091         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33092         (round_test): Use ALL_RM_TEST.
33093         (signbit_test): Likewise.
33094         (trunc_test): Likewise.
33095         (significand_test): Likewise.
33096         (main): Don't call removed functions.
33098 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33100         [BZ #16674]
33101         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33102         || __USE_XOPEN2K8].
33103         (ILL_ILLOPN): Likewise.
33104         (ILL_ILLADR): Likewise.
33105         (ILL_ILLTRP): Likewise.
33106         (ILL_PRVOPC): Likewise.
33107         (ILL_PRVREG): Likewise.
33108         (ILL_COPROC): Likewise.
33109         (ILL_BADSTK): Likewise.
33110         (FPE_INTDIV): Likewise.
33111         (FPE_INTOVF): Likewise.
33112         (FPE_FLTDIV): Likewise.
33113         (FPE_FLTOVF): Likewise.
33114         (FPE_FLTUND): Likewise.
33115         (FPE_FLTRES): Likewise.
33116         (FPE_FLTINV): Likewise.
33117         (FPE_FLTSUB): Likewise.
33118         (SEGV_MAPERR): Likewise.
33119         (SEGV_ACCERR): Likewise.
33120         (BUS_ADRALN): Likewise.
33121         (BUS_ADRERR): Likewise.
33122         (BUS_OBJERR): Likewise.
33123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33124         (TRAP_TRACE): Likewise.
33125         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33126         __USE_XOPEN2K8].
33127         (CLD_KILLED): Likewise.
33128         (CLD_DUMPED): Likewise.
33129         (CLD_TRAPPED): Likewise.
33130         (CLD_STOPPED): Likewise.
33131         (CLD_CONTINUED): Likewise.
33132         (POLL_IN): Likewise.
33133         (POLL_OUT): Likewise.
33134         (POLL_MSG): Likewise.
33135         (POLL_ERR): Likewise.
33136         (POLL_PRI): Likewise.
33137         (POLL_HUP): Likewise.
33138         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33139         Likewise.
33140         (ILL_ILLOPN): Likewise.
33141         (ILL_ILLADR): Likewise.
33142         (ILL_ILLTRP): Likewise.
33143         (ILL_PRVOPC): Likewise.
33144         (ILL_PRVREG): Likewise.
33145         (ILL_COPROC): Likewise.
33146         (ILL_BADSTK): Likewise.
33147         (FPE_INTDIV): Likewise.
33148         (FPE_INTOVF): Likewise.
33149         (FPE_FLTDIV): Likewise.
33150         (FPE_FLTOVF): Likewise.
33151         (FPE_FLTUND): Likewise.
33152         (FPE_FLTRES): Likewise.
33153         (FPE_FLTINV): Likewise.
33154         (FPE_FLTSUB): Likewise.
33155         (SEGV_MAPERR): Likewise.
33156         (SEGV_ACCERR): Likewise.
33157         (BUS_ADRALN): Likewise.
33158         (BUS_ADRERR): Likewise.
33159         (BUS_OBJERR): Likewise.
33160         (BUS_MCEERR_AR): Likewise.
33161         (BUS_MCEERR_AO): Likewise.
33162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33163         (TRAP_TRACE): Likewise.
33164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33165         __USE_XOPEN2K8].
33166         (CLD_KILLED): Likewise.
33167         (CLD_DUMPED): Likewise.
33168         (CLD_TRAPPED): Likewise.
33169         (CLD_STOPPED): Likewise.
33170         (CLD_CONTINUED): Likewise.
33171         (POLL_IN): Likewise.
33172         (POLL_OUT): Likewise.
33173         (POLL_MSG): Likewise.
33174         (POLL_ERR): Likewise.
33175         (POLL_PRI): Likewise.
33176         (POLL_HUP): Likewise.
33177         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33178         (ILL_ILLOPN): Likewise.
33179         (ILL_ILLADR): Likewise.
33180         (ILL_ILLTRP): Likewise.
33181         (ILL_PRVOPC): Likewise.
33182         (ILL_PRVREG): Likewise.
33183         (ILL_COPROC): Likewise.
33184         (ILL_BADSTK): Likewise.
33185         (FPE_INTDIV): Likewise.
33186         (FPE_INTOVF): Likewise.
33187         (FPE_FLTDIV): Likewise.
33188         (FPE_FLTOVF): Likewise.
33189         (FPE_FLTUND): Likewise.
33190         (FPE_FLTRES): Likewise.
33191         (FPE_FLTINV): Likewise.
33192         (FPE_FLTSUB): Likewise.
33193         (SEGV_MAPERR): Likewise.
33194         (SEGV_ACCERR): Likewise.
33195         (BUS_ADRALN): Likewise.
33196         (BUS_ADRERR): Likewise.
33197         (BUS_OBJERR): Likewise.
33198         (BUS_MCEERR_AR): Likewise.
33199         (BUS_MCEERR_AO): Likewise.
33200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33201         (TRAP_TRACE): Likewise.
33202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33203         __USE_XOPEN2K8].
33204         (CLD_KILLED): Likewise.
33205         (CLD_DUMPED): Likewise.
33206         (CLD_TRAPPED): Likewise.
33207         (CLD_STOPPED): Likewise.
33208         (CLD_CONTINUED): Likewise.
33209         (POLL_IN): Likewise.
33210         (POLL_OUT): Likewise.
33211         (POLL_MSG): Likewise.
33212         (POLL_ERR): Likewise.
33213         (POLL_PRI): Likewise.
33214         (POLL_HUP): Likewise.
33215         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33216         Likewise.
33217         (ILL_ILLOPN): Likewise.
33218         (ILL_ILLADR): Likewise.
33219         (ILL_ILLTRP): Likewise.
33220         (ILL_PRVOPC): Likewise.
33221         (ILL_PRVREG): Likewise.
33222         (ILL_COPROC): Likewise.
33223         (ILL_BADSTK): Likewise.
33224         (ILL_BADIADDR): Likewise.
33225         (ILL_BREAK): Likewise.
33226         (FPE_INTDIV): Likewise.
33227         (FPE_INTOVF): Likewise.
33228         (FPE_FLTDIV): Likewise.
33229         (FPE_FLTOVF): Likewise.
33230         (FPE_FLTUND): Likewise.
33231         (FPE_FLTRES): Likewise.
33232         (FPE_FLTINV): Likewise.
33233         (FPE_FLTSUB): Likewise.
33234         (FPE_DECOVF): Likewise.
33235         (FPE_DECDIV): Likewise.
33236         (FPE_DECERR): Likewise.
33237         (FPE_INVASC): Likewise.
33238         (FPE_INVDEC): Likewise.
33239         (SEGV_MAPERR): Likewise.
33240         (SEGV_ACCERR): Likewise.
33241         (SEGV_PSTKOVF): Likewise.
33242         (BUS_ADRALN): Likewise.
33243         (BUS_ADRERR): Likewise.
33244         (BUS_OBJERR): Likewise.
33245         (BUS_MCEERR_AR): Likewise.
33246         (BUS_MCEERR_AO): Likewise.
33247         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33248         (TRAP_TRACE): Likewise.
33249         (TRAP_BRANCH): Likewise.
33250         (TRAP_HWBKPT): Likewise.
33251         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33252         __USE_XOPEN2K8].
33253         (CLD_KILLED): Likewise.
33254         (CLD_DUMPED): Likewise.
33255         (CLD_TRAPPED): Likewise.
33256         (CLD_STOPPED): Likewise.
33257         (CLD_CONTINUED): Likewise.
33258         (POLL_IN): Likewise.
33259         (POLL_OUT): Likewise.
33260         (POLL_MSG): Likewise.
33261         (POLL_ERR): Likewise.
33262         (POLL_PRI): Likewise.
33263         (POLL_HUP): Likewise.
33264         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33265         (ILL_ILLOPN): Likewise.
33266         (ILL_ILLADR): Likewise.
33267         (ILL_ILLTRP): Likewise.
33268         (ILL_PRVOPC): Likewise.
33269         (ILL_PRVREG): Likewise.
33270         (ILL_COPROC): Likewise.
33271         (ILL_BADSTK): Likewise.
33272         (FPE_INTDIV): Likewise.
33273         (FPE_INTOVF): Likewise.
33274         (FPE_FLTDIV): Likewise.
33275         (FPE_FLTOVF): Likewise.
33276         (FPE_FLTUND): Likewise.
33277         (FPE_FLTRES): Likewise.
33278         (FPE_FLTINV): Likewise.
33279         (FPE_FLTSUB): Likewise.
33280         (SEGV_MAPERR): Likewise.
33281         (SEGV_ACCERR): Likewise.
33282         (BUS_ADRALN): Likewise.
33283         (BUS_ADRERR): Likewise.
33284         (BUS_OBJERR): Likewise.
33285         (BUS_MCEERR_AR): Likewise.
33286         (BUS_MCEERR_AO): Likewise.
33287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33288         (TRAP_TRACE): Likewise.
33289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33290         __USE_XOPEN2K8].
33291         (CLD_KILLED): Likewise.
33292         (CLD_DUMPED): Likewise.
33293         (CLD_TRAPPED): Likewise.
33294         (CLD_STOPPED): Likewise.
33295         (CLD_CONTINUED): Likewise.
33296         (POLL_IN): Likewise.
33297         (POLL_OUT): Likewise.
33298         (POLL_MSG): Likewise.
33299         (POLL_ERR): Likewise.
33300         (POLL_PRI): Likewise.
33301         (POLL_HUP): Likewise.
33302         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33303         (ILL_ILLOPN): Likewise.
33304         (ILL_ILLADR): Likewise.
33305         (ILL_ILLTRP): Likewise.
33306         (ILL_PRVOPC): Likewise.
33307         (ILL_PRVREG): Likewise.
33308         (ILL_COPROC): Likewise.
33309         (ILL_BADSTK): Likewise.
33310         (FPE_INTDIV): Likewise.
33311         (FPE_INTOVF): Likewise.
33312         (FPE_FLTDIV): Likewise.
33313         (FPE_FLTOVF): Likewise.
33314         (FPE_FLTUND): Likewise.
33315         (FPE_FLTRES): Likewise.
33316         (FPE_FLTINV): Likewise.
33317         (FPE_FLTSUB): Likewise.
33318         (SEGV_MAPERR): Likewise.
33319         (SEGV_ACCERR): Likewise.
33320         (BUS_ADRALN): Likewise.
33321         (BUS_ADRERR): Likewise.
33322         (BUS_OBJERR): Likewise.
33323         (BUS_MCEERR_AR): Likewise.
33324         (BUS_MCEERR_AO): Likewise.
33325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33326         (TRAP_TRACE): Likewise.
33327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33328         __USE_XOPEN2K8].
33329         (CLD_KILLED): Likewise.
33330         (CLD_DUMPED): Likewise.
33331         (CLD_TRAPPED): Likewise.
33332         (CLD_STOPPED): Likewise.
33333         (CLD_CONTINUED): Likewise.
33334         (POLL_IN): Likewise.
33335         (POLL_OUT): Likewise.
33336         (POLL_MSG): Likewise.
33337         (POLL_ERR): Likewise.
33338         (POLL_PRI): Likewise.
33339         (POLL_HUP): Likewise.
33340         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33341         (ILL_ILLOPN): Likewise.
33342         (ILL_ILLADR): Likewise.
33343         (ILL_ILLTRP): Likewise.
33344         (ILL_PRVOPC): Likewise.
33345         (ILL_PRVREG): Likewise.
33346         (ILL_COPROC): Likewise.
33347         (ILL_BADSTK): Likewise.
33348         (FPE_INTDIV): Likewise.
33349         (FPE_INTOVF): Likewise.
33350         (FPE_FLTDIV): Likewise.
33351         (FPE_FLTOVF): Likewise.
33352         (FPE_FLTUND): Likewise.
33353         (FPE_FLTRES): Likewise.
33354         (FPE_FLTINV): Likewise.
33355         (FPE_FLTSUB): Likewise.
33356         (SEGV_MAPERR): Likewise.
33357         (SEGV_ACCERR): Likewise.
33358         (BUS_ADRALN): Likewise.
33359         (BUS_ADRERR): Likewise.
33360         (BUS_OBJERR): Likewise.
33361         (BUS_MCEERR_AR): Likewise.
33362         (BUS_MCEERR_AO): Likewise.
33363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33364         (TRAP_TRACE): Likewise.
33365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33366         __USE_XOPEN2K8].
33367         (CLD_KILLED): Likewise.
33368         (CLD_DUMPED): Likewise.
33369         (CLD_TRAPPED): Likewise.
33370         (CLD_STOPPED): Likewise.
33371         (CLD_CONTINUED): Likewise.
33372         (POLL_IN): Likewise.
33373         (POLL_OUT): Likewise.
33374         (POLL_MSG): Likewise.
33375         (POLL_ERR): Likewise.
33376         (POLL_PRI): Likewise.
33377         (POLL_HUP): Likewise.
33378         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33379         (ILL_ILLOPN): Likewise.
33380         (ILL_ILLADR): Likewise.
33381         (ILL_ILLTRP): Likewise.
33382         (ILL_PRVOPC): Likewise.
33383         (ILL_PRVREG): Likewise.
33384         (ILL_COPROC): Likewise.
33385         (ILL_BADSTK): Likewise.
33386         (ILL_DBLFLT): Likewise.
33387         (ILL_HARDWALL): Likewise.
33388         (FPE_INTDIV): Likewise.
33389         (FPE_INTOVF): Likewise.
33390         (FPE_FLTDIV): Likewise.
33391         (FPE_FLTOVF): Likewise.
33392         (FPE_FLTUND): Likewise.
33393         (FPE_FLTRES): Likewise.
33394         (FPE_FLTINV): Likewise.
33395         (FPE_FLTSUB): Likewise.
33396         (SEGV_MAPERR): Likewise.
33397         (SEGV_ACCERR): Likewise.
33398         (BUS_ADRALN): Likewise.
33399         (BUS_ADRERR): Likewise.
33400         (BUS_OBJERR): Likewise.
33401         (BUS_MCEERR_AR): Likewise.
33402         (BUS_MCEERR_AO): Likewise.
33403         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33404         (TRAP_TRACE): Likewise.
33405         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33406         __USE_XOPEN2K8].
33407         (CLD_KILLED): Likewise.
33408         (CLD_DUMPED): Likewise.
33409         (CLD_TRAPPED): Likewise.
33410         (CLD_STOPPED): Likewise.
33411         (CLD_CONTINUED): Likewise.
33412         (POLL_IN): Likewise.
33413         (POLL_OUT): Likewise.
33414         (POLL_MSG): Likewise.
33415         (POLL_ERR): Likewise.
33416         (POLL_PRI): Likewise.
33417         (POLL_HUP): Likewise.
33418         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33419         (ILL_ILLOPN): Likewise.
33420         (ILL_ILLADR): Likewise.
33421         (ILL_ILLTRP): Likewise.
33422         (ILL_PRVOPC): Likewise.
33423         (ILL_PRVREG): Likewise.
33424         (ILL_COPROC): Likewise.
33425         (ILL_BADSTK): Likewise.
33426         (FPE_INTDIV): Likewise.
33427         (FPE_INTOVF): Likewise.
33428         (FPE_FLTDIV): Likewise.
33429         (FPE_FLTOVF): Likewise.
33430         (FPE_FLTUND): Likewise.
33431         (FPE_FLTRES): Likewise.
33432         (FPE_FLTINV): Likewise.
33433         (FPE_FLTSUB): Likewise.
33434         (SEGV_MAPERR): Likewise.
33435         (SEGV_ACCERR): Likewise.
33436         (BUS_ADRALN): Likewise.
33437         (BUS_ADRERR): Likewise.
33438         (BUS_OBJERR): Likewise.
33439         (BUS_MCEERR_AR): Likewise.
33440         (BUS_MCEERR_AO): Likewise.
33441         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33442         (TRAP_TRACE): Likewise.
33443         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33444         __USE_XOPEN2K8].
33445         (CLD_KILLED): Likewise.
33446         (CLD_DUMPED): Likewise.
33447         (CLD_TRAPPED): Likewise.
33448         (CLD_STOPPED): Likewise.
33449         (CLD_CONTINUED): Likewise.
33450         (POLL_IN): Likewise.
33451         (POLL_OUT): Likewise.
33452         (POLL_MSG): Likewise.
33453         (POLL_ERR): Likewise.
33454         (POLL_PRI): Likewise.
33455         (POLL_HUP): Likewise.
33456         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33457         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33459         [BZ #16670]
33460         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33461         before #include of <time.h>.
33462         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33463         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33464         (test-xfail-UNIX98/sched.h/conform): Likewise.
33466 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33468         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33469         error absence of trapping exception support.
33470         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33472 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33474         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33475         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33476         * timezone/Makefile (testdata): Move definition above include of
33477         Rules.
33478         (test-zones): New variable.
33479         (tests-special): Add zone files.
33480         (build-testdata): Use $(evaluate-test).
33482         * elf/Makefile (tests-special): Rename tests to end with .out.
33483         ($(objpfx)noload-mem): Likewise.
33484         ($(objpfx)tst-leaks1-mem): Likewise.
33485         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33486         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33487         $(objpfx)test-iconvconfig.out.
33488         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33489         set -e inside subshell and redirect output to file.
33490         * iconvdata/Makefile (generated): Rename tests to end with .out.
33491         Correct type.
33492         (tests-special): Rename tests to end with .out.
33493         ($(objpfx)mtrace-tst-loading): Likewise.
33494         * intl/Makefile (generated): Likewise.
33495         (tests-special): Likewise.
33496         ($(objpfx)mtrace-tst-gettext): Likewise.
33497         * misc/Makefile (generated): Likewise.
33498         (tests-special): Likewise.
33499         ($(objpfx)tst-error1-mem): Likewise.
33500         * nptl/Makefile (tests-special): Likewise.
33501         ($(objpfx)tst-stack3-mem): Likewise.
33502         (generated): Likewise.
33503         * posix/Makefile (generated): Likewise.
33504         (tests-special): Likewise.
33505         (xtests-special): Likewise.
33506         ($(objpfx)tst-fnmatch-mem): Likewise.
33507         ($(objpfx)bug-regex2-mem): Likewise.
33508         ($(objpfx)bug-regex14-mem): Likewise.
33509         ($(objpfx)bug-regex21-mem): Likewise.
33510         ($(objpfx)bug-regex31-mem): Likewise.
33511         ($(objpfx)tst-vfork3-mem): Likewise.
33512         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33513         ($(objpfx)tst-pcre-mem): Likewise.
33514         ($(objpfx)tst-boost-mem): Likewise.
33515         ($(objpfx)bug-ga2-mem): Likewise.
33516         ($(objpfx)bug-glob2-mem): Likewise.
33517         * resolv/Makefile (generate): Likewise.
33518         (tests-special): Likewise.
33519         (xtests-special): Likewise.
33520         (generated): Likewise.
33521         ($(objpfx)mtrace-tst-leaks): Likewise.
33522         ($(objpfx)mtrace-tst-leaks2): Likewise.
33524         * scripts/merge-test-results.sh: New file.
33525         * Makefile (tests-special-notdir): New variable.
33526         (tests): Run merge-test-results.sh.
33527         (xtests): Likewise.
33528         * Rules (tests-special-notdir): New variable.
33529         (xtests-special-notdir): Likewise.
33530         (tests): Run merge-test-results.sh
33531         (xtests): Likewise.
33533         * Makeconfig (test-xfail-name): New variable.
33534         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33535         compute variable name for expected failures.
33536         * conform/Makefile (conformtest-headers-data): New variable.
33537         (conformtest-standards): Likewise.
33538         (conformtest-headers-ISO): Likewise.
33539         (conformtest-headers-ISO99): Likewise.
33540         (conformtest-headers-ISO11): Likewise.
33541         (conformtest-headers-POSIX): Likewise.
33542         (conformtest-headers-XPG3): Likewise.
33543         (conformtest-headers-XPG4): Likewise.
33544         (conformtest-headers-UNIX98): Likewise.
33545         (conformtest-headers-XOPEN2K): Likewise.
33546         (conformtest-headers-POSIX2008): Likewise.
33547         (conformtest-headers-XOPEN2K8): Likewise.
33548         (conformtest-header-list-base): Likewise.
33549         (conformtest-header-list-tests): Likewise.
33550         (conformtest-header-base): Likewise.
33551         (conformtest-header-tests): Likewise.
33552         (tests-special): Add $(conformtest-header-list-tests).  If
33553         [$(fast-check) && !$(cross-compiling)], add
33554         $(conformtest-header-tests) instead of
33555         $(objpfx)run-conformtest.out.
33556         (generated): Add $(conformtest-header-list-base).  If
33557         [$(fast-check) && !$(cross-compiling)], add
33558         $(conformtest-header-base).  Remove previous setting.
33559         ($(conformtest-header-list-tests)): New target.
33560         (test-xfail-run-conformtest): Remove variable.
33561         ($(objpfx)run-conformtest.out): Remove target.
33562         (test-xfail-ISO11/complex.h/conform): New variable.
33563         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33564         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33565         (test-xfail-XPG3/varargs.h/conform): Likewise.
33566         (test-xfail-XPG4/varargs.h/conform): Likewise.
33567         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33568         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33569         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33570         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33571         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33572         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33573         (test-xfail-XPG3/ftw.h/conform): Likewise.
33574         (test-xfail-XPG3/grp.h/conform): Likewise.
33575         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33576         (test-xfail-XPG3/limits.h/conform): Likewise.
33577         (test-xfail-XPG3/pwd.h/conform): Likewise.
33578         (test-xfail-XPG3/search.h/conform): Likewise.
33579         (test-xfail-XPG3/signal.h/conform): Likewise.
33580         (test-xfail-XPG3/stdio.h/conform): Likewise.
33581         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33582         (test-xfail-XPG3/string.h/conform): Likewise.
33583         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33584         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33585         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33586         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33587         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33588         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33589         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33590         (test-xfail-XPG3/termios.h/conform): Likewise.
33591         (test-xfail-XPG3/time.h/conform): Likewise.
33592         (test-xfail-XPG3/unistd.h/conform): Likewise.
33593         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33594         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33595         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33596         (test-xfail-XPG4/netdb.h/conform): Likewise.
33597         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33598         (test-xfail-XPG4/signal.h/conform): Likewise.
33599         (test-xfail-XPG4/stdio.h/conform): Likewise.
33600         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33601         (test-xfail-XPG4/stropts.h/conform): Likewise.
33602         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33603         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33604         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33605         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33606         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33607         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33608         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33609         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33610         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33611         (test-xfail-XPG4/termios.h/conform): Likewise.
33612         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33613         (test-xfail-XPG4/unistd.h/conform): Likewise.
33614         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33615         (test-xfail-POSIX/sched.h/conform): Likewise.
33616         (test-xfail-POSIX/signal.h/conform): Likewise.
33617         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33618         (test-xfail-POSIX/tar.h/conform): Likewise.
33619         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33620         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33621         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33622         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33623         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33624         (test-xfail-UNIX98/sched.h/conform): Likewise.
33625         (test-xfail-UNIX98/signal.h/conform): Likewise.
33626         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33627         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33628         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33629         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33630         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33631         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33632         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33633         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33634         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33635         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33636         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33637         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33638         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33639         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33640         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33641         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33642         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33643         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33644         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33645         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33646         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33647         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33648         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33649         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33650         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33651         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33652         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33653         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33654         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33655         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33656         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33657         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33658         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33659         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33660         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33661         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33662         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33663         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33664         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33665         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33666         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33667         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33668         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33669         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33670         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33671         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33672         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33673         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33674         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33675         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33676         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33677         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33678         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33679         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33680         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33681         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33682         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33683         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33684         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33685         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33686         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33687         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33688         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33689         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33690         (conformtest-cc-flags): Likewise.
33691         ($(conformtest-header-tests): New target.
33692         * conform/check-header-lists.sh: New file.
33693         * conform/run-conformtest.sh: Remove.
33695         * conform/conformtest.pl: Allow ' and \ in values given for
33696         constants.
33697         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33698         inclusion.
33699         [POSIX] (sys/types.h): Likewise.
33700         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33701         inclusion.
33702         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33703         inclusion.
33704         * conform/data/signal.h-data (SIGIO): Remove expectation.
33705         [XPG3] (SIGBUS): Do not expect.
33706         [POSIX || XPG3] (SIGPOLL): Likewise.
33707         [POSIX || XPG3] (SIGPROF): Likewise.
33708         [POSIX || XPG3] (SIGSYS): Likewise.
33709         [XPG3] (SIGTRAP): Likewise.
33710         [POSIX || XPG3] (SIGURG): Likewise.
33711         [POSIX || XPG3] (SIGVTALRM): Likewise.
33712         [POSIX || XPG3] (SIGXCPU): Likewise.
33713         [POSIX || XPG3] (SIGXFSZ): Likewise.
33714         [POSIX] (SA_SIGINFO): Expect.
33715         [XPG3] (siginfo_t): Do not expect type or contents.
33716         [POSIX] (si_pid): Do not expect element.
33717         [POSIX] (si_uid): Likewise.
33718         [POSIX] (si_addr): Likewise.
33719         [POSIX] (si_status): Likewise.
33720         [POSIX] (si_band): Likewise.
33721         [XPG4] (si_value): Likewise.
33722         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33723         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33724         [POSIX || XPG3] (ILL_ILLADR): Likewise.
33725         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33726         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33727         [POSIX || XPG3] (ILL_PRVREG): Likewise.
33728         [POSIX || XPG3] (ILL_COPROC): Likewise.
33729         [POSIX || XPG3] (ILL_BADSTK): Likewise.
33730         [POSIX || XPG3] (FPE_INTDIV): Likewise.
33731         [POSIX || XPG3] (FPE_INTOVF): Likewise.
33732         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33733         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33734         [POSIX || XPG3] (FPE_FLTUND): Likewise.
33735         [POSIX || XPG3] (FPE_FLTRES): Likewise.
33736         [POSIX || XPG3] (FPE_FLTINV): Likewise.
33737         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33738         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33739         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33740         [POSIX || XPG3] (BUS_ADRALN): Likewise.
33741         [POSIX || XPG3] (BUS_ADRERR): Likewise.
33742         [POSIX || XPG3] (BUS_OBJERR): Likewise.
33743         [POSIX || XPG3] (CLD_EXITED): Likewise.
33744         [POSIX || XPG3] (CLD_KILLED): Likewise.
33745         [POSIX || XPG3] (CLD_DUMPED): Likewise.
33746         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33747         [POSIX || XPG3] (CLD_STOPPED): Likewise.
33748         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33749         [POSIX || XPG3] (POLL_IN): Likewise.
33750         [POSIX || XPG3] (POLL_OUT): Likewise.
33751         [POSIX || XPG3] (POLL_MSG): Likewise.
33752         [POSIX || XPG3] (POLL_ERR): Likewise.
33753         [POSIX || XPG3] (POLL_PRI): Likewise.
33754         [POSIX || XPG3] (POLL_HUP): Likewise.
33755         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33756         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33757         (SIG*): Do not allow.
33758         [XPG3] (si_*): Likewise.
33759         [XPG3] (SI_*): Likewise.
33760         [XPG3 || XPG4] (sigev_*): Likewise.
33761         [XPG3 || XPG4] (SIGEV_*): Likewise.
33762         [XPG3 || XPG4] (sival_*): Likewise.
33763         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33764         [POSIX || XPG3] (BUS_*): Likewise.
33765         [POSIX || XPG3] (CLD_*): Likewise.
33766         [POSIX || XPG3] (FPE_*): Likewise.
33767         [POSIX || XPG3] (ILL_*): Likewise.
33768         [POSIX || XPG3] (POLL_*): Likewise.
33769         [POSIX || XPG3] (SEGV_*): Likewise.
33770         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33771         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33772         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33773         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33774         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33775         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33776         Specify type and value.
33777         (TVERSLEN): Likewise.
33778         (REGTYPE): Likewise.
33779         (AREGTYPE): Likewise.
33780         (LNKTYPE): Likewise.
33781         (SYMTYPE): Likewise.
33782         (CHRTYPE): Likewise.
33783         (BLKTYPE): Likewise.
33784         (DIRTYPE): Likewise.
33785         (FIFOTYPE): Likewise.
33786         (CONTTYPE): Likewise.
33787         (TSUID): Likewise.
33788         (TSGID): Likewise.
33789         (TSVTX): Likewise.
33790         (TUREAD): Likewise.
33791         (TUWRITE): Likewise.
33792         (TUEXEC): Likewise.
33793         (TGREAD): Likewise.
33794         (TGWRITE): Likewise.
33795         (TGEXEC): Likewise.
33796         (TOREAD): Likewise.
33797         (TOWRITE): Likewise.
33798         (TOEXEC): Likewise.
33799         [POSIX] (TSVTX): Expect constant.
33801 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33803         * Makefile (tests): Change dependencies to ....
33804         (tests-special): ... additions to this variable.
33805         (tests): Depend on $(tests-special).
33806         * Makerules (check-abi-list): New variable.
33807         (check-abi): Depend on $(check-abi-list).
33808         [$(subdir) = elf] (tests-special): Add
33809         $(objpfx)check-abi-libc.out.
33810         [$(build-shared) = yes && subdir] (tests-special): Add
33811         $(check-abi-list).
33812         [$(build-shared) = yes && subdir] (tests): Do not depend on
33813         check-abi.
33814         * Rules (tests): Depend on $(tests-special).
33815         (xtests): Depend on $(xtests-special).
33816         * catgets/Makefile (tests): Change dependencies to ....
33817         (tests-special): ... additions to this variable.
33818         * conform/Makefile (tests): Change dependencies to ....
33819         (tests-special): ... additions to this variable.
33820         * elf/Makefile (tests): Change dependencies to ....
33821         (tests-special): ... additions to this variable.
33822         * grp/Makefile (tests): Change dependencies to ....
33823         (tests-special): ... additions to this variable.
33824         * iconv/Makefile (xtests): Change dependencies to ....
33825         (xtests-special): ... additions to this variable.
33826         * iconvdata/Makefile (tests): Change dependencies to ....
33827         (tests-special): ... additions to this variable.
33828         * intl/Makefile (tests): Change dependencies to ....
33829         (tests-special): ... additions to this variable.  Also add
33830         $(objpfx)tst-gettext.out.
33831         * io/Makefile (tests): Change dependencies to ....
33832         (tests-special): ... additions to this variable.
33833         * libio/Makefile (tests): Change dependencies to ....
33834         (tests-special): ... additions to this variable.
33835         * malloc/Makefile (tests): Change dependencies to ....
33836         (tests-special): ... additions to this variable.
33837         * misc/Makefile (tests): Change dependencies to ....
33838         (tests-special): ... additions to this variable.
33839         * nptl/Makefile (tests): Change dependencies to ....
33840         (tests-special): ... additions to this variable.
33841         * nptl_db/Makefile (tests): Change dependencies to ....
33842         (tests-special): ... additions to this variable.
33843         * posix/Makefile (tests): Change dependencies to ....
33844         (tests-special): ... additions to this variable.
33845         (xtests): Change dependencies to ....
33846         (xtests-special): ... additions to this variable.
33847         * resolv/Makefile (tests): Change dependencies to ....
33848         (tests-special): ... additions to this variable.
33849         (xtests): Change dependencies to ....
33850         (xtests-special): ... additions to this variable.
33851         * stdio-common/Makefile (tests): Change dependencies to ....
33852         (tests-special): ... additions to this variable.
33853         (do-tst-unbputc): Remove target.
33854         (do-tst-printf): Likewise.
33855         * stdlib/Makefile (tests): Change dependencies to ....
33856         (tests-special): ... additions to this variable.
33857         * string/Makefile (tests): Change dependencies to ....
33858         (tests-special): ... additions to this variable.
33859         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33860         (tests-special): ... additions to this variable.
33862         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33863         whole file.
33864         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33865         whole file.
33866         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33867         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33869         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33870         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33871         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33872         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33873         * conform/data/libgen.h-data [XPG3]: Likewise.
33874         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33875         * conform/data/ndbm.h-data [XPG3]: Likewise.
33876         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33877         * conform/data/netdb.h-data [XPG3]: Likewise.
33878         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33879         * conform/data/poll.h-data [XPG3]: Likewise.
33880         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33881         * conform/data/strings.h-data [XPG3]: Likewise.
33882         * conform/data/stropts.h-data [XPG3]: Likewise.
33883         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33884         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33885         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33886         Likewise.
33887         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33888         * conform/data/sys/time.h-data [XPG3]: Likewise.
33889         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33890         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33891         * conform/data/sys/un.h-data [XPG3]: Likewise.
33892         * conform/data/syslog.h-data [XPG3]: Likewise.
33893         * conform/data/ucontext.h-data [XPG3]: Likewise.
33894         * conform/data/utmpx.h-data [XPG3]: Likewise.
33895         * conform/data/varargs.h-data [UNIX98]: Enable file.
33897         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33899         * math/libm-test.inc (struct test_f_f_data): Move expected results
33900         into structure for each rounding mode.
33901         (struct test_ff_f_data): Likewise.
33902         (struct test_ff_f_data_nexttoward): Likewise.
33903         (struct test_fi_f_data): Likewise.
33904         (struct test_fl_f_data): Likewise.
33905         (struct test_if_f_data): Likewise.
33906         (struct test_fff_f_data): Likewise.
33907         (struct test_c_f_data): Likewise.
33908         (struct test_f_f1_data): Likewise.
33909         (struct test_fF_f1_data): Likewise.
33910         (struct test_ffI_f1_data): Likewise.
33911         (struct test_c_c_data): Likewise.
33912         (struct test_cc_c_data): Likewise.
33913         (struct test_f_i_data): Likewise.
33914         (struct test_ff_i_data): Likewise.
33915         (struct test_f_l_data): Likewise.
33916         (struct test_f_L_data): Likewise.
33917         (struct test_fFF_11_data): Likewise.
33918         (RM_): New macro.
33919         (RM_FE_DOWNWARD): Likewise.
33920         (RM_FE_TONEAREST): Likewise.
33921         (RM_FE_TOWARDZERO): Likewise.
33922         (RM_FE_UPWARD): Likewise.
33923         (RUN_TEST_LOOP_f_f): Update references to expected results.
33924         (RUN_TEST_LOOP_2_f): Likewise.
33925         (RUN_TEST_LOOP_fff_f): Likewise.
33926         (RUN_TEST_LOOP_c_f): Likewise.
33927         (RUN_TEST_LOOP_f_f1): Likewise.
33928         (RUN_TEST_LOOP_fF_f1): Likewise.
33929         (RUN_TEST_LOOP_fI_f1): Likewise.
33930         (RUN_TEST_LOOP_ffI_f1): Likewise.
33931         (RUN_TEST_LOOP_c_c): Likewise.
33932         (RUN_TEST_LOOP_cc_c): Likewise.
33933         (RUN_TEST_LOOP_f_i): Likewise.
33934         (RUN_TEST_LOOP_f_i_tg): Likewise.
33935         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33936         (RUN_TEST_LOOP_f_b): Likewise.
33937         (RUN_TEST_LOOP_f_b_tg): Likewise.
33938         (RUN_TEST_LOOP_f_l): Likewise.
33939         (RUN_TEST_LOOP_f_L): Likewise.
33940         (RUN_TEST_LOOP_fFF_11): Likewise.
33941         * math/gen-libm-test.pl (parse_args): Output four copies of
33942         expected results for each test.
33944         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33945         (__ASSUME_UTIMES): Remove.
33946         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33947         (__ASSUME_UTIMES): Likewise.
33949         * math/gen-auto-libm-tests.c: Update comment on output format.
33950         (output_for_one_input_case): Generate before-rounding and
33951         after-rounding information as conditions on output flags not
33952         floating-point format.
33953         * math/auto-libm-test-out: Regenerated.
33954         * math/gen-libm-test.pl (cond_value): New function.
33955         (or_cond_value): Use cond_value.
33956         (generate_testfile): Handle conditional exceptions.
33958 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33960         * math/libm-test.inc (max_valid_error): New variable.
33961         (init_max_error): Take new argument specifying whether function
33962         results are exactly determined.  Set max_valid_error and bound
33963         other variables for errors based on this argument.
33964         (set_max_error): Do not record results above max_valid_error.
33965         (check_float_internal): Only accept errors of up to 0.5ulps if
33966         also at most max_valid_error.
33967         (START): Take new argument EXACT and pass it to init_max_error.
33968         (acos_test): Update call to START.
33969         (acos_test_tonearest): Likewise.
33970         (acos_test_towardzero): Likewise.
33971         (acos_test_downward): Likewise.
33972         (acos_test_upward): Likewise.
33973         (acosh_test): Likewise.
33974         (asin_test): Likewise.
33975         (asin_test_tonearest): Likewise.
33976         (asin_test_towardzero): Likewise.
33977         (asin_test_downward): Likewise.
33978         (asin_test_upward): Likewise.
33979         (asinh_test): Likewise.
33980         (atan_test): Likewise.
33981         (atanh_test): Likewise.
33982         (atan2_test): Likewise.
33983         (cabs_test): Likewise.
33984         (cacos_test): Likewise.
33985         (cacosh_test): Likewise.
33986         (carg_test): Likewise.
33987         (casin_test): Likewise.
33988         (casinh_test): Likewise.
33989         (catan_test): Likewise.
33990         (catanh_test): Likewise.
33991         (cbrt_test): Likewise.
33992         (ccos_test): Likewise.
33993         (ccosh_test): Likewise.
33994         (ceil_test): Likewise.
33995         (cexp_test): Likewise.
33996         (cimag_test): Likewise.
33997         (clog_test): Likewise.
33998         (clog10_test): Likewise.
33999         (conj_test): Likewise.
34000         (copysign_test): Likewise.
34001         (cos_test): Likewise.
34002         (cos_test_tonearest): Likewise.
34003         (cos_test_towardzero): Likewise.
34004         (cos_test_downward): Likewise.
34005         (cos_test_upward): Likewise.
34006         (cosh_test): Likewise.
34007         (cosh_test_tonearest): Likewise.
34008         (cosh_test_towardzero): Likewise.
34009         (cosh_test_downward): Likewise.
34010         (cosh_test_upward): Likewise.
34011         (cpow_test): Likewise.
34012         (cproj_test): Likewise.
34013         (creal_test): Likewise.
34014         (csin_test): Likewise.
34015         (csinh_test): Likewise.
34016         (csqrt_test): Likewise.
34017         (ctan_test): Likewise.
34018         (ctan_test_tonearest): Likewise.
34019         (ctan_test_towardzero): Likewise.
34020         (ctan_test_downward): Likewise.
34021         (ctan_test_upward): Likewise.
34022         (ctanh_test): Likewise.
34023         (ctanh_test_tonearest): Likewise.
34024         (ctanh_test_towardzero): Likewise.
34025         (ctanh_test_downward): Likewise.
34026         (ctanh_test_upward): Likewise.
34027         (erf_test): Likewise.
34028         (erfc_test): Likewise.
34029         (exp_test): Likewise.
34030         (exp_test_tonearest): Likewise.
34031         (exp_test_towardzero): Likewise.
34032         (exp_test_downward): Likewise.
34033         (exp_test_upward): Likewise.
34034         (exp10_test): Likewise.
34035         (exp10_test_tonearest): Likewise.
34036         (exp10_test_towardzero): Likewise.
34037         (exp10_test_downward): Likewise.
34038         (exp10_test_upward): Likewise.
34039         (pow10_test): Likewise.
34040         (exp2_test): Likewise.
34041         (expm1_test): Likewise.
34042         (expm1_test_tonearest): Likewise.
34043         (expm1_test_towardzero): Likewise.
34044         (expm1_test_downward): Likewise.
34045         (expm1_test_upward): Likewise.
34046         (fabs_test): Likewise.
34047         (fdim_test): Likewise.
34048         (floor_test): Likewise.
34049         (fma_test): Likewise.
34050         (fma_test_towardzero): Likewise.
34051         (fma_test_downward): Likewise.
34052         (fma_test_upward): Likewise.
34053         (fmax_test): Likewise.
34054         (fmin_test): Likewise.
34055         (fmod_test): Likewise.
34056         (fpclassify_test): Likewise.
34057         (frexp_test): Likewise.
34058         (hypot_test): Likewise.
34059         (ilogb_test): Likewise.
34060         (isfinite_test): Likewise.
34061         (finite_test): Likewise.
34062         (isgreater_test): Likewise.
34063         (isgreaterequal_test): Likewise.
34064         (isinf_test): Likewise.
34065         (isless_test): Likewise.
34066         (islessequal_test): Likewise.
34067         (islessgreater_test): Likewise.
34068         (isnan_test): Likewise.
34069         (isnormal_test): Likewise.
34070         (issignaling_test): Likewise.
34071         (isunordered_test): Likewise.
34072         (j0_test): Likewise.
34073         (j1_test): Likewise.
34074         (jn_test): Likewise.
34075         (ldexp_test): Likewise.
34076         (lgamma_test): Likewise.
34077         (gamma_test): Likewise.
34078         (lrint_test): Likewise.
34079         (lrint_test_tonearest): Likewise.
34080         (lrint_test_towardzero): Likewise.
34081         (lrint_test_downward): Likewise.
34082         (lrint_test_upward): Likewise.
34083         (llrint_test): Likewise.
34084         (llrint_test_tonearest): Likewise.
34085         (llrint_test_towardzero): Likewise.
34086         (llrint_test_downward): Likewise.
34087         (llrint_test_upward): Likewise.
34088         (log_test): Likewise.
34089         (log10_test): Likewise.
34090         (log1p_test): Likewise.
34091         (log2_test): Likewise.
34092         (logb_test): Likewise.
34093         (logb_test_downward): Likewise.
34094         (lround_test): Likewise.
34095         (llround_test): Likewise.
34096         (modf_test): Likewise.
34097         (nearbyint_test): Likewise.
34098         (nextafter_test): Likewise.
34099         (nexttoward_test): Likewise.
34100         (pow_test): Likewise.
34101         (pow_test_tonearest): Likewise.
34102         (pow_test_towardzero): Likewise.
34103         (pow_test_downward): Likewise.
34104         (pow_test_upward): Likewise.
34105         (remainder_test): Likewise.
34106         (drem_test): Likewise.
34107         (remainder_test_tonearest): Likewise.
34108         (drem_test_tonearest): Likewise.
34109         (remainder_test_towardzero): Likewise.
34110         (drem_test_towardzero): Likewise.
34111         (remainder_test_downward): Likewise.
34112         (drem_test_downward): Likewise.
34113         (remainder_test_upward): Likewise.
34114         (drem_test_upward): Likewise.
34115         (remquo_test): Likewise.
34116         (rint_test): Likewise.
34117         (rint_test_tonearest): Likewise.
34118         (rint_test_towardzero): Likewise.
34119         (rint_test_downward): Likewise.
34120         (rint_test_upward): Likewise.
34121         (round_test): Likewise.
34122         (scalb_test): Likewise.
34123         (scalbn_test): Likewise.
34124         (scalbln_test): Likewise.
34125         (signbit_test): Likewise.
34126         (sin_test): Likewise.
34127         (sin_test_tonearest): Likewise.
34128         (sin_test_towardzero): Likewise.
34129         (sin_test_downward): Likewise.
34130         (sin_test_upward): Likewise.
34131         (sincos_test): Likewise.
34132         (sinh_test): Likewise.
34133         (sinh_test_tonearest): Likewise.
34134         (sinh_test_towardzero): Likewise.
34135         (sinh_test_downward): Likewise.
34136         (sinh_test_upward): Likewise.
34137         (sqrt_test): Likewise.
34138         (sqrt_test_tonearest): Likewise.
34139         (sqrt_test_towardzero): Likewise.
34140         (sqrt_test_downward): Likewise.
34141         (sqrt_test_upward): Likewise.
34142         (tan_test): Likewise.
34143         (tan_test_tonearest): Likewise.
34144         (tan_test_towardzero): Likewise.
34145         (tan_test_downward): Likewise.
34146         (tan_test_upward): Likewise.
34147         (tanh_test): Likewise.
34148         (tgamma_test): Likewise.
34149         (trunc_test): Likewise.
34150         (y0_test): Likewise.
34151         (y1_test): Likewise.
34152         (yn_test): Likewise.
34153         (significand_test): Likewise.
34155         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34156         individual tests in comment.
34157         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34158         (prev_max_error): New variable.
34159         (prev_real_max_error): Likewise.
34160         (prev_imag_max_error): Likewise.
34161         (compare_ulp_data): Don't refer to test names in comment.
34162         (find_test_ulps): Remove function.
34163         (find_function_ulps): Likewise.
34164         (find_complex_function_ulps): Likewise.
34165         (init_max_error): Take function name as argument.  Look up ulps
34166         for that function.
34167         (print_ulps): Remove function.
34168         (print_max_error): Use prev_max_error instead of calling
34169         find_function_ulps.
34170         (print_complex_max_error): Use prev_real_max_error and
34171         prev_imag_max_error instead of calling find_complex_function_ulps.
34172         (check_float_internal): Take max_ulp parameter instead of calling
34173         find_test_ulps.  Don't call print_ulps.
34174         (check_float): Update call to check_float_internal.
34175         (check_complex): Update calls to check_float_internal.
34176         (START): Pass argument to init_max_error.
34177         * math/gen-libm-test.pl (%results): Don't include "kind"
34178         information.
34179         (parse_ulps): Don't handle ulps of individual tests.
34180         (print_ulps_file): Likewise.
34181         (output_ulps): Likewise.
34182         * math/README.libm-test: Update.
34183         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34184         individual tests.
34185         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34186         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34187         * sysdeps/arm/libm-test-ulps: Likewise.
34188         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34189         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34190         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34191         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34192         * sysdeps/microblaze/libm-test-ulps: Likewise.
34193         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34194         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34195         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34196         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34197         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34198         * sysdeps/sh/libm-test-ulps: Likewise.
34199         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34200         * sysdeps/tile/libm-test-ulps: Likewise.
34201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34203 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34205         * math/libm-test.inc (print_complex_max_error): Check separately
34206         whether real and imaginary errors are within allowed range and
34207         pass 0 to print_complex_function_ulps instead of value within
34208         allowed range.
34210 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34212         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34213         formatting.
34214         (get_handles_fopen): Likewise.
34215         (do_write_test): Likewise.
34217         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34219         * libio/fileops.c (do_ftell): Use cached offset when
34220         available.
34221         * libio/iofwide.c (do_ftell_wide): Likewise.
34222         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34223         _IO_file_attach.
34224         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34226         [BZ #16532]
34227         * libio/libioP.h (get_file_offset): New function.
34228         * libio/fileops.c (get_file_offset): Likewise.
34229         (do_ftell): Likewise.
34230         (_IO_new_file_seekoff): Split out ftell logic.
34231         * libio/wfileops.c (do_ftell_wide): Likewise.
34232         (_IO_wfile_seekoff): Split out ftell logic.
34233         * libio/tst-ftell-active-handler.c: New test case.
34234         * libio/Makefile (tests): Add it.
34236 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34238         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34239         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34241 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34243         [BZ #16639]
34244         * nscd/connections.c (nscd_init): Call do_exit.
34245         (start_threads): Call do_exit and notify_parent.
34246         (begin_drop_privileges): Call do_exit.
34247         (finish_drop_privileges): Likewise.
34248         * nscd/selinux.c (preserve_capabilities): Likewise.
34249         (install_real_capabilities): Likewise.
34250         (nscd_selinux_enabled): Likewise.
34251         (avc_create_thread): Likewise.
34252         (avc_alloc_lock): Likewise.
34253         (nscd_avc_init): Likewise.
34254         * nscd/nscd.c (parent_fd): New static variable.
34255         (main): Create a pipe between parent and child processes.
34256         Skip closing parent_fd.
34257         (monitor_child): New function.
34258         (do_exit): Likewise.
34259         (notify_parent): Likewise.
34260         * nscd/nscd.h (notify_parent): Likewise.
34261         (do_exit): Likewise.
34263 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34265         * malloc/malloc.c (__libc_calloc): Revert last change.
34267 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34271 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34273         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34275         implementation.
34276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34277         (__libc_ifunc_impl_list): Likewise.
34278         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34279         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34280         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34281         * string/strrchr.c: Define STRRCHR.
34283 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34285         * benchtest/bench-strtok.c (simple_strtok): Delete.
34286         (strtok_string): Use as benchmark.
34287         * string/strtok (STRTOK): New macro.
34289 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34291         * manual/threads.texi: Add header and standard comments to all
34292         functions.
34294         * elf/dl-lookup.c (check_match): New function.
34295         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34296         (do_lookup_x): Remove nested function check_match. Use non-nested
34297         function check_match.
34299 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34301         * csu/Makefile (generated, before-compile): Use += rather than =.
34302         * catgets/Makefile (generated, generated-dirs): Likewise.
34303         * debug/Makefile (generated): Likewise.
34304         * dlfcn/Makefile (generated): Likewise.
34305         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34306         * iconvdata/Makefile (before-compile, generated): Likewise.
34307         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34308         * libio/Makefile (generated): Likewise.
34309         * malloc/Makefile (generated): Likewise.
34310         * manual/Makefile (generated, generated-dirs): Likewise.
34311         * misc/Makefile (generated): Likewise.
34312         * posix/Makefile (generated): Likewise.
34313         * resolv/Makefile (generated): Likewise.
34314         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34315         * timezone/Makefile (generated, generated-dirs): Likewise.
34317         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34319 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34322         power8 implementation.
34323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34324         file: POWER8 llround ifunc implementation.
34325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34326         (__lllround): Add POWER8 implementation.
34327         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34328         POWER8 llround implementation.
34330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34331         power8 implementation.
34332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34333         file: POWER8 llrint ifunc implementation.
34334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34335         Add POWER8 implementation.
34336         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34337         POWER8 llrint implementation.
34339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34340         power8 implementation.
34341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34342         file: POWER8 finite ifunc implementation.
34343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34344         Add POWER8 implementation.
34345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34346         Likewise.
34347         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34348         POWER8 finite implementation.
34349         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34352         power8 implementation.
34353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34354         file: POWER8 isinf ifunc implementation.
34355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34356         POWER8 implementation.
34357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34358         Likewise.
34359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34360         isinf implementation.
34361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34363         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34364         (INIT_ARCH): Add hwcap2 initialization.
34365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34366         power8 implementation.
34367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34368         file: POWER8 isnan ifunc implementation.
34369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34370         POWER8 implementation.
34371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34372         Likewise.
34373         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34374         isnan implementation.
34375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34377 2014-02-27  Joey Ye  <joey.ye@arm.com>
34379         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34380         (_FP_NANFRAC_Q): Set to zero.
34382 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34384         [BZ #16623]
34385         * math/auto-libm-test-in: New test inputs.
34386         * math/auto-libm-test-out: Regenerate.
34387         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34388         and DA.
34389         (__cos): Likewise.
34390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34392 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34394         * scripts/evaluate-test.sh: Take new argument indicating whether
34395         failure is expected.
34396         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34397         indicating whether failure is expected.
34398         * conform/Makefile (test-xfail-run-conformtest): New variable.
34399         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34400         level.
34401         * posix/Makefile (test-xfail-annexc): New variable.
34402         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34404 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34406         * argp/Makefile: Include Makeconfig immediately after defining
34407         subdir.
34408         * assert/Makefile: Likewise.
34409         * benchtests/Makefile: Likewise.
34410         * catgets/Makefile: Likewise.
34411         * conform/Makefile: Likewise.
34412         * crypt/Makefile: Likewise.
34413         * csu/Makefile: Likewise.
34414         (all): Remove target.
34415         * ctype/Makefile: Include Makeconfig immediately after defining
34416         subdir.
34417         * debug/Makefile: Likewise.
34418         * dirent/Makefile: Likewise.
34419         * dlfcn/Makefile: Likewise.
34420         * gmon/Makefile: Likewise.
34421         * gnulib/Makefile: Likewise.
34422         * grp/Makefile: Likewise.
34423         * gshadow/Makefile: Likewise.
34424         * hesiod/Makefile: Likewise.
34425         * hurd/Makefile: Likewise.
34426         (all): Remove target.
34427         * iconvdata/Makefile: Include Makeconfig immediately after
34428         defining subdir.
34429         * inet/Makefile: Likewise.
34430         * intl/Makefile: Likewise.
34431         * io/Makefile: Likewise.
34432         * libio/Makefile: Likewise.
34433         (all): Remove target.
34434         * locale/Makefile: Include Makeconfig immediately after defining
34435         subdir.
34436         * login/Makefile: Likewise.
34437         * mach/Makefile: Likewise.
34438         (all): Remove target.
34439         * malloc/Makefile: Include Makeconfig immediately after defining
34440         subdir.
34441         (all): Remove target.
34442         * manual/Makefile: Include Makeconfig immediately after defining
34443         subdir.
34444         * math/Makefile: Likewise.
34445         * misc/Makefile: Likewise.
34446         * nis/Makefile: Likewise.
34447         * nss/Makefile: Likewise.
34448         * po/Makefile: Likewise.
34449         (all): Remove target.
34450         * posix/Makefile: Include Makeconfig immediately after defining
34451         subdir.
34452         * pwd/Makefile: Likewise.
34453         * resolv/Makefile: Likewise.
34454         * resource/Makefile: Likewise.
34455         * rt/Makefile: Likewise.
34456         * setjmp/Makefile: Likewise.
34457         * shadow/Makefile: Likewise.
34458         * signal/Makefile: Likewise.
34459         * socket/Makefile: Likewise.
34460         * soft-fp/Makefile: Likewise.
34461         * stdio-common/Makefile: Likewise.
34462         * stdlib/Makefile: Likewise.
34463         * streams/Makefile: Likewise.
34464         * string/Makefile: Likewise.
34465         * sunrpc/Makefile: Likewise.
34466         (all): Remove target.
34467         * sysvipc/Makefile: Include Makeconfig immediately after defining
34468         subdir.
34469         * termios/Makefile: Likewise.
34470         * time/Makefile: Likewise.
34471         * timezone/Makefile: Likewise.
34472         (all): Remove target.
34473         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34474         subdir.
34475         * wctype/Makefile: Likewise.
34477 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34479         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34480         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34481         (libc_feholdexcept_setround_mips): Ditto.
34482         (libc_feholdsetround): New.
34483         (libc_feholdsetroundf): New.
34484         (libc_feholdsetroundl): New.
34485         (libc_feupdateenv_test_mips): New.
34486         (libc_feupdateenv_test): New.
34487         (libc_feupdateenv_testf): New.
34488         (libc_feupdateenv_testl): New.
34489         (libc_feresetround): New.
34490         (libc_feresetroundf): New.
34491         (libc_feresetroundl): New.
34492         (libc_fetestexcept_mips): New.
34493         (libc_fetestexcept): New.
34494         (libc_fetestexceptf): New.
34495         (libc_fetestexceptl): New.
34496         (HAVE_RM_CTX): New.
34497         (libc_feholdexcept_setround_mips_ctx): New.
34498         (libc_feholdexcept_setround_ctx): New.
34499         (libc_feholdexcept_setroundf_ctx): New.
34500         (libc_feholdexcept_setroundl_ctx): New.
34501         (libc_fesetenv_mips_ctx): New.
34502         (libc_fesetenv_ctx): New.
34503         (libc_fesetenv_ctxf): New.
34504         (libc_fesetenv_ctxl): New.
34505         (libc_feupdateenv_mips_ctx): New.
34506         (libc_feupdateenv_ctx): New.
34507         (libc_feupdateenvf_ctx): New.
34508         (libc_feupdateenvl_ctx): New.
34509         (libc_feholdsetround_mips_ctx): New.
34510         (libc_feholdsetround_ctx): New.
34511         (libc_feholdsetroundf_ctx): New.
34512         (libc_feholdsetroundl_ctx): New.
34513         (libc_feresetround_mips_ctx): New.
34514         (libc_feresetround_ctx): New.
34515         (libc_feresetroundf_ctx): New.
34516         (libc_feresetroundl_ctx): New.
34518 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34520         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34522         * manual/ipc.texi: New file.
34523         * manual/Makefile (chapters): Add ipc.
34524         * manual/job.texi: Add "Inter-Process Communication" to next.
34525         * manual/process.texi: Add "Inter-Process Communication" to prev.
34527 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34531 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34533         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34535         * manual/arith.texi: Fix spaces after sentences.
34536         * manual/charset.texi: Likewise.
34537         * manual/errno.texi: Likewise.
34538         * manual/install.texi: Likewise.
34539         * manual/llio.texi: Likewise.
34540         * manual/locale.texi: Likewise.
34541         * manual/maint.texi: Likewise.
34542         * manual/math.texi: Likewise.
34543         * manual/memory.texi: Likewise.
34544         * manual/message.texi: Likewise.
34545         * manual/probes.texi: Likewise.
34546         * manual/resource.texi: Likewise.
34547         * manual/signal.texi: Likewise.
34548         * manual/socket.texi: Likewise.
34549         * manual/stdio.texi: Likewise.
34550         * manual/string.texi: Likewise.
34551         * manual/time.texi: Likewise.
34552         * manual/users.texi: Likewise.
34554 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34556         [BZ #16632]
34557         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34558         _DEFAULT_SOURCE is defined.
34560 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34561             Carlos O'Donell  <carlos@redhat.com>
34563         [BZ #16613]
34564         * elf/dl-tls.c (_dl_count_modids): New function.
34565         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34566         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34567         audit library and increment generation counter.
34568         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34569         * elf/tst-audit9.c: New file.
34570         * elf/tst-auditmod9a.c: New file.
34571         * elf/tst-auditmod9b.c: New file.
34572         * elf/Makefile: Add rules to build and run tst-audit9.
34574 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34576         [BZ #15347]
34577         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34579 2014-02-25  Will Newton  <will.newton@linaro.org>
34581         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34582         (__longjmp): Restore sp and lr before restoring callee
34583         saved registers.  Add longjmp and longjmp_target
34584         SystemTap probe point.
34585         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34586         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34587         Define to zero to match jmpbuf layout.
34588         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34589         (__sigsetjmp): Save sp and lr before saving callee
34590         saved registers.  Add setjmp SystemTap probe point.
34592 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34596 2014-02-24  Andreas Schwab  <schwab@suse.de>
34598         [BZ #15804]
34599         * elf/pldd.c (wait_for_ptrace_stop): New function.
34600         (main): Call it after attaching.
34602 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34604         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34605         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34606         Versions files is now verboten.
34607         * hurd/Versions (libc: GLIBC_2.0):
34608         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34609         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34610         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34611         * mach/Versions: Likewise.
34613         * csu/Versions: Remove unused %include.
34614         * resolv/Versions: Likewise.
34616 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34618         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34619         ($(objpfx)check-local-headers.out): Likewise.
34620         ($(objpfx)begin-end-check.out): Likewise.
34621         * Makerules (check-abi-%.out): Likewise.
34622         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34623         ($(objpfx)test2.cat): Likewise.
34624         ($(objpfx)de/libc.cat): Likewise.
34625         ($(objpfx)test-gencat.out): Likewise.
34626         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34627         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34628         ($(objpfx)noload-mem): Likewise.
34629         ($(objpfx)tst-pathopt.out): Likewise.
34630         ($(objpfx)tst-rtld-load-self.out): Likewise.
34631         ($(objpfx)tst-array1-cmp.out): Likewise.
34632         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34633         ($(objpfx)tst-array2-cmp.out): Likewise.
34634         ($(objpfx)tst-array3-cmp.out): Likewise.
34635         ($(objpfx)tst-array4-cmp.out): Likewise.
34636         ($(objpfx)tst-array5-cmp.out): Likewise.
34637         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34638         ($(objpfx)check-textrel.out): Likewise.
34639         ($(objpfx)check-execstack.out): Likewise.
34640         ($(objpfx)check-localplt.out): Likewise.
34641         ($(objpfx)order2-cmp.out): Likewise.
34642         ($(objpfx)tst-leaks1-mem): Likewise.
34643         ($(objpfx)tst-leaks1-static-mem): Likewise.
34644         ($(objpfx)tst-initorder-cmp.out): Likewise.
34645         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34646         ($(objpfx)tst-unused-dep.out): Likewise.
34647         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34648         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34649         * iconv/Makefile (test-iconvconfig): Likewise.
34650         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34651         ($(objpfx)iconv-test.out): Likewise.
34652         ($(objpfx)tst-tables.out): Likewise.
34653         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34654         ($(objpfx)tst-gettext.out): Likewise.
34655         ($(objpfx)tst-translit.out): Likewise.
34656         ($(objpfx)tst-gettext2.out): Likewise.
34657         ($(objpfx)tst-gettext4.out): Likewise.
34658         ($(objpfx)tst-gettext6.out): Likewise.
34659         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34660         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34661         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34662         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34663         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34664         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34665         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34666         ($(objpfx)wordexp-tst.out): Likewise.
34667         ($(objpfx)annexc.out): Likewise.
34668         ($(objpfx)tst-fnmatch-mem): Likewise.
34669         ($(objpfx)bug-regex2-mem): Likewise.
34670         ($(objpfx)bug-regex14-mem): Likewise.
34671         ($(objpfx)bug-regex21-mem): Likewise.
34672         ($(objpfx)bug-regex31-mem): Likewise.
34673         ($(objpfx)tst-vfork3-mem): Likewise.
34674         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34675         ($(objpfx)tst-pcre-mem): Likewise.
34676         ($(objpfx)tst-boost-mem): Likewise.
34677         ($(objpfx)tst-getconf.out): Likewise.
34678         ($(objpfx)bug-ga2-mem): Likewise.
34679         ($(objpfx)bug-glob2-mem): Likewise.
34680         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34681         ($(objpfx)mtrace-tst-leaks2): Likewise.
34682         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34683         ($(objpfx)tst-printf.out): Likewise.
34684         ($(objpfx)tst-setvbuf1.out): Likewise.
34685         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34686         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34687         ($(objpfx)tst-fmtmsg.out): Likewise.
34688         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34689         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34691         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34692         * bits/sigaction.h [__USE_MISC]: Likewise.
34693         * bits/waitstatus.h: Update #endif comments.
34694         * ctype/ctype.h: Likewise.
34695         * dirent/dirent.h: Likewise.
34696         [__USE_MISC]: Remove redundant conditionals.
34697         * grp/grp.h: Update #endif comments.
34698         [__USE_GNU]: Remove redundant conditionals.
34699         [__USE_MISC]: Likewise.
34700         * inet/netinet/in.h [__USE_GNU]: Likewise.
34701         * io/sys/stat.h [__USE_MISC]: Likewise.
34702         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34703         * libio/bits/stdio.h: Update #endif comments.
34704         [__USE_MISC]: Remove redundant conditionals.
34705         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34706         * libio/stdio.h: Update #endif comments.
34707         [__USE_MISC]: Remove redundant conditionals.
34708         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34709         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34710         * math/math.h: Update #else and #endif comments.
34711         [__USE_MISC]: Remove redundant conditionals.
34712         * misc/sys/uio.h: Update #endif comments.
34713         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34714         * posix/glob.h [__USE_MISC]: Likewise.
34715         * posix/sys/types.h: Update #endif comments.
34716         [__USE_MISC]: Remove redundant conditionals.
34717         * posix/sys/wait.h: Update #endif comments.
34718         [__USE_MISC]: Remove redundant conditionals.
34719         * posix/unistd.h: Update #endif comments.
34720         [__USE_MISC]: Remove redundant conditionals.
34721         * pwd/pwd.h [__USE_GNU]: Likewise.
34722         [__USE_MISC]: Likewise.
34723         * resolv/netdb.h [__USE_GNU]: Likewise.
34724         * signal/signal.h: Update #endif comments.
34725         [__USE_MISC]: Remove redundant conditionals.
34726         * stdlib/stdlib.h: Update #else and #endif comments.
34727         [__USE_MISC]: Remove redundant conditionals.
34728         [__USE_GNU]: Likewise.
34729         * string/bits/string2.h [__USE_MISC]: Likewise.
34730         * string/string.h: Update #endif comments.
34731         [__USE_MISC]: Remove redundant conditionals.
34732         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34733         Likewise.
34734         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34735         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34736         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34737         Likewise.
34738         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34739         Likewise.
34740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34741         comments.
34742         [__USE_MISC]: Remove redundant conditionals.
34743         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34744         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34745         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34746         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34747         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34748         Likewise.
34749         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34750         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34751         Likewise.
34752         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34753         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34754         Likewise.
34755         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34756         Likewise.
34757         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34758         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34759         Likewise.
34760         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34761         Likewise.
34762         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34763         * sysdeps/x86/bits/string.h: Update #endif comments.
34764         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34765         conditionals.
34766         * time/sys/time.h: Update #endif comments.
34767         * time/time.h: Likewise.
34768         [__USE_MISC]: Remove redundant conditionals.
34770 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
34772         [BZ #16600]
34773         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34775 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
34777         * Versions.def (librt): Add GLIBC_2.17.
34779 2014-02-21  Adam Conrad  <adconrad@0c3.net>
34781         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34782         synonym for _SYS_AUXV_H to allow direct inclusion.
34783         * sysdeps/sparc/bits/hwcap.h: Likewise.
34784         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34785         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34786         * sysdeps/sparc/sysdep.h: Likewise.
34788 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34790         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34792 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34794         * benchtests/bench-strrchr.c: Print length instead of position.
34796 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34798         [BZ #16611]
34799         * sysdeps/unix/sysv/linux/kernel-features.h
34800         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34801         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34802         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34803         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34804         Likewise.
34805         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34806         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34807         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34808         (__ASSUME_SENDMMSG): Define instead of using previous
34809         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34810         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34811         (__ASSUME_SENDMMSG_SYSCALL): Define.
34812         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34813         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34814         Likewise.
34815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34816         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34817         Likewise.
34818         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34819         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34820         Likewise.
34821         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34822         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34823         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34824         [__ASSUME_SENDMMSG]: Change conditionals to
34825         [__ASSUME_SENDMMSG_SOCKETCALL].
34826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34827         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34828         Define.
34829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34830         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34833         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34834         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34835         [!__ASSUME_SENDMMSG]: Change conditional to
34836         [!__ASSUME_SENDMMSG_SOCKETCALL].
34837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34838         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34839         Define.
34841         [BZ #16610]
34842         * sysdeps/unix/sysv/linux/kernel-features.h
34843         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34844         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34845         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34846         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34847         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34848         [__i386__ || __sparc__]
34849         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34850         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34851         (__ASSUME_RECVMMSG): Define instead of using previous
34852         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34853         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34854         (__ASSUME_RECVMMSG_SYSCALL): Define.
34855         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34857         Likewise.
34858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34860         Likewise.
34861         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34863         Likewise.
34864         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34865         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34866         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34867         [__ASSUME_RECVMMSG]: Change condition to
34868         [__ASSUME_RECVMMSG_SOCKETCALL].
34869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34870         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34871         Define.
34872         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34873         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34875         Likewise.
34876         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34877         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34878         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34879         [!__ASSUME_RECVMMSG]: Change condition to
34880         [!__ASSUME_RECVMMSG_SOCKETCALL].
34881         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34882         (__ASSUME_RECVMMSG_SYSCALL): Define.
34884         [BZ #16609]
34885         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34886         __powerpc__ || __s390__ || __sh__ || __sparc__]
34887         (__ASSUME_SOCKETCALL): Define.
34888         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34889         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34890         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34891         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34892         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34893         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34894         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34895         (__ASSUME_ACCEPT4): Define instead of using previous
34896         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34897         __powerpc__ || __sparc__ || __s390__)] condition.
34898         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34899         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34900         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34901         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34902         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34903         [!__ASSUME_ACCEPT4]: Change condition to
34904         [!__ASSUME_ACCEPT4_SOCKETCALL].
34905         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34906         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34907         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34908         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34909         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34910         __ASSUME_ACCEPT4_SYSCALL.
34911         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34912         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34913         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34914         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34915         __ASSUME_ACCEPT4_SYSCALL.
34916         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34917         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34918         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34919         [__ASSUME_ACCEPT4]: Change condition to
34920         [__ASSUME_ACCEPT4_SOCKETCALL].
34921         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34922         (__ASSUME_SOCKETCALL): Define.
34923         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34925         (__ASSUME_SOCKETCALL): Define.
34926         (__ASSUME_ACCEPT4): Remove.
34927         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34928         Define.
34929         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34930         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34931         Likewise.
34932         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34933         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34935         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34936         macro.
34937         (HWCAP_ARM_LPAE): Likewise.
34938         (HWCAP_ARM_EVTSTRM): Likewise.
34939         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34940         Add vpfd32, lpae and evtstrm.
34941         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34942         Increase to 22.
34944 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34946         * math/auto-libm-test-in: Add tests of clog10.
34947         * math/auto-libm-test-out: Regenerated.
34948         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952 2014-02-18  Andreas Schwab  <schwab@suse.de>
34954         [BZ #16574]
34955         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34956         Store non-zero if the second buffer was newly allocated.
34957         (send_dg): Likewise.
34958         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34959         to send_vc and send_dg.
34960         (res_nsend): Pass NULL for ansp2_malloced.
34961         * resolv/res_query.c (__libc_res_nquery): Add parameter
34962         answerp2_malloced and pass it down to __libc_res_nsend.
34963         (res_nquery): Pass additional NULL to __libc_res_nquery.
34964         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34965         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34966         second answer buffer if answerp2_malloced was set.
34967         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34968         (__libc_res_nquerydomain): Add parameter
34969         answerp2_malloced and pass it down to __libc_res_nquery.
34970         (res_nquerydomain): Pass additional NULL to
34971         __libc_res_nquerydomain.
34972         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34973         additional NULL to __libc_res_nsend and __libc_res_nquery.
34974         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34975         additional NULL to __libc_res_nsearch.
34976         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34977         parameter of __libc_res_nsearch to check for separately allocated
34978         second buffer.
34979         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34980         __libc_res_nquery.
34981         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34982         additional NULL to __libc_res_nquery.
34983         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34984         __libc_res_nsearch.
34985         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34986         * include/resolv.h: Update prototypes of __libc_res_nquery,
34987         __libc_res_nsearch, __libc_res_nsend.
34989 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34991         * math/auto-libm-test-in: Add tests of fma.
34992         * math/auto-libm-test-out: Regenerated.
34993         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34994         (fma_towardzero_test_data): Likewise.
34995         (fma_downward_test_data): Likewise.
34996         (fma_upward_test_data): Likewise.
34997         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34998         mpc_mode.
34999         (rounding_modes): Add values for new field.
35000         (func_calc_method): Add value mpfr_fff_f.
35001         (func_calc_desc): Add mpfr_fff_f union field.
35002         (test_function): Add field exact_args.
35003         (FUNC): Add macro argument EXACT_ARGS.
35004         (FUNC_mpfr_f_f): Update call to FUNC.
35005         (FUNC_mpfr_f_f): Likewise.
35006         (FUNC_mpfr_ff_f): Likewise.
35007         (FUNC_mpfr_if_f): Likewise.
35008         (FUNC_mpc_c_f): Likewise.
35009         (FUNC_mpc_c_c): Likewise.
35010         (test_functions): Add fma.  Update calls to FUNC.
35011         (handle_input_arg): Add argument exact_args.
35012         (add_test): Update call to handle_input_arg.
35013         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35014         (output_for_one_input_case): Update call to calc_generic_results.
35015         Recalculate exact zero results in each rounding mode.
35017         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35018         non-negative before setting low bit.
35019         * math/auto-libm-test-in: Mark one asin test possibly having
35020         spurious underflow.
35021         * math/auto-libm-test-out: Regenerated.
35022         * sysdeps/i386/fpu/libm-test-ulps: Update.
35023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35027         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35028         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35029         ports/sysdeps/unix/sysv/linux/microblaze.
35030         * README: Add missing listing for microblaze*-*-linux-gnu.
35032 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35034         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35035         duplicate code
35037 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35039         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35040         * sysdeps/unix/sysv/linux/ia64: Move directory from
35041         ports/sysdeps/unix/sysv/linux/ia64.
35042         * README: Update listing for ia64-*-linux-gnu.
35044 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35045             Joseph Myers  <joseph@codesourcery.com>
35047         * Makeconfig (test-name): New variable.
35048         (evaluate-test): Likewise.
35049         * Makerules (do-test-clean): Remove .test-result files.
35050         (common-mostlyclean): Likewise.
35051         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35052         * scripts/evaluate-test.sh: New file.
35054 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35056         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35057         separate $(objpfx)tst-fopenloc-cmp.out and
35058         $(objpfx)tst-fopenloc-mem.out targets.
35059         (tests): Update dependencies.
35060         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35061         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35062         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35063         (tst-rxspencer-no-utf8-ARGS): New variable.
35064         (tst-rxspencer-no-utf8-ENV): Likewise.
35065         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35066         instead of $(objpfx)tst-rxspencer-mem.
35067         ($(objpfx)tst-rxspencer-mem): Change target to
35068         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35069         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35070         * posix/tst-rxspencer-no-utf8.c: New file.
35072         * elf/Makefile ($(objpfx)order.out): Remove rule.
35073         [$(run-built-tests) = yes] (tests): Depend on
35074         $(objpfx)order-cmp.out.
35075         ($(objpfx)order-cmp.out): New rule.
35076         [$(run-built-tests) = yes] (tests): Depend on
35077         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35078         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35079         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35080         $(objpfx)tst-array5-static-cmp.out.
35081         ($(objpfx)tst-array1.out): Remove rule.
35082         ($(objpfx)tst-array1-cmp.out): New rule.
35083         ($(objpfx)tst-array1-static.out): Remove rule.
35084         ($(objpfx)tst-array1-static-cmp.out): New rule.
35085         ($(objpfx)tst-array2.out): Remove rule.
35086         ($(objpfx)tst-array2-cmp.out): New rule.
35087         ($(objpfx)tst-array3.out): Remove rule.
35088         ($(objpfx)tst-array3-cmp.out): New rule.
35089         ($(objpfx)tst-array4.out): Remove rule.
35090         ($(objpfx)tst-array4-cmp.out): New rule.
35091         ($(objpfx)tst-array5.out): Remove rule.
35092         ($(objpfx)tst-array5-cmp.out): New rule.
35093         ($(objpfx)tst-array5-static.out): Remove rule.
35094         ($(objpfx)tst-array5-static-cmp.out): New rule.
35095         [$(run-built-tests) = yes] (tests): Depend on
35096         $(objpfx)order2-cmp.out.
35097         ($(objpfx)order2.out): Remove rule.
35098         ($(objpfx)order2-cmp.out): New rule.
35099         ($(objpfx)tst-initorder.out): Remove rule.
35100         [$(run-built-tests) = yes] (tests): Depend on
35101         $(objpfx)tst-initorder-cmp.out.
35102         ($(objpfx)tst-initorder-cmp.out): New rule.
35103         ($(objpfx)tst-initorder2.out): Remove rule.
35104         [$(run-built-tests) = yes] (tests): Depend on
35105         $(objpfx)tst-initorder2-cmp.out.
35106         ($(objpfx)tst-initorder2-cmp.out): New rule.
35107         [$(run-built-tests) = yes] (tests): Depend on
35108         $(objpfx)tst-unused-dep-cmp.out.
35109         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35110         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35111         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35112         on $(objpfx)tst-setvbuf1-cmp.out.
35113         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35114         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35115         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35116         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35117         ($(objpfx)tst-svc.out): Remove rule.
35118         ($(objpfx)tst-svc-cmp.out): New rule.
35120 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35122         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35123         * ctype/ctype.h [__USE_MISC]: Likewise.
35124         * dirent/dirent.h [__USE_MISC]: Likewise.
35125         * grp/grp.h [__USE_MISC]: Likewise.
35126         * io/fcntl.h [__USE_MISC]: Likewise.
35127         * io/sys/stat.h [__USE_MISC]: Likewise.
35128         * libio/stdio.h [__USE_MISC]: Likewise.
35129         * posix/unistd.h [__USE_MISC]: Likewise.
35130         * pwd/pwd.h [__USE_MISC]: Likewise.
35131         * stdlib.h [__USE_MISC]: Likewise.
35132         * string/bits/string2.h [__USE_MISC]: Likewise.
35133         * string/string.h [__USE_MISC]: Likewise.
35134         * time/time.h [__USE_MISC]: Likewise.
35136 2014-02-13  Andreas Schwab  <schwab@suse.de>
35138         [BZ #16574]
35139         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35140         second answer buffer if it was separately allocated.
35142 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35144         * sysdeps/mips/math-tests.h: Include <features.h>.
35145         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35146         (ROUNDING_TESTS_long_double): Do not define.
35147         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35148         (EXCEPTION_TESTS_long_double): Likewise.
35149         * sysdeps/mips/mips64/libm-test-ulps: Update.
35151         * include/features.h (__USE_BSD): Remove macro definitions.
35152         (__USE_SVID): Likewise.
35153         (_BSD_SOURCE): Likewise.
35154         (_SVID_SOURCE): Likewise.
35155         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35156         from definition of _DEFAULT_SOURCE.
35157         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35158         [_DEFAULT_SOURCE].
35159         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35160         * bits/mman.h [__USE_BSD]: Likewise.
35161         * bits/termios.h [__USE_BSD]: Likewise.
35162         * bits/waitstatus.h [__USE_BSD]: Likewise.
35163         * ctype/ctype.h [__USE_SVID]: Likewise.
35164         * dirent/dirent.h [__USE_BSD]: Likewise.
35165         * grp/grp.h [__USE_SVID]: Likewise.
35166         [__USE_BSD]: Likewise.
35167         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35168         * io/fcntl.h [__USE_BSD]: Likewise.
35169         * io/ftw.h [__USE_BSD]: Likewise.
35170         * io/sys/stat.h [__USE_BSD]: Likewise.
35171         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35172         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35173         * libio/stdio.h [__USE_SVID]: Likewise.
35174         [__USE_BSD]: Likewise.
35175         * math/math.h [__USE_SVID]: Likewise.
35176         [__USE_BSD]: Likewise.
35177         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35178         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35179         * misc/search.h [__USE_SVID]: Likewise.
35180         * misc/sys/mman.h [__USE_BSD]: Likewise.
35181         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35182         * misc/sys/uio.h [__USE_BSD]: Likewise.
35183         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35184         * posix/glob.h [__USE_BSD]: Likewise.
35185         * posix/regex.h [__USE_BSD]: Likewise.
35186         * posix/sys/types.h [__USE_BSD]: Likewise.
35187         [__USE_SVID]: Likewise.
35188         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35189         * posix/sys/wait.h [__USE_BSD]: Likewise.
35190         [__USE_SVID]: Likewise.
35191         * posix/unistd.h [__USE_BSD]: Likewise.
35192         [__USE_SVID]: Likewise.
35193         * pwd/pwd.h [__USE_SVID]: Likewise.
35194         * resolv/netdb.h [__USE_BSD]: Likewise.
35195         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35196         * signal/signal.h [__USE_BSD]: Likewise.
35197         [__USE_SVID]: Likewise.
35198         * socket/sys/socket.h [__USE_BSD]: Likewise.
35199         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35200         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35201         [__USE_SVID]: Likewise.
35202         * string/bits/string2.h [__USE_BSD]: Likewise.
35203         [__USE_SVID]: Likewise.
35204         * string/bits/string3.h [__USE_BSD]: Likewise.
35205         * string/endian.h [__USE_BSD]: Likewise.
35206         * string/string.h [__USE_SVID]: Likewise.
35207         [__USE_BSD]: Likewise.
35208         * string/strings.h [__USE_BSD]: Likewise.
35209         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35210         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35211         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35212         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35213         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35214         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35215         Likewise.
35216         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35217         Likewise.
35218         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35219         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35220         Likewise.
35221         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35222         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35223         Likewise.
35224         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35225         Likewise.
35226         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35227         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35228         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35229         Likewise.
35230         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35231         Likewise.
35232         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35233         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35234         * termios/termios.h [__USE_BSD]: Likewise.
35235         * time/sys/time.h [__USE_BSD]: Likewise.
35236         * time/time.h [__USE_BSD]: Likewise.
35237         [__USE_SVID]: Likewise.
35239         * Makefile (subdir_targets): Remove subdir_lint.out.
35241         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35242         (do-tst-printf): Likewise.
35243         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35244         $(objpfx)tst-printf.out.
35246         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35248         * Makerules (check-abi-%): Change target to
35249         $(objpfx)check-abi-%.out.
35250         (check-abi target): Update dependencies.
35251         (check-abi-pattern variable): Redirect output of diff to $@.
35252         (check-abi variable): Likewise.
35253         * elf/Makefile (check-abi): Update dependencies.
35255         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35256         unused.
35257         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35258         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35259         subnormal range.
35260         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35261         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35262         value has largest subnormal exponent.
35263         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35264         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35265         * sysdeps/aarch64/soft-fp/sfp-machine.h
35266         (_FP_TININESS_AFTER_ROUNDING): New macro.
35267         * sysdeps/alpha/soft-fp/sfp-machine.h
35268         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35269         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35270         Likewise.
35271         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35272         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35273         * sysdeps/mips/soft-fp/sfp-machine.h
35274         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35275         * sysdeps/powerpc/soft-fp/sfp-machine.h
35276         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35277         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35278         Likewise.
35279         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35280         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35281         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35282         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35283         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35284         Likewise.
35286 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35288         [BZ #16545]
35289         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35290         model 1.
35292 2014-02-12  Richard Henderson  <rth@redhat.com>
35294         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35295         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35296         * sysdeps/unix/sysv/linux/alpha: Move directory from
35297         ports/sysdeps/unix/sysv/linux/alpha.
35298         * README: Update listing for alpha-*-linux-gnu.
35300 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35302         * include/features.h: Update comment documenting feature test
35303         macros.
35304         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35305         _DEFAULT_SOURCE.
35306         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35307         (_SVID_SOURCE): Likewise.
35308         (_DEFAULT_SOURCE): Update description of default features.
35309         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35310         with _GNU_SOURCE.
35311         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35312         (S_ISVTX): Likewise.
35313         * manual/math.texi (Mathematical Constants): Likewise.
35314         * manual/signal.texi (Interrupted Primitives): Likewise.
35315         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35316         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35317         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35318         Don't refer to _SVID_SOURCE in warning text.
35320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35322         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35323         already defined.
35324         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35325         * sysdeps/mips/dl-lookup.c: Remove.
35326         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35328 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35330         [BZ #16447]
35331         * math/auto-libm-test-in: Add testcase for expl.
35332         * math/auto-libm-test-out: Regenerate.
35333         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35334         calculation of unsafe.
35335         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35337 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35339         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35340         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35341         ports/sysdeps/unix/sysv/linux/aarch64.
35342         * README: Update listing for aarch64*-*-linux-gnu.
35344 2014-02-11  Will Newton  <will.newton@linaro.org>
35346         * manual/probes.texi (Mathematical Function Probes): Use
35347         "triggered" instead of "hit".
35349         * manual/probes.texi (Internal Probes): Add documentation
35350         of setjmp, longjmp and longjmp_target probes.
35352         * include/stap-probe.h: Add comment about probe argument
35353         format.
35355         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35356         definition.  (tr_where, tr_freehook, tr_mallochook,
35357         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35359 2014-02-11  David S. Miller  <davem@davemloft.net>
35361         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35362         processing int_tests.
35364 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35366         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35367         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35368         * sysdeps/unix/sysv/linux/mips: Move directory from
35369         ports/sysdeps/unix/sysv/linux/mips.
35370         * README: Update listing for mips-*-linux-gnu and
35371         mips64-*-linux-gnu.
35373 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35375         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35376         * sysdeps/unix/sysv/linux/m68k: Move directory from
35377         ports/sysdeps/unix/sysv/linux/m68k.
35378         * README: Update listing for m68k-*-linux-gnu.
35380 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35382         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35383         * sysdeps/unix/sysv/linux/generic: Move directory from
35384         ports/sysdeps/unix/sysv/linux/generic.
35385         * sysdeps/unix/sysv/linux/tile: Move directory from
35386         ports/sysdeps/unix/sysv/linux/tile.
35387         * README: Update listing for tile*-*-linux-gnu.
35389 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35391         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35392         __builtin_expect.
35393         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35394         * catgets/open_catalog.c (__open_catalog): Likewise.
35395         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35396         * debug/confstr_chk.c: Likewise.
35397         * debug/fread_chk.c (__fread_chk): Likewise.
35398         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35399         * debug/getgroups_chk.c: Likewise.
35400         * debug/mbsnrtowcs_chk.c: Likewise.
35401         * debug/mbsrtowcs_chk.c: Likewise.
35402         * debug/mbstowcs_chk.c: Likewise.
35403         * debug/memcpy_chk.c: Likewise.
35404         * debug/memmove_chk.c: Likewise.
35405         * debug/mempcpy_chk.c: Likewise.
35406         * debug/memset_chk.c: Likewise.
35407         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35408         * debug/strcat_chk.c (__strcat_chk): Likewise.
35409         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35410         * debug/strncat_chk.c (__strncat_chk): Likewise.
35411         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35412         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35413         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35414         * debug/wcpncpy_chk.c: Likewise.
35415         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35416         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35417         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35418         * debug/wcsncpy_chk.c: Likewise.
35419         * debug/wcsnrtombs_chk.c: Likewise.
35420         * debug/wcsrtombs_chk.c: Likewise.
35421         * debug/wcstombs_chk.c: Likewise.
35422         * debug/wmemcpy_chk.c: Likewise.
35423         * debug/wmemmove_chk.c: Likewise.
35424         * debug/wmempcpy_chk.c: Likewise.
35425         * debug/wmemset_chk.c: Likewise.
35426         * dirent/scandirat.c (SCANDIRAT): Likewise.
35427         * dlfcn/dladdr1.c (dladdr1): Likewise.
35428         * dlfcn/dladdr.c (dladdr): Likewise.
35429         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35430         * dlfcn/dlerror.c (__dlerror): Likewise.
35431         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35432         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35433         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35434         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35435         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35436         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35437         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35438         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35439         Likewise.
35440         * elf/dl-conflict.c: Likewise.
35441         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35442         * elf/dl-dst.h: Likewise.
35443         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35444         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35445         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35446         * elf/dl-init.c (call_init, _dl_init): Likewise.
35447         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35448         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35449         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35450         Likewise.
35451         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35452         Likewise.
35453         * elf/dl-minimal.c (__libc_memalign): Likewise.
35454         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35455         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35456         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35457         * elf/dl-sym.c (do_sym): Likewise.
35458         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35459         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35460         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35461         * elf/dl-writev.h (_dl_writev): Likewise.
35462         * elf/ldconfig.c (search_dir): Likewise.
35463         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35464         (dl_main): Likewise.
35465         * elf/setup-vdso.h (setup_vdso): Likewise.
35466         * grp/compat-initgroups.c (compat_call): Likewise.
35467         * grp/fgetgrent.c (fgetgrent): Likewise.
35468         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35469         * grp/putgrent.c (putgrent): Likewise.
35470         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35471         Likewise.
35472         * hurd/hurdinit.c: Likewise.
35473         * iconvdata/8bit-gap.c (struct): Likewise.
35474         * iconvdata/ansi_x3.110.c : Likewise.
35475         * iconvdata/big5.c : Likewise.
35476         * iconvdata/big5hkscs.c : Likewise.
35477         * iconvdata/cp1255.c: Likewise.
35478         * iconvdata/cp1258.c : Likewise.
35479         * iconvdata/cp932.c : Likewise.
35480         * iconvdata/euc-cn.c: Likewise.
35481         * iconvdata/euc-jisx0213.c : Likewise.
35482         * iconvdata/euc-jp.c: Likewise.
35483         * iconvdata/euc-jp-ms.c : Likewise.
35484         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35485         * iconvdata/gb18030.c : Likewise.
35486         * iconvdata/gbbig5.c (const): Likewise.
35487         * iconvdata/gbgbk.c: Likewise.
35488         * iconvdata/gbk.c : Likewise.
35489         * iconvdata/ibm1364.c : Likewise.
35490         * iconvdata/ibm930.c : Likewise.
35491         * iconvdata/ibm932.c: Likewise.
35492         * iconvdata/ibm933.c : Likewise.
35493         * iconvdata/ibm935.c : Likewise.
35494         * iconvdata/ibm937.c : Likewise.
35495         * iconvdata/ibm939.c : Likewise.
35496         * iconvdata/ibm943.c: Likewise.
35497         * iconvdata/iso_11548-1.c: Likewise.
35498         * iconvdata/iso-2022-cn.c : Likewise.
35499         * iconvdata/iso-2022-cn-ext.c : Likewise.
35500         * iconvdata/iso-2022-jp-3.c: Likewise.
35501         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35502         * iconvdata/iso-2022-kr.c : Likewise.
35503         * iconvdata/iso646.c (gconv_end): Likewise.
35504         * iconvdata/iso_6937-2.c : Likewise.
35505         * iconvdata/iso_6937.c : Likewise.
35506         * iconvdata/iso8859-1.c: Likewise.
35507         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35508         * iconvdata/shift_jisx0213.c : Likewise.
35509         * iconvdata/sjis.c : Likewise.
35510         * iconvdata/t.61.c : Likewise.
35511         * iconvdata/tcvn5712-1.c : Likewise.
35512         * iconvdata/tscii.c: Likewise.
35513         * iconvdata/uhc.c : Likewise.
35514         * iconvdata/unicode.c (gconv_end): Likewise.
35515         * iconvdata/utf-16.c (gconv_end): Likewise.
35516         * iconvdata/utf-32.c (gconv_end): Likewise.
35517         * iconvdata/utf-7.c (base64): Likewise.
35518         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35519         * iconv/gconv_close.c (__gconv_close): Likewise.
35520         * iconv/gconv_open.c (__gconv_open): Likewise.
35521         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35522         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35523         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35524         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35525         (ucs4le_internal_loop_single): Likewise.
35526         * iconv/iconv.c (iconv): Likewise.
35527         * iconv/iconv_close.c: Likewise.
35528         * iconv/loop.c (SINGLE): Likewise.
35529         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35530         * include/atomic.h: Likewise.
35531         * inet/inet6_option.c (option_alloc): Likewise.
35532         * intl/bindtextdom.c (set_binding_values): Likewise.
35533         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35534         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35535         * intl/localealias.c (read_alias_file): Likewise.
35536         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35537         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35538         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35539         * libio/fmemopen.c (fmemopen): Likewise.
35540         * libio/iofgets.c (_IO_fgets): Likewise.
35541         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35542         * libio/iofgetws.c (fgetws): Likewise.
35543         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35544         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35545         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35546         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35547         * locale/findlocale.c (_nl_find_locale): Likewise.
35548         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35549         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35550         Likewise.
35551         * locale/setlocale.c (setlocale): Likewise.
35552         * login/programs/pt_chown.c (main): Likewise.
35553         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35554         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35555         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35556         (mmap, mmap64, mremap, munmap): Likewise.
35557         * math/e_exp2l.c: Likewise.
35558         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35559         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35560         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35561         * math/s_catan.c (__catan): Likewise.
35562         * math/s_catanf.c (__catanf): Likewise.
35563         * math/s_catanh.c (__catanh): Likewise.
35564         * math/s_catanhf.c (__catanhf): Likewise.
35565         * math/s_catanhl.c (__catanhl): Likewise.
35566         * math/s_catanl.c (__catanl): Likewise.
35567         * math/s_ccosh.c (__ccosh): Likewise.
35568         * math/s_ccoshf.c (__ccoshf): Likewise.
35569         * math/s_ccoshl.c (__ccoshl): Likewise.
35570         * math/s_cexp.c (__cexp): Likewise.
35571         * math/s_cexpf.c (__cexpf): Likewise.
35572         * math/s_cexpl.c (__cexpl): Likewise.
35573         * math/s_clog10.c (__clog10): Likewise.
35574         * math/s_clog10f.c (__clog10f): Likewise.
35575         * math/s_clog10l.c (__clog10l): Likewise.
35576         * math/s_clog.c (__clog): Likewise.
35577         * math/s_clogf.c (__clogf): Likewise.
35578         * math/s_clogl.c (__clogl): Likewise.
35579         * math/s_csin.c (__csin): Likewise.
35580         * math/s_csinf.c (__csinf): Likewise.
35581         * math/s_csinh.c (__csinh): Likewise.
35582         * math/s_csinhf.c (__csinhf): Likewise.
35583         * math/s_csinhl.c (__csinhl): Likewise.
35584         * math/s_csinl.c (__csinl): Likewise.
35585         * math/s_csqrt.c (__csqrt): Likewise.
35586         * math/s_csqrtf.c (__csqrtf): Likewise.
35587         * math/s_csqrtl.c (__csqrtl): Likewise.
35588         * math/s_ctan.c (__ctan): Likewise.
35589         * math/s_ctanf.c (__ctanf): Likewise.
35590         * math/s_ctanh.c (__ctanh): Likewise.
35591         * math/s_ctanhf.c (__ctanhf): Likewise.
35592         * math/s_ctanhl.c (__ctanhl): Likewise.
35593         * math/s_ctanl.c (__ctanl): Likewise.
35594         * math/w_pow.c: Likewise.
35595         * math/w_powf.c: Likewise.
35596         * math/w_powl.c: Likewise.
35597         * math/w_scalb.c (sysv_scalb): Likewise.
35598         * math/w_scalbf.c (sysv_scalbf): Likewise.
35599         * math/w_scalbl.c (sysv_scalbl): Likewise.
35600         * misc/error.c (error_tail): Likewise.
35601         * misc/pselect.c (__pselect): Likewise.
35602         * nis/nis_callback.c (__nis_create_callback): Likewise.
35603         * nis/nis_call.c (__nisfind_server): Likewise.
35604         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35605         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35606         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35607         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35608         * nis/nis_lookup.c (nis_lookup): Likewise.
35609         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35610         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35611         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35612         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35613         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35614         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35615         * nis/nss_compat/compat-initgroups.c (add_group)
35616         (internal_getgrent_r): Likewise.
35617         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35618         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35619         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35620         (internal_getspnam_r): Likewise.
35621         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35622         (_nss_nis_getaliasbyname_r): Likewise.
35623         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35624         (_nss_nis_getntohost_r): Likewise.
35625         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35626         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35627         (_nss_nis_getgrgid_r): Likewise.
35628         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35629         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35630         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35631         (_nss_nis_gethostbyname4_r): Likewise.
35632         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35633         (initgroups_netid): Likewise.
35634         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35635         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35636         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35637         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35638         (_nss_nis_getprotobynumber_r): Likewise.
35639         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35640         (_nss_nis_getsecretkey): Likewise.
35641         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35642         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35643         (_nss_nis_getpwuid_r): Likewise.
35644         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35645         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35646         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35647         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35648         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35649         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35650         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35651         Likewise.
35652         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35653         (_nss_nisplus_getntohost_r): Likewise.
35654         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35655         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35656         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35657         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35658         Likewise.
35659         * nis/nss_nisplus/nisplus-initgroups.c
35660         (_nss_nisplus_initgroups_dyn): Likewise.
35661         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35662         (_nss_nisplus_getnetbyaddr_r): Likewise.
35663         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35664         (_nss_nisplus_getprotobynumber_r): Likewise.
35665         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35666         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35667         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35668         Likewise.
35669         * nis/nss_nisplus/nisplus-service.c
35670         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35671         (_nss_nisplus_getservbyport_r): Likewise.
35672         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35673         (_nss_nisplus_getspnam_r): Likewise.
35674         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35675         Likewise.
35676         * nscd/aicache.c (addhstaiX): Likewise.
35677         * nscd/cache.c (cache_search, prune_cache): Likewise.
35678         * nscd/connections.c (register_traced_file, send_ro_fd)
35679         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35680         (main_loop_epoll): Likewise.
35681         * nscd/grpcache.c (addgrbyX): Likewise.
35682         * nscd/hstcache.c (addhstbyX): Likewise.
35683         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35684         * nscd/mem.c (gc, mempool_alloc): Likewise.
35685         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35686         (addinnetgrX): Likewise.
35687         * nscd/nscd-client.h (__nscd_acquire_maplock)
35688         (__nscd_drop_map_ref): Likewise.
35689         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35690         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35691         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35692         Likewise.
35693         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35695         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35696         (__nscd_get_map_ref): Likewise.
35697         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35698         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35699         Likewise.
35700         * nscd/pwdcache.c (addpwbyX): Likewise.
35701         * nscd/selinux.c (preserve_capabilities): Likewise.
35702         * nscd/servicescache.c (addservbyX): Likewise.
35703         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35704         * posix/fnmatch.c (fnmatch): Likewise.
35705         * posix/getopt.c (_getopt_internal_r): Likewise.
35706         * posix/glob.c (glob, glob_in_dir): Likewise.
35707         * posix/wordexp.c (exec_comm_child): Likewise.
35708         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35709         (getanswer_r, gaih_getanswer_slice): Likewise.
35710         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35711         * resolv/res_init.c: Likewise.
35712         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35713         * resolv/res_query.c (__libc_res_nquery): Likewise.
35714         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35715         Likewise.
35716         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35717         * stdio-common/perror.c (perror): Likewise.
35718         * stdio-common/printf_fp.c (___printf_fp): Likewise.
35719         * stdio-common/tmpnam.c (tmpnam): Likewise.
35720         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35721         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35722         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35723         Likewise.
35724         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35725         * stdlib/putenv.c (putenv): Likewise.
35726         * stdlib/setenv.c (__add_to_environ): Likewise.
35727         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35728         * stdlib/strtol_l.c (INTERNAL): Likewise.
35729         * string/memmem.c (memmem): Likewise.
35730         * string/strerror.c (strerror): Likewise.
35731         * string/strnlen.c (__strnlen): Likewise.
35732         * string/test-memmem.c (simple_memmem): Likewise.
35733         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35734         * sunrpc/pm_getport.c (__get_socket): Likewise.
35735         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35736         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35737         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35738         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35739         Likewise.
35740         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35741         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35742         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35743         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35744         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35745         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35746         Likewise.
35747         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35748         Likewise.
35749         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35750         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35752         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35753         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35755         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35756         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35757         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35758         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35759         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35760         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35761         Likewise.
35762         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35763         Likewise.
35764         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35765         Likewise.
35766         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35768         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35769         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35770         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35771         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35772         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35773         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35774         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35775         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35776         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35778         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35779         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35781         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35782         Likewise.
35783         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35784         Likewise.
35785         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35786         Likewise.
35787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35788         Likewise.
35789         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35791         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35792         Likewise.
35793         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35794         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35795         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35796         * sysdeps/posix/sleep.c: Likewise.
35797         * sysdeps/posix/tempname.c: Likewise.
35798         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35799         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35800         Likewise.
35801         * sysdeps/powerpc/powerpc32/dl-machine.h
35802         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35803         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35805         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35806         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35807         Likewise.
35808         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35809         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35810         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35811         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35812         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35813         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35814         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35815         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35816         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35817         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35819         (elf_machine_lazy_rel): Likewise.
35820         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35821         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35822         (elf_machine_lazy_rel): Likewise.
35823         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35824         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35825         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35826         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35827         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35828         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35829         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35830         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35831         Likewise.
35832         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35833         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35834         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35835         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35836         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35837         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35838         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35839         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35840         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35841         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35842         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35843         Likewise.
35844         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35845         (__posix_fallocate64_l64): Likewise.
35846         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35847         (posix_fallocate): Likewise.
35848         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35849         Likewise.
35850         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35851         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35852         (getifaddrs_internal): Likewise.
35853         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35854         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35855         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35856         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35857         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35858         (__posix_fallocate64_l64): Likewise.
35859         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35860         Likewise.
35861         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35862         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35863         (__get_clockfreq): Likewise.
35864         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35865         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35866         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35869         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35870         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35871         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35872         Likewise.
35873         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35874         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35875         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35876         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35877         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35878         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35879         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35880         Likewise.
35881         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35882         (posix_fallocate): Likewise.
35883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35884         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35885         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35886         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35887         (elf_machine_rela, elf_machine_rela_relative)
35888         (elf_machine_lazy_rel): Likewise.
35889         * time/asctime.c (asctime_internal): Likewise.
35890         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35891         * time/tzset.c (__tzset_parse_tz): Likewise.
35892         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35893         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35894         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35895         * wcsmbs/wcsmbsload.h: Likewise.
35897         [BZ #15894]
35898         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35900         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35901         (arena_get2): Remove THREAD_STATS conditionals.
35902         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35903         (__malloc_stats, int): Likewise.
35905 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35907         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35908         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35910         * manual/setjmp.texi: Fix typos/grammar errors.
35912         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35913         Only return early when n is <= 0.  Delete unused return statement.
35915         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35916         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35917         * debug/tst-longjmp_chk3.c: New file.
35919         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35920         (test_main): Replace code with set_fortify_handler call.
35921         * debug/test-strcpy_chk.c: Likewise.
35922         * debug/tst-chk1.c: Likewise.
35923         * debug/tst-longjmp_chk.c: Likewise.
35924         * test-skeleton.c: Include fcntl.h & paths.h
35925         (set_fortify_handler): Define.
35927         * debug/tst-longjmp_chk.c: Add header comment and include
35928         ../test-skeleton.c.
35929         (do_test): Mark static.
35930         (TEST_FUNCTION): Define.
35932         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35933         (IP_PMTUDISC_INTERFACE): Likewise.
35934         (IP_MULTICAST_IF): Likewise.
35935         (IP_MULTICAST_TTL): Likewise.
35936         (IP_MULTICAST_LOOP): Likewise.
35937         (IP_ADD_MEMBERSHIP): Likewise.
35938         (IP_DROP_MEMBERSHIP): Likewise.
35939         (IP_UNBLOCK_SOURCE): Likewise.
35940         (IP_BLOCK_SOURCE): Likewise.
35941         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35942         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35943         (IP_MSFILTER): Likewise.
35944         (MCAST_JOIN_GROUP): Likewise.
35945         (MCAST_BLOCK_SOURCE): Likewise.
35946         (MCAST_UNBLOCK_SOURCE): Likewise.
35947         (MCAST_LEAVE_GROUP): Likewise.
35948         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35949         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35950         (MCAST_MSFILTER): Likewise.
35951         (IP_MULTICAST_ALL): Likewise.
35952         (IP_UNICAST_IF): Likewise.
35954         * timezone/Makefile: Delete $(have-ksh) check.
35955         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35956         * timezone/tzselect.ksh: Add +x mode bits.
35958         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35959         (ANON_INODE_FS_MAGIC): Likewise.
35960         (BDEVFS_MAGIC): Likewise.
35961         (BINFMTFS_MAGIC): Likewise.
35962         (BTRFS_TEST_MAGIC): Likewise.
35963         (CRAMFS_MAGIC_WEND): Likewise.
35964         (DEBUGFS_MAGIC): Likewise.
35965         (ECRYPTFS_SUPER_MAGIC): Likewise.
35966         (EXT3_SUPER_MAGIC): Likewise.
35967         (EXT4_SUPER_MAGIC): Likewise.
35968         (FUTEXFS_SUPER_MAGIC): Likewise.
35969         (HOSTFS_SUPER_MAGIC): Likewise.
35970         (HUGETLBFS_MAGIC): Likewise.
35971         (MINIX3_SUPER_MAGIC): Likewise.
35972         (MTD_INODE_FS_MAGIC): Likewise.
35973         (NILFS_SUPER_MAGIC): Likewise.
35974         (OPENPROM_SUPER_MAGIC): Likewise.
35975         (PIPEFS_MAGIC): Likewise.
35976         (PSTOREFS_MAGIC): Likewise.
35977         (QNX6_SUPER_MAGIC): Likewise.
35978         (RAMFS_MAGIC): Likewise.
35979         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35980         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35981         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35982         (SECURITYFS_MAGIC): Likewise.
35983         (SELINUX_MAGIC): Likewise.
35984         (SMACK_MAGIC): Likewise.
35985         (SOCKFS_MAGIC): Likewise.
35986         (SQUASHFS_MAGIC): Likewise.
35987         (STACK_END_MAGIC): Likewise.
35988         (TMPFS_MAGIC): Likewise.
35989         (USBDEVICE_SUPER_MAGIC): Likewise.
35990         (V9FS_MAGIC): Likewise.
35991         (XENFS_SUPER_MAGIC): Likewise.
35992         (CRAMFS_MAGIC): Fix typo in comment.
35993         (EXT2_SUPER_MAGIC): Update comment.
35994         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35996 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35998         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35999         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36000         * sysdeps/unix/sysv/linux/arm: Move directory from
36001         ports/sysdeps/unix/sysv/linux/arm.
36002         * README: Update listing for arm-*-linux-gnueabi.
36004         * README: Remove mention of am33.
36006 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36008         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36009         than the comma operator, to avoid "rhs of comma has no effect"
36010         compiler warnings.
36011         (__sigfillset, __sigandset, __sigorset): Likewise.
36012         * include/signal.h (__sigemptyset): Likewise.
36013         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36015 2014-02-07  Allan McRae  <allan@archlinux.org>
36017         * version.h (RELEASE): Set to "development".
36018         (VERSION): Set to "2.19.90"
36019         * NEWS: Add 2.20 section.
36021 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36023         [BZ #16529]
36024         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36026 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36028         * manual/contrib.texi: Update entry for Carlos O'Donell,
36029         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36031 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36033         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36035         * sysdeps/unix/sysv/linux/kernel-features.h
36036         [__LINUX_KERNEL_VERSION >= 0x020621]
36037         (__ASSUME_PROC_PID_TASK_COMM): Define.
36039 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36041         [BZ #16398]
36042         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36043         conversion when destination buffer does not have enough space.
36044         * libio/tst-ftell-partial-wide.c: New test case.
36045         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36047         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36048         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36049         Leonard and Allan McRae.
36051 2014-02-04  David S. Miller  <davem@davemloft.net>
36053         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36054         32-bit.
36056 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36059         New file
36060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36061         New file
36062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36063         New file.
36064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36065         New file.
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36067         New file.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36069         New file.
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36071         New file.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36073         New file.
36074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36075         New file.
36076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36077         New file.
36078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36079         New file.
36080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36081         New file.
36082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36083         New file.
36085 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36087         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36088         * shlib-versions: Likewise.
36090 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36091             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36093         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36094         (abilist-pattern): New variable, set to %-le.abilist.
36096         * Makerules (abilist-pattern): New variable.
36097         (vpath): Use $(abilist-pattern) in place of %.abilist.
36098         (check-abi-% pattern rule): Likewise.
36099         (check-abi, update-abi): Likewise.
36101 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36105 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36107         * manual/startup.texi: Add next, previous, and top entries for
36108         the `Program Arguments' and `Environment Variables' nodes.
36110 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36112         * manual/macros.texi: Add comments before MTASC-safety macros.
36114         * manual/users.texi: Document MTASC-safety properties.
36116         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36117         (pthread_getspecific, pthread_setspecific): Format with
36118         @deftypefun, and add @safety note.
36119         * manual/signal.texi: Move comments that analyze the above
36120         functions to their home place.
36122 2014-02-03  Allan McRae  <allan@archlinux.org>
36124         * po/sl.po: Update Slovenian translation from translation project.
36126 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36128         * manual/time.texi (timegm): Add missing blank after @c.
36129         Reported by Joseph Myers <joseph@codesourcery.com>.
36131 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36133         * manual/check-safety.sh: New.
36134         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36136         * manual/terminal.texi: Document MTASC-safety properties.
36138         * manual/filesys.texi: Document MTASC-safety properties.
36140         * manual/errno.texi: Document MTASC-safety properties.
36142         * manual/intro.texi: Document safety identifiers and
36143         conditionals.
36145         * manual/string.texi (wcstok): Fix prototype.
36146         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36148         * manual/time.texi: Document MTASC-safety properties.
36150         * manual/string.texi: Document MTASC-safety properties.
36152         * manual/threads.texi: Document MTASC-safety properties.
36154         * manual/stdio.texi: Document MTASC-safety properties.
36156         * manual/syslog.texi: Document MTASC-safety properties.
36158         * manual/sysinfo.texi: Document MTASC-safety properties.
36160         * manual/startup.texi: Document MTASC-safety properties.
36162         * manual/socket.texi: Document MTASC-safety properties.
36164         * manual/signal.texi: Document MTASC-safety properties.
36166 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36168         * manual/setjmp.texi: Document MTASC-safety properties.
36170         * manual/search.texi: Document MTASC-safety properties.
36172         * manual/resource.texi: Document MTASC-safety properties.
36174         * manual/process.texi: Document MTASC-safety properties.
36176         * manual/platform.texi: Document MTASC-safety properties.
36178         * manual/pipe.texi: Document MTASC-safety properties.
36180         * manual/pattern.texi: Document MTASC-safety properties.
36182         * manual/message.texi: Document MTASC-safety properties.
36184         [BZ #12751]
36185         * manual/memory.texi: Document MTASC-safety properties.
36187         * manual/math.texi: Document MTASC-safety properties.
36189         * manual/locale.texi: Document MTASC-safety properties.
36191         * manual/llio.texi: Document MTASC-safety properties.
36193         * manual/libdl.texi: New.
36195         * manual/lang.texi: Document MTASC-safety properties.
36197         * manual/job.texi: Document MTASC-safety properties.
36199         * manual/getopt.texi: Document MTASC-safety properties.
36201         * manual/ctype.texi: Document MTASC-safety properties.
36203 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36205         [BZ #16046]
36206         * csu/libc-tls.c (static_map): Remove variable.
36207         (__libc_setup_tls): Use main executable's link map for TLS data.
36208         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36209         casing for LM_ID_BASE and GL(dl_nns).
36210         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36211         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36212         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36213         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36214         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36215         member.
36216         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36217         l_phnum members.
36219 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36221         * manual/debug.texi: Document MTASC-safety properties.
36223 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36225         [BZ #16510]
36226         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36227         of __x86_64__ when disabling x87 inline functions.
36229 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36231         * manual/charset.texi: Document MTASC-safety properties.
36233         * manual/crypt.texi: Document MTASC-safety properties.
36235         * manual/conf.texi: Document MTASC-safety properties.
36237         * manual/arith.texi: Document MTASC-safety properties.
36239         * manual/argp.texi: Document MTASC-safety properties.
36241         * manual/macros.texi: Introduce macros to document multi
36242         thread, asynchronous signal and asynchronous cancellation
36243         safety properties.
36244         * manual/intro.texi: Introduce the properties themselves.
36246 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36248         * sysdeps/sh/sh4/Makefile: New file.
36250 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36252         * math/gen-libm-test.pl ($srcdir): New variable.
36253         ($auto_input): Use it.
36255 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36257         [BZ #16506]
36258         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36259         access beyond array bounds when parsing netgroups file.
36261         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36262         the old buffer before realloc.
36264 2014-01-27  Allan McRae  <allan@archlinux.org>
36266         * po/fr.po: Update French translation from translation project.
36268 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36270         * sysdeps/sh/libm-test-ulps: Regenerate.
36272 2014-01-24  David S. Miller  <davem@davemloft.net>
36274         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36276 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36279         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36281 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36283         [BZ #16474]
36284         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36285         string pointers after reallocation.
36287 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36289         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36290         __SH4A__ instead of __SH_FPU_ANY__.
36292 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36294         * sysdeps/sh/fpu_control.h: New file.
36295         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36296         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36297         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36298         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36299         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36300         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36301         * sysdeps/sh/sys/ucontext.h: Remove.
36302         * sysdeps/sh/sys: Remove directory.
36304 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36306         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36307         s390/sys/ucontext.h.
36308         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36309         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36311 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36313         [BZ #15605]
36314         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36316 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36318         [BZ#16431]
36319         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36320         Adjust the vDSO correctly for internal calls.
36321         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36323 2014-01-20  Allan McRae  <allan@archlinux.org>
36325         * po/ca.po: Update Catalan translation from translation project.
36327 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36329         * sysdeps/s390/sotruss-lib.c: New file.
36331 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36333         [BZ#16430]
36334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36335         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36336         local calls issues by not having a PLT stub required for IFUNC calls.
36337         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36339 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36341         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36342         * math/test-fpucw-static.c: Likewise.
36344 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36346         [BZ #16453]
36347         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36349 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36351         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36352         implementation for powerpc.
36354 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36356         [BZ #14782]
36357         * sysdeps/posix/system.c (__libc_system): Do not enable
36358         asynchronous cancellation.
36360 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36362         [BZ #16427]
36363         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36364         handling only for numbers special also in the IEEE case.
36366 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36368         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36370 2014-01-11  Allan McRae  <allan@archlinux.org>
36372         * po/bg.po: Update Bulgarian translation from translation project.
36374         * po/de.po: Update German translation from translation project.
36376 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36378         * sysdeps/generic/gcc-compat.h: New file.
36380 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36382         * benchtests/asin-inputs: Correct slow inputs.
36383         * benchtests/acos-inputs: Likewise.
36385 2014-01-10  Allan McRae  <allan@archlinux.org>
36387         * po:sv.po: Update Swedish translation from translation project.
36389         * po/vi.po: Update Vietnamese translation from translation project.
36391         * po/eo.po: Update Esperanto translation from translation project.
36393         * po/cs.po: Update Czech translation from translation project.
36395         * po/nl.po: Update Dutch translation from translation project.
36397         * po/pl.po: Update Polish translation from translation project.
36399         * po/ru.po: Update Russian translation from translation project.
36401         * po/uk.po: Update Ukrainian translation from translation project.
36403 2014-01-08  Brooks Moses  <bmoses@google.com>
36405         * elf/dl-load.c: Fix comment typo.
36407 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36409         * po/header.pot: Rename to...
36410         * po/pot.header: ... this.
36411         * po/Makefile: Use pot.header.
36413 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36414             Maxim Kuvyrkov  <maxim@kugelworks.com>
36416         [BZ #16394]
36417         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36418         SRC and DEST against LEN.
36420 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36422         [BZ #16414]
36423         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36424         implementation.
36425         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36427 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36431 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36433         [BZ #16408]
36434         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36435         for large positive arguments.
36437 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36439         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36441         * math/auto-libm-test-in: Mark various tests with
36442         xfail-rounding:ldbl-128ibm.
36443         * math/auto-libm-test-out: Regenerated.
36445         [BZ #16407]
36446         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36447         Increase overflow threshold.
36449 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36451         [BZ #14286]
36452         * stdio-common/vfprintf.c: Check for integer overflow.
36454 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36456         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36457         the first argument and return value of __tls_get_addr_internal.
36459 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36461         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36462         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36464 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36466         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36467         * sysdeps/s390/rtld-global-offsets.sym: New file.
36468         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36469         GLIBC_2.19 symbol.
36470         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36471         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36472         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36473         ... this.
36474         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36475         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36476         ... this.
36477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36478         Regenerate.
36479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36480         Regenerate.
36481         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36482         halfs of GPRs for high_gprs contexts.
36483         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36484         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36485         field.
36486         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36487         uc_flags field.
36488         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36489         64 bit versions:
36490         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36491         for high GPRs (uc_high_gprs) and for future extensions
36492         (__reserved).
36493         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36494         for future extensions (__reserved).
36495         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36496         64 bit versions:
36497         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36498         SC_HIGHGPRS offset definition.
36499         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36500         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36502         * Versions.def: Add GLIBC_2.19 for libpthread.
36503         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36504         siglongjmp for libpthread with GLIBC_2.19 symver.
36505         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36506         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36507         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36508         * sysdeps/s390/__longjmp.c: New file.
36509         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36510         * sysdeps/s390/longjmp.c: New file.
36511         * sysdeps/s390/setjmp.S: New file.
36512         * sysdeps/s390/sigjmp.S: New file.
36513         * sysdeps/s390/v1-longjmp.c: New file.
36514         * sysdeps/s390/v1-setjmp.h: New file.
36515         * sysdeps/s390/v1-sigjmp.c: New file.
36516         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36517         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36518         GLIBC_2.19 version.
36519         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36520         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36521         versioned symbols for ____longjmp_chk.
36522         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36523         Likewise.
36524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36525         Regenerate.
36526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36527         Regenerate.
36528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36529         Regenerate.
36530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36531         Regenerate.
36532         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36533         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36534         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36535         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36536         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36537         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36538         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36539         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36540         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36541         * sysdeps/s390/rtld-__longjmp.c: New file.
36542         * sysdeps/s390/rtld-setjmp.S: New file.
36544 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36546         [BZ #16400]
36547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36548         Return -__logl (x) for small positive arguments without evaluating
36549         a polynomial.
36551 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36553         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36554         Rename to ...
36555         (__ptrace_peeksiginfo_args): ... this.
36556         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36558         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36560 2014-01-06  Allan McRae  <allan@archlinux.org>
36562         * inet/netinet/in.h: Fix typo in comment.
36564 2014-01-05  Andreas Jaeger  <aj@suse.de>
36566         * sysdeps/i386/fpu/libm-test-ulps: Update.
36568 2014-01-05  Allan McRae  <allan@archlinux.org>
36570         * po/libc.pot: Regenerated.
36572         * malloc/memusagestat.c: Fix gettext call formatting.
36574 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36576         * nscd/nscd.c: Improve usage() output.
36578 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36580         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36581         * sysdeps/unix/sysv/linux/configure: Regenerated.
36582         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36583         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36585 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36587         [BZ #16390]
36588         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36589         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36591 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36594         extra tokens at end of #undef directive.
36595         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36596         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36597         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36599 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36601         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36603         * math/auto-libm-test-in: Mark various tests with
36604         xfail-rounding:ldbl-128ibm.
36605         * math/auto-libm-test-out: Regenerated.
36607 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36609         [BZ #16386]
36610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36611         numbers with subnormal high part when calculating exponent.
36613         [BZ #16385]
36614         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36615         fabs.
36617         [BZ #16384]
36618         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36619         M_LN2l.
36620         (__ieee754_acoshl): Use __log1pl not __log1p.
36622 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36624         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36625         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36626         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36627         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36628         (reused_arena, arena_get2): Convert to GNU style.
36629         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36630         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36631         (memalign_check, __malloc_set_state): Likewise.
36632         * malloc/mallocbug.c (main): Likewise.
36633         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36634         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36635         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36636         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36637         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36638         (__posix_memalign, malloc_info): Likewise.
36639         * malloc/malloc.h: Likewise.
36640         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36641         (mallochook, memalignhook, reallochook, mabort): Likewise.
36642         * malloc/mcheck.h: Likewise.
36643         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36644         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36645         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36646         * malloc/morecore.c (__default_morecore): Likewise.
36647         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36648         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36649         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36650         (print_and_abort): Likewise.
36651         * malloc/obstack.h: Likewise.
36652         * malloc/set-freeres.c (__libc_freeres): Likewise.
36653         * malloc/tst-mallocstate.c (main): Likewise.
36654         * malloc/tst-mtrace.c (main): Likewise.
36655         * malloc/tst-realloc.c (do_test): Likewise.
36657 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36659         [BZ #16366]
36660         * nscd/netgroupcache.c (do_notfound): New function.
36661         (addgetnetgrentX): Use it.
36663         [BZ # 16365]
36664         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36665         NSS_STATUS_NOTFOUND.
36667 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36669         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36672 2014-01-01  Allan McRae  <allan@archlinux.org>
36674         * scripts/update-copyrights: Update configure input file suffix.
36676         * NEWS: Update copyright year.
36677         * catgets/gencat.c: Likewise.
36678         * csu/version.c: Likewise.
36679         * debug/catchsegv.sh: Likewise.
36680         * debug/pcprofiledump.c: Likewise.
36681         * debug/xtrace.sh: Likewise.
36682         * elf/ldconfig.c: Likewise.
36683         * elf/ldd.bash.in: Likewise.
36684         * elf/pldd.c: Likewise.
36685         * elf/sotruss.ksh: Likewise.
36686         * elf/sprof.c: Likewise.
36687         * iconv/iconv_prog.c: Likewise.
36688         * iconv/iconvconfig.c: Likewise.
36689         * locale/programs/locale.c: Likewise.
36690         * locale/programs/localedef.c: Likewise.
36691         * login/programs/pt_chown.c: Likewise.
36692         * malloc/memusage.sh: Likewise.
36693         * malloc/memusagestat.c: Likewise.
36694         * malloc/mtrace.pl: Likewise.
36695         * manual/libc.texinfo: Likewise.
36696         * nscd/nscd.c: Likewise.
36697         * nss/getent.c: Likewise.
36698         * nss/makedb.c: Likewise.
36699         * posix/getconf.c: Likewise.
36700         * scripts/test-installation.pl: Likewise.
36702         * All files with FSF copyright notices: Update copyright dates
36703         using scripts/update-copyrights.
36704         * intl/plural.c: Regenerated.
36705         * locale/programs/charmap-kw.h: Likewise.
36706         * locale/programs/locfile-kw.h: Likewise.
36708 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36710         * sysdeps/unix/sysv/linux/configure: Regenerated.
36711         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36712         the linux/fanotify.h header.
36713         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36714         HAVE_LINUX_FANOTIFY_H is defined.
36716 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36718         * benchtests/cos-inputs: New inputs.
36719         * benchtests/sin-inputs: Likewise.
36721         * benchtests/atan-inputs: New inputs. Fix name of multiple
36722         precision fallback inputs.
36724         * benchtests/atanh-inputs: New inputs.
36725         * benchtests/tanh-inputs: Likewise.
36727         * benchtests/acosh-inputs: New inputs.
36728         * benchtests/asinh-inputs: Likewise.
36730         * benchtests/cosh-inputs: New inputs.
36731         * benchtests/sinh-inputs: Likewise.
36733         * benchtests/acos-inputs: Add more inputs.
36734         * benchtests/asin-inputs: Likewise.
36736 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
36738         [BZ #16375]
36739         * manual/arith.texi: Fix spelling.
36740         * manual/charset.texi: Likewise.
36741         * manual/errno.texi: Likewise.
36742         * manual/filesys.texi: Likewise.
36743         * manual/lang.texi: Likewise.
36744         * manual/llio.texi: Likewise.
36745         * manual/locale.texi: Likewise.
36746         * manual/message.texi: Likewise.
36747         * manual/resource.texi: Likewise.
36748         * manual/search.texi: Likewise.
36749         * manual/setjmp.texi: Likewise.
36750         * manual/stdio.texi: Likewise.
36751         * manual/string.texi: Likewise.
36752         * manual/sysinfo.texi: Likewise.
36753         * manual/time.texi: Likewise.
36755 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
36757         * po/sl.po: New file.
36759 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
36761         * .gitignore: Add core/.gdbinit/.gdb_history.
36763 2013-12-27  Allan McRae  <allan@archlinux.org>
36765         [BZ #16369]
36766         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36767         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36769 2013-12-24  Brooks Moses  <bmoses@google.com>
36771         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36772         all compilers that claim C++98 compliance, not just GCC.
36773         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36774         Likewise.
36776 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36778         * NEWS: Restore accidentally deleted bug-fix entries.
36780 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36781             Ondřej Bílka  <neleai@seznam.cz>
36783         [BZ #15073]
36784         * malloc/malloc.c (_int_free): Perform sanity check only if we
36785         have_lock.
36787 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36789         [BZ #12986]
36790         * manual/stdio.texi (String Input Conversions): Clarify that character
36791         classes are not supported.
36793 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36797 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36799         [BZ #16337]
36800         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36801         Calculate results for small negative arguments directly rather
36802         than using reflection formula with special underflow handling.
36804         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36805         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36806         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36807         (fchflags): Likewise.
36808         (revoke): Likewise.
36809         (setlogin): Likewise.
36810         (sigaltstack): Likewise.
36811         (wait4): Likewise.
36812         (sigblock): Remove.
36813         (sigsetmask): Likewise.
36814         (wait3): Likewise.
36815         (waitpid): Likewise.
36816         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36817         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36818         file.
36819         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36820         * sysdeps/unix/bsd/Makefile: ... here.
36821         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36822         * sysdeps/unix/bsd/Versions: ... here.
36823         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36824         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36825         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36826         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36827         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36828         * sysdeps/unix/bsd/sigblock.c: ... here.
36829         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36830         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36831         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36832         * sysdeps/unix/bsd/sigvec.c: ... here.
36833         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36834         * sysdeps/unix/bsd/tcdrain.c: ... here.
36835         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36836         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36837         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36838         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36839         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36840         * sysdeps/unix/bsd/wait.c: ... here.
36841         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36842         * sysdeps/unix/bsd/wait3.c: ... here.
36843         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36844         * sysdeps/unix/bsd/waitpid.c: ... here.
36846 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36848         [BZ #16356]
36849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36850         round-to-nearest for [!USE_AS_EXPM1L].
36851         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36852         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36853         more tests of exp and exp10.  Expect some exp10 tests to miss
36854         exceptions or fail in directed rounding modes.
36855         * math/auto-libm-test-out: Regenerated.
36856         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36857         (exp10_test_tonearest): New function.
36858         (exp10_towardzero_test_data): New array.
36859         (exp10_test_towardzero): New function.
36860         (exp10_downward_test_data): New array.
36861         (exp10_test_downward): New function.
36862         (exp10_upward_test_data): New array.
36863         (exp10_test_upward): New function.
36864         (main): Call the new functions.
36865         * sysdeps/i386/fpu/libm-test-ulps: Update.
36866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36868 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36870         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36871         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36872         * math/auto-libm-test-out: Regenerated.
36873         * math/libm-test.inc (acosh_test_data): Add more tests.
36874         (atanh_test_data): Likewise.
36875         (ceil_test_data): Likewise.
36876         (copysign_test_data): Likewise.
36877         * sysdeps/i386/fpu/libm-test-ulps: Update.
36878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36880         * timezone/checktab.awk: Update from tzcode 2013i.
36881         * timezone/private.h: Likewise.
36882         * timezone/scheck.c: Likewise.
36883         * timezone/tzfile.h: Likewise.
36884         * timezone/tzselect.ksh: Likewise.
36885         * timezone/zdump.c: Likewise.
36886         * timezone/zic.c: Likewise.
36888         * math/auto-libm-test-in: Add tests of cpow.
36889         * math/auto-libm-test-out: Regenerated.
36890         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36892         mpc_cc_c.
36893         (func_calc_desc): Add mpc_cc_c union field.
36894         (test_functions): Add cpow.
36895         (special_fill_2pi): New function.
36896         (special_real_inputs): Add 2pi.
36897         (calc_generic_results): Handle mpc_cc_c.
36898         * sysdeps/i386/fpu/libm-test-ulps: Update.
36899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36901         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36902         csqrt, ctan and ctanh.
36903         * math/auto-libm-test-out: Regenerated.
36904         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36905         (TEST_COND_x86): Likewise.
36906         (ccos_test_data): Use AUTO_TESTS_c_c.
36907         (ccosh_test_data): Likewise.
36908         (cexp_test_data): Likewise.
36909         (clog_test_data): Likewise.
36910         (csqrt_test_data): Likewise.
36911         (ctan_test_data): Likewise.
36912         (ctan_tonearest_test_data): Likewise.
36913         (ctan_towardzero_test_data): Likewise.
36914         (ctan_downward_test_data): Likewise.
36915         (ctan_upward_test_data): Likewise.
36916         (ctanh_test_data): Likewise.
36917         (ctanh_tonearest_test_data): Likewise.
36918         (ctanh_towardzero_test_data): Likewise.
36919         (ctanh_downward_test_data): Likewise.
36920         (ctanh_upward_test_data): Likewise.
36921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36922         mpc_c_c.
36923         (func_calc_desc): Add mpc_c_c union field.
36924         (FUNC_mpc_c_c): New macro.
36925         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36926         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36927         ctanh.
36928         (special_fill_min_subnorm_p120): New function.
36929         (special_real_inputs): Add min_subnorm_p120.
36930         (calc_generic_results): Handle mpc_c_c.
36931         * sysdeps/i386/fpu/libm-test-ulps: Update.
36932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36934 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36936         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36937         (do_sin_slow): New functions.
36938         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36939         (cslow2, csloww1, csloww2): Use the new functions.
36941         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36942         Use M to change sign of result instead of X.  Assume X is
36943         positive.
36944         (csloww1): Likewise.
36945         (__sin): Adjust.
36946         (__cos): Adjust.
36948         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36949         arguments A and DA.
36950         (__sin): Adjust.
36951         (__cos): Likewise.
36953         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36954         (__cos): Likewise.
36955         (sloww1): Don't adjust sign of DX.
36956         (csloww1): Likewise.
36957         (sloww2): Use X directly and don't adjust sign of DX.
36958         (csloww2): Likewise.
36960 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36962         * math/auto-libm-test-in: Add tests of cabs and carg.
36963         * math/auto-libm-test-out: Regenerated.
36964         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36965         (carg_test_data): Likewise.
36966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36967         mpc_c_f.
36968         (func_calc_desc): Add mpc_c_f union field.
36969         (test_functions): Add cabs and carg.
36970         (calc_generic_results): Handle mpc_c_f.
36972         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36973         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36974         as a macro and a compat symbol.
36975         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36976         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36977         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36978         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36979         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36980         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36981         not use .hidden.
36982         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36983         Likewise.
36984         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36985         Likewise.
36986         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36987         Likewise.
36988         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36989         Likewise.
36990         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36991         Likewise.
36992         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36993         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36994         from GLIBC_2.3.2.
36996 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37000 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37002         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37003         trailing whitespace removed.
37004         * scripts/config.guess: Update to version 2013-11-29.
37005         * scripts/config.sub: Update to version 2013-10-01.
37007         * math/auto-libm-test-in: Add tests of sincos.
37008         * math/auto-libm-test-out: Regenerated.
37009         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37011         mpfr_f_11.
37012         (func_calc_desc): Add mpfr_f_11 union field.
37013         (test_functions): Add sincos.
37014         (calc_generic_results): Handle mpfr_f_11.
37015         * sysdeps/i386/fpu/libm-test-ulps: Update.
37016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37018 2013-12-19  Andreas Schwab  <schwab@suse.de>
37020         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37021         CALL_MCOUNT.
37022         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37023         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37024         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37026 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37028         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37029         * sysdeps/i386/fpu/libm-test-ulps: Update.
37030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37032         [BZ #16293]
37033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37034         round-to-nearest mode when using frndint.
37035         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37036         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37037         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37038         Likewise.
37039         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37040         sinh test to fail.
37041         * math/auto-libm-test-out: Regenerated.
37042         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37043         (TEST_COND_x86): Likewise.
37044         (expm1_tonearest_test_data): New array.
37045         (expm1_test_tonearest): New function.
37046         (expm1_towardzero_test_data): New array.
37047         (expm1_test_towardzero): New function.
37048         (expm1_downward_test_data): New array.
37049         (expm1_test_downward): New function.
37050         (expm1_upward_test_data): New array.
37051         (expm1_test_upward): New function.
37052         (main): Run the new test functions.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056         * include/features.h: Update comment documenting feature test
37057         macros.  Mention _DEFAULT_SOURCE in comment.
37058         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37059         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37060         _BSD_SOURCE and _SVID_SOURCE.
37061         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37062         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37063         !_SVID_SOURCE]: Likewise.
37064         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37065         (__USE_POSIX_IMPLICITLY): Define.
37066         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37067         (_POSIX_SOURCE): Undefine and redefine.
37068         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37069         (_POSIX_C_SOURCE): Likewise.
37070         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37071         (Feature Test Macros): Update documentation of default features.
37073 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37075         * benchtests/Makefile: Add bench-strtok.
37076         * benchtests/bench-strtok.c: New file: strtok benchtest.
37078 2013-12-19  Allan McRae  <allan@archlinux.org>
37080         * manual/install.texi: Suppress menu for plain text output.
37081         * INSTALL: Regenerated.
37083 2013-12-18  Brooks Moses  <bmoses@google.com>
37085         [BZ #15846]
37086         * misc/getauxval.c: Include errno.h.
37087         (__getauxval): Set errno to ENOENT if the requested type is not
37088         found.
37089         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37090         don't declare with __attribute_const__.
37091         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37092         * manual/startup.texi: Document that getauxval sets errno.
37094 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37096         * math/auto-libm-test-in: Add tests of jn and yn.
37097         * math/auto-libm-test-out: Regenerated.
37098         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37099         (yn_test_data): Likewise.
37100         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37101         mpfr_if_f.
37102         (func_calc_desc): Add mpfr_if_f union field.
37103         (FUNC_mpfr_if_f): New macro.
37104         (test_functions): Add jn and yn.
37105         (calc_generic_results): Assert type of second input for
37106         mpfr_ff_f.  Handle mpfr_if_f.
37107         (output_for_one_input_case): Disable all checking for arguments
37108         fitting floating-point types in case of an integer argument.
37109         * sysdeps/i386/fpu/libm-test-ulps: Update.
37110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37113         Don't expect fegetround reference in libm.so.
37115 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37117         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37118         $(config-cflags-nofma).
37120 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37122         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37123         * math/auto-libm-test-out: Regenerated.
37125         [BZ #16338]
37126         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37127         to determine exponent and adjust argument to have exponent of -1.
37128         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37129         log2.
37130         * math/auto-libm-test-out: Regenerated.
37131         * sysdeps/i386/fpu/libm-test-ulps: Update.
37132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37134 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37136         * manual/probes.texi: Remove cases when per-thread arenas are
37137         disabled.
37139 2013-12-18  Andreas Schwab  <schwab@suse.de>
37141         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37142         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37143         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37144         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37145         * sysdeps/i386/i686/multiarch/Makefile: Update.
37146         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37148 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37150         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37151         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37153 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37155         [BZ #15968]
37156         Support TZ transition times < 00:00:00.
37157         This is needed for version-3 tz-format files; it supports time
37158         stamps past 2037 for America/Godthab (the only entry in the tz
37159         database for which this change is relevant).
37160         * manual/time.texi (TZ Variable): Document transition times
37161         from -167:59:59 through -00:00:01.
37162         * time/tzset.c (tz_rule): Time of day is now signed.
37163         (__tzset_parse_tz): Parse negative time of day.
37165         Document TZ transition times >= 25:00:00.
37166         * manual/time.texi (TZ Variable): Document transition times from
37167         25:00:00 through 167:59:59.  These are already supported, and this
37168         support will help with version-3 tz-format files.
37170         * manual/time.texi (TZ Variable): Modernize North America example
37171         to reflect current (i.e., 2007-and-later) daylight saving rules.
37173         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37175 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37177         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37178         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37179         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37181         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37182         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37183         * sysdeps/unix/bsd/clock.c: Likewise.
37184         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37185         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37186         * sysdeps/unix/bsd/init-posix.c: Likewise.
37187         * sysdeps/unix/bsd/poll.c: Likewise.
37188         * sysdeps/unix/bsd/ptsname.c: Likewise.
37189         * sysdeps/unix/bsd/seekdir.c: Likewise.
37190         * sysdeps/unix/bsd/setegid.c: Likewise.
37191         * sysdeps/unix/bsd/seteuid.c: Likewise.
37192         * sysdeps/unix/bsd/setgid.c: Likewise.
37193         * sysdeps/unix/bsd/setrgid.c: Likewise.
37194         * sysdeps/unix/bsd/setruid.c: Likewise.
37195         * sysdeps/unix/bsd/setsid.c: Likewise.
37196         * sysdeps/unix/bsd/setuid.c: Likewise.
37197         * sysdeps/unix/bsd/sigaction.c: Likewise.
37198         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37199         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37200         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37201         * sysdeps/unix/bsd/telldir.c: Likewise.
37202         * sysdeps/unix/bsd/times.c: Likewise.
37203         * sysdeps/unix/bsd/usleep.c: Likewise.
37205         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37206         ($(objpfx)libbsd-compat.a): Remove rule.
37208         * include/features.h (__FAVOR_BSD): Do not define.
37209         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37210         features conflicting with POSIX.
37211         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37212         (_BSD_SOURCE): Remove description of not being a subset of other
37213         feature test macros.
37214         * manual/job.texi (getpgrp): Do not document BSD version.
37215         (getpgid): Do not document by reference to BSD getpgrp.
37216         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37217         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37218         * signal/signal.h [__FAVOR_BSD]: Likewise.
37219         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37220         instead of making contents conditional on [__FAVOR_BSD].
37221         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37223 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37227 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37229         [BZ #16314]
37230         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37231         values below 2**-450, not 2**-500.
37232         * math/auto-libm-test-in: Don't allow spurious underflow from
37233         hypot.
37234         * math/auto-libm-test-out: Regenerated.
37236         [BZ #16316]
37237         [BZ #16330]
37238         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37239         values of ha and hb and sort them after adjusting subnormal
37240         arguments.
37241         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37242         Likewise.
37243         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37244         values of ea and eb and sort them after adjusting subnormal
37245         arguments.
37246         * math/auto-libm-test-in: Do not expect some hypot tests of
37247         subnormals to fail.  Add more hypot tests.
37248         * math/auto-libm-test-out: Regenerated.
37250 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37252         [BZ #13304]
37253         * sysdeps/sh/s_fma.c: New file.
37254         * sysdeps/sh/s_fmaf.c: New file.
37255         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37256         version.
37257         * sysdeps/sh/Implies: Add sh/soft-fp.
37259 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37261         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37262         level of indirection to members `objname', `errstring', `malloced'.
37263         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37264         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37265         it as the __longjmp argument (just pass 1 instead).
37266         (_dl_catch_error): Initialize C with argument pointers and address of
37267         volatile local ERRCODE rather than copying values out of C at return.
37269 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37271         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37272         * math/auto-libm-test-out: Regenerated.
37273         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37274         (hypot_test_data): Likewise.
37275         (pow_test_data): Likewise.
37276         (pow_tonearest_test_data): Likewise.
37277         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37278         mpfr_ff_f.
37279         (func_calc_desc): Add mpfr_ff_f union field.
37280         (FUNC_mpfr_ff_f): New macro.
37281         (test_functions): Add atan2, hypot and pow.
37282         (special_fill_min): New function.
37283         (special_fill_minus_min): Likewise.
37284         (special_fill_min_subnorm): Likewise.
37285         (special_fill_minus_min_subnorm): Likewise.
37286         (special_real_inputs): Add min, -min, min_subnorm and
37287         -min_subnorm.
37288         (calc_generic_results): Handle mpfr_ff_f.
37289         * sysdeps/i386/fpu/libm-test-ulps: Update.
37290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37292 2013-12-16  Will Newton  <will.newton@linaro.org>
37294         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37295         (Aligned Memory Blocks): Add documentation for aligned_alloc
37296         and suggest it as an alternative to posix_memalign.
37297         (Hooks for Malloc): Document __memalign_hook is also called
37298         for aligned_alloc.  (Summary of Malloc): Add summary for
37299         aligned alloc.  Document __memalign_hook is also called
37300         for aligned_alloc.
37302 2013-12-16  Will Newton  <will.newton@linaro.org>
37304         * manual/memory.texi (Malloc Examples): Clarify default
37305         alignment documentation.  Suggest posix_memalign rather
37306         than memalign or valloc.
37307         (Aligned Memory Blocks): Remove suggestion to use memalign
37308         or valloc.  Remove obsolete comment about BSD.
37309         Document memalign errno values and mark the function obsolete.
37310         Document posix_memalign returned error codes.  Mark valloc
37311         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37312         called for posix_memalign and valloc.
37313         (Summary of Malloc): Add posix_memalign to function summary.
37314         __memalign_hook is also called for posix_memalign and valloc.
37316 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37318         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37319         TAYLOR_SIN.
37320         (__sin): Adjust.
37321         (__cos): Likewise.
37322         (sloww): Use mynumber union.  Expand ternary operator into
37323         if-else statements.
37324         (cslow): use mynumber union.
37326 2013-12-16  Allan McRae  <allan@archlinux.org>
37328         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37329         * configure: Regenerated.
37331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37333         [BZ #14120]
37334         * configure.ac: Added --enable-maintainer-mode. Check for
37335         autoconf when enabled.
37336         * configure: Regenerated.
37338         * nscd/nscd.service: New file.
37339         * nscd/nscd.tmpfiles: New file.
37341 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37343         [BZ #12100]
37344         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37345         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37346         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37347         (strstr): Add __strstr_sse2_unaligned ifunc.
37348         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37349         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37350         (strcasestr): Remove __strcasestr_sse42 ifunc.
37351         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37355 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37357         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37358         * sysdeps/sh/bits/fenv.h: ... here.
37359         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37361 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37363         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37366         hypotf multiarch implementations.
37367         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37368         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37369         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37370         multiarch hypot for PPC64.
37371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37373         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37374         multiarch hypotf for PPC64.
37376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37377         modff multiarch implementations.
37378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37381         multiarch modf for PPC64.
37382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37385         multiarch modff for PPC64.
37387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37388         and logl multiarch implementations.
37389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37392         multiarch logb for PPC64.
37393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37396         multiarch logb for PPC64.
37397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37400         multiarch logb for PPC64.
37402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37403         isinff multiarch implementation.
37404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37405         file.
37406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37408         multiarch isinf for PPC64.
37409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37410         file.
37411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37412         multiarch isinff for PPC64.
37414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37415         finitef multiarch implementation.
37416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37417         file.
37418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37420         multiarch finite for PPC64.
37421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37422         file.
37423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37424         multiarch finitef for PPC64.
37426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37427         lrint multiarch implementation.
37428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37429         file.
37430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37432         multiarch llrint for PPC64.
37433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37434         multiarch lrint for PPC64.
37436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37437         copysignf multiarch implementation.
37438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37439         file.
37440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37441         file.
37442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37443         multiarch copysign for PPC64.
37444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37445         multiarch copysignf for PPC64.
37447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37448         multiarch implementation.
37449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37450         file.
37451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37452         file.
37453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37454         file.
37455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37456         file.
37457         multiarch llround for PPC64.
37458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37459         multiarch trunc for PPC64.
37460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37461         multiarch truncf for PPC64.
37463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37464         multiarch implementation.
37465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37466         file.
37467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37468         file.
37469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37470         file.
37471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37472         file.
37473         multiarch llround for PPC64.
37474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37475         multiarch round for PPC64.
37476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37477         multiarch roundf for PPC64.
37479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37480         multiarch implementation.
37481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37482         file.
37483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37484         file.
37485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37486         file.
37487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37488         file.
37489         multiarch llround for PPC64.
37490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37491         multiarch floor for PPC64.
37492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37493         multiarch floorf for PPC64.
37495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37496         multiarch implementation.
37497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37498         file.
37499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37500         file.
37501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37502         file.
37503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37504         file.
37505         multiarch llround for PPC64.
37506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37507         multiarch ceil for PPC64.
37508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37509         multiarch ceilf for PPC64.
37511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37512         multiarch implementation.
37513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37514         file.
37515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37516         file.
37517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37518         file.
37519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37520         multiarch llround for PPC64.
37521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37522         multiarch lround for PPC64.
37524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37525         multiarch implementation.
37526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37529         file.
37530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37533         multiarch isnan for PPC64.
37534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37535         multiarch isnanf for PPC64.
37537         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37538         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37539         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37540         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37541         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37544         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37545         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37546         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37547         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37550         multiarch implementations.
37551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37552         (__libc_ifunc_impl_list): Likewise.
37553         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37556         multiarch stpcpy for PPC64.
37558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37559         multiarch implementations.
37560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37561         (__libc_ifunc_impl_list): Likewise.
37562         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37564         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37565         multiarch strcpy for PPC64.
37567         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37568         redefine function name.
37569         (_wordcopy_fwd_dest_aligned): Likewise.
37570         (_wordcopy_bwd_aligned): Likewise.
37571         (_wordcopy_bwd_dest_aligned): Likewise.
37572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37573         multiarch implementations.
37574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37575         (__libc_ifunc_impl_list): Likewise.
37576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37580         multiarch wcscpy for PPC64.
37582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37583         multiarch implementations.
37584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37585         (__libc_ifunc_impl_list): Likewise.
37586         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37587         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37588         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37590         multiarch wcscpy for PPC64.
37592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37593         multiarch implementations.
37594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37595         (__libc_ifunc_impl_list): Likewise.
37596         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37597         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37598         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37600         multiarch wcsrchr for PPC64.
37602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37603         multiarch implementations.
37604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37605         (__libc_ifunc_impl_list): Likewise.
37606         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37607         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37608         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37609         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37610         multiarch wcschr for PPC64.
37612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37613         multiarch implementations.
37614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37615         (__libc_ifunc_impl_list): Likewise.
37616         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37617         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37618         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37619         multiarch strchrnul for PPC64.
37621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37622         implementations.
37623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37624         (__libc_ifunc_impl_list): Likewise.
37625         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37626         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37627         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37628         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37629         strchr for PPC64.
37631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37632         implementations.
37633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37634         (__libc_ifunc_impl_list): Likewise.
37635         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37637         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37638         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37639         strncmp for PPC64.
37641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37642         multiarch implementations.
37643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37644         (__libc_ifunc_impl_list): Likewise.
37645         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37646         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37647         strncasecmp for PPC64.
37648         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37649         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37650         multiarch strncasecmp_l for PPC64.
37652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37653         multiarch implementations.
37654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37655         (__libc_ifunc_impl_list): Likewise.
37656         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37657         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37658         multiarch strcasecmp for PPC64.
37659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37660         file.
37661         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37662         multiarch strcasecmp_l for PPC64.
37664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37665         implementations.
37666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37667         (__libc_ifunc_impl_list): Likewise.
37668         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37669         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37670         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37671         strnlen for PPC64.
37673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37674         implementations.
37675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37676         (__libc_ifunc_impl_list): Likewise.
37677         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37678         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37679         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37680         strlen for PPC64.
37682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37683         implementations.
37684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37685         (__libc_ifunc_impl_list): Likewise.
37686         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37687         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37688         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37689         rawmemrchr for PPC64.
37691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37692         implementation.
37693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37694         (__libc_ifunc_impl_list): Likewise.
37695         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37696         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37697         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37698         memrchr for PPC64.
37700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37701         implementation.
37702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37703         (__libc_ifunc_impl_list): Likewise.
37704         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37705         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37706         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37707         memchr for PPC64.
37709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37710         implementation.
37711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37712         (__libc_ifunc_impl_list): Likewise.
37713         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37714         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37715         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37716         mempcpy for PPC64.
37718         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37719         avoid cretion of __bzero symbol.
37720         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37721         Likewise.
37722         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37723         Likewise.
37724         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37725         Likewise.
37726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37727         multiarch implementations.
37728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37729         (__libc_ifunc_impl_list): Likewise.
37730         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37731         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37732         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37733         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37734         bzero for PPC32.
37735         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37736         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37737         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37738         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37739         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37740         memset for PPC64.
37741         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37743         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37745         implementations.
37746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37747         (__libc_ifunc_impl_list): Likewise.
37748         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37749         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37750         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37751         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37752         memcmp for PPC64.
37754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37755         multiarch for POWER/PPC64.
37756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37757         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37758         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37759         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37764         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37765         memcpy for PPC64.
37767         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37768         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37769         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37770         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37771         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37772         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37773         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37774         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37775         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37776         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37777         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37778         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37779         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37780         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37781         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37790 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37794 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37796         * benchtests/Makefile (bench): Add exp2 and log2.
37797         (LDLIBS-bench-exp2): Add -lm.
37798         (LDLIBS-bench-log2): Likewise.
37799         * benchtests/exp2-inputs: New inputs file.
37800         * benchtests/log2-inputs: New inputs file.
37801         * benchtests/log-inputs: Add new inputs.
37802         * benchtests/tan-inputs: Likewise.
37804 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37806         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37807         definition...
37808         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37809         (csloww2): ... from here.
37811         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37812         instead of structures.
37813         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37814         (POLYNOMIAL): Likewise.
37815         (TAYLOR_SLOW): Likewise.
37816         (__sin): Likewise.
37817         (__cos): Likewise.
37818         (slow1): Likewise.
37819         (slow2): Likewise.
37820         (sloww): Likewise.
37821         (sloww1); Likewise.
37822         (sloww2): Likewise.
37823         (bsloww1): Likewise.
37824         (bsloww2): Likewise.
37825         (cslow2): Likewise.
37826         (csloww): Likewise.
37827         (csloww1): Likewise.
37828         (csloww2): Likewise.
37830 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37832         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37833         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37834         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37835         * malloc/hooks.c (realloc_check): Likewise.
37837         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37838         * malloc/arena.c: Remove PER_THREAD conditional.
37839         [!PER_THREAD]: Remove code.
37840         (ptmalloc_unlock_all2): Likewise.
37841         (ptmalloc_init): Likewise.
37842         (_int_new_arena): Likewise.
37843         (arena_get2): Likewise.
37844         * malloc/hooks.c (__malloc_get_state): Likewise.
37845         (__malloc_set_state): Likewise.
37846         * malloc/malloc.c: Likewise.
37847         (struct malloc_state): Likewise.
37848         (struct malloc_par): Likewise.
37849         (__libc_realloc): Likewise.
37850         (__libc_mallopt): Likewise.
37852 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37854         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37856 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37858         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37859         macro to a function.  Check for zero perturb_byte.
37860         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37862         * malloc/malloc.c: (force_reg): Remove.
37863         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37864         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37865         force_reg by atomic_forced_read.
37866         * malloc/arena.c (ptmalloc_init): Likewise.
37867         * malloc/hooks.c (top_check): Likewise.
37869 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37873 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37877 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37879         * math/auto-libm-test-in: Add tests of lgamma.
37880         * math/auto-libm-test-out: Regenerated.
37881         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37882         (M_LOG_2_SQRT_PIl): Likewise.
37883         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37885         mpfr_f_f1.
37886         (func_calc_desc): Add mpfr_f_f1 union field.
37887         (ARGS1): New macro.
37888         (ARGS2): Likewise.
37889         (ARGS3): Likewise.
37890         (ARGS4): Likewise.
37891         (RET1): Likewise.
37892         (RET2): Likewise.
37893         (CALC): Likewise.
37894         (FUNC): Likewise.
37895         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37896         (test_functions): Add lgamma.
37897         (calc_generic_results): Handle mpfr_f_f1.
37898         * sysdeps/i386/fpu/libm-test-ulps: Update.
37899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37901 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37903         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37904         __mpn_add_n for PowerPC64/POWER7.
37905         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37906         __mpn_sub_n for PowerPC64/POWER7.
37908         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37909         __mpn_addmul_1 for PowerPC64.
37910         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37911         __mpn_submul_1 for PowerPC64.
37912         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37913         for PowerPC64.
37914         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37915         for PowerPC64.
37917 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37919         [BZ #15089]
37920         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37924         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37926         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37927         add multiarch folders.
37928         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37929         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37930         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37931         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37932         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37933         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37934         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37935         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37936         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37937         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37938         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37947         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37949         New file.
37950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37951         New file.
37952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37953         multiarch __ieee754_hypot for PowerPC32.
37954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37955         New file.
37956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37957         New file.
37958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37959         multiarch __ieee754_hypotf for PowerPC32.
37961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37962         long_double_symbol only if __logbl is defined.
37963         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37964         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37965         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37966         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37968         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37969         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37970         path for implementation.
37971         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37974         logb, and logbl multiarch implementations for PowerPC32.
37975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37976         file.
37977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37978         file.
37979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37980         multiarch logb for PowerPC32.
37981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37982         file.
37983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37984         file.
37985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37986         multiarch logbf for PowerPC32.
37987         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37989         file.
37990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37991         multiarch logbl implementation for PowerPC32.
37993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37994         and modff multiarch implementations.
37995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37996         New file.
37997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37998         New file.
37999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38000         multiarch modf for PowerPC32.
38001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38002         New file.
38003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38004         New file.
38005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38006         multiarch modff for PowerPC32.
38008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38009         and lrintf multiarch implementations.
38010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38011         New file.
38012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38013         New file.
38014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38015         multiarch lrint for PowerPC32.
38016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38017         file: multiarch lrintf for PowerPC32.
38019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38020         and lroundf multiarch implementations.
38021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38022         New file.
38023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38024         New file.
38025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38026         New file.
38027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38028         multiarch lround for PowerPC32.
38029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38030         file: multiarch lroundf for PowerPC32.
38032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38033         copysign and copysignf multiarch implementations.
38034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38035         New file.
38036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38037         New file.
38038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38039         file: multiarch copysign for PowerPC32.
38040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38041         file: multiarch copysignf for PowerPC32.
38043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38044         and truncf multiarch implementations.
38045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38046         New file.
38047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38048         file.
38049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38050         multiarch trunc for PowerPC32.
38051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38052         New file.
38053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38054         New file.
38055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38056         multiarch truncf for PowerPC32.
38058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38059         and roundf multiarch implementations.
38060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38061         New file.
38062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38063         file.
38064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38065         multiarch round for PowerPC32.
38066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38067         New file.
38068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38069         New file.
38070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38071         multiarch roundf for PowerPC32.
38073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38074         and floorf multiarch implementations.
38075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38076         New file.
38077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38078         file.
38079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38080         multiarch floor for PowerPC32.
38081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38082         New file.
38083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38084         New file.
38085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38086         multiarch floorf for PowerPC32.
38088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38089         and ceilf multiarch implementations.
38090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38091         New file.
38092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38093         file.
38094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38095         multiarch ceil for PowerPC32.
38096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38097         New file.
38098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38099         file.
38100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38101         multiarch ceilf for PowerPC32.
38103         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38104         is defined.
38105         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38106         FINITEF is defined.
38107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38108         and finitef multiarch implementations.
38109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38110         New file.
38111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38112         file.
38113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38114         multiarch finite for PowerPC32.
38115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38116         New file.
38117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38118         file: multiarch finitef for PowerPC32.
38120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38121         and isinff multiarch implementations.
38122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38123         file.
38124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38125         file.
38126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38127         multiarch isinf for PowerPC32.
38128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38129         New file.
38130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38131         multiarch isinff for PowerPC32.
38133         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38134         alias when __isnan is defined.
38135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38136         and isnanf multiarch implementations.
38137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38138         file.
38139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38140         file.
38141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38142         file.
38143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38144         file.
38145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38146         multiarch isnan for PowerPC32.
38147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38148         New file.
38149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38150         New file.
38151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38152         multiarch isnanf for PowerPC32.
38154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38155         and sqrtf multiarch implementations.
38156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38157         file.
38158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38159         file.
38160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38161         multiarch sqrt for PowerPC32.
38162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38163         file.
38164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38165         file.
38166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38167         multiarch sqrtf for PowerPC32.
38169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38170         and llroundf multiarch implementations.
38171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38172         New file.
38173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38174         New file.
38175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38176         New file.
38177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38178         file: multiarch llround for PowerPC32.
38179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38180         file: multiarch llroundf for PowerPC32.
38182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38183         multiarch PowerPC32 fpu implementations.
38184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38185         New file.
38186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38187         New file.
38188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38189         multiarch llrint for PowerPC32.
38190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38191         New file.
38192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38193         New file.
38194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38195         file.
38197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38200         file.
38201         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38202         file.
38203         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38204         file.
38205         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38206         multiarch wordcopy for PPC32.
38207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38208         wordcopy objects.
38209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38210         (__libc_ifunc_impl_list): Likewise.
38211         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38212         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38213         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38214         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38215         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38216         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38218         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38220         file.
38221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38222         file.
38223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38224         file.
38225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38226         multiarch wcscpy for PPC32.
38227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38228         multiarch objects.
38229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38230         (__libc_ifunc_impl_list): Likewise.
38231         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38232         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38233         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38234         sysdeps/powerpc/power6/wcscpy.c.
38236         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38238         file.
38239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38240         file.
38241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38242         file.
38243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38244         multiarch wcsrchr for PPC32.
38245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38246         multiarch objects.
38247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38248         (__libc_ifunc_impl_list): Likewise.
38249         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38250         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38251         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38252         sysdeps/powerpc/power6/wcsrchr.c.
38254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38255         file.
38256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38257         file.
38258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38260         multiarch wcschr for PPc32.
38261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38262         multiarch objects.
38263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38264         (__libc_ifunc_impl_list): Likewise.
38265         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38266         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38267         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38268         sysdeps/powerpc/power6/wcschr.c.
38270         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38271         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38272         file.
38273         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38274         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38275         file: multiarch strchr for PPC32.
38276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38277         multiarch objects.
38278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38279         (__libc_ifunc_impl_list): Likewise.
38281         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38282         name.
38283         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38284         file.
38285         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38286         file.
38287         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38288         multiarch strchrnul for PPC32.
38289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38290         multiarch objects.
38291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38292         (__libc_ifunc_impl_list): Likewise.
38294         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38295         file.
38296         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38297         multiarch strncasecmp for PPC32.
38298         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38299         file.
38300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38301         multiarch strncasecmp_l for PPC32.
38302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38303         strncasecmp multiarch objects.
38304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38305         (__libc_ifunc_impl_list): Likewise.
38307         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38308         file.
38309         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38310         multiarch strncasecmp for PPC32.
38311         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38312         New file.
38313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38314         multiarch strcasecmp_l for PPC32.
38315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38316         multiarch objects.
38317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38318         (__libc_ifunc_impl_list): Likewise.
38320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38321         file.
38322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38323         file.
38324         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38325         multiarch strncmp for PPC32.
38326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38327         multiarch objects.
38328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38329         (__libc_ifunc_impl_list): Likewise.
38331         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38332         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38333         file.
38334         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38335         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38337         multiarch objects.
38338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38339         (__libc_ifunc_impl_list): Likewise.
38341         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38342         file.
38343         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38344         file.
38345         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38347         multiarch objects.
38348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38349         (__libc_ifunc_impl_list): Likewise.
38351         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38352         file.
38353         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38354         file.
38355         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38356         multiarch rawmemchr for PPC32.
38357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38358         multiarch objects.
38359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38360         (__libc_ifunc_impl_list): Likewise.
38362         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38363         file.
38364         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38365         file.
38366         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38367         file: memrchr multiarch for PPC32.
38368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38369         multiarch objects.
38370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38371         (__libc_ifunc_impl_list): Likewise.
38373         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38374         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38375         file.
38376         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38378         multiarch memchr for PPC32.
38379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38380         multiarch objects.
38381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38382         (__libc_ifunc_impl_list): Likewise.
38384         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38385         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38386         file.
38387         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38388         file.
38389         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38390         file: multiarch mempcpy for PPC32.
38391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38392         multiarch objects.
38393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38394         (__libc_ifunc_impl_list): Likewise.
38396         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38398         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38400         multiarch bzero for PPC32.
38401         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38402         file.
38403         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38404         file.
38405         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38406         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38407         file: multiarch memset for PPC32.
38408         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38410         memset multiarch objects.
38411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38412         (__libc_ifunc_impl_list): Likewise.
38414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38415         file.
38416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38418         memcmp for PPC32.
38419         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38421         multiarch objects.
38422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38423         (__libc_ifunc_impl_list): Likewise.
38425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38428         file.
38429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38430         file.
38431         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38432         file.
38433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38434         multiarch memcpy for PPC32.
38435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38436         multiarch objects.
38437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38438         (__libc_ifunc_impl_list): Likewise.
38440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38441         support multiarch for POWER/PPC32.
38442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38443         Likewise.
38444         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38446         Implies file to make multiarch folder appers before the fpu and
38447         default folder for power4 configuration.
38449 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38451         * scripts/bench.pl: Append volatile keyword to type.
38453 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38455         * sysdeps/sh/sotruss-lib.c: New file.
38456         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38458 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38462 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38464         [BZ #6810]
38465         * math/w_tgamma.c: Include <errno.h>.
38466         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38467         * math/w_tgammaf.c: Include <errno.h>.
38468         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38469         * math/w_tgammal.c: Include <errno.h>.
38470         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38471         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38472         underflow.  Add more tgamma tests.
38473         * math/auto-libm-test-out: Regenerated.
38474         * sysdeps/i386/fpu/libm-test-ulps: Update.
38475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38477         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38478         sin, sinh, tan, tanh, tgamma, y0 and y1.
38479         * math/auto-libm-test-out: Regenerated.
38480         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38481         (TEST_COND_x86): Likewise.
38482         (M_E2l): Remove macro.
38483         (M_E3l): Likewise.
38484         (M_2_SQRT_PIl): Likewise.
38485         (M_SQRT_PIl): Likewise.
38486         (M_1_DIV_El): Likewise.
38487         (log_test_data): Use AUTO_TESTS_f_f.
38488         (log10_test_data): Likewise.
38489         (log1p_test_data): Likewise.
38490         (log2_test_data): Likewise.
38491         (sin_test_data): Likewise.
38492         (sin_tonearest_test_data): Likewise.
38493         (sin_towardzero_test_data): Likewise.
38494         (sin_downward_test_data): Likewise.
38495         (sin_upward_test_data): Likewise.
38496         (sinh_test_data): Likewise.
38497         (sinh_tonearest_test_data): Likewise.
38498         (sinh_towardzero_test_data): Likewise.
38499         (sinh_downward_test_data): Likewise.
38500         (sinh_upward_test_data): Likewise.
38501         (tan_test_data): Likewise.
38502         (tan_tonearest_test_data): Likewise.
38503         (tan_towardzero_test_data): Likewise.
38504         (tan_downward_test_data): Likewise.
38505         (tan_upward_test_data): Likewise.
38506         (tanh_test_data): Likewise.
38507         (tgamma_test_data): Likewise.
38508         (y0_test_data): Likewise.
38509         (y1_test_data): Likewise.
38510         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38511         (special_real_inputs): Add pi/4.
38512         * sysdeps/i386/fpu/libm-test-ulps: Update.
38513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38515 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38517         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38518         "longjmp_target" static probes.
38519         (__longjmp): Rename to __longjmp_symbol.
38520         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38521         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38522         on which longjmp to generate.
38523         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38525         probe.
38526         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38527         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38528         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38529         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38530         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38531         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38533         __longjmp_symbol based on which __longjmp to generate.
38534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38535         probe.
38536         (setjmp): Rename to setjmp_symbol.
38537         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38538         (_setjmp): Rename to _setjmp_symbol.
38539         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38540         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38541         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38542         which setjmp to generate.
38543         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38544         "longjmp_target" static probes.
38546 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38548         * benchtests/README: Add note about output arguments.
38549         * benchtests/bench-sincos.c: Remove file.
38550         * benchtests/sincos-inputs: New file.
38551         * scripts/bench.pl: Identify output arguments and define
38552         static variables for them.
38554         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38556         [BZ #15941]
38557         * Makefile (INSTALL): Add install-plain.texi as the primary
38558         dependency.
38559         * manual/install-plain.texi: New file.
38560         * manual/install.texi: Include node directive only for
38561         non-plaintext output.
38563 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38565         * stdlib/longlong.h: Update from GCC.
38567         [BZ #6807]
38568         [BZ #15901]
38569         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38570         * math/w_j0f.c (y0f): Likewise.
38571         * math/w_j0l.c (__y0l): Likewise.
38572         * math/w_j1.c (y1): Likewise.
38573         * math/w_j1f.c (y1f): Likewise.
38574         * math/w_j1l.c (__y1l): Likewise.
38575         * math/w_jn.c (yn): Likewise.
38576         * math/w_jnf.c (ynf): Likewise.
38577         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38578         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38579         value for Bessel function domain errors outside _SVID_ mode.
38580         Adjust sign of return value for yn (negative integer, 0).
38581         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38582         by zero in return for negative x and set sign appropriately for
38583         negative n.
38584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38586         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38587         expectations in error cases.
38588         (y1_test_data): Likewise.
38589         (yn_test_data): Likewise.
38590         * sysdeps/i386/fpu/libm-test-ulps: Update.
38591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38593 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38595         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38596         "64" to "64-v1".  Add "64-v2".
38597         (abi-64-options): Rename to ...
38598         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38599         (abi-64-condition): Rename to ...
38600         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38601         (abi-64-ld-soname): Rename to ...
38602         (abi-64-v1-ld-soname): ... this.
38603         (abi-64-v2-options): Define.
38604         (abi-64-v2-condition): Likewise.
38605         (abi-64-v2-ld-soname): Likewise.
38606         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38607         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38612 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38613             Alan Modra  <amodra@gmail.com>
38615         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38616         New versions for use with the ELFv2 ABI.
38617         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38618         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38619         declaration.
38620         (struct La_ppc64v2_retval): Likewise.
38621         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38622         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38623         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38624         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38625         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38626         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38627         Do not save or restore CR.
38628         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38629         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38630         return values for ELFv2 ABI.  Fix location of FPR return registers.
38631         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38632         updated values for _CALL_ELF == 2.
38633         (La_regs, La_retval, int_retval): Likewise.
38635 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38637         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38638         (FRAME_MIN_SIZE_PARM): Likewise.
38639         (FRAME_BACKCHAIN): Likewise.
38640         (FRAME_CR_SAVE): Likewise.
38641         (FRAME_LR_SAVE): Likewise.
38642         (FRAME_TOC_SAVE): Likewise.
38643         (FRAME_PARM_SAVE): Likewise.
38644         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38645         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38646         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38647         (call_mcount_parm_offset): New macro.
38648         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38649         (PROF): Use symbolic stack frame offsets.
38650         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38651         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38652         Redefine in terms of FRAME_MIN_SIZE.
38653         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38654         (_dl_profile_resolve): Likewise.  Update comment.
38655         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38656         symbols stack frame offsets.
38657         (__sigsetjmp): Likewise.
38658         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38659         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38660         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38661         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38664         (FRAME_BACKCHAIN): Remove.
38665         (FRAME_CR_SAVE): Likewise.
38666         (FRAME_LR_SAVE): Likewise.
38667         (FRAME_COMPILER_DW): Likewise.
38668         (FRAME_LINKER_DW): Likewise.
38669         (FRAME_TOC_SAVE): Likewise.
38670         (FRAME_PARM_SAVE): Likewise.
38671         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38672         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38673         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38675         (CHECK_SP): Use symbolic stack frame offsets.
38676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38677         zone" instead of caller's parameter save area for temp storage.
38678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38679         Likewise.  Also, use symbolic stack frame offsets.
38680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38681         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38682         our own stack frame instead of the caller's.
38683         (__socket): Use symbolic stack frame offsets.
38685 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38686             Alan Modra  <amodra@gmail.com>
38688         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38689         Define.
38690         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38691         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38692         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38693         New function.
38694         (elf_machine_fixup_plt): Call it.
38695         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38696         reloc arguments.
38697         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38698         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38699         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38700         r2 before calling target.
38702 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38703             Alan Modra  <amodra@gmail.com>
38705         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38706         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38707         versions of macros to support ELFv2 ABI.
38708         (LOCALENTRY): New macro.
38709         (ENTRY, EALIGN): Use it.
38710         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38711         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38712         fall through into ENTRY entry point.
38713         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38714         Only define if _CALL_ELF != 2.
38716         (elf_machine_matches_host): Verify ABI version matches.
38717         (RTLD_START): Use LOCALENTRY.
38718         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38719         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38720         (PLT_ENTRY_WORDS): New macro.
38721         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38722         (elf_machine_runtime_setup): Support ELFv2 ABI.
38723         (elf_machine_fixup_plt): Likewise.
38724         (elf_machine_plt_conflict): Likewise.
38725         (resolve_ifunc): Likewise.
38726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38728         Likewise.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38730         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38732         (makecontext): Support ELFv2 ABI.
38733         * elf/elf.h (EF_PPC64_ABI): Define.
38735 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38737         * sysdeps/powerpc/powerpc64/sysdep.h
38738         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38739         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38740         (ENTRY) [ASSEMBLER]: ... but instead here ...
38741         (EALIGN) [ASSEMBLER]: ... and here.
38742         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38743         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38744         (ENTRY_2) [!ASSEMBLER]: Use it.
38745         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38746         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
38747         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38748         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38749         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38751         Use PPC64_LOAD_FUNCPTR.
38753         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38755 2013-12-04  Alan Modra  <amodra@gmail.com>
38757         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38758         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38759         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38760         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38762         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38763         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38764         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38765         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38766         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38767         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38769 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38772         (__makecontext): Fix incorrect CFI when backtracing out of
38773         context created via makecontext.
38774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38775         (__setcontext): Fix incorrect CFI during switch to new context.
38776         (__novec_setcontext): Likewise.
38778 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38780         [BZ #4772]
38781         * time/strptime_l.c (__strptime_internal): Allow modifiers
38782         in strptime.
38783         * time/tst-strptime.c (day_tests): Add testcase.
38785 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38787         * scripts/bench.pl: Skip over blank lines.
38789 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38791         [BZ #926]
38792         * manual/time.texi (Calendar Time): Clarify what timezone functions
38793         use.
38795 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38799 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38801         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38802         implementation.
38803         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38804         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38805         * debug/memset_chk.c (__memset_chk): Likewise.
38806         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38807         * debug/strncpy_chk.c: Likewise.
38809 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38811         [BZ #15268]
38812         [BZ #15425]
38813         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38814         (__ieee754_exp): For possibly underflowing results, check size of
38815         result and force underflow exception if required.
38816         * math/auto-libm-test-in: Add more tests of exp.
38817         * math/auto-libm-test-out: Regenerated.
38818         * sysdeps/i386/fpu/libm-test-ulps: Update.
38819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38821         [BZ #16283]
38822         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38823         * math/w_exp2f.c (__exp2f): Likewise.
38824         * math/w_exp2l.c (__exp2l): Likewise.
38825         * math/auto-libm-test-in: Do not allow missing errno on exp2
38826         underflow.
38827         * math/auto-libm-test-out: Regenerated.
38829 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38831         [BZ #16274]
38832         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38833         handle filename validation.
38834         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38835         (do_open): Delete.
38837 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38839         [BZ #6786]
38840         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38841         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38842         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38843         <float.h>.
38844         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38845         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38846         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38848         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38849         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38850         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38851         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38852         Add more erfc tests.
38853         * math/auto-libm-test-out: Regenerated.
38854         * sysdeps/i386/fpu/libm-test-ulps: Update.
38855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38857         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38858         exp2, expm1, j0 and j1.
38859         * math/auto-libm-test-out: Regenerated.
38860         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38861         (erfc_test_data): Likewise.
38862         (exp_test_data): Likewise.
38863         (exp_tonearest_test_data): Likewise.
38864         (exp_towardzero_test_data): Likewise.
38865         (exp_downward_test_data): Likewise.
38866         (exp_upward_test_data): Likewise.
38867         (exp10_test_data): Likewise.
38868         (exp2_test_data): Likewise.
38869         (expm1_test_data): Likewise.
38870         (j0_test_data): Likewise.
38871         (j1_test_data): Likewise.
38872         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38873         (input_flag_type): Add flag_xfail_rounding.
38874         (input_flags): Add xfail-rounding.
38875         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38876         (output_for_one_input_case): Handle flag_xfail_rounding.
38877         * sysdeps/i386/fpu/libm-test-ulps: Update.
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38880 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38882         [BZ #16289]
38883         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38884         division by 0.
38886 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38888         [BZ #16195]
38889         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38890         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38891         (STAP_PROBE0): New macro.
38892         (STAP_PROBE1): Likewise.
38893         (STAP_PROBE2): Likewise.
38894         (STAP_PROBE3): Likewise.
38895         (STAP_PROBE4): Likewise.
38897 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38899         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38901 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38903         * benchtests/Makefile (bench): Add sqrt.
38904         (LDLIBS-bench-sqrt): New.
38905         * benchtests/sqrt-input: New.
38907 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38909         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38910         (GAIH_EAI): Likewise.
38911         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38912         (gaih_inet): Likewise.
38913         (getaddrinfo): Don't use GAIH_EAI.
38915         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38916         (struct gaih): Remove definition.
38918 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38920         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38921         Use HERRNOP directly.
38923 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38927 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38929         * math/gen-auto-libm-tests.c (test_functions): Add more
38930         single-argument functions.
38931         (special_fill_pi_2): New function.
38932         (special_fill_minus_pi_2): Likewise.
38933         (special_fill_pi_6): Likewise.
38934         (special_fill_minus_pi_6): Likewise.
38935         (special_fill_pi_3): Likewise.
38936         (special_fill_2pi_3): Likewise.
38937         (special_fill_e): Likewise.
38938         (special_fill_1_e): Likewise.
38939         (special_fill_e_minus_1): Likewise.
38940         (special_real_inputs): Add more special inputs.
38941         (output_for_one_input_case): Do not require ERANGE on underflow to
38942         zero if round-to-nearest result does not underflow to zero, unless
38943         exact results required.
38944         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38945         atan, atanh, cbrt, cos and cosh.
38946         * math/auto-libm-test-out: Regenerated.
38947         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38948         (acos_tonearest_test_data): Likewise.
38949         (acos_towardzero_test_data): Likewise.
38950         (acos_downward_test_data): Likewise.
38951         (acos_upward_test_data): Likewise.
38952         (acosh_test_data): Likewise.
38953         (asin_test_data): Likewise.
38954         (asin_tonearest_test_data): Likewise.
38955         (asin_towardzero_test_data): Likewise.
38956         (asin_upward_test_data): Likewise.
38957         (asinh_test_data): Likewise.
38958         (atan_test_data): Likewise.
38959         (atanh_test_data): Likewise.
38960         (cbrt_test_data): Likewise.
38961         (cos_test_data): Likewise.
38962         (cos_tonearest_test_data): Likewise.
38963         (cos_towardzero_test_data): Likewise.
38964         (cos_downward_test_data): Likewise.
38965         (cos_upward_test_data): Likewise.
38966         (cosh_test_data): Likewise.
38967         (cosh_tonearest_test_data): Likewise.
38968         (cosh_towardzero_test_data): Likewise.
38969         (cosh_downward_test_data): Likewise.
38970         (cosh_upward_test_data): Likewise.
38971         * sysdeps/i386/fpu/libm-test-ulps: Update.
38972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38976         [BZ #6787]
38977         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38978         * math/w_exp10f.c (__exp10f): Likewise.
38979         * math/w_exp10l.c (__exp10l): Likewise.
38980         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38981         errno settings in existing tests.
38983         [BZ #14032]
38984         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38985         precision control set to double precision.
38986         * sysdeps/i386/fpu/w_sqrt.c: New file.
38987         * math/auto-libm-test-in: Add more tests.
38988         * math/auto-libm-test-out: Update.
38990         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38991         (sqrt_test_tonearest): New function.
38992         (sqrt_towardzero_test_data): New variable.
38993         (sqrt_test_towardzero): New function.
38994         (sqrt_downward_test_data): New variable.
38995         (sqrt_test_downward): New function.
38996         (sqrt_upward_test_data): New variable.
38997         (sqrt_test_upward): New function.
38998         (main): Call the new functions.
39000         * math/gen-auto-libm-tests.c: New file.
39001         * math/auto-libm-test-in: Likewise.
39002         * math/auto-libm-test-out: New generated file.
39003         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39004         variables.
39005         (%beautify): Add generated representations of zero.
39006         (top level): Set $auto_input and call parse_auto_input.
39007         (beautify): Remove trailing "f" from hex float constants.
39008         (parse_args): Handle XFAIL_TEST.
39009         (convert_condition): New function.
39010         (or_value): Likewise.
39011         (or_cond_value): Likewise.
39012         (generate_testfile): Handle AUTO_TESTS_* lines.
39013         (parse_auto_input): New function.
39014         * math/libm-test.inc (XFAIL_TEST): New macro.
39015         (ERRNO_UNCHANGED): Update value.
39016         (ERRNO_EDOM): Likewise.
39017         (ERRNO_ERANGE): Likewise.
39018         (IGNORE_RESULT): Likewise.
39019         (TEST_COND_flt_32): New macro.
39020         (TEST_COND_dbl_64): Likewise.
39021         (TEST_COND_ldbl_96_intel): Likewise.
39022         (TEST_COND_ldbl_96_m68k): Likewise.
39023         (TEST_COND_ldbl_128): Likewise.
39024         (TEST_COND_ldbl_128ibm): Likewise.
39025         (TEST_COND_long32): Likewise.
39026         (TEST_COND_long64): Likewise.
39027         (TEST_COND_before_rounding): Likewise.
39028         (TEST_COND_after_rounding): Likewise.
39029         (enable_test): Handle XFAIL_TEST flag.
39030         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39031         with finite results.
39032         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39033         auto-libm-test-out.
39035 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39038         [BZ #16214]
39039         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39040         __tls_get_addr_internal instead of __tls_get_offset in order to
39041         avoid GOT pointer dependency.  Make rtld export
39042         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39043         __tls_get_addr since we are a __tls_get_offset platform.
39044         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39045         GOT pointer being set up before.
39046         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39048 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39050         * manual/math.texi (Errors in Math Functions): Document accuracy
39051         goals.
39053         [BZ #15004]
39054         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39055         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39058         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39059         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39060         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39062         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39068         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39069         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39071         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39072         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39073         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39074         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39075         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39076         Likewise.
39077         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39078         Likewise.
39079         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39080         Likewise.
39081         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39082         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39083         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39084         atomic-feupdateenv and flt-rounds.
39085         * sysdeps/powerpc/nofpu/Versions (libc): Add
39086         __atomic_feholdexcept, __atomic_feclearexcept,
39087         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39088         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39089         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39090         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39091         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39092         here.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39094         Update.
39096         * manual/arith.texi (FP Exceptions): Document that exceptions may
39097         not be raised when matherr is used.
39098         (Math Error Reporting): Document overflow in directed rounding
39099         modes.  Document that errno may not be set when finite values are
39100         returned on overflow.  Document intent to set errno on underflow
39101         only for underflow to zero.
39103         [BZ #16271]
39104         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39105         round-to-nearest then adjust result for other rounding modes.
39106         * include/fenv.h (fegetround): Use libm_hidden_proto.
39107         * math/fegetround.c (fegetround): Use libm_hidden_def.
39108         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39109         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39110         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39112         Likewise.
39113         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39114         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39115         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39116         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39118 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39120         [BZ #16077]
39121         * nss/Versions (libnss_files): Add
39122         _nss_files_gethostbyname3_r.
39123         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39124         New function.
39125         (HOST_DB_LOOKUP): Remove macro.
39126         (_nss_files_gethostbyname_r): Implement function without the
39127         HOST_DB_LOOKUP macro.
39128         (_nss_files_gethostbyname2_r): Likewise.
39130 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39132         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39134 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39136         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39137         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39138         warning.
39140 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39142         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39143         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39144         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39145         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39146         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39147         __fe_nomask_env_priv and attribute_hidden.
39148         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39149         (libc_feupdateenv_test_ppc): Likewise.
39150         (libc_feresetround_ppc): Likewise.
39151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39152         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39153         compat_symbol macro.
39154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39155         (__fe_nomask_env): Likewise.
39156         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39158 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39160         * string/Makefile: Remove ifunc tests.
39161         * string/test-string.h: Define TEST_IFUNC.
39162         * string/test-bcopy-ifunc.c: Remove.
39163         * string/test-bzero-ifunc.c: Likewise.
39164         * string/test-memccpy-ifunc.c: Likewise.
39165         * string/test-memchr-ifunc.c: Likewise.
39166         * string/test-memcmp-ifunc.c: Likewise.
39167         * string/test-memcpy-ifunc.c: Likewise.
39168         * string/test-memmem-ifunc.c: Likewise.
39169         * string/test-memmove-ifunc.c: Likewise.
39170         * string/test-mempcpy-ifunc.c: Likewise.
39171         * string/test-memrchr-ifunc.c: Likewise.
39172         * string/test-memset-ifunc.c: Likewise.
39173         * string/test-rawmemchr-ifunc.c: Likewise.
39174         * string/test-stpcpy-ifunc.c: Likewise.
39175         * string/test-stpncpy-ifunc.c: Likewise.
39176         * string/test-strcasecmp-ifunc.c: Likewise.
39177         * string/test-strcasestr-ifunc.c: Likewise.
39178         * string/test-strcat-ifunc.c: Likewise.
39179         * string/test-strchr-ifunc.c: Likewise.
39180         * string/test-strchrnul-ifunc.c: Likewise.
39181         * string/test-strcmp-ifunc.c: Likewise.
39182         * string/test-strcpy-ifunc.c: Likewise.
39183         * string/test-strcspn-ifunc.c: Likewise.
39184         * string/test-strlen-ifunc.c: Likewise.
39185         * string/test-strncasecmp-ifunc.c: Likewise.
39186         * string/test-strncat-ifunc.c: Likewise.
39187         * string/test-strncmp-ifunc.c: Likewise.
39188         * string/test-strncpy-ifunc.c: Likewise.
39189         * string/test-strnlen-ifunc.c: Likewise.
39190         * string/test-strpbrk-ifunc.c: Likewise.
39191         * string/test-strrchr-ifunc.c: Likewise.
39192         * string/test-strspn-ifunc.c: Likewise.
39193         * string/test-strstr-ifunc.c: Likewise.
39195 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39197         * benchtests/Makefile: Remove ifunc tests.
39198         * benchtests/bench-string.h: Define TEST_IFUNC.
39199         * benchtests/bench-bcopy-ifunc.c: Remove.
39200         * benchtests/bench-bzero-ifunc.c: Likewise.
39201         * benchtests/bench-memccpy-ifunc.c: Likewise.
39202         * benchtests/bench-memchr-ifunc.c: Likewise.
39203         * benchtests/bench-memcmp-ifunc.c: Likewise.
39204         * benchtests/bench-memcpy-ifunc.c: Likewise.
39205         * benchtests/bench-memmem-ifunc.c: Likewise.
39206         * benchtests/bench-memmove-ifunc.c: Likewise.
39207         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39208         * benchtests/bench-memrchr-ifunc.c: Likewise.
39209         * benchtests/bench-memset-ifunc.c: Likewise.
39210         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39211         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39212         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39213         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39214         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39215         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39216         * benchtests/bench-strcat-ifunc.c: Likewise.
39217         * benchtests/bench-strchr-ifunc.c: Likewise.
39218         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39219         * benchtests/bench-strcmp-ifunc.c: Likewise.
39220         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39221         * benchtests/bench-strcpy-ifunc.c: Likewise.
39222         * benchtests/bench-strcspn-ifunc.c: Likewise.
39223         * benchtests/bench-strlen-ifunc.c: Likewise.
39224         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39225         * benchtests/bench-strncat-ifunc.c: Likewise.
39226         * benchtests/bench-strncmp-ifunc.c: Likewise.
39227         * benchtests/bench-strncpy-ifunc.c: Likewise.
39228         * benchtests/bench-strnlen-ifunc.c: Likewise.
39229         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39230         * benchtests/bench-strrchr-ifunc.c: Likewise.
39231         * benchtests/bench-strsep-ifunc.c: Likewise.
39232         * benchtests/bench-strspn-ifunc.c: Likewise.
39233         * benchtests/bench-strstr-ifunc.c: Likewise.
39235 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39237         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39239 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39241         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39242         * rt/aio.h: Likewise.
39243         * sysdeps/gnu/bits/utmp.h: Likewise.
39244         * sysdeps/gnu/bits/utmpx.h: Likewise.
39245         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39246         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39247         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39248         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39249         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39250         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39251         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39252         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39253         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39254         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39255         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39256         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39257         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39259         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39260         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39261         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39262         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39263         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39264         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39265         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39266         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39267         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39268         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39269         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39271         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39272         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39273         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39274         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39275         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39276         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39277         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39278         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39279         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39280         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39281         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39282         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39283         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39284         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39285         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39286         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39288 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39290         [BZ #16245]
39291         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39292         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39294 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39296         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39297         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39298         Likewise.
39300 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39302         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39303         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39304         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39305         (__fesetround): Remove define.
39306         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39307         rounding and exceptions handling.
39308         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39309         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39310         (__fe_nomask_env): Likewise.
39311         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39312         __fegetround instead of fegetround.
39313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39314         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39316 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39318         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39319         it's there.
39321         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39323 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39325         [BZ #11157]
39326         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39327         (encrypt_r): Likewise.
39328         * malloc/obstack.h (obstack_free): Likewise.
39329         * posix/unistd.h (encrypt): Likewise.
39331 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39333         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39334         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39335         DL_CALL_DT_FINI() that call the functions directly.
39336         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39337         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39338         * elf/dl-fini.c: Likewise.
39340 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39342         * malloc/hooks.c (memalign_check): Add alignment rounding.
39343         * malloc/malloc.c (_mid_memalign): New function.
39344         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39345         Implement by calling _mid_memalign.
39346         * manual/probes.texi (Memory Allocation Probes): Remove
39347         memory_valloc_retry and memory_pvalloc_retry.
39349 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39351         * locale/programs/locarchive.c (open_archive): Add const
39352         qualifier to ARCHIVEFNAME and copy default fname to
39353         DEFAULT_FNAME.
39355         [BZ #15601]
39356         * libio/tst-widetext.input: Rename Oriya to Odia.
39357         * locale/iso-639.def: Likewise.
39359         * manual/probes.texi (Mathematical Function Probes): Add
39360         documentation for sin, cos, asin and acos probes.
39361         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39362         (__sin32): Add slowasin probe.
39363         (__cos32): Add slowacos probe.
39364         (__mpsin): Add slowsin probe.
39365         (__mpcos): Add slowcos probe.
39367 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39369         [BZ #15483]
39370         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39371         thread-local __sim_exceptions_thread and global
39372         __sim_exceptions_global.
39373         (__sim_disabled_exceptions): Change to thread-local
39374         __sim_disabled_exceptions_thread and global
39375         __sim_disabled_exceptions_global.
39376         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39377         and global __sim_round_mode_global.
39378         (__simulate_exceptions): Use thread-local floating-point state and
39379         set global state from it as needed.
39380         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39381         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39382         __sim_round_mode_thread.
39383         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39384         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39385         and global __sim_exceptions_global.
39386         (__sim_disabled_exceptions): Change to thread-local
39387         __sim_disabled_exceptions_thread and global
39388         __sim_disabled_exceptions_global.
39389         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39390         and global __sim_round_mode_global.
39391         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39392         (SIM_SET_GLOBAL): Likewise.
39393         * sysdeps/powerpc/soft-fp/sfp-machine.h
39394         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39395         __sim_round_mode_thread.
39396         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39397         __sim_disabled_exceptions_thread.
39398         (__sim_exceptions): Change to __sim_exceptions_thread.
39399         (__sim_disabled_exceptions): Change to
39400         __sim_disabled_exceptions_thread.
39401         (__sim_round_mode): Change to __sim_round_mode_thread.
39402         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39403         thread-local floating-point state and set global state from it as
39404         needed.
39405         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39406         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39407         (__sim_disabled_exceptions): Remove extern declaration.
39408         (feenableexcept): Use thread-local floating-point state and set
39409         global state from it as needed.
39410         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39411         extern declaration.
39412         (__sim_disabled_exceptions): Likewise.
39413         (__sim_round_mode): Likewise.
39414         (__fegetenv): Use thread-local floating-point state.
39415         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39416         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39417         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39418         floating-point state and set global state from it as needed.
39419         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39420         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39421         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39422         Likewise.
39423         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39424         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39425         Likewise.
39426         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39427         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39428         Use __sim_round_mode_thread.
39429         * math/test-fenv-tls.c: New file.
39430         * math/Makefile (tests): Add test-fenv-tls.
39431         ($(objpfx)test-fenv-tls): Depend on
39432         $(common-objpfx)nptl/libpthread.so.
39434 2013-11-19  Andreas Schwab  <schwab@suse.de>
39436         * locale/programs/locale.c (show_info): Decode wordarray elements.
39437         * locale/categories.def (LC_MONETARY): Add element for
39438         _NL_MONETARY_CRNCYSTR.
39439         * locale/C-monetary.c (conversion_rate): New variable.
39440         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39441         element.
39443 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39445         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39446         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39448 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39450         * elf/Makefile (tst-auxv): New test.
39451         * elf/tst-auxv.c: New
39452         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39454 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39456         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39457         (hidden_proto): Caller changed.
39458         (hidden_tls_proto): New macro.
39459         (libc_hidden_tls_proto): Likewise.
39460         (rtld_hidden_tls_proto): Likewise.
39461         (libm_hidden_tls_proto): Likewise.
39462         (libresolv_hidden_tls_proto): Likewise.
39463         (librt_hidden_tls_proto): Likewise.
39464         (libdl_hidden_tls_proto): Likewise.
39465         (libnss_files_hidden_tls_proto): Likewise.
39466         (libnsl_hidden_tls_proto): Likewise.
39467         (libnss_nisplus_hidden_tls_proto): Likewise.
39468         (libutil_hidden_tls_proto): Likewise.
39470 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39472         [BZ #10253]
39473         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39474         (decompose_rpath): Defer expansion to fillin_rpath.
39475         (_dl_init_paths): Pass linkmap to fillin_rpath.
39477 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39479         * benchtests/Makefile: Add strsep.
39480         * benchtests/bench-strsep.c: New file: strsep benchtest.
39481         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39483 2013-11-18  Andreas Schwab  <schwab@suse.de>
39485         * locale/programs/locale.c (show_info) [case byte]: Check for
39486         '\377' instead of '\177'.
39487         * locale/C-monetary.c (not_available): Always use "\377".
39488         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39489         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39490         detect unavailable sign_posn locale elements.
39491         * locale/localeconv.c (__localeconv): For grouping and
39492         mon_grouping handle "\177" and "\377" like no grouping.
39493         (INT_ELEM): New macro.  Use it to set all numeric members.
39494         * locale/programs/ld-monetary.c (monetary_read)
39495         <tok_mon_grouping>: Normalize single -1 to the empty string.
39496         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39497         Likewise.
39499 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39501         [BZ #16055]
39502         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39503         when we match (nil).
39504         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39506 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39508         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39509         (NO_TEST_INLINE): Update value.
39510         (ERRNO_UNCHANGED): Likewise.
39511         (ERRNO_EDOM): Likewise.
39512         (ERRNO_ERANGE): Likewise.
39513         (IGNORE_RESULT): Likewise.
39514         (check_float_internal): Check signs of NaN results if
39515         TEST_NAN_SIGN used.
39516         (check_complex): Pass TEST_NAN_SIGN flag through to second
39517         check_float_internal call.
39518         (copysign_test_data): Add tests with quiet NaNs as second
39519         argument.  Use TEST_NAN_SIGN.
39520         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39521         TEST_NAN_SIGN.
39522         (signbit_test_data): Add tests of quiet NaN argument.
39523         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39525         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39526         $ignore_result.
39527         (parse_args): Handle function results specified as IGNORE.
39528         * math/libm-test.inc (IGNORE_RESULT): New macro.
39529         (check_float_internal): Do not check numerical result if flag
39530         IGNORE_RESULT set.
39531         (check_complex): Pass through IGNORE_RESULT to second
39532         check_float_internal call.
39533         (check_int): Do not check numerical result if flag IGNORE_RESULT
39534         set.
39535         (check_long): Likewise.
39536         (check_bool): Likewise.
39537         (check_longlong): Likewise.
39538         (lrint_test_data): Add tests of infinite and NaN arguments.
39539         (lrint_tonearest_test_data): Likewise.
39540         (lrint_towardzero_test_data): Likewise.
39541         (lrint_downward_test_data): Likewise.
39542         (lrint_upward_test_data): Likewise.
39543         (llrint_test_data): Likewise.
39544         (llrint_tonearest_test_data): Likewise.
39545         (llrint_towardzero_test_data): Likewise.
39546         (llrint_downward_test_data): Likewise.
39547         (llrint_upward_test_data): Likewise.
39548         (lround_test_data): Likewise.
39549         (llround_test_data): Likewise.
39551         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39552         (ERRNO_UNCHANGED): Update value.
39553         (ERRNO_EDOM): Likewise.
39554         (ERRNO_ERANGE): Likewise.
39555         (NO_TEST_INLINE_FLOAT): New macro.
39556         (NO_TEST_INLINE_DOUBLE): Likewise.
39557         (enable_test): New function.
39558         (RUN_TEST_f_f): Check enable_test before running test.
39559         (RUN_TEST_2_f): Likewise.
39560         (RUN_TEST_fff_f): Likewise.
39561         (RUN_TEST_c_f): Likewise.
39562         (RUN_TEST_f_f1): Likewise.
39563         (RUN_TEST_fF_f1): Likewise.
39564         (RUN_TEST_fI_f1): Likewise.
39565         (RUN_TEST_ffI_f1): Likewise.
39566         (RUN_TEST_c_c): Likewise.
39567         (RUN_TEST_cc_c): Likewise.
39568         (RUN_TEST_f_i): Likewise.
39569         (RUN_TEST_f_i_tg): Likewise.
39570         (RUN_TEST_ff_i_tg): Likewise.
39571         (RUN_TEST_f_b): Likewise.
39572         (RUN_TEST_f_b_tg): Likewise.
39573         (RUN_TEST_f_l): Likewise.
39574         (RUN_TEST_f_L): Likewise.
39575         (RUN_TEST_fFF_11): Likewise.
39576         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39577         conditionals.
39578         (cosh_test_data): Likewise.
39579         (exp_test_data): Likewise.
39580         (expm1_test_data): Likewise.
39581         (hypot_test_data): Likewise.
39582         (pow_test_data): Likewise.
39583         (sinh_test_data): Likewise.
39584         (tanh_test_data): Likewise.
39585         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39586         flags argument.
39588         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39589         tests with quiet NaN input and output.
39590         (acosh_test_data): Likewise.
39591         (asin_test_data): Likewise.
39592         (asinh_test_data): Likewise.
39593         (atan_test_data): Likewise.
39594         (atanh_test_data): Likewise.
39595         (atan2_test_data): Likewise.
39596         (cbrt_test_data): Likewise.
39597         (cos_test_data): Likewise.
39598         (cosh_test_data): Likewise.
39599         (erf_test_data): Likewise.
39600         (erfc_test_data): Likewise.
39601         (exp_test_data): Likewise.
39602         (exp10_test_data): Likewise.
39603         (exp2_test_data): Likewise.
39604         (expm1_test_data): Likewise.
39605         (hypot_test_data): Likewise.
39606         (j0_test_data): Likewise.
39607         (j1_test_data): Likewise.
39608         (jn_test_data): Likewise.
39609         (lgamma_test_data): Likewise.
39610         (log_test_data): Likewise.
39611         (log10_test_data): Likewise.
39612         (log1p_test_data): Likewise.
39613         (log2_test_data): Likewise.
39614         (pow_test_data): Likewise.
39615         (scalb_test_data): Likewise.
39616         (sin_test_data): Likewise.
39617         (sincos_test_data): Likewise.
39618         (sinh_test_data): Likewise.
39619         (tan_test_data): Likewise.
39620         (tanh_test_data): Likewise.
39621         (tgamma_test_data): Likewise.
39622         (y0_test_data): Likewise.
39623         (y1_test_data): Likewise.
39624         (yn_test_data): Likewise.
39626         [BZ #16167]
39627         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39628         argument being NaN and avoid computations with second argument in
39629         that case.
39630         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39631         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39632         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39634 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39636         * locale/iso-639.def: Add Chitwani Tharu (the).
39638 2013-11-14  Andreas Schwab  <schwab@suse.de>
39640         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39641         word instead of empty string.
39643 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39646         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39648         (__fe_nomask_env): Likewise.
39650 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39652         * benchtests/bench-timing.h: Include time.h.
39654 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39656         [BZ #15997]
39657         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39658         to 3.4.0 for x32.
39659         * sysdeps/unix/sysv/linux/configure: Regenerated.
39661 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39663         [BZ #16151]
39664         * stdlib/strtod_l.c (round_and_return): Do not consider
39665         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39666         exponent one less than half the least subnormal exponent.
39667         * stdlib/test-strtod-round-data: Add more tests.
39668         * stdlib/tst-strtod-round.c (tests): Regenerated.
39670 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39672         [BZ #14143]
39673         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39674         (__fe_mask_env): Likewise.
39675         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39676         libm_hidden_proto and add function prototype.
39677         (__fe_mask_env): Add function prototype.
39678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39679         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39681         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39683         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39685 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39687         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39688         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39690 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39692         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39693         of htab_find_slot().
39695 2013-11-11  David S. Miller  <davem@davemloft.net>
39697         [BZ #16150]
39698         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39699         symbol in the non-vis3 case in static builds.
39700         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39701         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39702         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39703         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39705 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39707         [BZ #387]
39708         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39709         it is empty.
39711 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39713         * benchtests/Makefile: Add bench-strtod.
39714         * benchtests/bench-strtod.c: New file: strtod benchtest
39716 2013-11-11  Andreas Schwab  <schwab@suse.de>
39718         [BZ #16153]
39719         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39720         terminating NUL in key length.
39722 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39724         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39725         Add artificial ODP entry for vDSO symbol for PPC64.
39726         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39727         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39729 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39731         [BZ #15374]
39732         * nss/getent.c (services_keys): Recognize services starting with digit.
39734 2013-11-06  David S. Miller  <davem@davemloft.net>
39736         [BZ #15985]
39737         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39738         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39740 2013-11-06  Will Newton  <will.newton@linaro.org>
39742         * manual/memory.texi (Malloc Examples): Remove register
39743         keyword from examples.
39745 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
39747         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39749 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
39751         [BZ #6981]
39752         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39753         depending on [__GCC_IEC_559 > 0].
39754         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39755         depending on [__GCC_IEC_559_COMPLEX > 0].
39757 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
39759         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39760         to iso-639.def.
39762 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
39764         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39766 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
39768         [BZ #16112]
39769         * malloc/malloc (malloc_info): Do not handle first bin as
39770         special case.
39772 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
39774         * locale/iso-639.def: Add Central Nahuatl (nhn).
39776 2013-11-01  Bruno Haible  <bruno@clisp.org>
39778         [BZ #7003]
39779         * manual/math.texi (BSD Random): Specify range upper bound as
39780         in POSIX.
39782 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39784         * locale/iso-639.def: Add Meadow Mari (mhr).
39786 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39788         [BZ #14752], [BZ #15763]
39789         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39790         Validate name.
39791         * rt/tst_shm.c: Add test for escaping directory.
39793 2013-10-31  Andreas Schwab  <schwab@suse.de>
39795         [BZ #15917]
39796         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39797         followed by 'x' as part of digit sequence.
39798         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39800 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39802         [BZ #16037]
39803         * configure.ac: allow GNU Make 4.0 and greater.
39804         * configure: Regenerated.
39806 2013-10-30  Will Newton  <will.newton@linaro.org>
39808         [BZ #16038]
39809         * malloc/hooks.c (memalign_check): Limit alignment to the
39810         maximum representable power of two.
39811         * malloc/malloc.c (__libc_memalign): Likewise.
39812         * malloc/tst-memalign.c (do_test): Add test for very
39813         large alignment values.
39814         * malloc/tst-posix_memalign.c (do_test): Likewise.
39816 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39818         [BZ #11087]
39819         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39820         (munmap_chunk): Likewise.
39821         (mremap_chunk): Likewise.
39823 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39825         [BZ #15799]
39826         * stdlib/div.c (div): Remove obsolete code.
39827         * stdlib/ldiv.c (ldiv): Likewise.
39828         * stdlib/lldiv.c (lldiv): Likewise.
39830 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39832         [BZ #16071]
39833         * nss/nss_files/files-XXX.c (get_contents_ret): New
39834         enumerator.
39835         (get_contents): New function.
39836         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39838 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39840         * configure.in: Moved to ...
39841         * configure.ac: ... here. Change reference to configure.in
39842         to configure.ac.
39843         * sysdeps/arm/preconfigure.ac: ... here.
39844         configure.in to configure.ac.
39845         * sysdeps/gnu/configure.in: Moved to ...
39846         * sysdeps/gnu/configure.ac: ... here.
39847         * sysdeps/i386/configure.in: Moved to ...
39848         * sysdeps/i386/configure.ac: ... here.
39849         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39850         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39851         * sysdeps/mach/configure.in: Moved to ...
39852         * sysdeps/mach/configure.ac: ... here.
39853         * sysdeps/mach/hurd/configure.in: Moved to ...
39854         * sysdeps/mach/hurd/configure.ac: ... here.
39855         * sysdeps/powerpc/configure.in: Moved to ...
39856         * sysdeps/powerpc/configure.ac: ... here.
39857         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39858         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39859         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39860         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39861         * sysdeps/s390/s390-32/configure.in: Moved to ...
39862         * sysdeps/s390/s390-32/configure.ac: ... here.
39863         * sysdeps/s390/s390-64/configure.in: Moved to ...
39864         * sysdeps/s390/s390-64/configure.ac: ... here.
39865         * sysdeps/sh/configure.in: Moved to ...
39866         * sysdeps/sh/configure.ac: ... here.
39867         * sysdeps/sparc/configure.in: Moved to ...
39868         * sysdeps/sparc/configure.ac: ... here.
39869         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39870         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39871         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39872         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39873         * sysdeps/x86_64/configure.in: Moved to ...
39874         * sysdeps/x86_64/configure.ac: ... here.
39875         * sysdeps/x86_64/preconfigure.in: Moved to ...
39876         * sysdeps/x86_64/preconfigure.ac: ... here.
39877         * aclocal.m4: Change reference to configure.in to configure.ac.
39878         * config.h.in: Likewise.
39879         * manual/install.texi: Likewise.
39880         * manual/maint.texi: Likewise.
39881         * Makefile: Likewise.
39882         * malloc/Makefile: Likewise.
39883         * nscd/Makefile: Likewise.
39884         * Makeconfig: Change reference to configure.in and
39885         preconfigure.in to configure.ac and preconfigure.ac
39886         respectively.
39887         * INSTALL: Regenerated.
39888         * configure: Likewise.
39889         * sysdeps/gnu/configure: Likewise.
39890         * sysdeps/i386/configure: Likewise.
39891         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39892         * sysdeps/mach/configure: Likewise.
39893         * sysdeps/mach/hurd/configure: Likewise.
39894         * sysdeps/powerpc/configure: Likewise.
39895         * sysdeps/powerpc/powerpc32/configure: Likewise.
39896         * sysdeps/powerpc/powerpc64/configure: Likewise.
39897         * sysdeps/s390/s390-32/configure: Likewise.
39898         * sysdeps/s390/s390-64/configure: Likewise.
39899         * sysdeps/sh/configure: Likewise.
39900         * sysdeps/sparc/configure: Likewise.
39901         * sysdeps/unix/sysv/linux/configure: Likewise.
39902         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39903         * sysdeps/x86_64/configure: Likewise.
39904         * sysdeps/x86_64/preconfigure: Likewise.
39906 2013-10-29  Andreas Schwab  <schwab@suse.de>
39908         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39910 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39912         * benchtests/pow-inputs: Add new inputs.
39914         * benchtests/exp-inputs: Add new inputs.
39916         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39917         conditional check for return value.
39918         (__cos32): Likewise.
39920 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39922         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39923         to provide a boost for large inputs with word alignment.
39924         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39925         implementation based on optimized PPC64 strcpy.
39926         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39927         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39928         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39929         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39931 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39933         [BZ #2801]
39934         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39936 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39938         [BZ #14876]
39939         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39940         * time/tst-strptime.c (day_tests): Add testcase.
39942 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39944         [BZ #14029]
39945         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39947 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39949         [BZ #16074]
39950         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39951         MAP_FAILED on error.
39953 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         [BZ #16072]
39956         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39957         heap for large requests.
39959 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39961         [BZ #9954]
39962         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39963         result if the result has no associated interface.
39964         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39965         interface for all 127.X.Y.Z addresses.
39967 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39969         * locale/iso-639.def: Add Ligurian (lij)
39971 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39973         [BZ #15825]
39974         * sunrpc/rpc_main.c: Document rpcgen -5.
39976 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39978         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39980 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39982         [BZ #10278]
39983         * posix/glob.c: Match only directories when trailing slash is present.
39984         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39985         (main): Add testcase.
39987 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39989         [BZ #15670]
39990         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39992 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39994         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39995         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39996         AUTH_DES and cindex for FIPS 140-2.
39997         (DES Encryption): Add cindex FIPS 46-3.
39999         * locale/locarchive.h (struct locarhandle): Add fname.
40000         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40001         if an optional argument was specified to --list-archive,
40002         otherwise NULL.
40003         * locale/programs/locarchive.c (show_archive_content): Take new
40004         argument fname and pass it via ah.fname to open_archive.
40005         * locale/programs/localedef.h: Update decl.
40006         (open_archive): If AH->fname is non-null, open that file
40007         rather than the default file name, and don't ignore ENOENT.
40008         (create_archive): Set AH.fname to NULL.
40009         (delete_locales_from_archive): Likewise.
40010         (add_locales_to_archive): Likewise.
40011         * locale/programs/locfile.c (write_all_categories): Likewise.
40013 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40014             Aldy Hernandez  <aldyh@redhat.com>
40016         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40017         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40018         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40019         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40020         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40021         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40022         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40023         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40024         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40025         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40027         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40028         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40029         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40030         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40031         Likewise.
40032         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40033         Likewise.
40034         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40035         Likewise.
40036         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40037         Likewise.
40038         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40039         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40040         Likewise.
40041         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40042         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40043         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40044         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40045         Likewise.
40046         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40047         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40048         * sysdeps/powerpc/preconfigure: Likewise.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40050         Likewise.
40051         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40052         Replace contents of file by #include of <fenv_libc.h>.
40053         * sysdeps/powerpc/soft-fp/sfp-machine.h
40054         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40055         and <sys/prctl.h>.
40056         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40065         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40069         Allow copysignl PLT reference to be missing.
40071 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40072             Joseph Myers  <joseph@codesourcery.com
40074         [BZ #15948]
40075         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40076         single character.
40077         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40079 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40081         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40082         * elf/tst-tls1.c: Likewise.
40083         * elf/tst-tls10.h: Likewise.
40084         * elf/tst-tls14.c: Likewise.
40085         * elf/tst-tls2.c: Likewise.
40086         * elf/tst-tls3.c: Likewise.
40087         * elf/tst-tls4.c: Likewise.
40088         * elf/tst-tls5.c: Likewise.
40089         * elf/tst-tls6.c: Likewise.
40090         * elf/tst-tls7.c: Likewise.
40091         * elf/tst-tls8.c: Likewise.
40092         * elf/tst-tls9.c: Likewise.
40093         * elf/tst-tlsmod1.c: Likewise.
40094         * elf/tst-tlsmod13.c: Likewise.
40095         * elf/tst-tlsmod13a.c: Likewise.
40096         * elf/tst-tlsmod14a.c: Likewise.
40097         * elf/tst-tlsmod16a.c: Likewise.
40098         * elf/tst-tlsmod16b.c: Likewise.
40099         * elf/tst-tlsmod2.c: Likewise.
40100         * elf/tst-tlsmod3.c: Likewise.
40101         * elf/tst-tlsmod4.c: Likewise.
40102         * elf/tst-tlsmod5.c: Likewise.
40103         * elf/tst-tlsmod6.c: Likewise.
40105 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40107         [BZ #12486]
40108         * malloc/malloc.c: remove checks for statistics.
40110 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40112         [BZ #15277]
40113         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40114         * inet/tst-network.c: Add testcase.
40116 2013-10-17  Andreas Schwab  <schwab@suse.de>
40118         [BZ #15218]
40119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40120         to determine canonical name.
40122 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40124         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40125         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40126         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40127         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40129         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40130         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40131         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40132         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40133         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40134         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40135         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40136         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40138         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40139         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40141         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40145         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40147         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40148         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40149         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40150         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40151         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40152         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40153         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40154         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40155         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40156         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40157         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40158         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40159         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40160         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40161         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40162         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40163         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40164         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40165         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40166         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40167         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40168         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40169         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40170         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40171         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40172         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40173         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40174         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40175         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40176         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40177         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40178         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40179         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40181         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40183 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40185         [BZ #16041]
40186         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40187         make result into a quiet NaN.
40189 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40191         * soft-fp/adddf3.c: Fix horizontal whitespace.
40192         * soft-fp/addsf3.c: Likewise.
40193         * soft-fp/addtf3.c: Likewise.
40194         * soft-fp/divdf3.c: Likewise.
40195         * soft-fp/divsf3.c: Likewise.
40196         * soft-fp/divtf3.c: Likewise.
40197         * soft-fp/double.h: Likewise.
40198         * soft-fp/eqdf2.c: Likewise.
40199         * soft-fp/eqsf2.c: Likewise.
40200         * soft-fp/eqtf2.c: Likewise.
40201         * soft-fp/extenddftf2.c: Likewise.
40202         * soft-fp/extended.h: Likewise.
40203         * soft-fp/extendsfdf2.c: Likewise.
40204         * soft-fp/extendsftf2.c: Likewise.
40205         * soft-fp/extendxftf2.c: Likewise.
40206         * soft-fp/fixdfdi.c: Likewise.
40207         * soft-fp/fixdfsi.c: Likewise.
40208         * soft-fp/fixdfti.c: Likewise.
40209         * soft-fp/fixsfdi.c: Likewise.
40210         * soft-fp/fixsfsi.c: Likewise.
40211         * soft-fp/fixsfti.c: Likewise.
40212         * soft-fp/fixtfdi.c: Likewise.
40213         * soft-fp/fixtfsi.c: Likewise.
40214         * soft-fp/fixtfti.c: Likewise.
40215         * soft-fp/fixunsdfdi.c: Likewise.
40216         * soft-fp/fixunsdfsi.c: Likewise.
40217         * soft-fp/fixunsdfti.c: Likewise.
40218         * soft-fp/fixunssfdi.c: Likewise.
40219         * soft-fp/fixunssfsi.c: Likewise.
40220         * soft-fp/fixunssfti.c: Likewise.
40221         * soft-fp/fixunstfdi.c: Likewise.
40222         * soft-fp/fixunstfsi.c: Likewise.
40223         * soft-fp/fixunstfti.c: Likewise.
40224         * soft-fp/floatdidf.c: Likewise.
40225         * soft-fp/floatdisf.c: Likewise.
40226         * soft-fp/floatditf.c: Likewise.
40227         * soft-fp/floatsidf.c: Likewise.
40228         * soft-fp/floatsisf.c: Likewise.
40229         * soft-fp/floatsitf.c: Likewise.
40230         * soft-fp/floattidf.c: Likewise.
40231         * soft-fp/floattisf.c: Likewise.
40232         * soft-fp/floattitf.c: Likewise.
40233         * soft-fp/floatundidf.c: Likewise.
40234         * soft-fp/floatundisf.c: Likewise.
40235         * soft-fp/floatunditf.c: Likewise.
40236         * soft-fp/floatunsidf.c: Likewise.
40237         * soft-fp/floatunsisf.c: Likewise.
40238         * soft-fp/floatunsitf.c: Likewise.
40239         * soft-fp/floatuntidf.c: Likewise.
40240         * soft-fp/floatuntisf.c: Likewise.
40241         * soft-fp/floatuntitf.c: Likewise.
40242         * soft-fp/fmadf4.c: Likewise.
40243         * soft-fp/fmasf4.c: Likewise.
40244         * soft-fp/fmatf4.c: Likewise.
40245         * soft-fp/gedf2.c: Likewise.
40246         * soft-fp/gesf2.c: Likewise.
40247         * soft-fp/getf2.c: Likewise.
40248         * soft-fp/ledf2.c: Likewise.
40249         * soft-fp/lesf2.c: Likewise.
40250         * soft-fp/letf2.c: Likewise.
40251         * soft-fp/muldf3.c: Likewise.
40252         * soft-fp/mulsf3.c: Likewise.
40253         * soft-fp/multf3.c: Likewise.
40254         * soft-fp/negdf2.c: Likewise.
40255         * soft-fp/negsf2.c: Likewise.
40256         * soft-fp/negtf2.c: Likewise.
40257         * soft-fp/op-1.h: Likewise.
40258         * soft-fp/op-2.h: Likewise.
40259         * soft-fp/op-4.h: Likewise.
40260         * soft-fp/op-8.h: Likewise.
40261         * soft-fp/op-common.h: Likewise.
40262         * soft-fp/quad.h: Likewise.
40263         * soft-fp/single.h: Likewise.
40264         * soft-fp/soft-fp.h: Likewise.
40265         * soft-fp/sqrtdf2.c: Likewise.
40266         * soft-fp/sqrtsf2.c: Likewise.
40267         * soft-fp/sqrttf2.c: Likewise.
40268         * soft-fp/subdf3.c: Likewise.
40269         * soft-fp/subsf3.c: Likewise.
40270         * soft-fp/subtf3.c: Likewise.
40271         * soft-fp/truncdfsf2.c: Likewise.
40272         * soft-fp/trunctfdf2.c: Likewise.
40273         * soft-fp/trunctfsf2.c: Likewise.
40274         * soft-fp/trunctfxf2.c: Likewise.
40275         * soft-fp/unorddf2.c: Likewise.
40276         * soft-fp/unordsf2.c: Likewise.
40277         * soft-fp/unordtf2.c: Likewise.
40279 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40281         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40282         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40284 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40286         * elf/dl-libc.c: Clear initfini list after freeing.
40288 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40290         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40291         * soft-fp/addsf3.c: Likewise.
40292         * soft-fp/addtf3.c: Likewise.
40293         * soft-fp/divdf3.c: Likewise.
40294         * soft-fp/divsf3.c: Likewise.
40295         * soft-fp/divtf3.c: Likewise.
40296         * soft-fp/double.h: Likewise.
40297         * soft-fp/eqdf2.c: Likewise.
40298         * soft-fp/eqsf2.c: Likewise.
40299         * soft-fp/eqtf2.c: Likewise.
40300         * soft-fp/extenddftf2.c: Likewise.
40301         * soft-fp/extended.h: Likewise.
40302         * soft-fp/extendsfdf2.c: Likewise.
40303         * soft-fp/extendsftf2.c: Likewise.
40304         * soft-fp/extendxftf2.c: Likewise.
40305         * soft-fp/fixdfdi.c: Likewise.
40306         * soft-fp/fixdfsi.c: Likewise.
40307         * soft-fp/fixdfti.c: Likewise.
40308         * soft-fp/fixsfdi.c: Likewise.
40309         * soft-fp/fixsfsi.c: Likewise.
40310         * soft-fp/fixsfti.c: Likewise.
40311         * soft-fp/fixtfdi.c: Likewise.
40312         * soft-fp/fixtfsi.c: Likewise.
40313         * soft-fp/fixtfti.c: Likewise.
40314         * soft-fp/fixunsdfdi.c: Likewise.
40315         * soft-fp/fixunsdfsi.c: Likewise.
40316         * soft-fp/fixunsdfti.c: Likewise.
40317         * soft-fp/fixunssfdi.c: Likewise.
40318         * soft-fp/fixunssfsi.c: Likewise.
40319         * soft-fp/fixunssfti.c: Likewise.
40320         * soft-fp/fixunstfdi.c: Likewise.
40321         * soft-fp/fixunstfsi.c: Likewise.
40322         * soft-fp/fixunstfti.c: Likewise.
40323         * soft-fp/floatdidf.c: Likewise.
40324         * soft-fp/floatdisf.c: Likewise.
40325         * soft-fp/floatditf.c: Likewise.
40326         * soft-fp/floatsidf.c: Likewise.
40327         * soft-fp/floatsisf.c: Likewise.
40328         * soft-fp/floatsitf.c: Likewise.
40329         * soft-fp/floattidf.c: Likewise.
40330         * soft-fp/floattisf.c: Likewise.
40331         * soft-fp/floattitf.c: Likewise.
40332         * soft-fp/floatundidf.c: Likewise.
40333         * soft-fp/floatundisf.c: Likewise.
40334         * soft-fp/floatunsidf.c: Likewise.
40335         * soft-fp/floatunsisf.c: Likewise.
40336         * soft-fp/floatuntidf.c: Likewise.
40337         * soft-fp/floatuntisf.c: Likewise.
40338         * soft-fp/floatuntitf.c: Likewise.
40339         * soft-fp/fmadf4.c: Likewise.
40340         * soft-fp/fmasf4.c: Likewise.
40341         * soft-fp/fmatf4.c: Likewise.
40342         * soft-fp/gedf2.c: Likewise.
40343         * soft-fp/gesf2.c: Likewise.
40344         * soft-fp/getf2.c: Likewise.
40345         * soft-fp/ledf2.c: Likewise.
40346         * soft-fp/lesf2.c: Likewise.
40347         * soft-fp/letf2.c: Likewise.
40348         * soft-fp/muldf3.c: Likewise.
40349         * soft-fp/mulsf3.c: Likewise.
40350         * soft-fp/multf3.c: Likewise.
40351         * soft-fp/negdf2.c: Likewise.
40352         * soft-fp/negsf2.c: Likewise.
40353         * soft-fp/negtf2.c: Likewise.
40354         * soft-fp/op-1.h: Likewise.
40355         * soft-fp/op-2.h: Likewise.
40356         * soft-fp/op-4.h: Likewise.
40357         * soft-fp/op-8.h: Likewise.
40358         * soft-fp/op-common.h: Likewise.
40359         * soft-fp/quad.h: Likewise.
40360         * soft-fp/single.h: Likewise.
40361         * soft-fp/soft-fp.h: Likewise.
40362         * soft-fp/sqrtdf2.c: Likewise.
40363         * soft-fp/sqrtsf2.c: Likewise.
40364         * soft-fp/sqrttf2.c: Likewise.
40365         * soft-fp/subdf3.c: Likewise.
40366         * soft-fp/subsf3.c: Likewise.
40367         * soft-fp/subtf3.c: Likewise.
40368         * soft-fp/truncdfsf2.c: Likewise.
40369         * soft-fp/trunctfdf2.c: Likewise.
40370         * soft-fp/trunctfsf2.c: Likewise.
40371         * soft-fp/trunctfxf2.c: Likewise.
40372         * soft-fp/unorddf2.c: Likewise.
40373         * soft-fp/unordsf2.c: Likewise.
40374         * soft-fp/unordtf2.c: Likewise.
40376 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40378         [BZ #15672]
40379         * misc/error.c (error_tail): Fix possible buffer overflow.
40381 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40383         [BZ #13028]
40384         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40385         address.
40387 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40389         [BZ #832]
40390         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40391         testing pipefail option.
40393 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40395         * soft-fp/double.h: Indent preprocessor directives inside #if.
40396         * soft-fp/extended.h: Likewise.
40397         * soft-fp/op-2.h: Likewise.
40398         * soft-fp/op-4.h: Likewise.
40399         * soft-fp/op-common.h: Likewise.
40400         * soft-fp/quad.h: Likewise.
40401         * soft-fp/single.h: Likewise.
40402         * soft-fp/soft-fp.h: Likewise.
40404 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40406         * iconv/iconv_prog.c: Fix typos.
40407         * stdio-common/psiginfo-data.h: Likewise.
40409 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40411         [BZ #15764]
40412         * locale/setlocale.c: Fix typo.
40414 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40416         [BZ #16036]
40417         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40418         signaling NaN arguments.
40419         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40420         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40422         [BZ #14910]
40423         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40424         unordered operands.
40425         * soft-fp/gesf2.c (__gesf2): Likewise.
40426         * soft-fp/getf2.c (__getf2): Likewise.
40427         * soft-fp/ledf2.c (__ledf2): Likewise.
40428         * soft-fp/lesf2.c (__lesf2): Likewise.
40429         * soft-fp/letf2.c (__letf2): Likewise.
40431         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40432         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40433         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40434         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40435         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40436         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40437         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40438         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40439         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40440         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40441         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40442         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40443         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40444         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40445         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40446         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40447         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40448         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40449         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40450         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40451         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40452         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40453         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40454         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40455         * soft-fp/floattidf.c (__floattidf): Likewise.
40456         * soft-fp/floattisf.c (__floattisf): Likewise.
40457         * soft-fp/floattitf.c (__floattitf): Likewise.
40458         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40459         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40460         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40461         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40462         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40463         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40464         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40465         * soft-fp/gesf2.c (__gesf2): Likewise.
40466         * soft-fp/getf2.c (__getf2): Likewise.
40467         * soft-fp/ledf2.c (__ledf2): Likewise.
40468         * soft-fp/lesf2.c (__lesf2): Likewise.
40469         * soft-fp/letf2.c (__letf2): Likewise.
40471         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40472         Undefine and redefine.
40473         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40474         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40475         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40476         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40477         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40478         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40479         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40480         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40481         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40482         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40483         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40484         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40485         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40486         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40487         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40489         [BZ #16032]
40490         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40491         without decrementing exponent if mantissa >= that for the
40492         denominator, not >.
40493         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40494         denominator, not >.  Decrement exponent in < case instead of
40495         incrementing in >= case.
40496         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40497         without decrementing exponent if mantissa >= that for the
40498         denominator, not >.
40500         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40501         computing saturated result for unsigned overflow.
40503 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40504             Jeff Law  <law@redhat.com>
40506         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40507         (atan2Mp): Add systemtap probe marker.
40508         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40509         (__ieee754_log): Add systemtap probe marker.
40510         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40511         (atanMp): Add systemtap probe marker.
40512         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40513         (tanMp): Add systemtap probe marker.
40514         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40515         (__slowexp): Add systemtap probe marker.
40516         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40517         (__slowpow): Add systemtap probe marker.
40518         * manual/probes.texi: Document probes.
40520 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40522         [BZ #15362]
40523         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40524         written.
40525         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40526         written.
40527         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40528         written to buffer but not flushed.
40529         * libio/iofwrite_u.c:  Likewise.
40530         * libio/iopadn.c:  Return bytes returned even if EOF was
40531         encountered.
40532         * libio/iowpadn.c:  Likewise.
40533         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40534         if _IO_padn does not write the whole buffer.
40535         [!COMPILE_WPRINTF] (PAD): Likewise.
40537 2013-10-10  David S. Miller  <davem@davemloft.net>
40539         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40540         directory block.
40542 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40544         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40545         instead of FSF address.
40546         * soft-fp/fixdfti.c: Likewise.
40547         * soft-fp/fixsfti.c: Likewise.
40548         * soft-fp/fixtfti.c: Likewise.
40549         * soft-fp/fixunsdfti.c: Likewise.
40550         * soft-fp/fixunssfti.c: Likewise.
40551         * soft-fp/fixunstfti.c: Likewise.
40552         * soft-fp/floattidf.c: Likewise.
40553         * soft-fp/floattisf.c: Likewise.
40554         * soft-fp/floattitf.c: Likewise.
40555         * soft-fp/floatuntidf.c: Likewise.
40556         * soft-fp/floatuntisf.c: Likewise.
40557         * soft-fp/floatuntitf.c: Likewise.
40558         * soft-fp/trunctfxf2.c: Likewise.
40560         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40561         * soft-fp/fixdfti.c: Likewise.
40562         * soft-fp/fixsfti.c: Likewise.
40563         * soft-fp/fixtfti.c: Likewise.
40564         * soft-fp/fixunsdfti.c: Likewise.
40565         * soft-fp/fixunssfti.c: Likewise.
40566         * soft-fp/fixunstfti.c: Likewise.
40567         * soft-fp/floattidf.c: Likewise.
40568         * soft-fp/floattisf.c: Likewise.
40569         * soft-fp/floattitf.c: Likewise.
40570         * soft-fp/floatuntidf.c: Likewise.
40571         * soft-fp/floatuntisf.c: Likewise.
40572         * soft-fp/floatuntitf.c: Likewise.
40573         * soft-fp/trunctfxf2.c: Likewise.
40575 2013-10-10  David S. Miller  <davem@davemloft.net>
40577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40579 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40581         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40582         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40583         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40584         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40585         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40586         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40587         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40590         for NaNs before doing comparisons on argument.
40591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40592         Likewise.
40594 2013-10-10  Will Newton  <will.newton@linaro.org>
40596         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40597         passed to _int_memalign does not overflow.
40599 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40601         * scripts/bench.pl: Add include-sources directive.
40602         * benchtests/README: Update documentation.
40604 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40606         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40607         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40608         instead of FP_INIT_ROUNDMODE.
40609         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40610         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40612         [BZ #16034]
40613         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40614         copy class of input value.
40615         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40616         not handle exceptions.
40617         * soft-fp/negsf2.c (__negsf2): Likewise.
40618         * soft-fp/negtf2.c (__negtf2): Likewise.
40619         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40621 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40623         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40624         semicolon.  From Linux kernel.
40626 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40628         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40630 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40632         [BZ #156]
40633         * manual/socket.texi: Added statement about buffer
40634         for gethostbyname2_r.
40636 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40638         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40639         Use .p2align directive instead, throughout.
40640         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40641         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40642         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40644         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40645         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40646         * sysdeps/x86_64/strchr.S: Likewise.
40647         * sysdeps/x86_64/strrchr.S: Likewise.
40649 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40651         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40653         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40655         * sysdeps/generic/math_private.h (__mpsin1): Remove
40656         declaration.
40657         (__mpcos1): Likewise.
40658         (__mpsin): New argument __range_reduce.
40659         (__mpcos): Likewise.
40660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40661         (slow): Use __mpsin and __mpcos.
40662         (slow1): Likewise.
40663         (slow2): Likewise.
40664         (sloww): Likewise.
40665         (sloww1): Likewise.
40666         (sloww2): Likewise.
40667         (bsloww): Likewise.
40668         (bsloww1): Likewise.
40669         (bsloww2): Likewise.
40670         (cslow2): Likewise.
40671         (csloww): Likewise.
40672         (csloww1): Likewise.
40673         (csloww2): Likewise.
40674         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40675         range_reduce.  Merge in __mpsin1.
40676         (__mpcos): Likewise.
40677         (__mpsin1): Remove.
40678         (__mpcos1): Likewise.
40680 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40682         * locale/loadlocale.c (_nl_intern_locale_data): Use
40683         LOCFILE_ALIGNED_P.
40684         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40685         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40686         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40687         obstack data is appropriately aligned.
40688         (obstack_int32_grow_fast): Likewise.
40689         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40690         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40691         (add_locale_uint32_array): Likewise.
40693 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40695         * benchtests/Makefile: Remove ARGLIST and RET variables.
40696         ($(objpfx)bench-%.c): Pass only function name to the script.
40697         * benchtests/README: Update documentation.
40698         * benchtests/acos-inputs: Add new directives.
40699         * benchtests/acosh-inputs: Likewise.
40700         * benchtests/asin-inputs: Likewise.
40701         * benchtests/asinh-inputs: Likewise.
40702         * benchtests/atan-inputs: Likewise.
40703         * benchtests/atanh-inputs: Likewise.
40704         * benchtests/cos-inputs: Likewise.
40705         * benchtests/cosh-inputs: Likewise.
40706         * benchtests/exp-inputs: Likewise.
40707         * benchtests/log-inputs: Likewise.
40708         * benchtests/pow-inputs: Likewise.
40709         * benchtests/rint-inputs: Likewise.
40710         * benchtests/sin-inputs: Likewise.
40711         * benchtests/sinh-inputs: Likewise.
40712         * benchtests/tan-inputs: Likewise.
40713         * benchtests/tanh-inputs: Likewise.
40714         * scripts/bench.pl: Add support for new directives.
40716 2013-10-07  Alan Modra  <amodra@gmail.com>
40718         * README: Fix careless merge.
40720 2013-10-05  Alan Modra  <amodra@gmail.com>
40722         * NEWS: Mention powerpc64le support and bugs fixed.
40723         * README: Both big-endian and little-endian powerpc64 supported.
40725 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40727         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40728         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40729         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40730         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40732 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
40734         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40735         match prototype.
40737 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
40739         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40740         Move -mhard-float appending from
40741         ports/sysdeps/powerpc/powerpc32/Makefile.
40742         [$(with-fp) = yes] (ASFLAGS): Likewise.
40743         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40744         * sysdeps/powerpc/nofpu: Move directory from
40745         ports/sysdeps/powerpc/nofpu.
40746         * sysdeps/powerpc/soft-fp: Move directory from
40747         ports/sysdeps/powerpc/soft-fp.
40748         * sysdeps/powerpc/powerpc32/405: Move directory from
40749         ports/sysdeps/powerpc/powerpc32/405.
40750         * sysdeps/powerpc/powerpc32/440: Move directory from
40751         ports/sysdeps/powerpc/powerpc32/440.
40752         * sysdeps/powerpc/powerpc32/464: Move directory from
40753         ports/sysdeps/powerpc/powerpc32/464.
40754         * sysdeps/powerpc/powerpc32/476: Move directory from
40755         ports/sysdeps/powerpc/powerpc32/476.
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40757         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40759         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40761         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40763         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40765         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40766         * README: Update for powerpc-*-linux-gnu software floating point
40767         support in libc.
40769         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40770         case to powerpc/powerpc32*.
40771         * sysdeps/unix/sysv/linux/configure: Regenerated.
40773         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40774         (_FPU_MASK_OM): Define as 0x04.
40775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40777         0x00c10080.
40778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40779         0x0000003c.
40780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40783         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40784         getcontext_e500.
40785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40786         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40787         setcontext_e500.
40788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40789         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40790         and setcontext_e500.
40792 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40794         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40796 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         * manual/threads.texi (Default Thread Attributes): Fix typo.
40800 2013-10-04  Will Newton  <will.newton@linaro.org>
40802         * malloc/Makefile: Add tst-memalign.
40803         * malloc/tst-memalign.c: New file.
40805         * malloc/tst-posix_memalign.c: Add comments.
40806         (do_test): Add comments and call free on all potentially
40807         allocated pointers. Add space after cast.
40809         * malloc/tst-pvalloc.c: Add comments.
40810         (do_test): Add comments and call free on all potentially
40811         allocated pointers. Remove duplicate check for NULL pointer.
40812         Add space after cast.
40814         * malloc/tst-valloc.c: Add comments.
40815         (do_test): Add comments and call free on all potentially
40816         allocated pointers. Remove duplicate check for NULL pointer.
40817         Add space after cast.
40819 2013-10-04  Alan Modra  <amodra@gmail.com>
40821         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40822         Use stdint types in rather than __attribute__((mode())).
40823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40825 2013-10-04  Alan Modra  <amodra@gmail.com>
40827         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40828         Correct handling of unaligned relocs for little-endian.
40829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40831 2013-10-04  Alan Modra  <amodra@gmail.com>
40833         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40834         * configure: Regenerate.
40835         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40836         * shlib-versions: Likewise.
40838 2013-10-04  Alan Modra  <amodra@gmail.com>
40840         * string/tester.c (test_memrchr): Increment reported test cycle.
40842 2013-10-04  Alan Modra  <amodra@gmail.com>
40844         * string/test-memcpy.c (do_one_test): When reporting errors, print
40845         string address and don't overrun end of string.
40847 2013-10-04  Alan Modra  <amodra@gmail.com>
40849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40850         insrdi.  Make better use of reg selection to speed exit slightly.
40851         Schedule entry path a little better.  Remove useless "are we done"
40852         checks on entry to main loop.  Handle wrapping around zero address.
40853         Correct main loop count.  Handle single left-over word from main
40854         loop inline rather than by using loop_small.  Remove extra word
40855         case in loop_small caused by wrong loop count.  Add little-endian
40856         support.
40857         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40858         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40859         cache hint.
40860         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40861         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40862         support.  Avoid rlwimi.
40863         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40865 2013-10-04  Alan Modra  <amodra@gmail.com>
40867         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40868         insrdi.  Formatting.
40869         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40870         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40871         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40872         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40873         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40874         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40876 2013-10-04  Alan Modra  <amodra@gmail.com>
40878         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40881         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40882         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40883         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40884         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40885         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40886         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40887         use of regs.  Use power7 mtocrf.  Tidy function tails.
40889 2013-10-04  Alan Modra  <amodra@gmail.com>
40891         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40892         Formatting.  Consistently use rXXX register defines or rN defines.
40893         Use early exit labels that avoid restoring unused non-volatile regs.
40894         Make cr field use more consistent with rWORDn compares.  Rename
40895         regs used as shift registers for unaligned loop, using rN defines
40896         for short lifetime/multiple use regs.
40897         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40899         addi 1,1,64 to pop stack frame.  Simplify return value code.
40900         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40902 2013-10-04  Alan Modra  <amodra@gmail.com>
40904         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40905         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40906         rather than rlwimi.
40907         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40908         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40909         little-endian support.  Correct typos.
40910         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40911         rather than rlwimi.
40912         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40913         in loop and entry code to keep "and." results.
40914         (strchr): Add little-endian support.  Comment.  Move cntlzd
40915         earlier in tail.
40916         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40918 2013-10-04  Alan Modra  <amodra@gmail.com>
40920         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40921         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40922         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40923         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40925 2013-10-04  Alan Modra  <amodra@gmail.com>
40927         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40928         (rTMP): Define as r11.
40929         (strcmp): Add little-endian support.  Optimise tail.
40930         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40931         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40932         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40933         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40934         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40938 2013-10-04  Alan Modra  <amodra@gmail.com>
40940         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40941         little-endian support.  Remove unnecessary "are we done" tests.
40942         Handle "s" wrapping around zero and extremely large "size".
40943         Correct main loop count.  Handle single left-over word from main
40944         loop inline rather than by using small_loop.  Correct comments.
40945         Delete "zero" tail, use "end_max" instead.
40946         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40948 2013-10-04  Alan Modra  <amodra@gmail.com>
40950         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40951         support.  Don't branch over align.
40952         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40953         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40954         support.  Rearrange tmp reg use to suit.  Comment.
40955         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40957 2013-10-04  Alan Modra  <amodra@gmail.com>
40959         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40961 2013-10-04  Alan Modra  <amodra@gmail.com>
40963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40964         conditional form of branch and link when obtaining pc.
40965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40967 2013-10-04  Alan Modra  <amodra@gmail.com>
40969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40970         HIWORD/LOWORD.
40971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40974 2013-10-04  Alan Modra  <amodra@gmail.com>
40976         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40977         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40978         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40979         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40980         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40981         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40982         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40983         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40984         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40985         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40987 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40988             Alistair Popple <alistair@ozlabs.au.ibm.com>
40989             Alan Modra <amodra@gmail.com>
40991         [BZ #15723]
40992         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40993         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40994         _dl_hwcap access for little-endian.
40995         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40996         destroy vmx regs when saving unaligned.
40997         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40998         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40999         destroy vmx regs when saving unaligned.
41001 2013-10-04  Alan Modra  <amodra@gmail.com>
41003         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41004         Don't use a union to pack hi/low value.
41006 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41008         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41009         for little-endian.
41010         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41011         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41012         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41013         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41014         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41016 2013-10-04  Alan Modra  <amodra@gmail.com>
41018         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41019         constants to usual value for .cst8 section, and remove redundant
41020         high address load.
41021         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41022         constant for 0x1p52.  Load little-endian words of double from
41023         correct stack offsets.
41025 2013-10-04  Alan Modra  <amodra@gmail.com>
41027         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41028         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41029         words of double from correct stack offsets.
41030         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41031         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41032         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41033         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41034         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41035         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41036         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41037         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41038         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41039         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41040         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41041         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41042         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41043         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41044         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41045         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41046         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41048 2013-10-04  Alan Modra  <amodra@gmail.com>
41050         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41051         64-bit int/double union.
41052         (_FPU_SETCW): Likewise.
41053         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41054         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41056 2013-10-04  Alan Modra  <amodra@gmail.com>
41058         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41059         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41061 2013-10-04  Alan Modra  <amodra@gmail.com>
41063         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41064         use vector int constants.
41065         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41067 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41069         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41070         array with long long.
41071         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41072         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41073         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41074         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41075         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41076         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41077         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41078         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41079         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41080         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41081         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41082         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41083         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41085 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41087         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41088         (__signbit): Likewise.  Correct for little-endian.
41089         (__signbitl): Call __signbit.
41090         (lrint): Correct for little-endian.
41091         (lrintf): Call lrint.
41093 2013-10-04  Alan Modra  <amodra@gmail.com>
41095         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41096         union 32-bit int array member with 64-bit int array.
41097         (t515, tm256): Double rather than long double.
41098         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41100 2013-10-04  Alan Modra  <amodra@gmail.com>
41102         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41103         Delete.
41104         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41105         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41106         version of math_ldbl.h.
41108 2013-10-04  Alan Modra  <amodra@gmail.com>
41110         [BZ #15734], [BZ #15735]
41111         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41112         all uses of ieee875 long double macros and unions.  Simplify test
41113         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41114         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41115         normalize after ldbl_extract_mantissa, and don't add hidden bit
41116         already handled.  Don't treat low word of ieee854 mantissa like
41117         low word of IBM long double and mask off bit when testing for
41118         zero.
41119         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41120         all uses of ieee875 long double macros and unions.  Simplify tests
41121         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41122         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41123         two1022, instead use their values.  Recognise that tests for large
41124         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41125         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41126         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41127         test for 0.0L and nan.  Correct negation.
41128         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41129         ieee875 long double macros and unions.  Correct output for large
41130         magnitude x.  Correct absolute value calculation.
41131         (__erfcl): Likewise.
41132         * math/libm-test.inc: Add tests for errors discovered in IBM long
41133         double versions of fmodl, remainderl, erfl and erfcl.
41135 2013-10-04  Alan Modra  <amodra@gmail.com>
41137         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41138         all uses of ieee854 long double macros and unions.  Simplify tests
41139         for long doubles that are fully specified by the high double.
41140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41141         Likewise.
41142         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41143         Remove dead code too.
41144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41145         (__ieee754_ynl): Likewise.
41146         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41147         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41148         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41149         Remove dead code too.
41150         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41151         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41153         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41154         Simplify.
41155         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41156         Simplify.
41157         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41158         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41159         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41160         Comment on variable precision.
41161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41162         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41163         Likewise.
41164         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41165         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41166         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41167         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41168         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41170 2013-10-04  Alan Modra  <amodra@gmail.com>
41172         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41174         all uses of ieee854 long double macros and unions.
41175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41177         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41179         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41180         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41181         Likewise.
41182         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41183         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41184         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41185         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41186         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41188         Simplify sign and nan test too.
41189         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41190         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41191         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41192         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41193         Likewise.
41194         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41195         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41196         Likewise.
41197         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41198         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41199         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41200         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41201         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41204 2013-10-04  Alan Modra  <amodra@gmail.com>
41206         * stdio-common/printf_size.c (__printf_size): Don't use
41207         union ieee854_long_double in fpnum union.
41208         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41209         signbit macro to retrieve sign from long double.
41210         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41211         retrieve sign from long double.
41212         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41213         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41214         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41215         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41216         * math/test-misc.c (main): Don't use union ieee854_long_double.
41218 2013-10-04  Alan Modra  <amodra@gmail.com>
41220         [BZ #15680]
41221         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41222         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41223         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41224         calculation.  Remove unnecessary test for denormal exponent.
41225         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41226         Correct handling of denormals.  Avoid undefined shift behaviour.
41227         Correct normalisation of low mantissa when low double is denormal.
41228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41229         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41230         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41231         Correct normalisation of low mantissa.  Test for overflow of high
41232         mantissa and normalise.
41233         (ldbl_nearbyint): Use more readable constant for two52.
41234         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41235         (__mpn_construct_long_double): Fix test for overflow of high
41236         mantissa and correct normalisation.  Avoid undefined shift.
41238 2013-10-04  Alan Modra  <amodra@gmail.com>
41240         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41241         (union ibm_extended_long_double): Define as an array of ieee754_double.
41242         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41243         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41244         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41245         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41246         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41248         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41249         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41252         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41254 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41256         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41257         page size instead of calling getpagesize.
41259         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41260         (LOCFILE_ALIGN_MASK): Likewise.
41261         (LOCFILE_ALIGN_UP): Likewise.
41262         (LOCFILE_ALIGNED_P): Likewise.
41263         * locale/programs/ld-collate.c (collate_output): Use the new
41264         macros instead of __alignof__ (int32_t).
41265         * locale/weight.h (findidx): Likewise.
41267 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41269         [BZ #431]
41270         * manual/string.texi: Fix strncat and wcsncat.
41272 2013-10-03  Brooks Moses  <bmoses@google.com>
41274         [BZ #15915]
41275         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41276         * Makerules: ...here, and adjust associated comments.
41278 2013-10-02  Will Newton  <will.newton@linaro.org>
41280         * malloc/Makefile: Add tst-pvalloc.
41281         * malloc/tst-pvalloc.c: New file.
41283 2013-10-02  Will Newton  <will.newton@linaro.org>
41285         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41286         improve test coverage.
41288 2013-10-02  Will Newton  <will.newton@linaro.org>
41290         * malloc/Makefile: Add tst-posix_memalign.
41291         * malloc/tst-posix_memalign.c: New file.
41293 2013-10-01  Eric Blake  <eblake@redhat.com>
41295         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41296         Use __THROWNL rather than __THROW on static functions.
41298 2013-09-30  Petr Machata  <pmachata@redhat.com>
41300         * elf/elf.h (R_AARCH64_ABS16): New macro.
41301         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41302         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41303         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41304         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41305         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41306         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41307         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41308         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41309         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41310         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41311         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41312         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41313         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41314         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41315         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41316         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41317         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41318         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41319         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41320         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41321         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41322         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41323         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41324         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41325         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41326         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41327         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41328         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41329         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41330         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41331         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41332         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41333         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41334         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41335         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41336         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41337         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41338         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41339         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41340         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41341         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41342         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41343         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41344         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41345         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41346         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41347         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41348         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41349         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41350         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41351         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41352         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41353         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41354         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41355         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41356         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41357         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41358         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41359         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41360         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41361         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41362         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41363         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41364         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41365         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41366         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41367         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41368         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41369         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41370         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41371         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41372         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41373         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41374         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41375         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41376         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41377         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41378         (R_AARCH64_TLSDESC_LDR): Likewise.
41379         (R_AARCH64_TLSDESC_ADD): Likewise.
41380         (R_AARCH64_TLSDESC_CALL): Likewise.
41382 2013-09-30  Andreas Schwab  <schwab@suse.de>
41384         [BZ #15048]
41385         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41386         the nss database lookup.
41387         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41390 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41392         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41394 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41396         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41397         ${Bash-specific parameter/pattern/string} parameter expansion.
41398         * sysdeps/unix/make-syscalls.sh: Likewise.
41400 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41402         * sysdeps/sh/stackguard-macros.h: New file.
41404 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41406         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41408         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41409         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41410         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41411         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41413 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41415         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41416         Fix thread ID register.
41418 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41420         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41421         [POSIX || UNIX98]: Require rather than permitting all symbols from
41422         <time.h>.
41423         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41424         element of struct sched_param.
41425         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41426         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41427         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41428         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41429         constant.
41431 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41433         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41434         argument calculation.
41436 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41438         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41439         Expect macro.
41440         [POSIX] (pthread_attr_t): Do not require type.
41441         [POSIX] (pthread_cond_t): Likewise.
41442         [POSIX] (pthread_condattr_t): Likewise.
41443         [POSIX] (pthread_key_t): Likewise.
41444         [POSIX] (pthread_mutex_t): Likewise.
41445         [POSIX] (pthread_mutexattr_t): Likewise.
41446         [POSIX] (pthread_once_t): Likewise.
41447         [POSIX] (pthread_t): Likewise.
41448         [POSIX-based standards] (pthread_atfork): Expect function.
41450 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41451             Richard Sandiford  <richard@codesourcery.com>
41453         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41454         (swap_endianness_p): New extern variable.
41455         (set_big_endian): New inline function.
41456         (maybe_swap_uint32): Likewise.
41457         (maybe_swap_uint32_array): Likewise.
41458         (maybe_swap_uint32_obstack): Likewise.
41459         * locale/programs/locfile.c: Include <stdbool.h>.
41460         (swap_endianness_p): New variable.
41461         (add_locale_uint32): Call maybe_swap_uint32.
41462         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41463         (write_locale_data): Call maybe_swap_uint32_array.
41464         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41465         maybe_swap_uint32.
41466         (obstack_int32_grow_fast): Likewise.
41467         (output_weightwc): Call maybe_swap_uint32_obstack.
41468         (collate_output): Likewise.
41469         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41470         (OPT_LITTLE_ENDIAN): Likewise.
41471         (options): Add --little-endian and --big-endian options.
41472         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41473         * locale/programs/locarchive.c: Include "locfile.h".
41474         (GET): New macro.
41475         (SET): Likewise.
41476         (INC): Likewise.
41477         (create_archive): Use the new macros to access fields of
41478         structures directly mapped from or written to locale archives.
41479         (oldlocrecentcmp): Likewise.
41480         (enlarge_archive): Likewise.
41481         (insert_name): Likewise.
41482         (add_alias): Likewise.
41483         (add_locale): Likewise.
41484         (delete_locales_from_archive): Likewise.
41485         (show_archive_content): Likewise.
41486         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41487         locale data.
41489 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41491         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41492         http://www.gnu.org/doc/freemanuals.texi.
41493         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41495 2013-09-24  Will Newton  <will.newton@linaro.org>
41497         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41498         macro.
41500 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41502         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41503         unsigned char.
41505 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41507         * manual/threads.texi (POSIX Threads): Fix a typo.
41509 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41511         [BZ #14547]
41512         * string/tst-strcoll-overflow.c: New test case.
41513         * string/Makefile (xtests): Add tst-strcoll-overflow.
41514         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41515         cache if string sizes may cause integer overflow.
41517         [BZ #14547]
41518         * string/strcoll_l.c (coll_seq): New members rule, idx,
41519         save_idx and back_us.
41520         (get_next_seq_nocache): New function.
41521         (do_compare_nocache): New function.
41522         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41523         when malloc fails.
41525 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41527         [BZ #15754]
41528         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41529         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41530         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41532         [BZ #15754]
41533         * elf/Makefile (tests): Add tst-ptrguard1.
41534         (tests-static): Add tst-ptrguard1-static.
41535         (tst-ptrguard1-ARGS): Define.
41536         (tst-ptrguard1-static-ARGS): Define.
41537         * elf/tst-ptrguard1.c: New file.
41538         * elf/tst-ptrguard1-static.c: New file.
41539         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41540         * sysdeps/i386/stackguard-macros.h: Likewise.
41541         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41542         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41543         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41544         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41545         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41546         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41548 2013-09-23  Hector Marco  <hecmargi@upv.es>
41549             Ismael Ripoll  <iripoll@disca.upv.es>
41550             Carlos O'Donell  <carlos@redhat.com>
41552         [BZ #15754]
41553         * sysdeps/generic/stackguard-macros.h: Define
41554         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41555         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41556         Define __pointer_chk_guard_local.
41557         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41558         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41560 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41562         [BZ #15859]
41563         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41565 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41567         * include/string.h (__ffs): Declare as hidden.
41568         * string/ffs.c (__ffs): Define as hidden.
41569         * sysdeps/i386/ffs.c (__ffs): Likewise.
41570         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41571         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41572         * sysdeps/s390/ffs.c (__ffs): Likewise.
41573         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41575 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41577         * NEWS: Mention malloc probes.
41579         * malloc/arena.c (new_heap): New memory_heap_new probe.
41580         (grow_heap): New memory_heap_more probe.
41581         (shrink_heap): New memory_heap_less probe.
41582         (heap_trim): New memory_heap_free probe.
41583         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41584         (systrim): New memory_sbrk_less probe.
41585         * manual/probes.texi: Document them.
41587         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41588         * manual/probes.texi: Document it.
41590         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41591         (__libc_realloc): Add memory_realloc_retry probe.
41592         (__libc_memalign): Add memory_memalign_retry probe.
41593         (__libc_valloc): Add memory_valloc_retry probe.
41594         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41595         (__libc_calloc): Add memory_calloc_retry probe.
41596         * manual/probes.texi: Document them.
41598         * malloc/arena.c (get_free_list): Add probe
41599         memory_arena_reuse_free_list.
41600         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41601         and memory_arena_reuse.
41602         (arena_get2) [!PER_THREAD]: Likewise.
41603         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41604         memory_arena_reuse_realloc.
41605         * manual/probes.texi: Document them.
41607         * malloc/malloc.c (__libc_free): Add
41608         memory_mallopt_free_dyn_thresholds probe.
41609         (__libc_mallopt): Add multiple memory_mallopt probes.
41610         * manual/probes.texi: Document them.
41612         * malloc/malloc.c: Include stap-probe.h.
41613         (__libc_mallopt): Add memory_mallopt probe.
41614         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41615         * manual/probes.texi: New.
41616         * manual/Makefile (chapters): Add probes.
41617         * manual/threads.texi: Set next node.
41619 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41621         [BZ #15963, #13985]
41622         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41623         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41624         Add `Chinese' to `nan' entry name.
41626 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41628         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41629         (POLYNOMIAL): Likewise.
41630         (TAYLOR_SINCOS): Likewise.
41631         (TAYLOR_SLOW): Likewise.
41632         (__sin): Use TAYLOR_SINCOS.
41633         (__cos): Likewise.
41634         (slow): Use TAYLOR_SLOW.
41635         (sloww): Likewise.
41636         (bsloww): Likewise.
41637         (csloww): Likewise.
41639 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41641         * stdlib/strtod_l.c: Fix buffer overrun.
41643 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41645         * benchtests/Makefile (bench): Add sincos.
41646         * benchtests/bench-sincos.c: New file.
41648         * math/libm-test.inc (cos_test_data): New test inputs.
41649         (sin_test_data): Likewise.
41651         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41652         macro.
41653         (__sin): Use it.
41654         (__cos): Likewise.
41655         (slow1): Likewise.
41656         (slow2): Likewise.
41657         (sloww1): Likewise.
41658         (sloww2): Likewise.
41659         (bsloww1): Likewise.
41660         (bsloww2): Likewise.
41661         (cslow2): Likewise.
41662         (csloww1): Likewise.
41663         (csloww2): Likewise.
41665         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41666         function.
41667         (__sin): Use it.
41668         (__cos): Likewise.
41670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41671         gotos.
41672         (__cos): Likewise.
41674 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41676         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41677         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41678         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41679         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41680         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41681         * elf/cache.c (print_entry): Handle the new cache flags.
41683 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41684             Aldy Hernandez  <aldyh@redhat.com>
41686         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41687         Change condition to [_SOFT_FLOAT].
41688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41700         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41703         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41704         declaration.
41706 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41708         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41709         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41710         (__longjmp): Use LOAD_GP to load saved GPRs.
41711         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41712         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41713         (__sigsetjmp): Use SAVE_GP to save GPRs.
41715         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41716         Do not append -msoft-float.
41717         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41719 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41721         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41723 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
41725         [BZ #15966]
41726         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41727         (_FPU_GETCW): Use initial "__" on variable and field names but not
41728         on macro parameter name.
41729         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
41730         parentheses around reference to macro parameter.
41732 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
41734         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41735         prototype.
41736         (ctype_startup): Use uint32_t in cast and sizeof for
41737         ctype->charnames.
41739 2013-09-11  Jia Liu  <proljc@gmail.com>
41741         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41742         __daddr_t_defined.
41743         [__FreeBSD__]: Likewise.
41745 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
41747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41748         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41749         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41750         (strchr): Remove __strchr_sse42 ifunc selection.
41751         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41752         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41754 2013-09-11  Will Newton  <will.newton@linaro.org>
41756         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41757         parameter to RES. Remove hardcoded 1000 value.
41758         * benchtests/bench-skeleton.c (main): Pass RES parameter
41759         to TIMING_INIT and multiply result by 1000.
41761 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41765 2013-09-11  Andreas Schwab  <schwab@suse.de>
41767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41768         if not defined.
41769         (O_TMPFILE) [__USE_GNU]: Define.
41770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41771         Define.
41773 2013-09-11  Will Newton  <will.newton@linaro.org>
41775         [BZ #15857]
41776         * malloc/malloc.c (__libc_memalign): Check the value of bytes
41777         does not overflow.
41779 2013-09-11  Will Newton  <will.newton@linaro.org>
41781         [BZ #15856]
41782         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41783         does not overflow.
41785 2013-09-11  Will Newton  <will.newton@linaro.org>
41787         [BZ #15855]
41788         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41789         does not overflow.
41791 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41793         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41794         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41795         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41796         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41797         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41799 2013-09-10  Allan McRae  <allan@archlinux.org>
41801         [BZ #15748]
41802         * manual/arith.texi (Parsing of Floats): Clarify
41803         cross-reference.
41805         [BZ #15849]
41806         * manual/install.texi (Running make install): Mention
41807         --enable-pt-chown.
41808         * INSTALL: Regenerated.
41810 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41812         * csu/init-first.c (_init): Remove the !SHARED condition around
41813         FPU control word initialization.
41814         * elf/dl-support.c (_dl_fpu_control): New variable.
41815         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41816         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41817         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41818         * math/test-fpucw-static.c: New file.
41819         * math/test-fpucw-ieee.c: New file.
41820         * math/test-fpucw-ieee-static.c: New file.
41821         * math/Makefile (tests): Add `test-fpucw-ieee' and
41822         `$(tests-static)'.
41823         (tests-static): New variable.
41824         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41825         dependency to...
41826         [($(build-shared),yes)]
41827         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41828         ... this.
41829         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41830         New dependency.
41832 2013-09-09  Allan McRae  <allan@archlinux.org>
41834         [BZ #15939]
41835         * manual/string.texi (Collation Functions): Fix typo in
41836         strcoll example.
41837         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41839         [BZ #15893]
41840         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41842         [BZ #15892]
41843         * libio/memstream.c (open_memstream): Fix memory leak.
41844         * libio/wmemstream.c (open_wmemstream): Likewise.
41846         [BZ #15895]
41847         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41849 2013-09-09  Will Newton  <will.newton@linaro.org>
41851         * malloc/Makefile: Add tst-realloc to tests.
41852         * malloc/tst-realloc.c: New file.
41854 2013-09-09  Allan McRae  <allan@archlinux.org>
41856         [BZ #15844]
41857         * COPYING: Update from GNU website to fix FSF address.
41858         * COPYING.LIB: Likewise.
41860 2013-09-06  David S. Miller  <davem@davemloft.net>
41862         * po/zh_TW.po: Update Chinese (traditional) translation from
41863         translation project.
41865 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41866             Joseph Myers  <joseph@codesourcery.com>
41868         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41869         "localeinfo.h".
41870         (obstack_chunk_alloc): New macro.
41871         (obstack_chunk_free): Likewise.
41872         (record_offset): New function.
41873         (init_locale_data): Likewise.
41874         (align_locale_data): Likewise.
41875         (add_locale_empty): Likewise.
41876         (add_locale_raw_data): Likewise.
41877         (add_locale_raw_obstack): Likewise.
41878         (add_locale_string): Likewise.
41879         (add_locale_wstring): Likewise.
41880         (add_locale_uint32): Likewise.
41881         (add_locale_uint32_array): Likewise.
41882         (add_locale_char): Likewise.
41883         (start_locale_structure): Likewise.
41884         (end_locale_structure): Likewise.
41885         (start_locale_prelude): Likewise.
41886         (end_locale_prelude): Likewise.
41887         (write_locale_data): Take locale_file structure rather than an
41888         iovec.
41889         * locale/programs/locfile.h: Include "obstack.h".
41890         (struct locale_file): Change to store locale file contents instead
41891         of header.
41892         (init_locale_data): New prototype.
41893         (align_locale_data): Likewise.
41894         (add_locale_empty): Likewise.
41895         (add_locale_raw_data): Likewise.
41896         (add_locale_raw_obstack): Likewise.
41897         (add_locale_string): Likewise.
41898         (add_locale_wstring): Likewise.
41899         (add_locale_uint32): Likewise.
41900         (add_locale_uint32_array): Likewise.
41901         (add_locale_char): Likewise.
41902         (start_locale_structure): Likewise.
41903         (end_locale_structure): Likewise.
41904         (start_locale_prelude): Likewise.
41905         (end_locale_prelude): Likewise.
41906         (write_locale_data): Update prototype.
41907         * locale/programs/3level.h (struct TABLE): Remove result field.
41908         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41909         Use new locale_file interface.
41910         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41911         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41912         * locale/programs/ld-address.c (address_output): Use new
41913         locale_file interface.
41914         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41915         NO_ADD_LOCALE.
41916         (collate_finish): Don't call collseq_table_finalize.
41917         (collate_output): Use new locale_file interface.
41918         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41919         in file.
41920         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41921         (TABLE): Move defines earlier in file.
41922         (ELEMENT): Likewise.
41923         (DEFAULT): Likewise.
41924         (wctrans_table_add): Move macro and inline function earlier in
41925         file.
41926         (struct wctype_table): Move type earlier in file.
41927         (add_locale_wctype_table): New static prototype.
41928         (struct locale_ctype_t): Use logical types instead of struct iovec
41929         pointers for members.
41930         (ctype_output): Use new locale_file interface.
41931         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41932         new locale_file interface.
41933         (allocate_arrays): Update for use of new locale_file interface.
41934         * locale/programs/ld-identification.c (identification_output): Use
41935         new locale_file interface.
41936         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41937         * locale/programs/ld-messages.c (messages_output): Likewise.
41938         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41939         * locale/programs/ld-name.c (name_output): Likewise.
41940         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41941         * locale/programs/ld-paper.c (paper_output): Likewise.
41942         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41943         * locale/programs/ld-time.c (time_output): Likewise.
41945 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41947         * benchtests/Makefile: Add memrchr benchmark.
41948         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41949         benchmark as memrchr.
41950         * benchtests/bench-memrchr-ifunc.c: New file.
41951         * benchtests/bench-memrchr.c: New file.
41953 2013-09-06   Will Newton  <will.newton@linaro.org>
41955         * benchtests/Makefile (string-bench): Add memcpy.
41957 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41958             Cong Wang  <amwang@redhat.com>
41960         [BZ #15850]
41961         * sysdeps/unix/sysv/linux/bits/in.h
41962         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41963         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41964         before __USE_KERNEL_IPV6_DEFS uses.
41965         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41966         IPPROTO_BEETPH.
41967         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41968         sockaddr_in6, or ipv6_mreq.
41970 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41972         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41973         memory access for final bytes in some large inputs.
41974         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41976 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41978         * string/test-memrchr.c: New file.
41979         * string/test-memrchr-ifunc.c: New file.
41980         * string/Makefile: Add new memrchr testcase.
41982 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41984         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41985         fanotify_init returns EPERM.
41987 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41989         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41990         errors.
41991         (top level): Treat second token from macro or constant entries for
41992         allowed headers as allowed.
41993         * include/complex.h: Condition internal declarations on
41994         [!_ISOMAC].
41995         * include/fenv.h: Condition include of <stdbool.h> and internal
41996         declarations on [!_ISOMAC].
41998 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42000         [BZ #15923]
42001         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42003 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42005         * configure.in (--enable-versioning): Remove configure option.
42006         (libc_cv_asm_symver_directive): Remove configure test.
42007         (libc_cv_ld_version_script_option): Likewise.
42008         (VERSIONING): Remove variable and AC_SUBST.
42009         (DO_VERSIONING): Remove AC_DEFINE.
42010         * configure: Regenerated.
42011         * config.h.in (DO_VERSIONING): Remove macro.
42012         * Makerules [$(versioning) = yes]: Change conditionals to
42013         [$(build-shared) = yes].
42014         * config.make.in (versioning): Remove variable.
42015         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42016         [$(build-shared) = yes].
42017         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42018         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42019         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42020         [$(build-shared) = yes].
42021         * extra-lib.mk [$(versioning) = yes]: Likewise.
42022         * hurd/Makefile [$(versioning) = yes]: Likewise.
42023         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42024         [SHARED].
42025         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42026         [SHARED].
42027         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42028         [SHARED && !NO_HIDDEN].
42029         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42030         [SHARED].
42031         [SHARED && DO_VERSIONING]: Likewise..
42032         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42033         [$(build-shared) = yes].
42034         * manual/install.texi (--disable-versioning): Remove
42035         documentation.
42036         * INSTALL: Regenerated.
42037         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42038         to [SHARED].
42039         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42040         [$(build-shared) = yes].
42041         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42042         * sysdeps/i386/i686/multiarch/strstr-c.c
42043         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42044         [SHARED && !NO_HIDDEN].
42045         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42046         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42047         * sysdeps/powerpc/powerpc32/dl-machine.c
42048         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42049         * sysdeps/powerpc/powerpc32/sysdep.h
42050         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42051         to [SHARED && PIC && !NO_HIDDEN].
42052         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42053         conditional to [SHARED].
42055 2013-09-04   Will Newton  <will.newton@linaro.org>
42057         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42058         * benchtests/bench-string.h: Include bench-timing.h instead
42059         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42060         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42061         call to HP_TIMING_DIFF_INIT.
42062         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42063         instead of hp-timing.h macros.
42064         * benchtests/bench-memchr.c: Likewise.
42065         * benchtests/bench-memcmp.c: Likewise.
42066         * benchtests/bench-memcpy.c: Likewise.
42067         * benchtests/bench-memmem.c: Likewise.
42068         * benchtests/bench-memmove.c: Likewise.
42069         * benchtests/bench-memset.c: Likewise.
42070         * benchtests/bench-rawmemchr.c: Likewise.
42071         * benchtests/bench-strcasecmp.c: Likewise.
42072         * benchtests/bench-strcasestr.c: Likewise.
42073         * benchtests/bench-strcat.c: Likewise.
42074         * benchtests/bench-strchr.c: Likewise.
42075         * benchtests/bench-strcmp.c: Likewise.
42076         * benchtests/bench-strcpy.c: Likewise.
42077         * benchtests/bench-strcpy_chk.c: Likewise.
42078         * benchtests/bench-strlen.c: Likewise.
42079         * benchtests/bench-strncasecmp.c: Likewise.
42080         * benchtests/bench-strncat.c: Likewise.
42081         * benchtests/bench-strncmp.c: Likewise.
42082         * benchtests/bench-strncpy.c: Likewise.
42083         * benchtests/bench-strnlen.c: Likewise.
42084         * benchtests/bench-strpbrk.c: Likewise.
42085         * benchtests/bench-strrchr.c: Likewise.
42086         * benchtests/bench-strspn.c: Likewise.
42087         * benchtests/bench-strstr.c: Likewise.
42089 2013-09-04  Will Newton  <will.newton@linaro.org>
42091         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42093 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42095         [BZ #15427]
42096         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42097         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42098         * math/libm-test.inc (lgamma_test_data): Add more tests.
42099         * sysdeps/i386/fpu/libm-test-ulps: Update.
42100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42102 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42104         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42106         Add ifunc.
42107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42108         Add strcmp-sse2-unaligned
42109         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42111 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42113         * Versions.def (libc): Add GLIBC_2.19.
42115 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42117         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42118         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42120 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42122         [BZ #14155]
42123         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42124         intermediate calculations in recurrence.
42125         (__ieee754_ynf): Likewise.
42126         * math/libm-test.inc (jn_test_data): Do not allow spurious
42127         underflow exception.  Add more tests.
42128         (yn_test_data): Add more tests.
42129         * sysdeps/i386/fpu/libm-test-ulps: Update.
42130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42132 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42134         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42136 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42138         * csu/init-first.c: Fix then/than typos.
42139         * locale/programs/ld-collate.c: Likewise.
42140         * locale/programs/linereader.h: Likewise.
42141         * manual/charset.texi: Likewise.
42142         * manual/filesys.texi: Likewise.
42143         * manual/stdio.texi: Likewise.
42144         * manual/string.texi: Likewise.
42145         * stdlib/fmtmsg.c: Likewise.
42146         * sysdeps/i386/stpncpy.S: Likewise.
42147         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42148         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42149         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42150         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42152 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42154         * elf/dl-open.c: Fix typos.
42155         * iconvdata/gbbig5.c: Likewise.
42156         * iconvdata/iso-2022-jp.c: Likewise.
42157         * iconv/gconv_int.h: Likewise.
42158         * iconv/loop.c: Likewise.
42159         * nis/rpcsvc/nis.h: Likewise.
42160         * resolv/ns_name.c: Likewise.
42161         * stdio-common/vfscanf.c: Likewise.
42162         * streams/stropts.h: Likewise.
42163         * sunrpc/rpc_thread.c: Likewise.
42164         * sysdeps/i386/strpbrk.S: Likewise.
42165         * sysdeps/ieee754/k_standard.c: Likewise.
42166         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42168         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42169         * sysdeps/mach/hurd/profil.c: Likewise.
42170         * sysdeps/s390/dl-procinfo.h: Likewise.
42171         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42172         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42173         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42174         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42175         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42177 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42179         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42182 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42184         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42185         aix specific files.
42186         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42188         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42189         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42190         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42191         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42192         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42193         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42195 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42196             Roland McGrath  <roland@hack.frob.com>
42198         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42199         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42201 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42203         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42204         __executable_start symbol instead of _start.
42206 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42208         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42209         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42210         Move macros to...
42211         * sysdeps/gnu/ldsodefs.h: ... this new file.
42213         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42214         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42215         instead of ELFOSABI_LINUX.
42217         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42218         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42219         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42220         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42221         Likewise.
42222         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42223         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42225         Likewise.
42226         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42227         (ibm_extended_long_double): Add ieee_nan member.
42228         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42229         (do_test): New function.
42231         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42232         TEST_TRUNC.
42233         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42234         functions, renamed from truncdfsf_test, trunctfsf_test,
42235         trunctfdf_test.
42236         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42237         functions.
42238         (do_test): Run all these.
42240 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42242         * argp/argp-help.c: Fix typos.
42243         * argp/argp-parse.c: Likewise.
42244         * debug/backtracesyms.c: Likewise.
42245         * elf/elf.h: Likewise.
42246         * malloc/malloc.c: Likewise.
42247         * nis/nis_print.c: Likewise.
42248         * resolv/res_comp.c: Likewise.
42249         * stdlib/stdlib.h: Likewise.
42250         * sunrpc/clnt_tcp.c: Likewise.
42251         * sunrpc/clnt_udp.c: Likewise.
42252         * sunrpc/clnt_unix.c: Likewise.
42253         * sysdeps/unix/bsd/ptsname.c: Likewise.
42254         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42255         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42257         Likewise.
42258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42259         Likewise.
42260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42261         Likewise.
42262         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42264 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42266         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42269 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42271         [BZ #15897]
42272         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42273         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42274         ($(objpfx)bug-dl-leaf): New rule.
42275         ($(objpfx)bug-dl-leaf.so): Likewise.
42276         ($(objpfx)bug-dl-leaf.out): Likewise.
42277         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42278         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42279         * dlfcn/bug-dl-leaf.c: New test.
42280         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42281         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42282         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42283         (dlclose): Likewise.
42284         (dlmopen): Likewise.
42286 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42288         * include/netdb.h [!_ISOMAC]:
42289         Don't include <tls.h>.
42290         (h_errno, __libc_h_errno): Move declaration and macros out of
42291         [_LIBC_REENTRANT].
42293         * include/resolv.h [_RESOLV_H_]:
42294         Don't include <tls.h>.
42295         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42296         * resolv/res_libc.c: Don't include <tls.h>.
42297         (_res): Use __attribute__ ((nocommon)) in place of
42298         __attribute__ ((section (".bss"))).
42300         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42301         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42303         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42305         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42306         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42308         * resolv/res_mkquery.c: Include <sys/time.h>.
42310         * inet/ifreq.c: Moved to ...
42311         * sysdeps/unix/ifreq.c: ... here.
42312         * inet/ifreq.c: New file, true stub version.
42314         * socket/sa_len.c: New file.
42315         * socket/Makefile (aux): Add it.
42316         * sysdeps/unix/sysv/linux/Makefile
42317         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42318         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42319         and #include <socket/sa_len.c>.
42320         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42321         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42323         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42324         * bits/socket.h: ... here.
42326         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42327         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42328         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42330 2013-08-27  Andreas Schwab  <schwab@suse.de>
42332         [BZ #15736]
42333         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42334         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42335         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42336         * string/test-strcasecmp.c (test_main): Run tests in several
42337         locales.
42338         * string/test-strncasecmp.c (test_main): Likewise.
42340         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42341         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42342         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42344         (__strncasecmp_ssse3) [PIC]: Likewise.
42346 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42348         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42350         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42351         instead of explicitly declaring xdecrypt.
42352         * nis/nss_nis/nis-publickey.c: Likewise.
42354 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42356         [BZ #15890]
42357         * nscd/aicache.c: Include res_hconf.h.
42358         (addhstaiX): Initialize res_hconf.
42360 2013-08-26  Andreas Schwab  <schwab@suse.de>
42362         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42363         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42365 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42367         * nscd/aicache.c (addhstaiX): Fix indentation.
42369 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42371         * configure.ac: Quote $build_pt_chown test.
42372         * configure: Regenerated.
42374 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42376         [BZ #15532]
42377         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42378         * math/s_cexpf.c (__cexpf): Likewise.
42379         * math/s_cexpl.c (__cexpl): Likewise.
42380         * math/libm-test.inc (cexp_test_data): Correct expected return
42381         value for NaN + i0.  Add another test.
42383 2013-08-22  David S. Miller  <davem@davemloft.net>
42385         * po/ca.po: Update Catalan translation from translation project.
42386         * po/uk.po: Add Ukrainian translations from translation project.
42388 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42390         [BZ #15797]
42391         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42392         is infinite, not alongside NaN test.
42393         * math/s_fdimf.c (__fdimf): Likewise.
42394         * math/s_fdiml.c (__fdiml): Likewise.
42395         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42396         errno is unchanged.
42398 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42400         * argp/argp-help.c: Fix typos.
42401         * crypt/speeds.c: Likewise.
42402         * csu/check_fds.c: Likewise.
42403         * elf/dl-load.c: Likewise.
42404         * elf/dl-open.c: Likewise.
42405         * elf/reldep3.c: Likewise.
42406         * elf/reldep.c: Likewise.
42407         * elf/sprof.c: Likewise.
42408         * iconv/iconv_charmap.c: Likewise.
42409         * iconv/skeleton.c: Likewise.
42410         * iconv/strtab.c: Likewise.
42411         * io/lockf64.c: Likewise.
42412         * libio/libioP.h: Likewise.
42413         * resolv/gai_notify.c: Likewise.
42414         * resolv/ns_name.c: Likewise.
42415         * resolv/ns_samedomain.c: Likewise.
42416         * resolv/res_send.c: Likewise.
42417         * stdlib/random.c: Likewise.
42418         * sunrpc/rpc/xdr.h: Likewise.
42419         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42420         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42426         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42427         * sysdeps/mach/hurd/check_fds.c: Likewise.
42428         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42429         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42430         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42431         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42432         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42433         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42434         * sysdeps/pthread/aio_notify.c: Likewise.
42435         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42436         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42437         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42438         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42439         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42441 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42443         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42444         version if bit_Slow_SSE4_2 is set.
42445         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42446         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42448 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42450         [BZ #15867]
42451         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42452         trampoline stack frame information.
42453         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42454         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42455         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42456         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42457         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42458         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42459         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42460         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42461         sa_flags value.
42462         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42463         interrupting a syscall and set with option SA_SIGINFO.
42465 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42467         [BZ #15531]
42468         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42469         argument is infinite.
42470         * math/s_cprojf.c (__cprojf): Likewise.
42471         * math/s_cprojl.c (__cprojl): Likewise.
42472         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42473         * math/libm-test.inc (cproj_test_data): Add more tests.
42475         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42477         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42478         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42479         size.  Use __ffs to determine corresponding shift.
42481 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42482             Roland McGrath  <roland@hack.frob.com>
42484         * Makefile (INSTALL): Remove trailing blank lines from output of
42485         makeinfo.
42487 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42489         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42490         Align 32 bit compat elf_greg to 8 bytes.
42492 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42494         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42496 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42498         * string/strcoll_l.c (coll_seq): New structure.
42499         (get_next_seq_cached): New function.
42500         (get_next_seq): New function.
42501         (do_compare): New function.
42502         (STRCOLL): Use GNU style definition.  Simplify implementation
42503         by using get_next_seq, get_next_seq_cached and do_compare.
42505 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42507         [BZ #14699]
42508         CVE-2013-4237
42509         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42510         member.
42511         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42512         member.
42513         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42514         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42515         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42516         conditional.
42517         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42518         GETDENTS_64BIT_ALIGNED.
42519         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42520         * manual/filesys.texi (Reading/Closing Directory): Document
42521         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42522         strongly.
42523         * manual/conf.texi (Limits for Files): Add portability note to
42524         NAME_MAX, PATH_MAX.
42525         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42527 2013-08-13  Andreas Schwab  <schwab@suse.de>
42529         [BZ #15749]
42530         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42531         of fabs.
42532         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42533         LDBL_MAX_EXP >= 16384]: Add tests for it.
42535 2013-08-12  David S. Miller  <davem@davemloft.net>
42537         * version.h (RELEASE): Set to "development".
42538         (VERSION): Set to "2.18.90".
42539         * NEWS: Add 2.19 section.
42541 2013-08-03  David S. Miller  <davem@davemloft.net>
42543         * po/ko.po: Update Korean translation from translation project.
42545 2013-08-01  David S. Miller  <davem@davemloft.net>
42547         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42548         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42549         Bilka.
42551 2013-07-30  David S. Miller  <davem@davemloft.net>
42553         * po/fr.po: Update French translation from translation project.
42555 2013-07-28  David S. Miller  <davem@davemloft.net>
42557         * po/cs.po: Update Czech translation from translation project.
42559         * po/sv.po: Update Swedish translation from translation project.
42561 2013-07-27  David S. Miller  <davem@davemloft.net>
42563         * po/eo.po: Update Esperanto translation from translation project.
42565         * po/vi.po: Update Vietnamese translation from translation project.
42567         * po/de.po: Update German translation from translation project.
42569 2013-07-26  David S. Miller  <davem@davemloft.net>
42571         * po/bg.po: Update Bulgarian translation from translation project.
42573         * po/nl.po: Update Dutch translation from translation project.
42574         * po/pl.po: Update Polish translation from translation project.
42575         * po/ru.po: Update Russian translation from translation project.
42577 2013-07-24  David S. Miller  <davem@davemloft.net>
42579         * po/libc.pot: Update.
42581 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42583         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42584         variable page size.
42585         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42586         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42587         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42589 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42591         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42593 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42594             Andreas Schwab  <schwab@suse.de>
42595             Roland McGrath  <roland@hack.frob.com>
42596             Joseph Myers  <joseph@codesourcery.com>
42597             Carlos O'Donell  <carlos@redhat.com>
42599         [BZ #15755]
42600         * config.h.in: Define HAVE_PT_CHOWN.
42601         * config.make.in (build-pt-chown): New variable.
42602         * configure.in (--enable-pt_chown): New configure option.
42603         * configure: Regenerate.
42604         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42605         build-pt-chown is enabled.
42606         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42607         pt_chown to fix pty ownership.
42608         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42609         CLOSE_ALL_FDS.
42610         * manual/install.texi (Configuring and compiling): Mention
42611         --enable-pt_chown. Add @findex for grantpt.
42612         * INSTALL: Regenerate.
42614 2013-07-20  David S. Miller  <davem@davemloft.net>
42616         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42617         difference between 32-bit and 64-bit.
42619 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42621         [BZ #15711]
42622         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42623         Avoid system header dependency with -ffreestanding.
42624         ($(objpfx)bits/syscall%d): Likewise.
42626 2013-07-13  David S. Miller  <davem@davemloft.net>
42628         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42629         underflows from atanl/atan2l due to bug 15319.
42630         (casinh_test_data): Likewise.
42632 2013-07-07  David S. Miller  <davem@davemloft.net>
42634         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42636 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42638         * sysdeps/i386/fpu/libm-test-ulps: Update.
42639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42641 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42643         * configure.in (--enable-lock-elision): Fix message text.
42644         * INSTALL: Regenerate.
42645         * configure: Regenerate.
42647 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42651 2013-07-03  Andreas Jaeger  <aj@suse.de>
42653         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42654         define.
42655         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42656         (ptrace_peeksiginfo_args): Add.
42657         (__ptrace_peeksiginfo_flags): Add.
42658         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42659         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42660         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42662 2013-07-03  Allan McRae  <allan@archlinux.org>
42664         * sysdeps/i386/fpu/libm-test-ulps: Update.
42666 2013-07-02  David S. Miller  <davem@davemloft.net>
42668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42670 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42674 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42676         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42679 2013-07-02  Andi Kleen <ak@linux.intel.com>
42681         * config.h.in (ENABLE_LOCK_ELISION): Add.
42682         * configure.in (--enable-lock-elision): Add option.
42683         * manual/install.texi: Document --enable lock elision.
42684         * configure: Regenerate
42685         * INSTALL: Regenerate.
42687 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42689         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42690         SSE4.2 strcasecmp for libc.a.
42691         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42693 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42695         [BZ #13304]
42696         * soft-fp/op-common.h (_FP_FMA): New macro.
42697         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42698         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42699         (_FP_MUL_MEAT_1_imm): ... here.
42700         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42701         (_FP_MUL_MEAT_1_wide): ... here.
42702         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42703         (_FP_MUL_MEAT_1_hard): ... here.
42704         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42705         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42706         (_FP_MUL_MEAT_2_wide): ... here.
42707         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42708         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42709         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42710         (_FP_MUL_MEAT_2_gmp): ... here.
42711         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42712         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42713         (_FP_MUL_MEAT_4_wide): ... here.
42714         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
42715         (_FP_MUL_MEAT_4_gmp): ... here.
42716         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42717         (_FP_WFRACBITS_DW_S): Likewise.
42718         (_FP_WFRACXBITS_DW_S): Likewise.
42719         (_FP_HIGHBIT_DW_S): Likewise.
42720         (FP_FMA_S): Likewise.
42721         (_FP_FRAC_HIGH_DW_S): Likewise.
42722         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42723         (_FP_WFRACBITS_DW_D): Likewise.
42724         (_FP_WFRACXBITS_DW_D): Likewise.
42725         (_FP_HIGHBIT_DW_D): Likewise.
42726         (FP_FMA_D): Likewise.
42727         (_FP_FRAC_HIGH_DW_D): Likewise.
42728         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42729         (_FP_WFRACBITS_DW_E): Likewise.
42730         (_FP_WFRACXBITS_DW_E): Likewise.
42731         (_FP_HIGHBIT_DW_E): Likewise.
42732         (FP_FMA_E): Likewise.
42733         (_FP_FRAC_HIGH_DW_E): Likewise.
42734         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42735         (_FP_WFRACBITS_DW_Q): Likewise.
42736         (_FP_WFRACXBITS_DW_Q): Likewise.
42737         (_FP_HIGHBIT_DW_Q): Likewise.
42738         (FP_FMA_Q): Likewise.
42739         (_FP_FRAC_HIGH_DW_Q): Likewise.
42740         * soft-fp/fmasf4.c: New file.
42741         * soft-fp/fmadf4.c: Likewise.
42742         * soft-fp/fmatf4.c: Likewise.
42744 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42747         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42748         Silvermont.
42749         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42750         macro.
42751         (index_Slow_SSE4_2): Likewise.
42752         (index_Prefer_PMINUB_for_stringop): Likewise.
42753         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42754         bit_Slow_SSE4_2 is set.
42755         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42756         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42758 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42760         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42761         rtld_global._dl_hwcap2.
42762         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42763         POWER8.
42764         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42765         POWER8 feature descriptions defined in _dl_hwcap2.
42766         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42767         string handling for POWER8 feature bits.
42768         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42769         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42770         _dl_powerpc_cap_flags.
42771         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42772         * sysdeps/powerpc/rtld-global-offsets.sym
42773         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42774         _dl_hwcap2 in the rtld_global_ro structure.
42776 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42778         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42779         hardware capabilities in support of AT_HWCAP2.
42780         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42781         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42782         GLRO(dl_hwcap2).
42783         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42784         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42785         explicitly the unknown a_type display mechanism is used.
42786         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42787         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42788         struct member.
42789         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42790         to macro prototype for AT_HWCAP2 support.
42791         * sysdeps/i386/dl-procinfo.h: Likewise.
42792         * sysdeps/s390/dl-procinfo.h: Likewise.
42793         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42794         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42795         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42796         return -1 for unknown a_type display fallback.
42797         * sysdeps/sparc/dl-procinfo.h: Likewise.
42798         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42799         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42801 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42803         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42804         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42806 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42808         [BZ #12492]
42809         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42810         mprotect making __stack_prot writable.
42812 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42813             Joseph Myers  <joseph@codesourcery.com>
42815         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42816         as being properly aligned.
42818 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42820         * dlfcn/modstatic5.c: New file.
42821         * dlfcn/tststatic5.c: New file.
42822         * dlfcn/Makefile (tests): Add tststatic5.
42823         (tests-static): Likewise.
42824         (modules-names): Add modstatic5.
42825         (tststatic5-ENV): New variable.
42826         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42828         [BZ #15022]
42829         * elf/dl-support.c (_dl_main_map): New variable.
42830         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42831         (_dl_nns, _dl_load_adds): Set to 1.
42832         (_dl_initial_searchlist): Refer to _dl_main_map.
42833         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42834         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42835         call to _dl_get_origin.
42836         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42837         around call_map.
42838         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42839         * dlfcn/modstatic3.c: New file.
42840         * dlfcn/tststatic3.c: New file.
42841         * dlfcn/tststatic4.c: New file.
42842         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42843         (tests-static): Likewise.
42844         (modules-names): Add modstatic3.
42845         (tststatic3-ENV, tststatic4-ENV): New variables.
42846         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42847         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42849 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42851         * configure.in (CC): Require GCC version 4.4 or later.
42852         * configure: Regenerated.
42853         * manual/install.texi (Tools for Compilation): Update GCC version
42854         requirement.
42855         * INSTALL: Regenerated.
42857 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42859         [BZ #15674]
42860         * string/test-memcmp.c (check2): New.
42861         (main): Call check2.
42863         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42865 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42867         [BZ #15022]
42868         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42869         over to...
42870         (dl_open_worker) [!SHARED]: ... here.
42872 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42874         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42876 2013-06-25  Richard Henderson  <rth@redhat.com>
42878         * locale/programs/locarchive.c: Include <libc-internal.h>
42880 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42882         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42883         trailing whitespace removed.
42885 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42887         [BZ #10283]
42888         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42889         * locale/programs/locarchive.c: Include libc-mmap.h.
42890         (prepare_address_space): Take two new outputs (the mmap base and len).
42891         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42892         values.
42893         (create_archive): Declare new mmap base and len values for
42894         prepare_address_space, and store the result in ah.
42895         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42896         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42897         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42898         Declare new mmap base and len values for
42899         prepare_address_space, and store the result in new_ah.
42900         (open_archive): Declare new mmap base and len values for
42901         prepare_address_space, and store the result in ah.
42902         (close_archive): If ah->mmap_base is not NULL, use that and
42903         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42904         * sysdeps/generic/libc-mmap.h: New file.
42906 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42908         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42909         (ALIGN_UP): Likewise.
42910         (PTR_ALIGN_DOWN): Likewise.
42911         (PTR_ALIGN_UP): Likewise.
42913 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42915         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42916         entry mapped to PPC_PLATFORM_POWER8.
42917         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42918         POWER8.
42919         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42920         (_dl_string_platform): Add case for exporting platform position for
42921         POWER8.
42922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42923         search path to sysdeps/powerpc/powerpc32/power8 directory.
42924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42925         search path to sysdeps/powerpc/powerpc64/power8 directory.
42926         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42927         power7 directories.
42928         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42929         power7 directories.
42931 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42933         * INSTALL: Regenerate.
42935         * nscd/connections.c (nscd_init): Fix comment.
42937 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42939         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42941         [BZ #15667]
42942         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42943         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42945 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42947         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42948         DL_DST_REQ_STATIC.
42949         (DL_DST_REQ_STATIC): Remove macro.
42951 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42953         [BZ #7006]
42954         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42955         with a shift of 0 bits.
42957 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42959         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42960         $(tststatic-ENV).
42962 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42964         [BZ #15655]
42965         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42967 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42969         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42970         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42971         accepts -fno-tree-loop-distribute-patterns.
42972         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42973         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42974         recursive call.
42975         * string/memset.c (memset): Likewise.
42976         * string/test-memmove.c (simple_memmove): Disable loop transformation
42977         to library calls.
42978         * string/test-memset.c (simple_memset): Likewise.
42979         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42980         * benchtests/bench-memset.c (simple_memset): Likewise.
42981         * configure: Regenerated.
42983 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42985         * math/test-misc.c (main): Ignore fesetround failure when failures
42986         of subsequent rounding tests would be ignored.
42988         [BZ #15654]
42989         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42990         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42991         * math/fegetenv.c (__fegetenv): Return 0.
42992         * math/fegetexcept.c (fegetexcept): Return 0.
42993         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42994         FE_TONEAREST.
42995         * math/feholdexcpt.c (feholdexcept): Return 0.
42996         * math/fesetenv.c (__fesetenv): Return 0.
42997         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42998         argument FE_TONEAREST.
42999         * math/feupdateenv.c (__feupdateenv): Return 0.
43000         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43002 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43004         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43005         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43006         ($(objpfx)rtld-%.os rules): Use them.
43008 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43010         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43011         fields.
43013 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43015         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43016         length of target pattern, then descending length of dependency pattern.
43017         * configure.in (AWK): Require gawk 3.1.2 or newer.
43018         * manual/install.texi (Tools for Compilation): Say that we do.
43019         * configure: Regenerated.
43021         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43022         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43023         * scripts/sysd-rules.awk: ... this new script.
43024         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43025         than a glob-style pattern.
43027 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43029         * math/test-misc.c (main): Do not treat incorrectly rounded
43030         conversions as failure unless ROUNDING_TESTS passes.
43032 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43034         [BZ #15631]
43035         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43036         restore exception state around main square root computation, then
43037         check for inexactness explicitly.
43039         * math/libm-test.inc (fma_test_data): Add another test.
43041 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43043         * manual/threads.texi (Non-POSIX Extensions): New document
43044         node.  Document pthread_getattr_default_np and
43045         pthread_setattr_default_np.
43047         * Versions.def (libpthread): Add GLIBC_2.18.
43048         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43050         Likewise.
43051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43052         Likewise.
43053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43054         Likewise.
43055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43056         Likewise.
43057         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43058         Likewise.
43059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43060         Likewise.
43061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43062         Likewise.
43063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43064         Likewise.
43065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43066         Likewise.
43068 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43071         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43073 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43074             H.J. Lu  <hjl.tools@gmail.com>
43076         [BZ #15627]
43077         * sysdeps/x86_64/rtld-memset.c: Remove file.
43078         * sysdeps/x86_64/rtld-memset.S: New file.
43080 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43082         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43083         (test_in_one_mode): Take arguments for whether the rounding mode
43084         is supported for each floating-point type.
43085         (do_test): Pass new arguments to test_in_one_mode using
43086         ROUNDING_TESTS.
43088 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43090         * posix/tst-waitid.c (do_test): Distinguish different instances of
43091         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43092         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43093         before entering the kernel for waitpid.
43095 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43097         * NEWS: Fix note on clock function precision.  Text by Roland
43098         McGrath.
43100 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43102         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43103         it into place only when and if the sanity check passes.
43105 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43107         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43108         output for whether conversion result is exact.  Take argument
43109         indicating whether type is IBM long double.
43110         (round_for_all): Change need_exact field to ibm_ld.
43111         * stdlib/tst-strtod-round.c (struct exactness): New type.
43112         (struct test): Change bool ld_ok field to struct exactness exact.
43113         (TEST): Update all definitions for change to field.
43114         (tests): Regenerate array contents.
43115         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43116         field value.  Check for IBM long double here.
43117         (do_test): Update calls to test_in_one_mode.
43119 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43121         [BZ #12515]
43122         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43123         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43125 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43127         [BZ #15605]
43128         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43129         generated by the compiler on loop optimizations.
43130         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43131         general definitions.
43133 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43135         * math/bug-nextafter.c: Include <math-tests.h>.
43136         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43137         the relevant type.
43138         * math/bug-nexttoward.c: Include <math-tests.h>.
43139         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43140         the relevant type.
43141         * math/test-misc.c: Include <math-tests.h>.
43142         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43143         the relevant type.
43145 2013-06-12  Andreas Jaeger  <aj@suse.de>
43147         * po/ia.po: Update Interlingua translation from translation
43148         project.
43150 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43152         * include/fenv.h: Include stdbool.h.
43153         (struct rm_ctx): New structure.
43154         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43155         Define macro.
43156         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43157         (SET_RESTORE_ROUNDF): Likewise.
43158         (SET_RESTORE_ROUNDL): Likewise.
43159         (SET_RESTORE_ROUND_NOEX): Likewise.
43160         (SET_RESTORE_ROUND_NOEXF): Likewise.
43161         (SET_RESTORE_ROUND_NOEXL): Likewise.
43162         (SET_RESTORE_ROUND_53BIT): Likewise.
43163         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43164         (libc_feresetround_noexf_ctx): Likewise.
43165         (libc_feresetround_noexl_ctx): Likewise.
43166         (libc_feholdsetround_53bit_ctx): Likewise.
43167         (libc_feresetround_53bit_ctx): Likewise.
43168         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43169         (libc_feholdexcept_setround_sse_ctx): New function.
43170         (libc_fesetenv_sse_ctx): Likewise.
43171         (libc_feupdateenv_sse_ctx): Likewise.
43172         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43173         (libc_feholdexcept_setround_387_ctx): Likewise.
43174         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43175         (libc_feholdsetround_387_prec_ctx): Likewise.
43176         (libc_feholdsetround_387_ctx): Likewise.
43177         (libc_feholdsetround_387_53bit_ctx): Likewise.
43178         (libc_feholdsetround_sse_ctx): Likewise.
43179         (libc_feresetround_sse_ctx): Likewise.
43180         (libc_feresetround_387_ctx): Likewise.
43181         (libc_feupdateenv_387_ctx): Likewise.
43182         (libc_feholdexcept_setroundf_ctx): Define macro.
43183         (libc_fesetenvf_ctx): Likewise.
43184         (libc_feupdateenvf_ctx): Likewise.
43185         (libc_feholdsetroundf_ctx): Likewise.
43186         (libc_feresetroundf_ctx): Likewise.
43187         (libc_feholdexcept_setround_ctx): Likewise.
43188         (libc_fesetenv_ctx): Likewise.
43189         (libc_feupdateenv_ctx): Likewise.
43190         (libc_feholdsetround_ctx): Likewise.
43191         (libc_feresetround_ctx): Likewise.
43192         (libc_feholdexcept_setroundl_ctx): Likewise.
43193         (libc_feupdateenvl_ctx): Likewise.
43194         (libc_feholdsetroundl_ctx): Likewise.
43195         (libc_feresetroundl_ctx): Likewise.
43196         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43197         (libc_feresetround_53bit_ctx): Likewise.
43199 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43201         * locale/iso-639.def: Convert to UTF-8.
43203 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43205         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43206         (EXCEPTION_TESTS_double): Likewise.
43207         (EXCEPTION_TESTS_long_double): Likewise.
43208         (EXCEPTION_TESTS): Likewise.
43209         * math/libm-test.inc (test_exceptions): Only test exceptions if
43210         EXCEPTION_TESTS (FLOAT).
43212 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43214         * benchtests/Makefile (string-bench): Add strcpy_chk and
43215         stpcpy_chk.
43216         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43217         * benchtests/bench-stpcpy_chk.c: New file.
43218         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43219         * benchtests/bench-strcpy_chk.c: New file.
43220         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43221         code.
43222         (do_test): Likewise.
43224 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43226         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43227         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43228         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43229         with tabs where appropriate.
43230         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43231         dl-procinfo.h.
43232         [PPC_PLATFORM_PPC440]: Likewise.
43233         [PPC_PLATFORM_PPC464]: Likewise.
43234         [PPC_PLATFORM_PPC476]: Likewise.
43235         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43236         ppc464, and ppc476 platform strings merging from ports/
43237         dl-procinfo.h.
43239 2013-06-11  Andreas Schwab  <schwab@suse.de>
43241         [BZ #14991]
43242         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43243         (from_ucs4_idx): Regenerate.
43244         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43245         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43246         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43247         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43248         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43249         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43250         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43251         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43252         from FROM_LOOP and TO_LOOP specific macros.
43253         (BODY): Handle combining characters.
43254         * iconvdata/BIG5HKSCS.irreversible: Update.
43255         * iconvdata/BIG5HKSCS.precomposed: New file.
43256         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43257         characters.
43258         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43260 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43262         * include/sys/time.h: Fix indentation and add copyright header.
43264         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43265         (do_test): Likewise.
43266         * string/test-memchr.c (do_one_test): Likewise.
43267         (do_test): Likewise.
43268         * string/test-memcmp.c (do_one_test): Likewise.
43269         (do_test): Likewise.
43270         * string/test-memcpy.c (do_one_test): Likewise.
43271         (do_test): Likewise.
43272         * string/test-memmem.c (do_one_test): Likewise.
43273         (do_test): Likewise.
43274         (do_random_tests): Likewise.
43275         * string/test-memmove.c (do_one_test): Likewise.
43276         (do_test): Likewise.
43277         * string/test-memset.c (do_one_test): Likewise.
43278         (do_test): Likewise.
43279         * string/test-rawmemchr.c (do_one_test): Likewise.
43280         (do_test): Likewise.
43281         * string/test-strcasecmp.c (do_one_test): Likewise.
43282         (do_test): Likewise.
43283         * string/test-strcasestr.c (do_one_test): Likewise.
43284         (do_test): Likewise.
43285         * string/test-strcat.c (do_one_test): Likewise.
43286         (do_test): Likewise.
43287         * string/test-strchr.c (do_one_test): Likewise.
43288         (do_test): Likewise.
43289         * string/test-strcmp.c (do_one_test): Likewise.
43290         (do_test): Likewise.
43291         * string/test-strcpy.c (do_one_test): Likewise.
43292         (do_test): Likewise.
43293         * string/test-string.h: Likewise.
43294         (test_init): Likewise.
43295         * string/test-strlen.c (do_one_test): Likewise.
43296         (do_test): Likewise.
43297         * string/test-strncasecmp.c (do_one_test): Likewise.
43298         (do_test): Likewise.
43299         * string/test-strncat.c (do_one_test): Likewise.
43300         (do_test): Likewise.
43301         * string/test-strncmp.c (do_one_test): Likewise.
43302         (do_test_limit): Likewise.
43303         (do_test): Likewise.
43304         * string/test-strncpy.c (do_one_test): Likewise.
43305         (do_test): Likewise.
43306         * string/test-strnlen.c (do_one_test): Likewise.
43307         (do_test): Likewise.
43308         * string/test-strpbrk.c (do_one_test): Likewise.
43309         (do_test): Likewise.
43310         * string/test-strrchr.c (do_one_test): Likewise.
43311         (do_test): Likewise.
43312         * string/test-strspn.c (do_one_test): Likewise.
43313         (do_test): Likewise.
43314         * string/test-strstr.c (do_one_test): Likewise.
43315         (do_test): Likewise.
43317         * benchtests/Makefile (string-bench): Add string benchmarks.
43318         * benchtests/bench-bcopy-ifunc.c: New file.
43319         * benchtests/bench-bcopy.c: New file.
43320         * benchtests/bench-bzero-ifunc.c: New file.
43321         * benchtests/bench-bzero.c: New file.
43322         * benchtests/bench-memccpy-ifunc.c: New file.
43323         * benchtests/bench-memccpy.c: New file.
43324         * benchtests/bench-memchr-ifunc.c: New file.
43325         * benchtests/bench-memchr.c: New file.
43326         * benchtests/bench-memcmp-ifunc.c: New file.
43327         * benchtests/bench-memcmp.c: New file.
43328         * benchtests/bench-memmem-ifunc.c: New file.
43329         * benchtests/bench-memmem.c: New file.
43330         * benchtests/bench-memmove-ifunc.c: New file.
43331         * benchtests/bench-memmove.c: New file.
43332         * benchtests/bench-mempcpy-ifunc.c: New file.
43333         * benchtests/bench-mempcpy.c: New file.
43334         * benchtests/bench-memset-ifunc.c: New file.
43335         * benchtests/bench-memset.c: New file.
43336         * benchtests/bench-rawmemchr-ifunc.c: New file.
43337         * benchtests/bench-rawmemchr.c: New file.
43338         * benchtests/bench-stpcpy-ifunc.c: New file.
43339         * benchtests/bench-stpcpy.c: New file.
43340         * benchtests/bench-stpncpy-ifunc.c: New file.
43341         * benchtests/bench-stpncpy.c: New file.
43342         * benchtests/bench-strcasecmp-ifunc.c: New file.
43343         * benchtests/bench-strcasecmp.c: New file.
43344         * benchtests/bench-strcasestr-ifunc.c: New file.
43345         * benchtests/bench-strcasestr.c: New file.
43346         * benchtests/bench-strcat-ifunc.c: New file.
43347         * benchtests/bench-strcat.c: New file.
43348         * benchtests/bench-strchr-ifunc.c: New file.
43349         * benchtests/bench-strchr.c: New file.
43350         * benchtests/bench-strchrnul-ifunc.c: New file.
43351         * benchtests/bench-strchrnul.c: New file.
43352         * benchtests/bench-strcmp-ifunc.c: New file.
43353         * benchtests/bench-strcmp.c: New file.
43354         * benchtests/bench-strcpy-ifunc.c: New file.
43355         * benchtests/bench-strcpy.c: New file.
43356         * benchtests/bench-strcspn-ifunc.c: New file.
43357         * benchtests/bench-strcspn.c: New file.
43358         * benchtests/bench-strlen-ifunc.c: New file.
43359         * benchtests/bench-strlen.c: New file.
43360         * benchtests/bench-strncasecmp-ifunc.c: New file.
43361         * benchtests/bench-strncasecmp.c: New file.
43362         * benchtests/bench-strncat-ifunc.c: New file.
43363         * benchtests/bench-strncat.c: New file.
43364         * benchtests/bench-strncmp-ifunc.c: New file.
43365         * benchtests/bench-strncmp.c: New file.
43366         * benchtests/bench-strncpy-ifunc.c: New file.
43367         * benchtests/bench-strncpy.c: New file.
43368         * benchtests/bench-strnlen-ifunc.c: New file.
43369         * benchtests/bench-strnlen.c: New file.
43370         * benchtests/bench-strpbrk-ifunc.c: New file.
43371         * benchtests/bench-strpbrk.c: New file.
43372         * benchtests/bench-strrchr-ifunc.c: New file.
43373         * benchtests/bench-strrchr.c: New file.
43374         * benchtests/bench-strspn-ifunc.c: New file.
43375         * benchtests/bench-strspn.c: New file.
43376         * benchtests/bench-strstr-ifunc.c: New file.
43377         * benchtests/bench-strstr.c: New file.
43379         * benchtests/Makefile: Disable parallel execution of targets.
43380         (string-bench): Add memcpy.
43381         (benchset): New variable to store a list of benchmark sets.
43382         (bench-func): Renamed from bench.
43383         (bench-set): New target.
43384         (bench): Depend on bench-func and bench-set.
43385         * benchtests/README: Add section on benchmark sets.
43386         * benchtests/bench-memcpy-ifunc.c: New file.
43387         * benchtests/bench-memcpy.c: New file.
43388         * benchtests/bench-string.h: New file.
43390 2013-06-11  Andreas Schwab  <schwab@suse.de>
43392         [BZ #15577]
43393         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43394         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43395         values in the triple.
43396         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43397         terminator in the group key.
43399 2013-06-11  Andreas Jaeger  <aj@suse.de>
43401         * po/zh_TW.po: Update Chinese (traditional) translation from
43402         translation project.
43404 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43406         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43407         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43408         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43410         (clock_getcpuclockid): Likewise.
43411         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43412         Add weak_alias and libc_hidden_def.
43413         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43414         * rt/clock_gettime.c (clock_gettime): Rename to
43415         __clock_gettime.  Add weak_alias and libc_hidden_def.
43416         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43417         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43418         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43419         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43420         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43421         Likewise.
43422         * rt/clock_settime.c (clock_settime): Rename to
43423         __clock_settime.  Add weak_alias and libc_hidden_def.
43424         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43426 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43428         * mach/err_boot.sub: Remove trailing whitespace.
43429         * mach/err_ipc.sub: Likewise.
43430         * mach/err_mach.sub: Likewise.
43432         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43433         (ROUNDING_TESTS_double): Likewise.
43434         (ROUNDING_TESTS_long_double): Likewise.
43435         (ROUNDING_TESTS): Likewise.
43436         * math/libm-test.inc: Include <math-tests.h>.
43437         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43438         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43439         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43440         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43442 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43444         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43445         of assigning.
43447 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43449         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43450         otherwise empty TRANS lines.
43451         * sysdeps/gnu/errlist.c: Regenerated.
43453         * catgets/gencat.c (error_print): Use (void) in function
43454         definition.
43455         * crypt/crypt_util.c (__init_des): Likewise.
43456         * crypt/speeds.c (Stop): Likewise.
43457         (main): Likewise.
43458         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43459         * inet/ruserpass.c (token): Likewise.
43460         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43461         * intl/localealias.c (extend_alias_table): Likewise.
43462         * intl/plural-exp.c (init_germanic_plural): Likewise.
43463         * libio/fcloseall.c (__fcloseall): Likewise.
43464         * libio/genops.c (_IO_flush_all): Likewise.
43465         (_IO_flush_all_linebuffered): Likewise.
43466         (_IO_cleanup): Likewise.
43467         (_IO_iter_begin): Likewise.
43468         (_IO_iter_end): Likewise.
43469         (_IO_list_lock): Likewise.
43470         (_IO_list_unlock): Likewise.
43471         (_IO_list_resetlock): Likewise.
43472         * libio/getchar.c (getchar): Likewise.
43473         * libio/getchar_u.c (getchar_unlocked): Likewise.
43474         * libio/getwchar.c (getwchar): Likewise.
43475         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43476         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43477         * login/getpt.c (__getpt): Likewise.
43478         * login/tst-utmp.c (main): Likewise.
43479         * malloc/hooks.c (__malloc_check_init): Likewise.
43480         * malloc/malloc.c (__malloc_stats): Likewise.
43481         * malloc/mtrace.c (tr_break): Likewise.
43482         (mtrace): Likewise.
43483         (muntrace): Likewise.
43484         * misc/fstab.c (endfsent): Likewise.
43485         * misc/getclktck.c (__getclktck): Likewise.
43486         * misc/getdtsz.c (__getdtablesize): Likewise.
43487         * misc/gethostid.c (gethostid): Likewise.
43488         * misc/getpagesize.c (__getpagesize): Likewise.
43489         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43490         (__get_nprocs): Likewise.
43491         (__get_phys_pages): Likewise.
43492         (__get_avphys_pages): Likewise.
43493         * misc/getttyent.c (getttyent): Likewise.
43494         (setttyent): Likewise.
43495         (endttyent): Likewise.
43496         * misc/getusershell.c (getusershell): Likewise.
43497         (endusershell): Likewise.
43498         (setusershell): Likewise.
43499         (initshells): Likewise.
43500         * misc/hsearch.c (__hdestroy): Likewise.
43501         * misc/sync.c (sync): Likewise.
43502         * misc/syslog.c (closelog_internal): Likewise.
43503         (closelog): Likewise.
43504         * misc/ttyslot.c (ttyslot): Likewise.
43505         * misc/vhangup.c (vhangup): Likewise.
43506         * posix/fork.c (__fork): Likewise.
43507         * posix/getegid.c (__getegid): Likewise.
43508         * posix/geteuid.c (__geteuid): Likewise.
43509         * posix/getgid.c (__getgid): Likewise.
43510         * posix/getpid.c (__getpid): Likewise.
43511         * posix/getppid.c (__getppid): Likewise.
43512         * posix/getuid.c (__getuid): Likewise.
43513         * posix/pause.c (pause): Likewise.
43514         * posix/setpgrp.c (setpgrp): Likewise.
43515         * posix/setsid.c (__setsid): Likewise.
43516         * posix/test-vfork.c (noop): Likewise.
43517         * resolv/gethnamaddr.c (_endhtent): Likewise.
43518         (_gethtent): Likewise.
43519         (ht_endhostent): Likewise.
43520         (gethostent): Likewise.
43521         (dns_service): Likewise.
43522         * stdlib/drand48.c (drand48): Likewise.
43523         * stdlib/lrand48.c (lrand48): Likewise.
43524         * stdlib/mrand48.c (mrand48): Likewise.
43525         * stdlib/rand.c (rand): Likewise.
43526         * stdlib/random.c (__random): Likewise.
43527         * stdlib/setenv.c (clearenv): Likewise.
43528         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43529         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43530         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43531         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43532         (__get_nprocs): Likewise.
43533         (__get_phys_pages): Likewise.
43534         (__get_avphys_pages): Likewise.
43535         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43536         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43537         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43538         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43539         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43540         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43541         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43542         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43543         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43544         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43545         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43546         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43547         * sysdeps/posix/clock.c (clock): Likewise.
43548         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43549         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43550         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43551         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43552         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43553         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43554         (__get_nprocs_conf): Likewise.
43555         (__get_phys_pages): Likewise.
43556         (__get_avphys_pages): Likewise.
43557         * time/clock.c (clock): Likewise.
43558         * time/tzset.c (__tzname_max): Likewise.
43560 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43562         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43563         (__bswap_32): Do not use "register".
43564         * crypt/crypt.c (_ufc_doit_r): Likewise.
43565         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43566         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43567         * gmon/gmon.c (__monstartup): Likewise.
43568         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43569         * hurd/hurdmalloc.c (more_memory): Likewise.
43570         (malloc): Likewise.
43571         (free): Likewise.
43572         (realloc): Likewise.
43573         (malloc_fork_prepare): Likewise.
43574         (malloc_fork_parent): Likewise.
43575         (malloc_fork_child): Likewise.
43576         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43577         (_svcauth_des): Likewise.
43578         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43579         * inet/inet_net.c (inet_network): Likewise.
43580         * inet/inet_netof.c (inet_netof): Likewise.
43581         * inet/rcmd.c (__validuser2_sa): Likewise.
43582         * io/fts.c (fts_open): Likewise.
43583         (fts_load): Likewise.
43584         (fts_close): Likewise.
43585         (fts_read): Likewise.
43586         (fts_children): Likewise.
43587         (fts_build): Likewise.
43588         (fts_stat): Likewise.
43589         (fts_sort): Likewise.
43590         (fts_alloc): Likewise.
43591         (fts_lfree): Likewise.
43592         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43593         (_IO_file_xsgetn): Likewise.
43594         (_IO_file_xsgetn_mmap): Likewise.
43595         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43596         (_IO_cookie_write): Likewise.
43597         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43598         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43599         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43600         * malloc/obstack.c (_obstack_begin): Likewise.
43601         (_obstack_begin_1): Likewise.
43602         (_obstack_newchunk): Likewise.
43603         (_obstack_allocated_p): Likewise.
43604         (obstack_free): Likewise.
43605         (_obstack_memory_used): Likewise.
43606         * misc/getttyent.c (getttynam): Likewise.
43607         (getttyent): Likewise.
43608         (skip): Likewise.
43609         (value): Likewise.
43610         * misc/getusershell.c (initshells): Likewise.
43611         * misc/syslog.c (__vsyslog_chk): Likewise.
43612         * misc/ttyslot.c (ttyslot): Likewise.
43613         * nis/nis_hash.c (__nis_hash): Likewise.
43614         * posix/fnmatch_loop.c (FCT): Likewise.
43615         * posix/getconf.c (print_all): Likewise.
43616         (main): Likewise.
43617         * posix/getopt.c (exchange): Likewise.
43618         * posix/glob.c (globfree): Likewise.
43619         (prefix_array): Likewise.
43620         (__glob_pattern_type): Likewise.
43621         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43622         (NS_GET32): Likewise.
43623         (NS_PUT16): Likewise.
43624         (NS_PUT32): Likewise.
43625         * resolv/gethnamaddr.c (getanswer): Likewise.
43626         (gethostbyname2): Likewise.
43627         (gethostbyaddr): Likewise.
43628         (_gethtent): Likewise.
43629         (_gethtbyname2): Likewise.
43630         (_gethtbyaddr): Likewise.
43631         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43632         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43633         * resolv/res_init.c (__res_vinit): Likewise.
43634         (net_mask): Likewise.
43635         * resolv/res_mkquery.c (outchar): Likewise.
43636         (PRINT): Likewise.
43637         * stdio-common/printf_fp.c (outchar): Likewise.
43638         (PRINT): Likewise.
43639         * stdio-common/printf_fphex.c (outchar): Likewise.
43640         (PRINT): Likewise.
43641         * stdio-common/printf_size.c (outchar): Likewise.
43642         (PRINT): Likewise.
43643         * stdio-common/test_rdwr.c (main): Likewise.
43644         * stdio-common/tfformat.c (matches): Likewise.
43645         * stdio-common/vfprintf.c (outchar): Likewise.
43646         (printf_unknown): Likewise.
43647         (buffered_vfprintf): Likewise.
43648         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43649         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43650         (ReadFile): Likewise.
43651         * stdlib/qsort.c (SWAP): Likewise.
43652         (_quicksort): Likewise.
43653         * stdlib/setenv.c (__add_to_environ): Likewise.
43654         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43655         * stdlib/strtol_l.c (__strtol_l): Likewise.
43656         * stdlib/tst-strtod.c (main): Likewise.
43657         * stdlib/tst-strtol.c (main): Likewise.
43658         * stdlib/tst-strtoll.c (main): Likewise.
43659         * string/bits/string2.h (__strcmp_cc): Likewise.
43660         (__strcmp_cg): Likewise.
43661         (__strcspn_c1): Likewise.
43662         (__strcspn_c2): Likewise.
43663         (__strcspn_c3): Likewise.
43664         (__strspn_c1): Likewise.
43665         (__strspn_c2): Likewise.
43666         (__strspn_c3): Likewise.
43667         (__strsep_1c): Likewise.
43668         (__strsep_2c): Likewise.
43669         (__strsep_3c): Likewise.
43670         * string/memccpy.c (__memccpy): Likewise.
43671         * string/stpcpy.c (__stpcpy): Likewise.
43672         * string/strcmp.c (strcmp): Likewise.
43673         * string/strrchr.c (strrchr): Likewise.
43674         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43675         Likewise.
43676         * sysdeps/mach/hurd/getcwd.c
43677         (_hurd_canonicalize_directory_name_internal): Likewise.
43678         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43679         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43680         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43681         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43682         Likewise, in both definitions.
43683         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43684         definitions.
43685         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43686         64] (__bswap_64): Likewise.
43687         * time/test_time.c (main): Likewise.
43688         * time/tzfile.c (__tzfile_read): Likewise.
43689         (__tzfile_compute): Likewise.
43690         * time/tzset.c (__tzset_parse_tz): Likewise.
43691         (tzset_internal): Likewise.
43692         (compute_change): Likewise.
43693         * wcsmbs/wcscat.c (__wcscat): Likewise.
43694         * wcsmbs/wcschr.c (wcschr): Likewise.
43695         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43696         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43697         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43698         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43699         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43700         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43701         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43702         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43703         * wcsmbs/wmemset.c (wmemset): Likewise.
43705 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43707         * scripts/config.guess: Update to version 2013-05-16.
43708         * scripts/config.sub: Update to version 2013-04-24.
43709         * scripts/install-sh: Update to version 2011-11-20.07.
43710         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43711         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43713 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
43715         * debug/fgetws_u_chk.c: Fix leading whitespaces.
43716         * elf/sln.c: Likewise.
43717         * hurd/hurd/ioctl.h: Likewise.
43718         * hurd/hurdmalloc.c: Likewise.
43719         * hurd/xattr.c: Likewise.
43720         * include/shlib-compat.h: Likewise.
43721         * inet/ruserpass.c: Likewise.
43722         * libio/iofgets_u.c: Likewise.
43723         * libio/iofgetws_u.c: Likewise.
43724         * locale/programs/ld-identification.c: Likewise.
43725         * locale/programs/ld-time.c: Likewise.
43726         * mach/msg-destroy.c: Likewise.
43727         * nss/nss_files/files-netgrp.c: Likewise.
43728         * resolv/res_data.c: Likewise.
43729         * soft-fp/op-1.h: Likewise.
43730         * soft-fp/op-2.h: Likewise.
43731         * soft-fp/op-4.h: Likewise.
43732         * soft-fp/op-common.h: Likewise.
43733         * stdio-common/printf_fphex.c: Likewise.
43734         * stdlib/strtod_l.c: Likewise.
43735         * sunrpc/rpc/clnt.h: Likewise.
43736         * sysdeps/generic/framestate.c: Likewise.
43737         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43738         * sysdeps/i386/bsd-setjmp.S: Likewise.
43739         * sysdeps/i386/__longjmp.S: Likewise.
43740         * sysdeps/i386/setjmp.S: Likewise.
43741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43742         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43743         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43744         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43746         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43747         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43748         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43749         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43750         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43751         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43752         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43753         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43754         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43755         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43756         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43757         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43758         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43759         * sysdeps/ieee754/support.c: Likewise.
43760         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43761         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43762         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43763         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43764         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43765         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43766         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43767         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43768         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43769         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43770         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43771         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43772         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43773         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43774         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43775         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43776         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43779 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
43781         * posix/transbug.c: Remove executable mode.
43783 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43785         * crypt/speeds.c: Remove trailing whitespace.
43786         * dlfcn/default.c: Likewise.
43787         * elf/ifuncdep2.c: Likewise.
43788         * elf/ifuncmain1.c: Likewise.
43789         * elf/ifuncmain1vis.c: Likewise.
43790         * elf/testobj.h: Likewise.
43791         * elf/tst-stackguard1.c: Likewise.
43792         * gmon/sys/gmon.h: Likewise.
43793         * hurd/hurdmsg.c: Likewise.
43794         * hurd/new-fd.c: Likewise.
43795         * hurd/ports-get.c: Likewise.
43796         * iconvdata/ibm1008_420.c: Likewise.
43797         * inet/tst-getni1.c: Likewise.
43798         * inet/tst-getni2.c: Likewise.
43799         * libio/ioungetc.c: Likewise.
43800         * libio/wfiledoalloc.c: Likewise.
43801         * manual/libm-err-tab.pl: Likewise.
43802         * math/w_dremf.c: Likewise.
43803         * misc/ftruncate.c: Likewise.
43804         * posix/bug-glob2.c: Likewise.
43805         * posix/tst-pcre.c: Likewise.
43806         * posix/wait4.c: Likewise.
43807         * resolv/README: Likewise.
43808         * resolv/res_debug.h: Likewise.
43809         * resolv/tst-inet_ntop.c: Likewise.
43810         * setjmp/bug269-setjmp.c: Likewise.
43811         * soft-fp/extended.h: Likewise.
43812         * soft-fp/op-1.h: Likewise.
43813         * soft-fp/op-2.h: Likewise.
43814         * soft-fp/op-4.h: Likewise.
43815         * soft-fp/op-8.h: Likewise.
43816         * soft-fp/testit.c: Likewise.
43817         * stdio-common/bug16.c: Likewise.
43818         * stdlib/random.c: Likewise.
43819         * sunrpc/rpcsvc/rquota.x: Likewise.
43820         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43821         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43822         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43823         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43824         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43825         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43826         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43827         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43828         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43829         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43830         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43847         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43849         * sysdeps/ieee754/s_lib_version.c: Likewise.
43850         * sysdeps/mach/hurd/check_fds.c: Likewise.
43851         * sysdeps/mach/hurd/getsockname.c: Likewise.
43852         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43853         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43854         * sysdeps/powerpc/bits/link.h: Likewise.
43855         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43856         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43857         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43858         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43859         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43860         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43861         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43862         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43863         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43864         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43865         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43866         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43867         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43868         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43869         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43870         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43871         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43872         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43874         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43876         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43878         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43879         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43880         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43881         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43882         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43883         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43884         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43886         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43887         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43888         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43889         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43890         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43891         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43892         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43893         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43894         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43895         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43896         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43897         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43898         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43899         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43900         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43901         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43902         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43903         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43904         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43905         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43907         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43908         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43909         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43910         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43911         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43912         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43913         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43914         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43915         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43916         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43917         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43918         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43919         * sysdeps/powerpc/sysdep.h: Likewise.
43920         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43921         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43922         * sysdeps/sh/dl-trampoline.S: Likewise.
43923         * sysdeps/sh/memset.S: Likewise.
43924         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43925         * sysdeps/sh/strlen.S: Likewise.
43926         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43927         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43928         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43929         * sysdeps/sparc/sparc32/rem.S: Likewise.
43930         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43931         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43932         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43933         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43934         * sysdeps/sparc/sparc32/urem.S: Likewise.
43935         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43936         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43937         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43938         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43939         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43940         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43941         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43942         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43943         * sysdeps/unix/bsd/times.c: Likewise.
43944         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43945         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43949         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43950         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43951         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43952         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43953         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43954         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43955         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43956         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43957         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43958         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43959         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43960         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43961         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43962         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43963         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43964         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43965         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43966         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43967         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43968         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43969         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43970         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43971         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43972         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43973         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43974         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43975         * sysdeps/x86_64/strcspn.S: Likewise.
43977 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43979         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43980         generated file.  Regenerate properly from gen-translit.pl.
43981         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43982         locale/C-translit.h.
43984 2013-06-05  Andreas Schwab  <schwab@suse.de>
43986         [BZ #15100]
43987         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43988         week as 6 instead of -1.
43989         * time/tst-strptime.c (day_tests): Add test case.
43991 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43993         * sysdeps/generic/math_private.h
43994         (libc_feholdexcept_setround_53bit): Replace with
43995         libc_feholdsetround_53bit.
43996         (libc_feupdateenv_53bit): Replace with
43997         libc_feresetround_53bit.
43998         (SET_RESTORE_ROUND_53BIT): Adjust.
44000 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44002         * string/test-strchrnul.c: Add copyright header.
44004         * posix/tst-getaddrinfo4.c: Increase test timeout.
44006 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44008         [BZ #15536]
44009         * math/libm-test.inc (MAX_EXP): Remove
44010         (MIN_EXP): Define.
44011         (ulp): Use MIN_EXP - MANT_DIG.
44012         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44014 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44016         * po/be.po: Revert last change.
44017         * po/zh_CN.po: Likewise.
44018         * po/header.pot: Likewise.
44020 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44022         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44023         link-libc-deps to empty as target-specific variable.
44024         * Makerules (link-libc-args): New variable.
44025         (libc-for-link): Likewise.
44026         (link-libc-deps): Likewise.
44027         (lib%.so): Depend on $(link-libc-deps).  Link with
44028         $(link-libc-args).
44029         (build-module): Link with $(link-libc-args).
44030         (build-module-asneeded): Likewise.
44031         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44032         list of objects.
44033         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44034         target-specific variable.
44035         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44036         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44037         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44038         libc.
44039         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44040         libc and ld.so.
44041         ($(objpfx)libpcprofile.so): Likewise.
44042         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44043         libc_nonshared.a.
44044         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44045         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44046         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44047         $(link-libc-deps).
44048         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44049         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44050         * login/Makefile ($(objpfx)libutil.so): Likewise.
44051         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44052         * math/Makefile ($(objpfx)libm.so): Likewise.
44053         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44054         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44055         variable instead of depending directly on libc.
44056         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44057         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44058         $(link-libc-deps).
44059         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44060         libc.
44061         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44062         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44063         ($(objpfx)libanl.so): Likewise.
44064         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44065         ld.so.
44066         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44067         $(link-libc-deps).
44068         * sysdeps/i386/fpu/Makefile: Remove file.
44069         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44070         ($(objpfx)libm.so): Remove dependency on ld.so.
44072 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44074         [BZ # 15553]
44075         * nis/yp_xdr.c (XDRMAXNAME): Define.
44076         (XDRMAXRECORD): Define.
44077         (xdr_domainname): Use XDRMAXNAME.
44078         (xdr_mapname): Likewise.
44079         (xdr_peername): Likewise.
44080         (xdr_keydat): Use XDRMAXRECORD.
44081         (xdr_valdat): Likewise.
44083 2013-05-30  Jeff Law  <law@redhat.com>
44085         [BZ #14256]
44086         * manual/errno.texi (ESTALE): Update to account for more than
44087         just NFS file systems.
44088         * sysdeps/gnu/errlist.c: Regenerated.
44090 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44092         [BZ #15465]
44093         * elf/Makefile (tests): Add tst-null-argv.
44094         (modules-names):  Add tst-null-argv-lib.
44095         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44096         (tst-null-argv-ENV): Set environment for tst-null-argv.
44097         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44098         (RTLD_PROGNAME): New macro.
44099         * elf/tst-null-argv.c: New test case.
44100         * elf/tst-null-argv-lib.c: Library for test case.
44101         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44102         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44103         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44104         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44105         * elf/dl-init.c (call_init): Likewise.
44106         (_dl_init): Likewise.
44107         * elf/dl-load.c (print_search_path): Likewise.
44108         (_dl_map_object): Likewise.
44109         * elf/dl-lookup.c (do_lookup_x): Likewise.
44110         (add_dependency): Likewise.
44111         (_dl_lookup_symbol_x): Likewise.
44112         (_dl_debug_bindings): Likewise.
44113         * elf/dl-open.c (_dl_show_scope): Likewise.
44114         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44115         * elf/dl-version.c (match_symbol): Likewise.
44116         (_dl_check_map_versions): Likewise.
44117         * elf/rtld.c (dl_main): Likewise.
44118         (print_unresolved): Use RTLD_PROGNAME.
44119         (print_missing_version): Likewise.
44120         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44121         (elf_machine_rela): Likewise.
44122         * sysdeps/powerpc/powerpc32/dl-machine.c
44123         (__process_machine_rela): Likewise.
44124         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44125         Likewise.
44126         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44127         Likewise.
44128         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44129         Likewise.
44130         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44132         Likewise.
44133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44134         Likewise.
44135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44137 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44139         * po/be.po: Add descriptive title.
44140         * po/zh_CN.po: Likewise.
44141         * po/header.pot: Likewise.
44143 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44145         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44146         error message.
44147         (enlarge_archive): Likewise.
44149 2013-05-28  Ben North  <ben@redfrontdoor.org>
44151         * manual/arith.texi (frexp): It is the magnitude of the return
44152         value which lies in [0.5, 1), not the return value itself.
44154 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44158 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44160         * stdio-common/bug26.c (main): Correct fscanf template.
44162         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44163         declare _dl_skip_args.
44165         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44166         Don't declare.
44168         * manual/platform.texi: Add missing @end deftypefun.
44170 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44172         [BZ #15529]
44173         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44174         bit of mantissa of 2^16382.
44175         * math/libm-test.inc (hypot_test_data): Add more tests.
44177         * math/libm-test.inc: Add drem and pow10 to list of tested
44178         functions.
44179         (pow10_test): New function.
44180         (drem_test): Likewise.
44181         (drem_test_tonearest): Likewise.
44182         (drem_test_towardzero): Likewise.
44183         (drem_test_downward): Likewise.
44184         (drem_test_upward): Likewise.
44185         (main): Call the new functions.
44187         * math/libm-test.inc (finite_test_data): Remove.
44188         (finite_test): Run tests from isfinite_test_data.
44189         (gamma_test_data): Remove.
44190         (gamma_test): Run tests from lgamma_test_data.
44191         * sysdeps/i386/fpu/libm-test-ulps: Update.
44192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44194 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44196         * manual/platform.texi: Add PowerPC PPR function set documentation.
44197         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44198         implementation.
44200 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44202         * math/libm-test.inc (MAX_EXP): Define.
44203         (ULPDIFF): Define.
44204         (ulp): New function.
44205         (check_float_internal): Use ULPDIFF.
44206         (cpow_test): Disable failing test.
44207         (check_ulp): Test ulp() implemetnation.
44208         (main): Call check_ulp before starting tests.
44210 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44212         * math/gen-libm-test.pl (generate_testfile): Do not handle
44213         START_DATA and END_DATA.
44214         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44215         END_DATA.
44216         (acos_tonearest_test_data): Likewise.
44217         (acos_towardzero_test_data): Likewise.
44218         (acos_downward_test_data): Likewise.
44219         (acos_upward_test_data): Likewise.
44220         (acosh_test_data): Likewise.
44221         (asin_test_data): Likewise.
44222         (asin_tonearest_test_data): Likewise.
44223         (asin_towardzero_test_data): Likewise.
44224         (asin_downward_test_data): Likewise.
44225         (asin_upward_test_data): Likewise.
44226         (asinh_test_data): Likewise.
44227         (atan_test_data): Likewise.
44228         (atanh_test_data): Likewise.
44229         (atan2_test_data): Likewise.
44230         (cabs_test_data): Likewise.
44231         (cacos_test_data): Likewise.
44232         (cacosh_test_data): Likewise.
44233         (carg_test_data): Likewise.
44234         (casin_test_data): Likewise.
44235         (casinh_test_data): Likewise.
44236         (catan_test_data): Likewise.
44237         (catanh_test_data): Likewise.
44238         (cbrt_test_data): Likewise.
44239         (ccos_test_data): Likewise.
44240         (ccosh_test_data): Likewise.
44241         (ceil_test_data): Likewise.
44242         (cexp_test_data): Likewise.
44243         (cimag_test_data): Likewise.
44244         (clog_test_data): Likewise.
44245         (clog10_test_data): Likewise.
44246         (conj_test_data): Likewise.
44247         (copysign_test_data): Likewise.
44248         (cos_test_data): Likewise.
44249         (cos_tonearest_test_data): Likewise.
44250         (cos_towardzero_test_data): Likewise.
44251         (cos_downward_test_data): Likewise.
44252         (cos_upward_test_data): Likewise.
44253         (cosh_test_data): Likewise.
44254         (cosh_tonearest_test_data): Likewise.
44255         (cosh_towardzero_test_data): Likewise.
44256         (cosh_downward_test_data): Likewise.
44257         (cosh_upward_test_data): Likewise.
44258         (cpow_test_data): Likewise.
44259         (cproj_test_data): Likewise.
44260         (creal_test_data): Likewise.
44261         (csin_test_data): Likewise.
44262         (csinh_test_data): Likewise.
44263         (csqrt_test_data): Likewise.
44264         (ctan_test_data): Likewise.
44265         (ctan_tonearest_test_data): Likewise.
44266         (ctan_towardzero_test_data): Likewise.
44267         (ctan_downward_test_data): Likewise.
44268         (ctan_upward_test_data): Likewise.
44269         (ctanh_test_data): Likewise.
44270         (ctanh_tonearest_test_data): Likewise.
44271         (ctanh_towardzero_test_data): Likewise.
44272         (ctanh_downward_test_data): Likewise.
44273         (ctanh_upward_test_data): Likewise.
44274         (erf_test_data): Likewise.
44275         (erfc_test_data): Likewise.
44276         (exp_test_data): Likewise.
44277         (exp_tonearest_test_data): Likewise.
44278         (exp_towardzero_test_data): Likewise.
44279         (exp_downward_test_data): Likewise.
44280         (exp_upward_test_data): Likewise.
44281         (exp10_test_data): Likewise.
44282         (exp2_test_data): Likewise.
44283         (expm1_test_data): Likewise.
44284         (fabs_test_data): Likewise.
44285         (fdim_test_data): Likewise.
44286         (finite_test_data): Likewise.
44287         (floor_test_data): Likewise.
44288         (fma_test_data): Likewise.
44289         (fma_towardzero_test_data): Likewise.
44290         (fma_downward_test_data): Likewise.
44291         (fma_upward_test_data): Likewise.
44292         (fmax_test_data): Likewise.
44293         (fmin_test_data): Likewise.
44294         (fmod_test_data): Likewise.
44295         (fpclassify_test_data): Likewise.
44296         (frexp_test_data): Likewise.
44297         (gamma_test_data): Likewise.
44298         (hypot_test_data): Likewise.
44299         (ilogb_test_data): Likewise.
44300         (isfinite_test_data): Likewise.
44301         (isgreater_test_data): Likewise.
44302         (isgreaterequal_test_data): Likewise.
44303         (isinf_test_data): Likewise.
44304         (isless_test_data): Likewise.
44305         (islessequal_test_data): Likewise.
44306         (islessgreater_test_data): Likewise.
44307         (isnan_test_data): Likewise.
44308         (isnormal_test_data): Likewise.
44309         (issignaling_test_data): Likewise.
44310         (isunordered_test_data): Likewise.
44311         (j0_test_data): Likewise.
44312         (j1_test_data): Likewise.
44313         (jn_test_data): Likewise.
44314         (ldexp_test_data): Likewise.
44315         (lgamma_test_data): Likewise.
44316         (lrint_test_data): Likewise.
44317         (lrint_tonearest_test_data): Likewise.
44318         (lrint_towardzero_test_data): Likewise.
44319         (lrint_downward_test_data): Likewise.
44320         (lrint_upward_test_data): Likewise.
44321         (llrint_test_data): Likewise.
44322         (llrint_tonearest_test_data): Likewise.
44323         (llrint_towardzero_test_data): Likewise.
44324         (llrint_downward_test_data): Likewise.
44325         (llrint_upward_test_data): Likewise.
44326         (log_test_data): Likewise.
44327         (log10_test_data): Likewise.
44328         (log1p_test_data): Likewise.
44329         (log2_test_data): Likewise.
44330         (logb_test_data): Likewise.
44331         (logb_downward_test_data): Likewise.
44332         (lround_test_data): Likewise.
44333         (llround_test_data): Likewise.
44334         (modf_test_data): Likewise.
44335         (nearbyint_test_data): Likewise.
44336         (nextafter_test_data): Likewise.
44337         (nexttoward_test_data): Likewise.
44338         (pow_test_data): Likewise.
44339         (pow_tonearest_test_data): Likewise.
44340         (pow_towardzero_test_data): Likewise.
44341         (pow_downward_test_data): Likewise.
44342         (pow_upward_test_data): Likewise.
44343         (remainder_test_data): Likewise.
44344         (remainder_tonearest_test_data): Likewise.
44345         (remainder_towardzero_test_data): Likewise.
44346         (remainder_downward_test_data): Likewise.
44347         (remainder_upward_test_data): Likewise.
44348         (remquo_test_data): Likewise.
44349         (rint_test_data): Likewise.
44350         (rint_tonearest_test_data): Likewise.
44351         (rint_towardzero_test_data): Likewise.
44352         (rint_downward_test_data): Likewise.
44353         (rint_upward_test_data): Likewise.
44354         (round_test_data): Likewise.
44355         (scalb_test_data): Likewise.
44356         (scalbn_test_data): Likewise.
44357         (scalbln_test_data): Likewise.
44358         (signbit_test_data): Likewise.
44359         (sin_test_data): Likewise.
44360         (sin_tonearest_test_data): Likewise.
44361         (sin_towardzero_test_data): Likewise.
44362         (sin_downward_test_data): Likewise.
44363         (sin_upward_test_data): Likewise.
44364         (sincos_test_data): Likewise.
44365         (sinh_test_data): Likewise.
44366         (sinh_tonearest_test_data): Likewise.
44367         (sinh_towardzero_test_data): Likewise.
44368         (sinh_downward_test_data): Likewise.
44369         (sinh_upward_test_data): Likewise.
44370         (sqrt_test_data): Likewise.
44371         (tan_test_data): Likewise.
44372         (tan_tonearest_test_data): Likewise.
44373         (tan_towardzero_test_data): Likewise.
44374         (tan_downward_test_data): Likewise.
44375         (tan_upward_test_data): Likewise.
44376         (tanh_test_data): Likewise.
44377         (tgamma_test_data): Likewise.
44378         (trunc_test_data): Likewise.
44379         (y0_test_data): Likewise.
44380         (y1_test_data): Likewise.
44381         (yn_test_data): Likewise.
44382         (significand_test_data): Likewise.
44384         * math/gen-libm-test.pl (@functions): Remove variable.
44385         (generate_testfile): Don't handle START and END lines.
44386         * math/libm-test.inc (START): New macro.
44387         (END): Likewise.
44388         (END_COMPLEX): Likewise.
44389         (acos_test): Use END macro without arguments.
44390         (acos_test_tonearest): Likewise.
44391         (acos_test_towardzero): Likewise.
44392         (acos_test_downward): Likewise.
44393         (acos_test_upward): Likewise.
44394         (acosh_test): Likewise.
44395         (asin_test): Likewise.
44396         (asin_test_tonearest): Likewise.
44397         (asin_test_towardzero): Likewise.
44398         (asin_test_downward): Likewise.
44399         (asin_test_upward): Likewise.
44400         (asinh_test): Likewise.
44401         (atan_test): Likewise.
44402         (atanh_test): Likewise.
44403         (atan2_test): Likewise.
44404         (cabs_test): Likewise.
44405         (cacos_test): Use END_COMPLEX macro without arguments.
44406         (cacosh_test): Likewise.
44407         (carg_test): Use END macro without arguments.
44408         (casin_test): Use END_COMPLEX macro without arguments.
44409         (casinh_test): Likewise.
44410         (catan_test): Likewise.
44411         (catanh_test): Likewise.
44412         (cbrt_test): Use END macro without arguments.
44413         (ccos_test): Use END_COMPLEX macro without arguments.
44414         (ccosh_test): Likewise.
44415         (ceil_test): Use END macro without arguments.
44416         (cexp_test): Use END_COMPLEX macro without arguments.
44417         (cimag_test): Use END macro without arguments.
44418         (clog_test): Use END_COMPLEX macro without arguments.
44419         (clog10_test): Likewise.
44420         (conj_test): Likewise.
44421         (copysign_test): Use END macro without arguments.
44422         (cos_test): Likewise.
44423         (cos_test_tonearest): Likewise.
44424         (cos_test_towardzero): Likewise.
44425         (cos_test_downward): Likewise.
44426         (cos_test_upward): Likewise.
44427         (cosh_test): Likewise.
44428         (cosh_test_tonearest): Likewise.
44429         (cosh_test_towardzero): Likewise.
44430         (cosh_test_downward): Likewise.
44431         (cosh_test_upward): Likewise.
44432         (cpow_test): Use END_COMPLEX macro without arguments.
44433         (cproj_test): Likewise.
44434         (creal_test): Use END macro without arguments.
44435         (csin_test): Use END_COMPLEX macro without arguments.
44436         (csinh_test): Likewise.
44437         (csqrt_test): Likewise.
44438         (ctan_test): Likewise.
44439         (ctan_test_tonearest): Likewise.
44440         (ctan_test_towardzero): Likewise.
44441         (ctan_test_downward): Likewise.
44442         (ctan_test_upward): Likewise.
44443         (ctanh_test): Likewise.
44444         (ctanh_test_tonearest): Likewise.
44445         (ctanh_test_towardzero): Likewise.
44446         (ctanh_test_downward): Likewise.
44447         (ctanh_test_upward): Likewise.
44448         (erf_test): Use END macro without arguments.
44449         (erfc_test): Likewise.
44450         (exp_test): Likewise.
44451         (exp_test_tonearest): Likewise.
44452         (exp_test_towardzero): Likewise.
44453         (exp_test_downward): Likewise.
44454         (exp_test_upward): Likewise.
44455         (exp10_test): Likewise.
44456         (exp2_test): Likewise.
44457         (expm1_test): Likewise.
44458         (fabs_test): Likewise.
44459         (fdim_test): Likewise.
44460         (finite_test): Likewise.
44461         (floor_test): Likewise.
44462         (fma_test): Likewise.
44463         (fma_test_towardzero): Likewise.
44464         (fma_test_downward): Likewise.
44465         (fma_test_upward): Likewise.
44466         (fmax_test): Likewise.
44467         (fmin_test): Likewise.
44468         (fmod_test): Likewise.
44469         (fpclassify_test): Likewise.
44470         (frexp_test): Likewise.
44471         (gamma_test): Likewise.
44472         (hypot_test): Likewise.
44473         (ilogb_test): Likewise.
44474         (isfinite_test): Likewise.
44475         (isgreater_test): Likewise.
44476         (isgreaterequal_test): Likewise.
44477         (isinf_test): Likewise.
44478         (isless_test): Likewise.
44479         (islessequal_test): Likewise.
44480         (islessgreater_test): Likewise.
44481         (isnan_test): Likewise.
44482         (isnormal_test): Likewise.
44483         (issignaling_test): Likewise.
44484         (isunordered_test): Likewise.
44485         (j0_test): Likewise.
44486         (j1_test): Likewise.
44487         (jn_test): Likewise.
44488         (ldexp_test): Likewise.
44489         (lgamma_test): Likewise.
44490         (lrint_test): Likewise.
44491         (lrint_test_tonearest): Likewise.
44492         (lrint_test_towardzero): Likewise.
44493         (lrint_test_downward): Likewise.
44494         (lrint_test_upward): Likewise.
44495         (llrint_test): Likewise.
44496         (llrint_test_tonearest): Likewise.
44497         (llrint_test_towardzero): Likewise.
44498         (llrint_test_downward): Likewise.
44499         (llrint_test_upward): Likewise.
44500         (log_test): Likewise.
44501         (log10_test): Likewise.
44502         (log1p_test): Likewise.
44503         (log2_test): Likewise.
44504         (logb_test): Likewise.
44505         (logb_test_downward): Likewise.
44506         (lround_test): Likewise.
44507         (llround_test): Likewise.
44508         (modf_test): Likewise.
44509         (nearbyint_test): Likewise.
44510         (nextafter_test): Likewise.
44511         (nexttoward_test): Likewise.
44512         (pow_test): Likewise.
44513         (pow_test_tonearest): Likewise.
44514         (pow_test_towardzero): Likewise.
44515         (pow_test_downward): Likewise.
44516         (pow_test_upward): Likewise.
44517         (remainder_test): Likewise.
44518         (remainder_test_tonearest): Likewise.
44519         (remainder_test_towardzero): Likewise.
44520         (remainder_test_downward): Likewise.
44521         (remainder_test_upward): Likewise.
44522         (remquo_test): Likewise.
44523         (rint_test): Likewise.
44524         (rint_test_tonearest): Likewise.
44525         (rint_test_towardzero): Likewise.
44526         (rint_test_downward): Likewise.
44527         (rint_test_upward): Likewise.
44528         (round_test): Likewise.
44529         (scalb_test): Likewise.
44530         (scalbn_test): Likewise.
44531         (scalbln_test): Likewise.
44532         (signbit_test): Likewise.
44533         (sin_test): Likewise.
44534         (sin_test_tonearest): Likewise.
44535         (sin_test_towardzero): Likewise.
44536         (sin_test_downward): Likewise.
44537         (sin_test_upward): Likewise.
44538         (sincos_test): Likewise.
44539         (sinh_test): Likewise.
44540         (sinh_test_tonearest): Likewise.
44541         (sinh_test_towardzero): Likewise.
44542         (sinh_test_downward): Likewise.
44543         (sinh_test_upward): Likewise.
44544         (sqrt_test): Likewise.
44545         (tan_test): Likewise.
44546         (tan_test_tonearest): Likewise.
44547         (tan_test_towardzero): Likewise.
44548         (tan_test_downward): Likewise.
44549         (tan_test_upward): Likewise.
44550         (tanh_test): Likewise.
44551         (tgamma_test): Likewise.
44552         (trunc_test): Likewise.
44553         (y0_test): Likewise.
44554         (y1_test): Likewise.
44555         (yn_test): Likewise.
44556         (significand_test): Likewise.
44558 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44560         [BZ #15381]
44561         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44563 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44565         [BZ #14894]
44566         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44567         __ppc_mdoio and __ppc_mdoom.
44568         * manual/platform.texi: Document new functions __ppc_yield,
44569         __ppc_mdoio and __ppc_mdoom.
44571 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44573         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44574         (main): Mention "tls" pseudo-hwcap is legacy.
44575         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44577 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44579         * math/gen-libm-test.pl (parse_args): Output only string of
44580         arguments as text for test name, not full call or descriptions of
44581         tests for extra outputs.
44582         (generate_testfile): Do not pass function name to parse_args.
44583         Generate this_func variable from START.
44584         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44585         field to arg_str.
44586         (struct test_ff_f_data): Likewise.
44587         (test_ff_f_data_nexttoward): Likewise.
44588         (struct test_fi_f_data): Likewise.
44589         (struct test_fl_f_data): Likewise.
44590         (struct test_if_f_data): Likewise.
44591         (struct test_fff_f_data): Likewise.
44592         (struct test_c_f_data): Likewise.
44593         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44594         (struct test_fF_f1_data): Likewise.
44595         (struct test_ffI_f1_data): Likewise.
44596         (struct test_c_c_data): Rename test_name field to arg_str.
44597         (struct test_cc_c_data): Likewise.
44598         (struct test_f_i_data): Likewise.
44599         (struct test_ff_i_data): Likewise.
44600         (struct test_f_l_data): Likewise.
44601         (struct test_f_L_data): Likewise.
44602         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44603         and extra2_name.
44604         (COMMON_TEST_SETUP): New macro.
44605         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44606         (COMMON_TEST_CLEANUP): Likewise.
44607         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44608         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44609         macros.
44610         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44611         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44612         macros.
44613         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44614         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44615         cleanup macros.
44616         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44617         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44618         macros.
44619         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44620         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44621         macros.
44622         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44623         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44624         cleanup macros.
44625         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44626         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44627         cleanup macros.
44628         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44629         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44630         cleanup macros.
44631         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44632         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44633         macros.
44634         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44635         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44636         macros.
44637         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44638         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44639         macros.
44640         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44641         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44642         cleanup macros.
44643         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44644         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44645         cleanup macros.
44646         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44647         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44648         macros.
44649         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44650         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44651         cleanup macros.
44652         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44653         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44654         macros.
44655         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44656         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44657         macros.
44658         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44659         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44660         cleanup macros.
44661         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44663 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44665         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44666         to _sifields.sigfault.
44667         (si_addr_lsb): Define new macro.
44668         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44669         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44670         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44672 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44674         [BZ #15441]
44675         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44676         returns -1.
44677         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44678         null return -1.
44679         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44680         loading the domain.
44682 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44684         * math/gen-libm-test.pl (parse_args): Do not include expected
44685         result in test name.
44686         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44687         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44688         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44689         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44690         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44693 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44695         * benchtests/Makefile: Sort function entries.
44697         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44698         tanh, asinh, acosh, atanh.
44699         * benchtests/acos-inputs: New file.
44700         * benchtests/acosh-inputs: New file.
44701         * benchtests/asin-inputs: New file.
44702         * benchtests/asinh-inputs: New file.
44703         * benchtests/atanh-inputs: New file.
44704         * benchtests/cosh-inputs: New file.
44705         * benchtests/log-inputs: New file.
44706         * benchtests/sinh-inputs: New file.
44707         * benchtests/tanh-inputs: New file.
44709 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44711         [BZ #15339]
44712         * posix/tst-getaddrinfo4.c: New test.
44713         * posix/Makefile (tests): Add it.
44715 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44717         [BZ #15339]
44718         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44719         when no services were used.
44720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44721         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44723 2013-05-21  Andreas Schwab  <schwab@suse.de>
44725         [BZ #15014]
44726         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44727         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44728         successful.
44729         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44730         redundant variable declarations and reallocation of buffer when
44731         parsing as IPv6 address.  Always set NSS status when called from
44732         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
44733         buffer too small.  Correct computation of needed size.
44734         * nss/Makefile (tests): Add test-digits-dots.
44735         * nss/test-digits-dots.c: New test.
44737 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44739         * benchtests/Makefile: Remove instructions for adding
44740         benchmark tests.
44741         * benchtests/README: New file to explain how to execute and
44742         enhance the benchmark tests.
44744 2013-05-21  Andreas Schwab  <schwab@suse.de>
44746         [BZ #15493]
44747         * setjmp/Makefile (tests): Add tst-sigsetjmp.
44748         * setjmp/tst-sigsetjmp.c: New test.
44750 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44752         * sysdeps/x86_64/memset.S (memset): New implementation.
44753         (__bzero): Likewise.
44754         (__memset_tail): New function.
44756 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44758         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44759         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44760         __memcpy_sse2_unaligned ifunc selection.
44761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44762         Add memcpy-sse2-unaligned.S.
44763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44764         Add: __memcpy_sse2_unaligned.
44766 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
44768         [BZ #15490]
44769         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44770         math_force_eval before restoring floating-point envrionment.
44771         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44772         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44773         Likewise.
44774         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44775         <math_private.h>.
44776         (__nearbyintl): Use math_force_eval before restoring
44777         floating-point environment.
44778         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44780         * math/gen-libm-test.pl (special_functions): Remove.
44781         (parse_args): Don't handle TEST_extra.  Handle functions with no
44782         return value.
44783         * math/libm-test.inc (struct test_sincos_data): Replace with
44784         struct test_fFF_11_data.
44785         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44786         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44787         (sincos_test_data): Change element type to struct
44788         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44789         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44790         RUN_TEST_LOOP_sincos.
44791         * math/README.libm-test: Don't mention special handling of
44792         individual functions.
44793         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44795         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44796         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44797         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44800         * math/gen-libm-test.pl (get_variable): Remove function.
44801         (parse_args): Don't show pointer parameters to call in test
44802         names.  Use "extra output N" in test names for extra outputs
44803         rather than naming variables.
44805 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44807         [BZ #15488]
44808         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44809         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44810         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44811         double tests.
44812         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44813         disable.
44814         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44815         check_long_double.
44817         * math/gen-libm-test.pl (@tests): Remove variable.
44818         ($count): Likewise.
44819         (new_test): Remove function.
44820         (show_exceptions): New function.
44821         (special_functions): Use show_exceptions instead of new_test.
44822         (parse_args): Likewise.
44823         (generate_testfile): Pass only function name in generated call to
44824         print_max_error or print_complex_max_error.
44825         (get_ulps): Do not handle complex tests specially.
44826         (output_test): Rename to ...
44827         (get_all_ulps_for_test): ... this.  Return a string rather than
44828         printing to a file.  Require ulps to be present.
44829         (output_ulps): Generate arrays rather than #defines.
44830         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44831         (struct ulp_data): New type.
44832         (BUILD_COMPLEX_ULP): Remove macro.
44833         (compare_ulp_data): New function.
44834         (find_ulps): Likewise.
44835         (find_test_ulps): Likewise.
44836         (find_function_ulps): Likewise.
44837         (find_complex_function_ulps): Likewise.
44838         (print_max_error): Determine allowed ulps using
44839         find_function_ulps.
44840         (print_complex_max_error): Determine allowed ulps using
44841         find_complex_function_ulps.
44842         (check_float_internal): Determine max ulps using find_test_ulps.
44843         (check_float): Do not take max_ulp parameter.  Update call to
44844         check_float_internal.
44845         (check_complex): Likewise.
44846         (check_int): Do not take max_ulp parameter.
44847         (check_long): Likewise.
44848         (check_bool): Likewise.
44849         (check_longlong): Likewise.
44850         (struct test_f_f_data): Remove max_ulp field.
44851         (struct test_ff_f_data): Likewise.
44852         (struct test_ff_f_data_nexttoward): Likewise.
44853         (struct test_fi_f_data): Likewise.
44854         (struct test_fl_f_data): Likewise.
44855         (struct test_if_f_data): Likewise.
44856         (struct test_fff_f_data): Likewise.
44857         (struct test_c_f_data): Likewise.
44858         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44859         (struct test_fF_f1_data): Likewise.
44860         (struct test_ffI_f1_data): Likewise.
44861         (struct test_c_c_data): Remove max_ulp field.
44862         (struct test_cc_c_data): Likewise.
44863         (struct test_f_i_data): Likewise.
44864         (struct test_ff_i_data): Likewise.
44865         (struct test_f_l_data): Likewise.
44866         (struct test_f_L_data): Likewise.
44867         (struct test_sincos_data): Likewise.
44868         (RUN_TEST_f_f): Do not handle ulps.
44869         (RUN_TEST_LOOP_f_f): Likewise.
44870         (RUN_TEST_2_f): Likewise.
44871         (RUN_TEST_LOOP_2_f): Likewise.
44872         (RUN_TEST_fff_f): Likewise.
44873         (RUN_TEST_LOOP_fff_f): Likewise.
44874         (RUN_TEST_c_f): Likewise.
44875         (RUN_TEST_LOOP_c_f): Likewise.
44876         (RUN_TEST_f_f1): Likewise.
44877         (RUN_TEST_LOOP_f_f1): Likewise.
44878         (RUN_TEST_fF_f1): Likewise.
44879         (RUN_TEST_LOOP_fF_f1): Likewise.
44880         (RUN_TEST_fI_f1): Likewise.
44881         (RUN_TEST_LOOP_fI_f1): Likewise.
44882         (RUN_TEST_ffI_f1): Likewise.
44883         (RUN_TEST_LOOP_ffI_f1): Likewise.
44884         (RUN_TEST_c_c): Likewise.
44885         (RUN_TEST_LOOP_c_c): Likewise.
44886         (RUN_TEST_cc_c): Likewise.
44887         (RUN_TEST_LOOP_cc_c): Likewise.
44888         (RUN_TEST_f_i): Likewise.
44889         (RUN_TEST_LOOP_f_i): Likewise.
44890         (RUN_TEST_f_i_tg): Likewise.
44891         (RUN_TEST_LOOP_f_i_tg): Likewise.
44892         (RUN_TEST_ff_i_tg): Likewise.
44893         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44894         (RUN_TEST_f_b): Likewise.
44895         (RUN_TEST_LOOP_f_b): Likewise.
44896         (RUN_TEST_f_b_tg): Likewise.
44897         (RUN_TEST_LOOP_f_b_tg): Likewise.
44898         (RUN_TEST_f_l): Likewise.
44899         (RUN_TEST_LOOP_f_l): Likewise.
44900         (RUN_TEST_f_L): Likewise.
44901         (RUN_TEST_LOOP_f_L): Likewise.
44902         (RUN_TEST_sincos): Likewise.
44903         (RUN_TEST_LOOP_sincos): Likewise.
44905 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44907         [BZ #15480]
44908         [BZ #15485]
44909         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44910         main case of finite arguments, set rounding mode to FE_TONEAREST
44911         and discard exceptions.
44912         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44913         exceptions.
44914         (remainder_tonearest_test_data): New variable.
44915         (remainder_test_tonearest): New function.
44916         (remainder_towardzero_test_data): New variable.
44917         (remainder_test_towardzero): New function.
44918         (remainder_downward_test_data): New variable.
44919         (remainder_test_downward): New function.
44920         (remainder_upward_test_data): New variable.
44921         (remainder_test_upward): New function.
44922         (main): Call the new test functions.
44924         * math/libm-test.inc (struct test_f_f1_data): Remove field
44925         extra_init.
44926         (struct test_fF_f1_data): Likewise.
44927         (struct test_ffI_f1_data): Likewise.
44928         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44929         based on value of EXTRA_EXPECTED.
44930         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44931         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44932         EXTRA_VAR based on value of EXTRA_EXPECTED.
44933         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44934         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44935         EXTRA_VAR based on value of EXTRA_EXPECTED.
44936         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44937         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44938         EXTRA_VAR based on value of EXTRA_EXPECTED.
44939         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44940         * math/gen-libm-test.pl (parse_args): Don't output initializers
44941         for extra output values.
44943         * math/libm-test.inc (check_int): Expect result to be exactly
44944         equal to expected value and do not handle ulps.
44945         (check_long): Likewise.
44946         (check_longlong): Likewise.
44948         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44949         exceptions.
44950         (cimag_test_data): Likewise.
44951         (conj_test_data): Likewise.
44952         (copysign_test_data): Likewise.
44953         (cproj_test_data): Likewise.
44954         (creal_test_data): Likewise.
44955         (fabs_test_data): Likewise.
44956         (fdim_test_data): Likewise.
44957         (finite_test_data): Likewise.
44958         (floor_test_data): Likewise.
44959         (fmax_test_data): Likewise.
44960         (fmin_test_data): Likewise.
44961         (fmod_test_data): Likewise.
44962         (fpclassify_test_data): Likewise.
44963         (frexp_test_data): Likewise.
44964         (ilogb_test_data): Likewise.
44965         (isfinite_test_data): Likewise.
44966         (isgreater_test_data): Likewise.
44967         (isgreaterequal_test_data): Likewise.
44968         (isinf_test_data): Likewise.
44969         (isless_test_data): Likewise.
44970         (islessequal_test_data): Likewise.
44971         (islessgreater_test_data): Likewise.
44972         (isnan_test_data): Likewise.
44973         (isnormal_test_data): Likewise.
44974         (issignaling_test_data): Likewise.
44975         (isunordered_test_data): Likewise.
44976         (ldexp_test_data): Likewise.
44977         (lrint_test_data): Likewise.
44978         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44979         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44980         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44981         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44982         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44983         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44984         test input.
44985         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44986         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44987         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44988         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44989         that test input.
44990         (lrint_downward_test_data): Test for "inexact" exceptions.
44991         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44992         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44993         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44994         test input.
44995         (lrint_upward_test_data): Test for "inexact" exceptions.
44996         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44997         test input.
44998         (llrint_test_data): Test for "inexact" exceptions.
44999         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45000         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45001         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45002         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45003         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45004         (llrint_downward_test_data): Test for "inexact" exceptions.
45005         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45006         (llrint_upward_test_data): Test for "inexact" exceptions.
45007         (logb_test_data): Likewise.
45008         (logb_downward_test_data): Likewise.
45009         (nextafter_test_data): Likewise.
45010         (nexttoward_test_data): Likewise.
45011         (remainder_test_data): Likewise.
45012         (remquo_test_data): Likewise.
45013         (scalbn_test_data): Likewise.
45014         (scalbln_test_data): Likewise.
45015         (signbit_test_data): Likewise.
45016         (sqrt_test_data): Likewise.
45017         (significand_test_data): Likewise.
45019 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45021         [BZ #15424]
45022         * benchtests/bench-modf.c (struct args): Mark arg0 as
45023         volatile.
45024         * scripts/bench.pl: Mark members of struct args as volatile.
45026 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45028         [BZ # 15497]
45029         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45030         negative infinity on POWER6 or lower.
45031         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45033 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45035         [BZ #15442]
45036         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45037         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45038         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45039         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45040         (_FP_SETQNAN): New macro.
45041         (_FP_SETQNAN_SEMIRAW): Likewise.
45042         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45043         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45044         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45045         (FP_EXTEND): Use _FP_FRAC_SNANP.
45046         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45047         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45048         into account.
45049         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45050         New macro.
45051         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45052         Likewise.
45054 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45056         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45057         with DIVIDE_BY_ZERO_EXCEPTION.
45058         (gamma_test_data): Likewise.
45059         (lgamma_test_data): Likewise.
45060         (log_test_data): Likewise.
45061         (log10_test_data): Likewise.
45062         (log2_test_data): Likewise.
45063         (tgamma_test_data): Likewise.
45065         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45066         (acos_test_tonearest): Likewise.
45067         (acos_test_towardzero): Likewise.
45068         (acos_test_downward): Likewise.
45069         (acos_test_upward): Likewise.
45070         (acosh_test): Likewise.
45071         (asin_test): Likewise.
45072         (asin_test_tonearest): Likewise.
45073         (asin_test_towardzero): Likewise.
45074         (asin_test_downward): Likewise.
45075         (asin_test_upward): Likewise.
45076         (asinh_test): Likewise.
45077         (atan_test): Likewise.
45078         (atanh_test): Likewise.
45079         (atan2_test): Likewise.
45080         (cabs_test): Likewise.
45081         (cacos_test): Likewise.
45082         (cacosh_test): Likewise.
45083         (casin_test): Likewise.
45084         (casinh_test): Likewise.
45085         (catan_test): Likewise.
45086         (catanh_test): Likewise.
45087         (cbrt_test): Likewise.
45088         (ccos_test): Likewise.
45089         (ccosh_test): Likewise.
45090         (cexp_test): Likewise.
45091         (clog_test): Likewise.
45092         (clog10_test): Likewise.
45093         (cos_test): Likewise.
45094         (cos_test_tonearest): Likewise.
45095         (cos_test_towardzero): Likewise.
45096         (cos_test_downward): Likewise.
45097         (cos_test_upward): Likewise.
45098         (cosh_test): Likewise.
45099         (cosh_test_tonearest): Likewise.
45100         (cosh_test_towardzero): Likewise.
45101         (cosh_test_downward): Likewise.
45102         (cosh_test_upward): Likewise.
45103         (cpow_test): Likewise.
45104         (csin_test): Likewise.
45105         (csinh_test): Likewise.
45106         (csqrt_test): Likewise.
45107         (ctan_test): Likewise.
45108         (ctan_test_tonearest): Likewise.
45109         (ctan_test_towardzero): Likewise.
45110         (ctan_test_downward): Likewise.
45111         (ctan_test_upward): Likewise.
45112         (ctanh_test): Likewise.
45113         (ctanh_test_tonearest): Likewise.
45114         (ctanh_test_towardzero): Likewise.
45115         (ctanh_test_downward): Likewise.
45116         (ctanh_test_upward): Likewise.
45117         (erf_test): Likewise.
45118         (erfc_test): Likewise.
45119         (exp_test): Likewise.
45120         (exp_test_tonearest): Likewise.
45121         (exp_test_towardzero): Likewise.
45122         (exp_test_downward): Likewise.
45123         (exp_test_upward): Likewise.
45124         (exp10_test): Likewise.
45125         (exp2_test): Likewise.
45126         (expm1_test): Likewise.
45127         (fmod_test): Likewise.
45128         (gamma_test): Likewise.
45129         (hypot_test): Likewise.
45130         (j0_test): Likewise.
45131         (j1_test): Likewise.
45132         (jn_test): Likewise.
45133         (lgamma_test): Likewise.
45134         (log_test): Likewise.
45135         (log10_test): Likewise.
45136         (log1p_test): Likewise.
45137         (log2_test): Likewise.
45138         (logb_test_downward): Likewise.
45139         (pow_test): Likewise.
45140         (pow_test_tonearest): Likewise.
45141         (pow_test_towardzero): Likewise.
45142         (pow_test_downward): Likewise.
45143         (pow_test_upward): Likewise.
45144         (remainder_test): Likewise.
45145         (remquo_test): Likewise.
45146         (sin_test): Likewise.
45147         (sin_test_tonearest): Likewise.
45148         (sin_test_towardzero): Likewise.
45149         (sin_test_downward): Likewise.
45150         (sin_test_upward): Likewise.
45151         (sincos_test): Likewise.
45152         (sinh_test): Likewise.
45153         (sinh_test_tonearest): Likewise.
45154         (sinh_test_towardzero): Likewise.
45155         (sinh_test_downward): Likewise.
45156         (sinh_test_upward): Likewise.
45157         (sqrt_test): Likewise.
45158         (tan_test): Likewise.
45159         (tan_test_tonearest): Likewise.
45160         (tan_test_towardzero): Likewise.
45161         (tan_test_downward): Likewise.
45162         (tan_test_upward): Likewise.
45163         (tanh_test): Likewise.
45164         (tgamma_test): Likewise.
45165         (y0_test): Likewise.
45166         (y1_test): Likewise.
45167         (yn_test): Likewise.
45169         * math/gen-libm-test.pl (adjust_arg): Remove function.
45170         (special_function): Remove argument $in_func.  Only handle
45171         generating output for tables of tests, not inside functions.
45172         (parse_args): Likewise.
45173         (generate_testfile): Remove variable $in_func.  Update call to
45174         parse_args.
45175         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45176         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45177         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45178         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45179         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45180         (MAX_VALUE_INIT): Rename macro to max_value.
45181         (MIN_VALUE_INIT): Rename macro to min_value.
45182         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45183         (plus_zero): Remove variable.
45184         (minus_zero): Likewise.
45185         (plus_infty): Likewise.
45186         (minus_infty): Likewise.
45187         (qnan_value): Likewise.
45188         (max_value): Likewise.
45189         (min_value): Likewise.
45190         (min_subnorm_value): Likewise.
45192 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45194         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45195         uint64_t or uint32_t usage.
45196         * crypt/sha256-block.c: Likewise.
45197         * crypt/sha256-crypt.c: Likewise.
45198         * crypt/sha256.c: Likewise.
45199         * crypt/sha512-block.c: Likewise.
45200         * crypt/sha512-crypt.c: Likewise.
45201         * crypt/sha512.c: Likewise.
45202         * debug/backtrace-tst.c: Likewise.
45203         * debug/pcprofiledump.c: Likewise.
45204         * elf/cache.c: Likewise.
45205         * elf/dl-cache.c: Likewise.
45206         * elf/dl-misc.c: Likewise.
45207         * elf/dl-profile.c: Likewise.
45208         * elf/dl-support.c: Likewise.
45209         * elf/ldconfig.c: Likewise.
45210         * elf/sprof.c: Likewise.
45211         * iconv/dummy-repertoire.c: Likewise.
45212         * iconv/iconv_charmap.c: Likewise.
45213         * iconv/skeleton.c: Likewise.
45214         * iconvdata/8bit-generic.c: Likewise.
45215         * iconvdata/cp737.h: Likewise.
45216         * iconvdata/cp775.h: Likewise.
45217         * iconvdata/ibm1008.h: Likewise.
45218         * iconvdata/ibm1025.h: Likewise.
45219         * iconvdata/ibm1046.h: Likewise.
45220         * iconvdata/ibm1097.h: Likewise.
45221         * iconvdata/ibm1112.h: Likewise.
45222         * iconvdata/ibm1122.h: Likewise.
45223         * iconvdata/ibm1123.h: Likewise.
45224         * iconvdata/ibm1124.h: Likewise.
45225         * iconvdata/ibm1129.h: Likewise.
45226         * iconvdata/ibm1130.h: Likewise.
45227         * iconvdata/ibm1132.h: Likewise.
45228         * iconvdata/ibm1133.h: Likewise.
45229         * iconvdata/ibm1137.h: Likewise.
45230         * iconvdata/ibm1140.h: Likewise.
45231         * iconvdata/ibm1141.h: Likewise.
45232         * iconvdata/ibm1142.h: Likewise.
45233         * iconvdata/ibm1143.h: Likewise.
45234         * iconvdata/ibm1144.h: Likewise.
45235         * iconvdata/ibm1145.h: Likewise.
45236         * iconvdata/ibm1146.h: Likewise.
45237         * iconvdata/ibm1147.h: Likewise.
45238         * iconvdata/ibm1148.h: Likewise.
45239         * iconvdata/ibm1149.h: Likewise.
45240         * iconvdata/ibm1153.h: Likewise.
45241         * iconvdata/ibm1154.h: Likewise.
45242         * iconvdata/ibm1155.h: Likewise.
45243         * iconvdata/ibm1156.h: Likewise.
45244         * iconvdata/ibm1157.h: Likewise.
45245         * iconvdata/ibm1158.h: Likewise.
45246         * iconvdata/ibm1160.h: Likewise.
45247         * iconvdata/ibm1161.h: Likewise.
45248         * iconvdata/ibm1162.h: Likewise.
45249         * iconvdata/ibm1163.h: Likewise.
45250         * iconvdata/ibm1164.h: Likewise.
45251         * iconvdata/ibm1166.h: Likewise.
45252         * iconvdata/ibm1167.h: Likewise.
45253         * iconvdata/ibm12712.h: Likewise.
45254         * iconvdata/ibm1390.h: Likewise.
45255         * iconvdata/ibm1399.h: Likewise.
45256         * iconvdata/ibm16804.h: Likewise.
45257         * iconvdata/ibm4517.h: Likewise.
45258         * iconvdata/ibm4899.h: Likewise.
45259         * iconvdata/ibm4909.h: Likewise.
45260         * iconvdata/ibm4971.h: Likewise.
45261         * iconvdata/ibm5347.h: Likewise.
45262         * iconvdata/ibm803.h: Likewise.
45263         * iconvdata/ibm856.h: Likewise.
45264         * iconvdata/ibm901.h: Likewise.
45265         * iconvdata/ibm902.h: Likewise.
45266         * iconvdata/ibm9030.h: Likewise.
45267         * iconvdata/ibm9066.h: Likewise.
45268         * iconvdata/ibm921.h: Likewise.
45269         * iconvdata/ibm922.h: Likewise.
45270         * iconvdata/ibm9448.h: Likewise.
45271         * iconvdata/isiri-3342.h: Likewise.
45272         * iconvdata/jis0201.h: Likewise.
45273         * include/link.h: Likewise.
45274         * include/netdb.h: Likewise.
45275         * inet/check_native.c: Likewise.
45276         * inet/check_pf.c: Likewise.
45277         * inet/getipv4sourcefilter.c: Likewise.
45278         * inet/getnameinfo.c: Likewise.
45279         * inet/getsourcefilter.c: Likewise.
45280         * inet/htonl.c: Likewise.
45281         * inet/setipv4sourcefilter.c: Likewise.
45282         * inet/setsourcefilter.c: Likewise.
45283         * inet/test-inet6_opt.c: Likewise.
45284         * inet/tst-network.c: Likewise.
45285         * locale/C-collate.c: Likewise.
45286         * locale/C-ctype.c: Likewise.
45287         * locale/C-time.c: Likewise.
45288         * locale/C-translit.h: Likewise.
45289         * locale/loadarchive.c: Likewise.
45290         * locale/programs/3level.h: Likewise.
45291         * locale/programs/charmap.c: Likewise.
45292         * locale/programs/charmap.h: Likewise.
45293         * locale/programs/ld-address.c: Likewise.
45294         * locale/programs/ld-collate.c: Likewise.
45295         * locale/programs/ld-ctype.c: Likewise.
45296         * locale/programs/ld-identification.c: Likewise.
45297         * locale/programs/ld-measurement.c: Likewise.
45298         * locale/programs/ld-messages.c: Likewise.
45299         * locale/programs/ld-monetary.c: Likewise.
45300         * locale/programs/ld-name.c: Likewise.
45301         * locale/programs/ld-numeric.c: Likewise.
45302         * locale/programs/ld-paper.c: Likewise.
45303         * locale/programs/ld-telephone.c: Likewise.
45304         * locale/programs/ld-time.c: Likewise.
45305         * locale/programs/linereader.c: Likewise.
45306         * locale/programs/locale.c: Likewise.
45307         * locale/programs/locarchive.c: Likewise.
45308         * locale/programs/locfile.h: Likewise.
45309         * locale/programs/repertoire.c: Likewise.
45310         * locale/programs/simple-hash.c: Likewise.
45311         * locale/programs/simple-hash.h: Likewise.
45312         * malloc/memusage.c: Likewise.
45313         * malloc/memusagestat.c: Likewise.
45314         * nis/nis_defaults.c: Likewise.
45315         * nis/nis_hash.c: Likewise.
45316         * nis/nis_print.c: Likewise.
45317         * nis/nis_xdr.c: Likewise.
45318         * nscd/connections.c: Likewise.
45319         * nscd/hstcache.c: Likewise.
45320         * nscd/nscd_gethst_r.c: Likewise.
45321         * nscd/nscd_getserv_r.c: Likewise.
45322         * nscd/nscd_helper.c: Likewise.
45323         * nscd/servicescache.c: Likewise.
45324         * nss/makedb.c: Likewise.
45325         * nss/nss_db/db-XXX.c: Likewise.
45326         * nss/nss_db/db-initgroups.c: Likewise.
45327         * nss/nss_db/db-netgrp.c: Likewise.
45328         * nss/nss_files/files-network.c: Likewise.
45329         * nss/nss_files/files-parse.c: Likewise.
45330         * posix/bug-regex5.c: Likewise.
45331         * posix/fnmatch_loop.c: Likewise.
45332         * posix/regcomp.c: Likewise.
45333         * posix/regexec.c: Likewise.
45334         * posix/tst-rfc3484-2.c: Likewise.
45335         * posix/tst-rfc3484-3.c: Likewise.
45336         * posix/tst-rfc3484.c: Likewise.
45337         * resolv/nss_dns/dns-canon.c: Likewise.
45338         * resolv/nss_dns/dns-network.c: Likewise.
45339         * resolv/res_init.c: Likewise.
45340         * resolv/res_mkquery.c: Likewise.
45341         * resolv/tst-aton.c: Likewise.
45342         * stdlib/cxa_atexit.c: Likewise.
45343         * stdlib/cxa_finalize.c: Likewise.
45344         * stdlib/gen-fpioconst.c: Likewise.
45345         * stdlib/strtol_l.c: Likewise.
45346         * string/tst-endian.c: Likewise.
45347         * sunrpc/auth_des.c: Likewise.
45348         * sunrpc/clnt_udp.c: Likewise.
45349         * sunrpc/rtime.c: Likewise.
45350         * sunrpc/svcauth_des.c: Likewise.
45351         * sunrpc/xdr.c: Likewise.
45352         * sunrpc/xdr_intXX_t.c: Likewise.
45353         * sunrpc/xdr_rec.c: Likewise.
45354         * sysdeps/generic/ldconfig.h: Likewise.
45355         * sysdeps/generic/ldsodefs.h: Likewise.
45356         * sysdeps/generic/memusage.h: Likewise.
45357         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45358         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45359         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45360         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45361         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45363         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45364         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45365         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45367         * sysdeps/posix/getaddrinfo.c: Likewise.
45368         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45370         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45371         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45372         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45373         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45374         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45375         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45376         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45377         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45378         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45379         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45380         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45381         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45382         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45383         * sysdeps/x86_64/dl-tls.h: Likewise.
45384         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45385         * time/alt_digit.c: Likewise.
45386         * time/era.c: Likewise.
45387         * wcsmbs/tst-c16c32-1.c: Likewise.
45389 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45391         * math/libm-test.inc (struct test_sincos_data): New type.
45392         (RUN_TEST_LOOP_sincos): New macro.
45393         (sincos_test_data): New variable.
45394         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45396 2013-05-16  Richard Henderson  <rth@redhat.com>
45398         * math/atest-exp2.c (LIMB64): New macro.
45399         (CONSTSZ): New macro.
45400         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45401         (hexdig): Move ...
45402         (print_mpn_fp): ... to function scope.
45403         (read_mpn_hex): Remove.
45404         (get_log2): Remove.
45405         (exp2_mpn): Use mp_log2.
45406         (main): Use mp_exp1.
45408 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45410         * math/libm-test.inc: Remove comment about not testing "inexact"
45411         exceptions.
45412         (INEXACT_EXCEPTION): New macro.
45413         (NO_INEXACT_EXCEPTION): Likewise.
45414         (INVALID_EXCEPTION_OK): Update value.
45415         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45416         (OVERFLOW_EXCEPTION_OK): Likewise.
45417         (UNDERFLOW_EXCEPTION_OK): Likewise.
45418         (IGNORE_ZERO_INF_SIGN): Likewise.
45419         (ERRNO_UNCHANGED): Likewise.
45420         (ERRNO_EDOM): Likewise.
45421         (ERRNO_ERANGE): Likewise.
45422         (test_exceptions): Handle testing "inexact" exceptions.
45423         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45424         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45425         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45426         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45427         INEXACT_EXCEPTION.
45428         (rint_towardzero_test_data): Likewise.
45429         (rint_downward_test_data): Likewise.
45430         (rint_upward_test_data): Likewise.
45432         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45433         with OVERFLOW_EXCEPTION.
45434         (exp10_test_data): Likewise.
45435         (exp2_test_data): Likewise.
45436         (expm1_test_data): Likewise.
45437         (lgamma_test_data): Likewise.
45438         (pow_test_data): Likewise.
45439         (tgamma_test_data): Likewise.
45440         (yn_test_data): Remove duplicate test of overflow.
45442         * math/libm-test.inc (struct test_cc_c_data): New type.
45443         (RUN_TEST_LOOP_cc_c): New macro.
45444         (cpow_test_data): New variable.
45445         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45447         * math/libm-test.inc (struct test_f_L_data): New type.
45448         (RUN_TEST_LOOP_f_L): New macro.
45449         (llrint_test_data): New variable.
45450         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45451         (llrint_tonearest_test_data): New variable.
45452         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45453         (llrint_towardzero_test_data): New variable.
45454         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45455         (llrint_downward_test_data): New variable.
45456         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45457         (llrint_upward_test_data): New variable.
45458         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45459         (llround_test_data): New variable.
45460         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45462 2013-05-13  Peter Collingbourne  <pcc@google.com>
45464         * math/atest-exp2.c (get_log2): Remove const attribute.
45466 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45468         * math/libm-test.inc (struct test_f_l_data): New type.
45469         (RUN_TEST_LOOP_f_l): New macro.
45470         (lrint_test_data): New variable.
45471         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45472         (lrint_tonearest_test_data): New variable.
45473         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45474         (lrint_towardzero_test_data): New variable.
45475         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45476         (lrint_downward_test_data): New variable.
45477         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45478         (lrint_upward_test_data): New variable.
45479         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45480         (lround_test_data): New variable.
45481         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45483 2013-05-15  Peter Collingbourne  <pcc@google.com>
45485         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45486         (EXTRACT_WORDS64) Use where appropriate.
45487         (INSERT_WORDS64) Likewise.
45489         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45490         constraints with x constraints.
45491         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45493         * malloc/obstack.c (_obstack_compat): Add initializer.
45495 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45497         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45498         si_trapno and add si_addr_lsb to _sifields.sigfault.
45499         (si_trapno): Remove macro.
45500         (si_addr_lsb): Define new macro.
45501         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45503 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45505         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45506         instead of TEST_f_l.
45507         (llrint_test_tonearest): Likewise.
45508         (llrint_test_towardzero): Likewise.
45509         (llrint_test_downward): Likewise.
45510         (llrint_test_upward): Likewise.
45511         (llround_test): Likewise.
45513         * math/libm-test.inc (struct test_f_i_data): Add comment.
45514         (RUN_TEST_LOOP_f_b): New macro.
45515         (RUN_TEST_LOOP_f_b_tg): Likewise.
45516         (finite_test_data): New variable.
45517         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45518         (isfinite_test_data): New variable.
45519         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45520         (isinf_test_data): New variable.
45521         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45522         (isnan_test_data): New variable.
45523         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45524         (isnormal_test_data): New variable.
45525         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45526         (issignaling_test_data): New variable.
45527         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45528         (signbit_test_data): New variable.
45529         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45531         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45532         with INVALID_EXCEPTION.
45533         (acosh_test_data): Likewise.
45534         (asin_test_data): Likewise.
45535         (atanh_test_data): Likewise.
45536         (fmod_test_data): Likewise.
45537         (log_test_data): Likewise.
45538         (log10_test_data): Likewise.
45539         (log2_test_data): Likewise.
45540         (pow_test_data): Likewise.
45541         (sqrt_test_data): Likewise.
45542         (y0_test_data): Likewise.
45543         (y1_test_data): Likewise.
45544         (yn_test_data): Likewise.
45546         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45547         function contents.
45549         * math/libm-test.inc (struct test_ff_i_data): New type.
45550         (RUN_TEST_LOOP_ff_i_tg): New macro.
45551         (isgreater_test_data): New variable.
45552         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45553         (isgreaterequal_test_data): New variable.
45554         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45555         (isless_test_data): New variable.
45556         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45557         (islessequal_test_data): New variable.
45558         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45559         (islessgreater_test_data): New variable.
45560         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45561         (isunordered_test_data): New variable.
45562         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45564 2013-05-14  David S. Miller  <davem@davemloft.net>
45566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45568 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45570         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45572         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45573         extra_test to int.
45574         (struct test_f_i_data): Change type of max_ulp to int.
45576         * math/libm-test.inc (test_ffI_f1_data): New type.
45577         (RUN_TEST_LOOP_ffI_f1): New macro.
45578         (remquo_test_data): New variable.
45579         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45581         * setjmp/tst-setjmp-fp.c: New file.
45582         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45583         (link-libm): New variable.
45584         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45586         * math/libm-test.inc (struct test_f_i_data): New type.
45587         (RUN_TEST_LOOP_f_i): New macro.
45588         (RUN_TEST_LOOP_f_i_tg): Likewise.
45589         (fpclassify_test_data): New variable.
45590         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45591         (ilogb_test_data): New variable.
45592         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45594         * math/libm-test.inc (scalbln_test): Correct function name in END
45595         call.
45597         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45598         (RUN_TEST_LOOP_fI_f1): New macro.
45599         (frexp_test_data): New variable.
45600         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45602         * math/libm-test.inc (struct test_fF_f1_data): New type.
45603         (RUN_TEST_LOOP_fF_f1): New macro.
45604         (modf_test_data): New variable.
45605         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45607         * math/libm-test.inc (struct test_f_f1_data): New type.
45608         (RUN_TEST_LOOP_f_f1): New macro.
45609         (gamma_test_data): New variable.
45610         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45611         (lgamma_test_data): New variable.
45612         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45614 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45616         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45617         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45618         (main): Comment "tls" pseudo-hwcap.
45620 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45622         * math/libm-test.inc (struct test_fl_f_data): New type.
45623         (RUN_TEST_LOOP_fl_f): New variable.
45624         (scalbln_test_data): New variable.
45625         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45627         * math/libm-test.inc (struct test_fi_f_data): New type.
45628         (RUN_TEST_LOOP_fi_f): New macro.
45629         (ldexp_test_data): New variable.
45630         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45631         (scalbn_test_data): New variable.
45632         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45634         * math/libm-test.inc (struct test_c_f_data): New type.
45635         (RUN_TEST_LOOP_c_f): New macro.
45636         (cabs_test_data): New variable.
45637         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45638         (carg_test_data): New variable.
45639         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45640         (cimag_test_data): New variable.
45641         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45642         (creal_test_data): New variable.
45643         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45645         * math/libm-test.inc (struct test_if_f_data): New type.
45646         (RUN_TEST_LOOP_if_f): New macro.
45647         (jn_test_data): New variable.
45648         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45649         (yn_test_data): New variable.
45650         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45652         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45654 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45656         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45657         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45659 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45662         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45663         (bench-deps): Add bench-timing.h.
45664         * benchtests-bench-skeleton.c: Include bench-timing.h.
45665         (main): Use TIMING_* macros instead of clock_gettime.
45666         * benchtests/bench-timing.h: New file.
45668         [BZ #14582]
45669         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45670         Renamed from _LIB_VERSION.
45671         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45673 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45675         * math/libm-test.inc (struct test_fff_f_data): New type.
45676         (RUN_TEST_LOOP_fff_f): New macro.
45677         (fma_test_data): New variable.
45678         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45679         (fma_towardzero_test_data): New variable.
45680         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45681         (fma_downward_test_data): New variable.
45682         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45683         (fma_upward_test_data): New variable.
45684         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45686         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45687         (struct test_c_c_data): New type.
45688         (RUN_TEST_LOOP_c_c): New macro.
45689         (cacos_test_data): New variable.
45690         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45691         (cacosh_test_data): New variable.
45692         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45693         (casin_test_data): New variable.
45694         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45695         (casinh_test_data): New variable.
45696         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45697         (catan_test_data): New variable.
45698         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45699         (catanh_test_data): New variable.
45700         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45701         (ccos_test_data): New variable.
45702         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45703         (ccosh_test_data): New variable.
45704         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45705         (cexp_test_data): New variable.
45706         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45707         (clog_test_data): New variable.
45708         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45709         (clog10_test_data): New variable.
45710         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45711         (conj_test_data): New variable.
45712         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45713         (cproj_test_data): New variable.
45714         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45715         (csin_test_data): New variable.
45716         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45717         (csinh_test_data): New variable.
45718         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45719         (csqrt_test_data): New variable.
45720         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45721         (ctan_test_data): New variable.
45722         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45723         (ctan_tonearest_test_data): New variable.
45724         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45725         (ctan_towardzero_test_data): New variable.
45726         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45727         (ctan_downward_test_data): New variable.
45728         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45729         (ctan_upward_test_data): New variable.
45730         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45731         (ctanh_test_data): New variable.
45732         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45733         (ctanh_tonearest_test_data): New variable.
45734         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45735         (ctanh_towardzero_test_data): New variable.
45736         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45737         (ctanh_downward_test_data): New variable.
45738         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45739         (ctanh_upward_test_data): New variable.
45740         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45741         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45742         of BUILD_COMPLEX.
45744         * math/libm-test.inc (struct test_ff_f_data): New type.
45745         (struct test_ff_f_data_nexttoward): Likewise.
45746         (RUN_TEST_LOOP_2_f): New macro.
45747         (RUN_TEST_LOOP_ff_f): Likewise.
45748         (atan2_test_data): New variable.
45749         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45750         (copysign_test_data): New variable.
45751         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45752         (fdim_test_data): New variable.
45753         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45754         (fmax_test_data): New variable.
45755         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45756         (fmin_test_data): New variable.
45757         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45758         (fmod_test_data): New variable.
45759         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45760         (hypot_test_data): New variable.
45761         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45762         (nextafter_test_data): New variable.
45763         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45764         (nexttoward_test_data): New variable.
45765         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45766         (pow_test_data): New variable.
45767         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45768         (pow_tonearest_test_data): New variable.
45769         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45770         (pow_towardzero_test_data): New variable.
45771         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45772         (pow_downward_test_data): New variable.
45773         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45774         (pow_upward_test_data): New variable.
45775         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45776         (remainder_test_data): New variable.
45777         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45778         (scalb_test_data): New variable.
45779         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45780         * sysdeps/i386/fpu/libm-test-ulps: Update.
45782 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45784         * math/libm-test.inc (fma_test): Use max_value instead of local
45785         variable fltmax.
45786         (nextafter_test): Likewise.
45788         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45789         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45790         (acos_downward_test_data): New variable.
45791         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45792         (acos_upward_test_data): New variable.
45793         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45794         (acosh_test_data): New variable.
45795         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45796         (asin_test_data): New variable.
45797         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45798         (asin_tonearest_test_data): New variable.
45799         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45800         (asin_towardzero_test_data): New variable.
45801         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45802         (asin_downward_test_data): New variable.
45803         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45804         (asin_upward_test_data): New variable.
45805         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45806         (asinh_test_data): New variable.
45807         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45808         (atan_test_data): New variable.
45809         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45810         (atanh_test_data): New variable.
45811         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45812         (cbrt_test_data): New variable.
45813         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45814         (ceil_test_data): New variable.
45815         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45816         (cos_test_data): New variable.
45817         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45818         (cos_tonearest_test_data): New variable.
45819         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45820         (cos_towardzero_test_data): New variable.
45821         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45822         (cos_downward_test_data): New variable.
45823         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45824         (cos_upward_test_data): New variable.
45825         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45826         (cosh_test_data): New variable.
45827         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45828         (cosh_tonearest_test_data): New variable.
45829         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45830         (cosh_towardzero_test_data): New variable.
45831         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45832         (cosh_downward_test_data): New variable.
45833         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45834         (cosh_upward_test_data): New variable.
45835         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45836         (erf_test_data): New variable.
45837         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45838         (erfc_test_data): New variable.
45839         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45840         (exp_test_data): New variable.
45841         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45842         (exp_tonearest_test_data): New variable.
45843         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45844         (exp_towardzero_test_data): New variable.
45845         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45846         (exp_downward_test_data): New variable.
45847         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45848         (exp_upward_test_data): New variable.
45849         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45850         (exp10_test_data): New variable.
45851         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45852         (exp2_test_data): New variable.
45853         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45854         (expm1_test_data): New variable.
45855         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45856         (fabs_test_data): New variable.
45857         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45858         (floor_test_data): New variable.
45859         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45860         (j0_test_data): New variable.
45861         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45862         (j1_test_data): New variable.
45863         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45864         (log_test_data): New variable.
45865         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45866         (log10_test_data): New variable.
45867         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45868         (log1p_test_data): New variable.
45869         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45870         (log2_test_data): New variable.
45871         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45872         (logb_test_data): New variable.
45873         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45874         (logb_downward_test_data): New variable.
45875         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45876         (nearbyint_test_data): New variable.
45877         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45878         (rint_test_data): New variable.
45879         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45880         (rint_tonearest_test_data): New variable.
45881         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45882         (rint_towardzero_test_data): New variable.
45883         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45884         (rint_downward_test_data): New variable.
45885         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45886         (rint_upward_test_data): New variable.
45887         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45888         (round_test_data): New variable.
45889         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45890         (sin_test_data): New variable.
45891         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45892         (sin_tonearest_test_data): New variable.
45893         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45894         (sin_towardzero_test_data): New variable.
45895         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45896         (sin_downward_test_data): New variable.
45897         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45898         (sin_upward_test_data): New variable.
45899         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45900         (sinh_test_data): New variable.
45901         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45902         (sinh_tonearest_test_data): New variable.
45903         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45904         (sinh_towardzero_test_data): New variable.
45905         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45906         (sinh_downward_test_data): New variable.
45907         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45908         (sinh_upward_test_data): New variable.
45909         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45910         (sqrt_test_data): New variable.
45911         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45912         (tan_test_data): New variable.
45913         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45914         (tan_tonearest_test_data): New variable.
45915         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45916         (tan_towardzero_test_data): New variable.
45917         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45918         (tan_downward_test_data): New variable.
45919         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45920         (tan_upward_test_data): New variable.
45921         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45922         (tanh_test_data): New variable.
45923         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45924         (tgamma_test_data): New variable.
45925         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45926         (trunc_test_data): New variable.
45927         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45928         (y0_test_data): New variable.
45929         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45930         (y1_test_data): New variable.
45931         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45932         (significand_test_data): New variable.
45933         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45935 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45937         [BZ #12387]
45938         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45940 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45942         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45944 2013-05-10  Andreas Jaeger  <aj@suse.de>
45946         [BZ #15448]
45947         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45948         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45950 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45952         * math/gen-libm-test.pl (adjust_arg): New function.
45953         (special_functions): Handle generating output in both functions
45954         and arrays.
45955         (parse_args): Likewise.
45956         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45957         $in_func argument to parse_args.
45958         * math/libm-test.inc (struct test_f_f_data): New type.
45959         (IF_ROUND_INIT_): New macro.
45960         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45961         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45962         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45963         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45964         (ROUND_RESTORE_): Likewise.
45965         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45966         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45967         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45968         (ROUND_RESTORE_FE_UPWARD): Likewise.
45969         (RUN_TEST_LOOP_f_f): New macro.
45970         (acos_test_data): New variable.
45971         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45972         (acos_tonearest_test_data): New variable.
45973         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45975 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45977         * benchtests/bench-skeleton.c (startup): Fix coding style.
45979 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45981         [BZ #6809]
45982         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45983         negative infinity argument.
45984         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45985         negative infinity argument.
45986         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45987         negative infinity argument.
45988         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45989         domain errors.
45991 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45993         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45994         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45995         * iconv/iconv_prog.c (main): Likewise.
45996         * locale/programs/charmap-dir.c (charmap_readdir)
45997         (fopen_uncompressed): Likewise.
45998         * locale/programs/locfile.c (siblings_uncached)
45999         (write_locale_data): Use lstat64 instead of lstat.
46000         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46001         stat.
46003 2013-05-10  Andreas Jaeger  <aj@suse.de>
46005         [BZ #15395]
46006         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46007         localization.
46008         Include <locale.h>.
46010 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46012         * elf/dl-close.c (_dl_close_worker): Add comments.
46014 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46016         [BZ #15359]
46017         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46018         high part of pi/2.
46019         (__ieee754_rem_pio2l): Update comments.
46021         [BZ #15429]
46022         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46023         high part of pi/2.
46024         (__ieee754_rem_pio2l): Update comments.
46026         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46027         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46029         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46030         M_PI_4l.
46032         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46033         (M_PI_34_LOG10El): Likewise.
46034         (M_PI2_LOG10El): Likewise.
46035         (M_PI4_LOG10El): Likewise.
46036         (M_PI_LOG10El): Likewise.
46038 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46042 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46044         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46045         (MINUS_ZERO_INIT): Likewise.
46046         (PLUS_INFTY_INIT): Likewise.
46047         (MINUS_INFTY_INIT): Likewise.
46048         (QNAN_VALUE_INIT): Likewise.
46049         (MAX_VALUE_INIT): Likewise.
46050         (MIN_VALUE_INIT): Likewise.
46051         (MIN_SUBNORM_VALUE_INIT): Likewise.
46052         (plus_zero): Initialize with PLUS_ZERO_INIT.
46053         (minus_zero): Initialize with MINUS_ZERO_INIT.
46054         (plus_infty): Initialize with PLUS_INFTY_INIT.
46055         (minus_infty): Initialize with MINUS_INFTY_INIT.
46056         (qnan_value): Initialize with QNAN_VALUE_INIT.
46057         (max_value): Initialize with MAX_VALUE_INIT.
46058         (min_value): Initialize with MIN_VALUE_INIT.
46059         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46061         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46062         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46063         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46064         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46066         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46067         (RUN_TEST_2_f): Likewise.
46068         (RUN_TEST_ff_f): Likewise.
46069         (RUN_TEST_fi_f): Likewise.
46070         (RUN_TEST_fl_f): Likewise.
46071         (RUN_TEST_fff_f): Likewise.
46072         (RUN_TEST_c_f): Likewise.
46073         (RUN_TEST_f_f1): Likewise.
46074         (RUN_TEST_fF_f1): Likewise.
46075         (RUN_TEST_fI_f1): Likewise.
46076         (RUN_TEST_ffI_f1): Likewise.
46077         (RUN_TEST_c_c): Likewise.
46078         (RUN_TEST_cc_c): Likewise.
46079         (RUN_TEST_f_i): Likewise.
46080         (RUN_TEST_f_i_tg): Likewise.
46081         (RUN_TEST_ff_i_tg): Likewise.
46082         (RUN_TEST_f_b): Likewise.
46083         (RUN_TEST_f_b_tg): Likewise.
46084         (RUN_TEST_f_l): Likewise.
46085         (RUN_TEST_f_L): Likewise.
46086         (RUN_TEST_sincos): Likewise.
46087         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46088         whether to show exceptions.  Do not include ");\n" in return
46089         value.
46090         (special_functions): Output call to RUN_TEST_sincos instead of
46091         check_float calls.  Update calls to new_test.
46092         (parse_args): Output call to single RUN_TEST_* macro instead of
46093         check_* calls and other assignments.  Update calls to new_test.
46095         [BZ #2546]
46096         [BZ #2560]
46097         [BZ #5159]
46098         [BZ #15426]
46099         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46100         input to result for tgamma overflow.
46101         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46102         (gamma_coeff): New variable.
46103         (NCOEFF): New macro.
46104         (gamma_positive): New function.
46105         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46106         underflow here.  Use gamma_positive instead of exp (lgamma) for
46107         other arguments.
46108         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46109         (gamma_coeff): New variable.
46110         (NCOEFF): New macro.
46111         (gammaf_positive): New function.
46112         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46113         underflow here.  Use gamma_positive instead of exp (lgamma) for
46114         other arguments.
46115         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46116         (gamma_coeff): New variable.
46117         (NCOEFF): New macro.
46118         (gammal_positive): New function.
46119         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46120         underflow here.  Use gamma_positive instead of exp (lgamma) for
46121         other arguments.
46122         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46123         (gamma_coeff): New variable.
46124         (NCOEFF): New macro.
46125         (gammal_positive): New function.
46126         (__ieee754_gammal_r): Handle positive infinity, overflow and
46127         underflow here.  Handle NaN the same as positive infinity.  Remove
46128         check x < 0xffffffff for negative integers.  Use gamma_positive
46129         instead of exp (lgamma) for other arguments.
46130         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46131         (gamma_coeff): New variable.
46132         (NCOEFF): New macro.
46133         (gammal_positive): New function.
46134         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46135         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46136         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46137         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46138         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46139         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46140         * sysdeps/generic/math_private.h (__gamma_productf): New
46141         prototype.
46142         (__gamma_product): Likewise.
46143         (__gamma_productl): Likewise.
46144         * math/Makefile (libm-calls): Add gamma_product.
46145         * math/libm-test.inc (tgamma_test): Add more tests.
46146         * sysdeps/i386/fpu/libm-test-ulps: Update.
46147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46149 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46151         * benchtests/bench-skeleton.c (main): Preheat CPU.
46153 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46155         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46157 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46159         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46160         and _dl_skip_args_internal.
46162 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46164         * manual/message.texi (Message Translation): Talk about users.
46165         Message to key mapping impacts design.
46167 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46169         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46171         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46173         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46174         * sysdeps/wordsize-64/glob64.c: ... here.
46176         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46177         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46178         New macros.
46180         * debug/getlogin_r_chk.c: Moved to ...
46181         * login/getlogin_r_chk.c: ... here.
46182         * debug/Makefile (routines): Move getlogin_r_chk to ...
46183         * login/Makefile (routines): ... here.
46184         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46185         * login/Versions (libc: GLIBC_2.4): ... here.
46187         * io/poll.c (__poll): Renamed from poll.
46188         Add libc_hidden_def.
46189         (poll): Define as weak alias.
46191         * debug/ptsname_r_chk.c: Moved to ...
46192         * login/ptsname_r_chk.c: ... here.
46193         * debug/Makefile (routines): Move ptsname_r_chk to ...
46194         * login/Makefile (routines): ... here.
46195         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46196         * login/Versions (libc: GLIBC_2.4): ... here.
46198         * posix/getlogin.c: Moved to ...
46199         * login/getlogin.c: ... here.
46200         * posix/getlogin_r.c: Moved to ...
46201         * login/getlogin_r.c: ... here.
46202         * posix/getlogin_r.c: Moved to ...
46203         * login/getlogin_r.c: ... here.
46204         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46205         * login/Makefile (routines): ... here.
46206         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46207         * login/Versions (libc: GLIBC_2.0): ... here.
46209         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46210         (setrlimit): Define as weak alias.
46212         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46213         Call __ names for open, ftruncate, and close.
46214         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46215         (truncate): Define as weak alias.
46217 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46219         * math/gen-libm-test.pl (parse_args): Initialize x before each
46220         test of frexp, modf and remquo.
46222         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46223         test signgam value.
46225 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46227         [BZ #15418]
46228         [BZ #15419]
46229         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46230         internal tests.
46231         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46233 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46235         * elf/dl-writev.h: New file.
46236         * elf/dl-misc.c: Include it.
46237         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46238         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46240 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46242         * math/libm-test.inc (noXFails): Remove variable.
46243         (noXPasses): Likewise.
46244         (BUILD_COMPLEX_INT): Remove macro.
46245         (print_screen): Remove xfail argument.
46246         (print_screen_max_error): Likewise.
46247         (update_stats): Likewise.
46248         (print_max_error): Likewise.  Update calls to other affected
46249         functions.
46250         (print_complex_max_error): Likewise.
46251         (test_single_exception): Update calls to print_screen.
46252         (test_single_errno): Likewise.
46253         (check_float_internal): Remove xfail argument.  Update calls to
46254         other affected functions.
46255         (check_float): Likewise.
46256         (check_complex): Likewise.
46257         (check_int): Likewise.
46258         (check_long): Likewise.
46259         (check_bool): Likewise.
46260         (check_longlong): Likewise.
46261         (main): Don't print noXFails and noXPasses.
46262         * math/gen-libm-test.pl (top level): Don't mention expected
46263         failure handling in comment.
46264         (new_test): Don't handle expected failures.
46265         (parse_args): Don't mention expected failure handling in comment.
46266         (generate_testfile): Don't handle expected failures.
46267         (parse_ulps): Likewise.
46268         (print_ulps_file): Likewise.
46269         (get_failure): Remove function.
46270         (output_test): Don't handle expected failures.
46271         * make/README.libm-test: Don't mention expected failure handling.
46273         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46274         (minus_zero): Likewise.
46275         (plus_infty): Likewise.
46276         (minus_infty): Likewise.
46277         (qnan_value): Likewise.
46278         (max_value): Likewise.
46279         (min_value): Likewise.
46280         (min_subnorm_value): Likewise.
46281         (initialize): Do not initialize those variables dynamically.
46283 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46285         * io/open.c (__open_2): Moved to ...
46286         * io/open_2.c: ... this new file.
46287         * io/open64.c (__open64_2): Moved to ...
46288         * io/open64_2.c: ... this new file.
46289         * io/openat.c (__openat_2): Moved to ...
46290         * io/openat_2.c: ... this new file.
46291         * io/openat64.c (__openat64_2): Moved to ...
46292         * io/openat64_2.c: ... this new file.
46293         * io/Makefile (routines): Add them.
46294         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46295         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46296         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46297         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46298         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46299         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46300         (__openat64): Add hidden_ver.
46301         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46302         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46304         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46305         Separately conditionalize setting of GLRO(dl_sysinfo) so
46306         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46307         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46309 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46311         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46312         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46313         definition.
46314         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46315         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46316         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46317         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46318         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46320 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46322         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46323         test signgam value.
46325         * math/libm-test.inc (hypot_test): Do not use
46326         IGNORE_ZERO_INF_SIGN.
46328 2013-05-03  Andreas Jaeger  <aj@suse.de>
46330         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46331         Linux 3.9.
46332         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46333         (PF_MAX): Adjust for VSOCK change.
46335 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46339 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46341         [BZ #15264]
46342         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46343         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46344         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46346 2013-05-02  David S. Miller  <davem@davemloft.net>
46348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46350 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46352         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46354 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46356         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46358 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46360         [BZ #14952]
46361         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46362         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46363         Use __attribute__ ((__gnu_inline__)).
46364         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46365         Don't use __attribute__ ((__gnu_inline__)).
46367 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46369         [BZ #15423]
46370         * math/s_catan.c (__catan): Handle small real or imaginary part of
46371         input specially to avoid spurious underflow.
46372         * math/s_catanf.c (__catanf): Likewise.
46373         * math/s_catanh.c (__catanh): Likewise.
46374         * math/s_catanhf.c (__catanhf): Likewise.
46375         * math/s_catanhl.c (__catanhl): Likewise.
46376         * math/s_catanl.c (__catanl): Likewise.
46377         * math/libm-test.inc (catan_test): Add more tests.
46378         (catanh_test): Likewise.
46379         * sysdeps/i386/fpu/libm-test-ulps: Update.
46380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46382 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46386 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46388         [BZ #15416]
46389         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46390         accurately for denominator in atan2.
46391         * math/s_catanf.c (__catanf): Likewise.
46392         * math/s_catanh.c (__catanh): Likewise.
46393         * math/s_catanhf.c (__catanhf): Likewise.
46394         * math/s_catanhl.c (__catanhl): Likewise.
46395         * math/s_catanl.c (__catanl): Likewise.
46396         * math/libm-test.inc (catan_test): Add more tests.
46397         (catanh_test): Likewise.
46398         * sysdeps/i386/fpu/libm-test-ulps: Update.
46399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46401 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46403         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46405         * benchtests/Makefile (bench): Remove slow benchmarks.
46406         * benchtests/atan-inputs: Add slow benchmark inputs.
46407         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46408         (BENCH_FUNC): Accept variant offset.
46409         (VARIANT): Define.
46410         * benchtests/bench-skeleton.c (main): Run benchmark for each
46411         variant.
46412         * benchtests/cos-inputs: Add slow benchmark inputs.
46413         * benchtests/exp-inputs: Likewise.
46414         * benchtests/pow-inputs: Likewise.
46415         * benchtests/sin-inputs: Likewise.
46416         * benchtests/slowatan-inputs: Remove.
46417         * benchtests/slowatan.c: Remove.
46418         * benchtests/slowcos-inputs: Remove.
46419         * benchtests/slowcos.c: Remove.
46420         * benchtests/slowexp-inputs: Remove.
46421         * benchtests/slowexp.c: Remove.
46422         * benchtests/slowpow-inputs: Remove.
46423         * benchtests/slowpow.c: Remove.
46424         * benchtests/slowsin-inputs: Remove.
46425         * benchtests/slowsin.c: Remove.
46426         * benchtests/slowtan-inputs: Remove.
46427         * benchtests/slowtan.c: Remove.
46428         * benchtests/tan-inputs: Add slow benchmark inputs.
46429         * scripts/bench.pl: Parse comments and directives.
46431         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46432         in CPPFLAGS.
46433         ($(objpfx)bench-%.c): Remove *-ITER.
46434         * benchtests/bench-modf.c: Remove definition of ITER.
46435         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46436         (main): Loop for DURATION seconds instead of fixed number of
46437         iterations.
46438         * scripts/bench.pl: Don't expect iterations in parameters.
46440 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46442         * io/fchdir.c (__fchdir): Renamed from fchdir.
46443         (fchdir): Define as weak alias.
46445 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46447         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46448         (ERRNO_EDOM): Likewise.
46449         (ERRNO_ERANGE): Likewise.
46450         (noErrnoTests): New variable.
46451         (init_max_error): Set errno to 0.
46452         (test_single_errno): New function.
46453         (test_errno): Likewise.
46454         (check_float_internal): Call test_errno.  Set errno to 0.
46455         (check_complex): Refer to errno tests in comment.
46456         (check_int): Call test_errno.  Set errno to 0.
46457         (check_long): Likewise.
46458         (check_bool): Likewise.
46459         (check_longlong): Likewise.
46460         (cos_test): Use ERRNO_* flags for errno tests instead of
46461         check_int.
46462         (expm1_test): Likewise.
46463         (fmod_test): Likewise.
46464         (ilogb_test): Likewise.
46465         (lgamma_test): Likewise.
46466         (pow_test): Likewise.
46467         (remainder_test): Likewise.
46468         (sin_test): Likewise.
46469         (tan_test): Likewise.
46470         (yn_test): Likewise.
46471         (initialize): Set errno to 0.
46472         (main): Print number of errno tests.
46473         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46475 2013-04-29  Andreas Jaeger  <aj@suse.de>
46477         [BZ #15084]
46478         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46479         and RES_USEVC.
46481         [BZ #15085]
46482         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46483         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46484         unimplemented.
46486         [BZ #15380]
46487         * stdlib/random.c (__initstate): Return NULL if
46488         __initstate fails.
46490         [BZ #15086]
46491         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46492         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46493         RES_SNGLKUPREOP.
46495 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46499 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46501         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46502         of individual tests.
46503         (casin_test): Likewise.
46504         (casinh_test): Likewise.
46506 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46508         [BZ #15409]
46509         * math/s_catan.c (__catan): Handle arguments with large real or
46510         imaginary part separately without squaring.
46511         * math/s_catanf.c (__catanf): Likewise.
46512         * math/s_catanh.c (__catanh): Likewise.
46513         * math/s_catanhf.c (__catanhf): Likewise.
46514         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46515         and redefine.
46516         (__catanhl): Handle arguments with large real or imaginary part
46517         separately without squaring.
46518         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46519         and redefine.
46520         (__catanl): Handle arguments with large real or imaginary part
46521         separately without squaring.
46522         * math/libm-test.inc (catan_test): Add more tests.
46523         (catanh_test): Likewise.
46524         * sysdeps/i386/fpu/libm-test-ulps: Update.
46525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46527 2013-04-27  Andreas Jaeger  <aj@suse.de>
46529         [BZ #15007]
46530         * stdlib/stdlib.h: Update guards for qecvt.
46531         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46532         <stdlib.h>.
46534 2013-04-27  Allan McRae  <allan@archlinux.org>
46536         * sysdeps/i386/fpu/libm-test-ulps: Update.
46538 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46540         [BZ #15406]
46541         * math/s_catan.c: Include <float.h>.
46542         (__catan): Ensure underflow exception occurs for underflowed
46543         result.
46544         * math/s_catanf.c: Include <float.h>.
46545         (__catanf): Ensure underflow exception occurs for underflowed
46546         result.
46547         * math/s_catanh.c: Include <float.h>.
46548         (__catanh): Ensure underflow exception occurs for underflowed
46549         result.
46550         * math/s_catanhf.c: Include <float.h>.
46551         (__catanhf): Ensure underflow exception occurs for underflowed
46552         result.
46553         * math/s_catanhl.c: Include <float.h>.
46554         (__catanhl): Ensure underflow exception occurs for underflowed
46555         result.
46556         * math/s_catanl.c: Include <float.h>.
46557         (__catanl): Ensure underflow exception occurs for underflowed
46558         result.
46559         * math/libm-test.inc (catan_test): Add more tests.
46560         (catanh_test): Likewise.
46562         [BZ #15405]
46563         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46564         underflowed result.
46565         * math/s_ccoshf.c (__ccoshf): Likewise.
46566         * math/s_ccoshl.c (__ccoshl): Likewise.
46567         * math/s_csin.c (__csin): Likewise.
46568         * math/s_csinf.c (__csinf): Likewise.
46569         * math/s_csinh.c (__csinh): Likewise.
46570         * math/s_csinhf.c (__csinhf): Likewise.
46571         * math/s_csinhl.c (__csinhl): Likewise.
46572         * math/s_csinl.c (__csinl): Likewise.
46573         * math/libm-test.inc (ccos_test): Add more tests.
46574         (ccosh_test): Likewise.
46575         (csin_test): Likewise.
46576         (csinh_test): Likewise.
46578 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46580         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46581         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46582         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46583         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46584         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46585         powerpc/power5+/fpu folders.
46586         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46589 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46593 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46595         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46596         additions to variable.
46597         [$(config-machine) = x86_64] (modules-names): Likewise.
46598         ($(objpfx)tst-audit3): Remove dependency.
46599         ($(objpfx)tst-audit3.out): Likewise.
46600         ($(objpfx)tst-audit4): Likewise.
46601         ($(objpfx)tst-audit4.out): Likewise.
46602         ($(objpfx)tst-audit5): Likewise.
46603         ($(objpfx)tst-audit5.out): Likewise.
46604         ($(objpfx)tst-audit6): Likewise.
46605         ($(objpfx)tst-audit6.out): Likewise.
46606         ($(objpfx)tst-audit7): Likewise.
46607         ($(objpfx)tst-audit7.out): Likewise.
46608         (tst-audit3-ENV): Remove variable.
46609         (tst-audit4-ENV): Likewise.
46610         (tst-audit5-ENV): Likewise.
46611         (tst-audit6-ENV): Likewise.
46612         (tst-audit7-ENV): Likewise.
46613         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46614         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46615         addition to variable.
46616         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46617         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46618         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46621         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46622         tst-audit3, tst-audit4 and tst-audit5.
46623         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46624         tst-audit6 and tst-audit7.
46625         [$(subdir) = elf] (modules-names): Add audit modules for those
46626         tests.
46627         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46628         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46629         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46630         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46631         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46632         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46633         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46634         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46635         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46636         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46637         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46638         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46639         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46640         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46641         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46642         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46643         Likewise.
46644         [$(subdir) = elf && $(config-cflags-avx) = yes]
46645         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46646         [$(subdir) = elf && $(config-cflags-avx) = yes]
46647         (CFLAGS-tst-auditmod4a.c): Likewise.
46648         [$(subdir) = elf && $(config-cflags-avx) = yes]
46649         (CFLAGS-tst-auditmod4b.c): Likewise.
46650         [$(subdir) = elf && $(config-cflags-avx) = yes]
46651         (CFLAGS-tst-auditmod6b.c): Likewise.
46652         [$(subdir) = elf && $(config-cflags-avx) = yes]
46653         (CFLAGS-tst-auditmod6c.c): Likewise.
46654         [$(subdir) = elf && $(config-cflags-avx) = yes]
46655         (CFLAGS-tst-auditmod7b.c): Likewise.
46656         * elf/tst-audit3.c: Move to ...
46657         * sysdeps/x86_64/tst-audit3.c: ... here.
46658         * elf/tst-audit4.c: Move to ...
46659         * sysdeps/x86_64/tst-audit4.c: ... here.
46660         * elf/tst-audit5.c: Move to ...
46661         * sysdeps/x86_64/tst-audit5.c: ... here.
46662         * elf/tst-audit6.c: Move to ...
46663         * sysdeps/x86_64/tst-audit6.c: ... here.
46664         * elf/tst-audit7.c: Move to ...
46665         * sysdeps/x86_64/tst-audit7.c: ... here.
46666         * elf/tst-auditmod3a.c: Move to ...
46667         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46668         * elf/tst-auditmod3b.c: Move to ...
46669         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46670         * elf/tst-auditmod4a.c: Move to ...
46671         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46672         * elf/tst-auditmod4b.c: Move to ...
46673         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46674         * elf/tst-auditmod5a.c: Move to ...
46675         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46676         * elf/tst-auditmod5b.c: Move to ...
46677         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46678         * elf/tst-auditmod6a.c: Move to ...
46679         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46680         * elf/tst-auditmod6b.c: Move to ...
46681         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46682         * elf/tst-auditmod6c.c: Move to ...
46683         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46684         * elf/tst-auditmod7a.c: Move to ...
46685         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46686         * elf/tst-auditmod7b.c: Move to ...
46687         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46689 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46691         [BZ #15366]
46692         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46693         define unconditionally.
46694         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46695         define unconditionally.
46696         (INT8_C, INT16_C, etc.): Likewise.
46698 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46700         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46701         __ehdr_start with hidden visibility.
46703         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46705 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46707         * math/libm-test.inc (cos_test): Use accurate hex constants.
46708         (sincost_test): Likewise.
46710 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46712         * math/libm-test.inc (catan_test): Add more tests.
46713         (catanh_test): Likewise.
46715         * math/s_catanf.c (__catanf): Use suffixed floating-point
46716         constants.
46717         * math/s_catanhf.c (__catanhf): Likewise.
46718         * math/s_catanhl.c (__catanhl): Likewise.
46719         * math/s_catanl.c (__catanl): Likewise.
46721         [BZ #15394]
46722         * math/s_catan.c (__catan): Calculate imaginary part of result
46723         with log1p not log unless computing log of number close to 0.
46724         * math/s_catanf.c (__catanf): Likewise.
46725         * math/s_catanl.c (__catanl): Likewise.
46726         * math/s_catanh.c (__catanh): Calculate real part of result with
46727         log1p not log unless computing log of number close to 0.
46728         * math/s_catanhf.c (__catanhf): Likewise.
46729         * math/s_catanhl.c (__catanhl): Likewise.
46730         * math/libm-test.inc (catan_test): Add more tests.
46731         (catanh_test): Likewise.
46732         * sysdeps/i386/fpu/libm-test-ulps: Update.
46733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46735 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46737         * benchtests/Makefile: Mention files in which fast and slow
46738         paths of math functions are implemented.
46740 2013-04-23  Roland McGrath  <roland@hack.frob.com>
46742         * sysdeps/posix/timespec_get.c: New file.
46744 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46746         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46747         POWER.
46748         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46749         for POWER.
46750         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46751         powerpc/power5/fpu folders.
46752         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46753         * benchtests/Makefile: Add modf testcase.
46754         * benchtests/bench-modf.c: New file: Benchmark test for mo
46756 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46758         [BZ #14888]
46759         * time/Makefile (tests): Add tst-strptime-whitespace.
46760         * time/strptime_l.c (get_number): Use ISSPACE.
46761         (__strptime_internal): Likewise.
46762         * time/tst-strptime-whitespace.c: New test case.
46764 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
46766         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46767         member.
46768         (_nss_files_init): Set it here.
46770 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
46772         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46773         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46774         unsigned.
46776 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
46778         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46780 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46782         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46783         size just once.
46785 2013-04-21  David S. Miller  <davem@davemloft.net>
46787         * po/ru.po: Update Russion translation from translation project.
46789 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46791         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46792         and setfsgid.
46794 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46796         * configure.in: Remove i386 configure warning. Remove i386 case.
46797         * configure: Regenerate.
46798         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46799         Add example to error message.
46800         * sysdeps/i386/configure: Regenerate.
46802 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46804         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46805         slowtan.
46806         * benchtests/cos-inputs: New file.
46807         * benchtests/slowcos-inputs: New file.
46808         * benchtests/slowcos.c: New file.
46809         * benchtests/slowtan-inputs: New file.
46810         * benchtests/slowtan.c: New file.
46811         * benchtests/tan-inputs: New file.
46813 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46815         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46816         considered kosher.
46818 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46820         * benchtests/Makefile: Include cppflags-iterator.mk to add
46821         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46823         * Makefile.in (bench-clean): New target.
46824         * benchtests/Makefile (bench-clean): Likewise.
46826 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46828         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46830 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46832         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46834 2013-04-15  Andreas Schwab  <schwab@suse.de>
46836         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46837         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46838         * nscd/pwdcache.c (cache_addpw): Likewise.
46839         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46840         more than recsize.
46842 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46844         * benchtests/Makefile (bench): Write all output to
46845         bench-out.tmp together.
46847 2013-04-15  Andreas Schwab  <schwab@suse.de>
46849         * nscd/nscd.c (main): Don't fork again after closing files.
46851 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46853         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46855         * benchtests/Rules (bench-deps): Collect dependencies into a
46856         single variable.  Add Makefile to dependencies.
46857         ($(objpfx)bench-%.c): Depend on bench-deps.
46859 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46860             Xavier Roche  <roche+kml2@exalead.com>
46862         [BZ #15361]
46863         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46864         just that it's a file descriptor.
46865         * manual/llio.texi (Synchronizing AIO Operations): Update description
46866         for EBADF error from aio_fsync.
46868 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46870         * Rules (bench): Move target definition...
46871         * benchtests/Makefile: ... here.
46873 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46875         * math/libm-test.inc (cos_test): Fix PI/2 test.
46876         (sincos_test): Likewise.
46877         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46878         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46880 2013-04-11  Andreas Schwab  <schwab@suse.de>
46882         [BZ #13988]
46883         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46884         accept exponent character only when digits were seen.
46885         * stdio-common/Makefile (tests): Add bug26.
46886         * stdio-common/bug26.c: New file.
46888         [BZ #14293]
46889         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46890         non-freeable.
46892 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46894         * Makeconfig (rtld-prefix): Define built linker prefix.
46895         * Rules (run-bench): Use it.
46896         * math/Makefile (run-regen-ulps): Likewise.
46898         * Rules (bench): Remove eval.
46900 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46901             Roland McGrath  <roland@hack.frob.com>
46902             Ondrej Bilka  <neleai@seznam.cz>
46904         [BZ #15346]
46905         * time/getdate.c: Include ctype.h and alloca.h.
46906         (__getdate_r): Trim leading and trailing spaces of input.
46907         * time/tst-getdate.c (tests): Add tests with leading and
46908         trailing spaces.
46910 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46912         [BZ #14280]
46913         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46914         when computing value.
46916 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46918         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46919         Use testrun.sh to run libm tests.
46921         [BZ #15309]
46922         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46924 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46926         [BZ #15264]
46927         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46929 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46931         * Makefile.in (regen-ulps): New target.
46932         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46933         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46934         [ifneq (no,$(PERL)] (regen-ulps): New target.
46935         [ifeq (no,$(PERL)] (regen-ulps): New target.
46936         * math/libm-test.inc (ulps_file_name): Define.
46937         (output_dir): New variable.
46938         (options): Add "output-dir" option.
46939         (parse_opt): Handle 'o' case.
46940         (main): If output_dir is non-NULL use it as a prefix
46941         otherwise use "".
46942         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46944 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46946         [BZ #10060, #10062]
46947         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46948         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46949         fail configure if __sync_val_compare_and_swap is not inlined.
46950         * sysdeps/i386/configure: Regenerate.
46951         * configure.in: Build for i686 when configured for i386.
46952         * configure: Regenerate.
46953         * README: Remove i386 reference.
46955 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46957         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46958         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46960 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46962         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46963         (lmsnanval): New variables.
46964         (F): Add conversion tests.
46965         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46966         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46968         * stdio-common/tstdiomisc.c (F): Properly collect individual
46969         tests' results.
46971         [BZ #14686, #15336]
46972         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46973         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46974         Instead, use input NaN values or generate a qNaN by arithmetic
46975         operation.  Also fix bugs to comply with the standard.
46976         * math/libm-test.inc (remainder_test): Add more tests.
46978         [BZ #15335, #15342]
46979         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46981         input NaN values or generate a qNaN by arithmetic operation.
46983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46984         unreachable code.
46986         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46987         definitions.
46989 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46991         [BZ #14478]
46992         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46993         underflowed result.
46994         * math/s_cexpf.c (__cexpf): Likewise.
46995         * math/s_cexpl.c (__cexpl): Likewise.
46996         * math/libm-test.inc (cexp_test): Add more tests.
46998 2013-04-03  Andreas Schwab  <schwab@suse.de>
47000         [BZ #15330]
47001         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47002         order arrays from heap if bigger than alloca cutoff.
47004 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47006         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47007         (SNAN_TESTS_double): Refer to GCC PR56831.
47008         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47009         GCC PR56828.
47011 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47013         * Rules (bench): Move bench.out after the run is complete.
47015         * Rules (bench): Echo currently running benchmark.
47017         * benchtests/Makefile (bench): Add atan and slowatan.
47018         * benchtests/atan-inputs: New file.
47019         * benchtests/slowatan-inputs: New file.
47020         * benchtests/slowatan.c: New file.
47022         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47023         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47024         its value.
47026         [BZ #15305]
47027         * sysdeps/unix/sysv/linux/kernel-features.h
47028         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47029         __ASSUME_XFS_RESTRICTED_CHOWN.
47030         * sysdeps/unix/sysv/linux/pathconf.c
47031         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47032         Save and restore errno.
47034 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47036         [BZ #15327]
47037         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47038         arguments using __kernel_casinh.
47039         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47040         arguments using __kernel_casinhf.
47041         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47042         arguments using __kernel_casinhl.
47043         * math/libm-test.inc (cacosh_test): Add more tests.
47044         * sysdeps/i386/fpu/libm-test-ulps: Update.
47045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47047 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47049         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47050         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47052         * bench/Makefile (bench): Add sin and slowsin.
47053         * benchtests/sin-inputs: New file.
47054         * benchtests/slowsin-inputs: New file.
47055         * benchtests/slowsin.c: New file.
47057         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47058         (bench): Add slowexp and slowpow.
47059         (exp-ITER): Increase iterations.
47060         (pow-ITER): Likewise.
47061         * benchtests/exp-inputs: Change input.
47062         * benchtests/pow-inputs: Likewise.
47063         * benchtests/slowexp-inputs: New file.
47064         * benchtests/slowexp.c: New file.
47065         * benchtests/slowpow-inputs: New file.
47066         * benchtests/slowpow.c: New file.
47068 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47070         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47071         instructions.
47072         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47073         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47074         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47075         * benchtests/Makefile: Add rint benchtest.
47076         * benchtests/rint-inputs: Input for rint benchtest.
47078 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47080         * Versions.def (libm): Add GLIBC_2.18.
47081         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47082         hidden libm prototypes.
47083         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47084         * math/Makefile (libm-calls): Add s_issignaling.
47085         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47086         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47087         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47088         declaration.
47089         * math/math.h [__USE_GNU] (issignaling): New macro.
47090         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47091         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47093         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47094         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47095         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47096         * manual/arith.texi (issignaling): New section.
47097         * manual/libm-err-tab.pl (@all_functions): Update comment.
47098         * math/gen-libm-test.pl (parse_args): Apply special handling for
47099         issignaling.
47100         * math/libm-test.inc (print_float, issignaling_test): New
47101         functions.
47102         (check_float_internal): Add issignaling checks.
47103         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47104         default definition.
47105         * sysdeps/powerpc/math-tests.h: New file.
47106         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47107         tests.
47108         * math/test-snan.c (TEST_FUNC): Likewise.
47110 2013-03-30  David S. Miller  <davem@davemloft.net>
47112         * po/de.po: Update from translation team.
47114 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47116         [BZ #10357]
47117         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47118         imaginary part less than 1.0 and real part less than 0.5
47119         specially.
47120         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47121         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47122         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47123         (cacos_test): Add more tests.
47124         (casin_test): Likewise.
47125         (casinh_test): Likewise.
47126         * sysdeps/i386/fpu/libm-test-ulps: Update.
47127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47129 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47131         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47132         ONE with its value.
47134         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47135         (__pow_mp): Replace ONE and MONE with their values.
47136         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47137         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47139         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47141         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47143         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47145         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47146         (__pow_mp): Replace ZERO and MZERO with their values.
47147         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47148         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47149         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47151         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47152         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47153         (__sqr): Likewise.
47155         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47157         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47159 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47161         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47162         Declare with __attribute__ ((weak)).
47163         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47164         Call __call_tls_dtors only if it's not NULL.
47166 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47168         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47169         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47170         magic __ehdr_start linker symbol if it's defined.
47171         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47172         them up here if it was already done.
47174         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47175         (_dl_aux_init): Use const in cast when setting it.
47176         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47177         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47178         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47180         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47181         Declare them here.
47182         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47183         * csu/libc-tls.c: Nor here.
47184         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47186         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47187         (__libc_message): Never call vsyslog.
47189 2013-03-28  Alan Modra  <amodra@gmail.com>
47191         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47192         Define as empty.
47193         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47194         Likewise.
47196 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47198         [BZ #15214]
47199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47200         underflow.
47201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47203 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47205         [BZ #15304]
47206         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47207         Don't add gid passed as argument.
47209         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47211 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47213         [BZ #15307]
47214         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47215         imaginary part between 1.0 and 1.5 and real part less than 0.5
47216         specially.
47217         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47218         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47219         * math/libm-test.inc (cacos_test): Add more tests.
47220         (casin_test): Likewise.
47221         (casinh_test): Likewise.
47222         * sysdeps/i386/fpu/libm-test-ulps: Update.
47223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47225 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47227         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47228         constants.
47229         (norm): Likewise.
47230         (denorm): Likewise.
47231         (__dbl_mp): Likewise.
47232         (add_magnitudes): Likewise.
47233         (sub_magnitudes): Likewise.
47234         (__add): Likewise.
47235         (__sub): Likewise.
47236         (__mul): Likewise.
47237         (__sqr): Likewise.
47238         (__inv): Likewise.
47239         (__dvd): Likewise.
47241         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47242         commented code.
47243         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47244         (__dubcos): Likewise.
47245         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47246         (__ieee754_acos): Likewise.
47247         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47248         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47249         (__exp1): Likewise.
47250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47251         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47252         (log1): Likewise.
47253         (my_log2): Likewise.
47254         (checkint): Likewise.
47255         * sysdeps/ieee754/dbl-64/e_remainder.c
47256         (__ieee754_remainder): Likewise.
47257         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47258         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47259         (bsloww): Likewise.
47260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47262         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47263         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47264         MANTISSA_STORE_T to store computations on mantissa.  Use
47265         macros for rounding and division.
47266         (denorm): Likewise.
47267         (__dbl_mp): Likewise.
47268         (add_magnitudes): Likewise.
47269         (sub_magnitudes): Likewise.
47270         (__mul): Likewise.
47271         (__sqr): Likewise.
47272         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47273         powers of two in terms of TWOPOW macro.
47274         (mp_no): Make type of mantissa as MANTISSA_T.
47275         [!RADIXI]: Define RADIXI.
47276         [!TWO52]: Define TWO52.
47277         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47279 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47281         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47282         llroundl symbol when building for PPC32.
47284 2013-03-24  Mark H Weaver  <mhw@netris.org>
47286         * manual/arith.texi (Normalization Functions): Fix prototypes for
47287         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47289 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47291         [BZ #13889]
47292         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47293         high value to check if expl overflow.
47294         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47295         to check for underflow and overflow.
47296         * math/libm-test.inc: Add exp test.
47298 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47300         [BZ #11120]
47301         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47302         with NOT_IN_libc.
47304 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47306         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47307         symbol.
47309 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47311         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47312         wrap blocks consisting of several statements.
47314         * sysdeps/generic/math-tests.h: New file.
47315         * sysdeps/i386/fpu/math-tests.h: Likewise.
47316         * math/test-snan.c: Include it.
47317         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47319 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47321         [BZ #15285]
47322         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47323         (__ieee754_j0l): Do not improve calculations using cos of twice
47324         input for inputs above LDBL_MAX / 2.0L.
47325         (__ieee754_y0l): Likewise.
47326         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47327         (__ieee754_j1l): Do not improve calculations using cos of twice
47328         input for inputs above LDBL_MAX / 2.0L.
47329         (__ieee754_y1l): Likewise.
47330         * math/libm-test.inc (j0_test): Add another test.
47331         (j1_test): Likewise.
47332         (y0_test): Likewise.
47333         (y1_test): Likewise.
47334         * sysdeps/i386/fpu/libm-test-ulps: Update.
47336 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47338         * Rules ($(objpfx)bench-%.c): Include code from a C source
47339         file.
47341 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47343         [BZ #15287]
47344         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47345         imaginary part 1.0 and real part less than 0.5 specially.
47346         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47347         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47348         * math/libm-test.inc (cacos_test): Add more tests.
47349         (casin_test): Likewise.
47350         (casinh_test): Likewise.
47351         * sysdeps/i386/fpu/libm-test-ulps: Update.
47352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47354 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47356         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47357         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47359 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47361         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47362         * config.make.in (config-cflags-sse4): Remove variable.
47363         (config-cflags-avx): Likewise.
47364         (config-cflags-sse2avx): Likewise.
47365         (config-cflags-novzeroupper): Likewise.
47366         (config-asflags-i686): Likewise.
47367         (have-mfma4): Likewise.
47368         (have-as-vis3): Likewise.
47369         (MIG): Likewise.
47370         * configure.in (MIG): Do not AC_SUBST.
47371         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47372         (libc_cv_cc_sse4): Do not AC_SUBST.
47373         (libc_cv_cc_avx): Likewise.
47374         (libc_cv_cc_sse2avx): Likewise.
47375         (libc_cv_cc_novzeroupper): Likewise.
47376         (libc_cv_cc_fma4): Likewise.
47377         (libc_cv_as_i686): Likewise.
47378         (libc_cv_sparc_as_vis3): Likewise.
47379         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47380         LIBC_CONFIG_VAR.
47381         (config-asflags-i686): Likewise.
47382         (config-cflags-avx): Likewise.
47383         (config-cflags-sse2avx): Likewise.
47384         (have-mfma4): Likewise.
47385         (config-cflags-novzeroupper): Likewise.
47386         * sysdeps/mach/configure.in (MIG): Likewise.
47387         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47388         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47389         LIBC_CONFIG_VAR.
47390         (config-cflags-avx): Likewise.
47391         (config-cflags-sse2avx): Likewise.
47392         (have-mfma4): Likewise.
47393         (config-cflags-novzeroupper): Likewise.
47394         * configure: Regenerated.
47395         * sysdeps/i386/configure: Likewise.
47396         * sysdeps/mach/configure: Likewise.
47397         * sysdeps/sparc/configure: Likewise.
47398         * sysdeps/x86_64/configure: Likewise.
47400 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47402         [BZ #14812]
47403         * locale/programs/localedef.c (options): Put N_ translation marker
47404         on argument names, not just descriptions.
47406 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47408         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47410 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47412         [BZ #14176]
47413         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47415 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47417         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47418         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47419         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47420         [!BEFORE_ABORT] (before_abort): New function.
47421         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47422         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47423         (writev_for_fatal): New function.
47424         (WRITEV_FOR_FATAL): New macro; call that.
47425         (backtrace_and_maps): New function.
47426         (BEFORE_ABORT): New macro; call that.
47427         (struct str_list): Type removed.
47428         (__libc_message, __libc_fatal): Functions removed.
47429         Include <sysdeps/posix/libc_fatal.c> instead.
47431 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47433         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47434         constants.
47435         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47436         double constants.
47438 2013-03-19  Andreas Schwab  <schwab@suse.de>
47440         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47441         * sysdeps/gnu/configure: Regenerate.
47443         * configure.in: Substitute libc_cv_rtlddir.
47444         * configure: Regenerate.
47445         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47446         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47447         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47448         * elf/Makefile (install-others, CFLAGS-interp.c)
47449         (ldso_install, common-ldd-rewrite): Likewise.
47450         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47451         $(inst_slibdir)/$(rtld-installed-name).
47452         * scripts/rellns-sh: Add -p option.
47453         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47454         for source.
47456 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47458         * manual/nptl.texi: Renamed to ...
47459         * manual/threads.texi: ... this.
47460         * manual/Makefile (chapters): Update.
47462 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47464         [BZ #14812]
47465         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47466         on argument names, not just descriptions.
47467         * malloc/memusagestat.c (options): Likewise.
47468         * nss/getent.c (options): Likewise.
47470 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47472         [BZ #14812]
47473         * iconv/iconv_prog.c (options): Put N_ translation marker
47474         on argument names, not just descriptions.
47475         * iconv/iconvconfig.c (options): Likewise.
47477 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47479         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47480         implementation which is faster on all x86_64 architectures.
47481         Tested on AMD, Intel Nehalem, SNB, IVB.
47482         * sysdeps/x86_64/strnlen.S: Likewise.
47484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47485         Remove all multiarch strlen and strnlen versions.
47486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47487         Remove strlen and strnlen related parts.
47489         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47490         Inline strlen part.
47491         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47493         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47494         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47495         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47496         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47497         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47498         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47500 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47502         * manual/memory.texi (Malloc Tunable Parameters):
47503         Sort parameters alphabetically. Add comments for missing entries.
47505 2013-03-17  David S. Miller  <davem@davemloft.net>
47507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47509 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47511         [BZ #15283]
47512         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47513         for arguments at most half maximum finite value.
47514         * math/libm-test.inc (j0_test): Add more tests.
47515         (j1_test): Likewise.
47516         (y0_test): Likewise.
47517         (y1_test): Likewise.
47518         * sysdeps/i386/fpu/libm-test-ulps: Update.
47519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47521         [BZ #14155]
47522         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47523         1 / x and functions P and Q for arguments above 0x1p256L.
47524         (__ieee754_y0l): Likewise.
47525         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47526         (__ieee754_y1l): Likewise.
47527         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47528         (j1_test): Likewise.
47529         (y0_test): Likewise.
47530         (y1_test): Likewise.
47532 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47534         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47535         variable.
47537 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47539         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47540         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47541         zero since it's initialized to EXEC_PAGESIZE.
47543         * sysdeps/unix/sysv/linux/ldsodefs.h
47544         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47545         * sysdeps/generic/ldsodefs.h: ... here.
47547 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47549         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47551         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47552         math/test-snan.c.
47553         * math/test-snan.c: Renamed from
47554         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47555         * math/Makefile (tests): Add test-snan.
47556         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47557         test-powerpc-snan.
47559         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47560         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47561         functions.
47562         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47563         __builtin_nan family of functions.
47564         * math/libm-test.inc (initialize): Initialize qnan_value with
47565         __builtin_nan family of functions.
47566         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47567         Remove variables.
47568         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47569         Remove functions.
47570         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47571         storage class.  Initialize qNaN_var and sNaN_var with
47572         __builtin_nan and __builtin_nans families of functions,
47573         respectively.
47575         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47576         (sqrt_test): Remove duplicate test with qNaN input.
47577         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47578         (round_test, signbit_test, significand_test): Note missing +/-Inf
47579         as well as qNaN tests.
47581         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47582         qNaN_var.  Fix a few strings, too.
47583         * math/libm-test.inc (nan_value): Rename to qnan_value.
47584         * math/gen-libm-test.pl (%beautify): Adjust to that.
47585         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47586         * math/test-misc.c (main): Likewise.
47587         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47588         to __qnan_bytes, and __qnan_union, respectively.
47589         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47590         Likewise.
47591         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47592         and lqnanval, respectively.
47593         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47594         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47595         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47596         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47598         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47599         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47600         doubles.
47602         * math/test-misc.c (main): Fix copy'n'pastos.
47603         * misc/tst-efgcvt.c (special): Likewise.
47605         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47606         Remove declarations.
47608 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47610         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47611         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47612         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47613         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47615 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47617         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47618         macro to return vdso values correctly in IFUNC implementations.
47619         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47620         Optimization by using IFUNC.
47622 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47623             Richard Henderson  <rth@redhat.com>
47624             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47626         * Makefile.in (bench): New target.
47627         * NEWS: Mention the benchmark framework.
47628         * Rules (bench): Likewise.
47629         (binaries-bench): Generate binaries for functions to
47630         benchmark.
47631         * benchtests/Makefile: New makefile for benchmark tests.
47632         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47633         programs.
47634         * benchtests/exp-inputs: New input file for EXP function.
47635         * benchtests/pow-inputs: New input file for POW function.
47636         * scripts/bench.pl: New script to generate source files for
47637         benchmark programs.
47639 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47641         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47642         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47643         computations on mantissa.  Use macros for rounding and
47644         division.
47645         (denorm): Likewise.
47646         (__dbl_mp): Likewise.
47647         (add_magnitudes): Likewise.
47648         (sub_magnitudes): Likewise.
47649         (__mul): Likewise.
47650         (__sqr): Likewise.
47651         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47652         powers of two in terms of TWOPOW macro.
47653         (mp_no): Make type of mantissa as MANTISSA_T.
47654         [!RADIXI]: Define RADIXI.
47655         [!TWO52]: Define TWO52.
47656         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47658         * manual/nptl.texi (cindex): Modify threads to pthreads.
47660 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47662         * sysdeps/x86_64/preconfigure: Regenerated.
47664 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47666         [BZ #14155]
47667         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47668         0x1p28 and above.
47669         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47670         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47671         0x1p28 and above.
47672         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47673         * math/libm-test.inc (j0_test): Do not allow one spurious
47674         underflow exception.
47675         (y1_test): Likewise.
47677 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47679         * manual/Makefile (chapters): Add nptl.
47680         * manual/debug.texi (Debugging Support): Add link to Threads
47681         chapter.
47682         * manual/nptl.texi: New file.
47684         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47686 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47688         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47689         for non-NULL pointer before the memory validity test. Pointed
47690         out by Holger Brunck <holger.brunck@keymile.com>.
47692 2013-03-13  Andreas Schwab  <schwab@suse.de>
47694         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47695         instead of .os.
47697 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47699         * timezone/zic.c: Update from tzcode 2013b.
47701 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47703         * manual/install.texi (Configuring and compiling):
47704         Mention i686 and i586.
47705         * INSTALL: Regenerate.
47707 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47709         * sysdeps/init_array/elf-init.c: New file.
47710         * csu/elf-init.c
47711         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47712         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47714         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47715         __gmon_start__ as global, but as static with a .preinit_array pointer.
47716         * sysdeps/init_array/gmon-start.c: New file.  Use that.
47717         * sysdeps/init_array/crti.S: New file, empty except for comments.
47718         * sysdeps/init_array/crtn.S: Likewise.
47720 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
47722         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47723         definining bcopy.
47724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47725         Remove Prefer_SSE_for_memop.
47726         * sysdeps/x86_64/multiarch/init-arch.h: Remove
47727         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47728         HAS_PREFER_SSE_FOR_MEMOP.
47729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47730         memset-x86-64.
47731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47732         Remove bzero, memset ifunc support.
47733         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47734         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47735         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47736         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47738 2013-03-11  Andreas Schwab  <schwab@suse.de>
47740         [BZ #15234]
47741         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47742         by SHLIB_COMPAT.
47743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47744         (GLIBC_2.16): Remove pthread_atfork.
47746 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
47748         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47749         (ptestcases.h): Likewise.
47751 2013-03-08  Roland McGrath  <roland@hack.frob.com>
47753         * Makeconfig ($(common-objpfx)config.status): Depend on
47754         sysdeps/*/preconfigure{,.in} too.
47756 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
47758         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47759         (__free_hook): Use void * instead of __malloc_ptr_t.
47760         (__malloc_hook): Likewise.
47761         (__realloc_hook): Likewise.
47762         (__memalign_hook): Likewise.
47763         (__after_morecore_hook): Likewise.
47764         * malloc/arena.c (save_malloc_hook): Likewise.
47765         (save_free_hook): Likewise.
47766         * malloc/hooks.c (malloc_hook_ini): Likewise.
47767         (realloc_hook_ini): Likewise.
47768         (memalign_hook_ini): Likewise.
47769         * malloc/malloc.c (malloc_hook_ini): Likewise.
47770         (realloc_hook_ini): Likewise.
47771         (memalign_hook_ini): Likewise.
47772         (__free_hook): Likewise.
47773         (__malloc_hook): Likewise.
47774         (__realloc_hook): Likewise.
47775         (__memalign_hook): Likewise.
47776         (__libc_malloc): Likewise.
47777         (__libc_free): Likewise.
47778         (__libc_realloc): Likewise.
47779         (__libc_memalign): Likewise.
47780         (__libc_valloc): Likewise.
47781         (__libc_pvalloc): Likewise.
47782         (__libc_calloc): Likewise.
47783         (__posix_memalign): Likewise.
47784         * malloc/morecore.c (__sbrk): Likewise.
47785         (__default_morecore): Likewise.
47787         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47789         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47790         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47791         __malloc_ptrdiff_t.
47793         * malloc/malloc.h (__malloc_size_t): Remove macro.
47794         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47795         __malloc_size_t.
47796         (old_memalign_hook): Likewise.
47797         (old_realloc_hook): Likewise.
47798         (struct hdr): Likewise.
47799         (flood): Likewise.
47800         (mallochook): Likewise.
47801         (memalignhook): Likewise.
47802         (reallochook): Likewise.
47803         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47804         (tr_old_realloc_hook): Likewise.
47805         (tr_old_memalign_hook): Likewise.
47806         (tr_mallochook): Likewise.
47807         (tr_reallochook): Likewise.
47808         (tr_memalignhook): Likewise.
47810 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47813         default_ldbl_pack and using as default implementation.
47814         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47815         implementation.
47816         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47817         redundant definition.
47818         (ldbl_insert_mantissa): Likewise.
47819         (ldbl_canonicalize): Likewise.
47820         (ldbl_nearbyint): Likewise.
47821         (ldbl_pack): Rename to ldbl_pack_ppc.
47822         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47823         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47824         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47826 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47829         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47830         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47831         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47833         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47834         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47835         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47837 2013-03-07  Andreas Jaeger  <aj@suse.de>
47839         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47840         bits/mman-linux.h.
47842 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47844         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47845         Include mpa.h and declare __MPEXP.
47846         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47847         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47848         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47849         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47850         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47851         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47852         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47854         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47855         (__slowpow): Use long double EXPL and LOGL functions to
47856         compute POW.
47857         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47858         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47859         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47860         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47861         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47862         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47865         intermediate variable to calculate exponent.
47866         (__sqr): Likewise.
47867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47868         Likewise.
47869         (__sqr): Likewise.
47871         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47872         [!NO__SQR]: Define __sqr.
47873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47874         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47875         sysdeps/ieee754/dbl-64/mpa.c.
47876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47878         [BZ #12723]
47879         * posix/Makefile (tests): Add tst-pathconf.
47880         * posix/tst-pathconf.c: New test case.
47881         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47882         _PC_PIPE_BUF.
47883         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47885 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47887         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47889 2013-03-06  Andreas Jaeger  <aj@suse.de>
47891         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47892         definition via __MAP_ANONYMOUS.
47894         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47895         it's not part of Linux headers.
47897         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47898         (MAP_HUGE_MASK): Define.
47900         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47901         Define.
47902         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47903         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47904         Define.
47905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47906         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47907         Define.
47908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47909         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47910         Define.
47911         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47913         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47914         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47915         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47916         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47917         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47918         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47920         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47921         Handle f2fs.
47923         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47924         Handle f2fs and efivarfs.
47926         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47927         f2fs.
47929         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47930         (EFIVARFS_MAGIC): Add.
47931         (F2FS_LINK_MAX): Add.
47933 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47935         * stdio-common/vfprintf.c: Replace __builtin_expect with
47936         __glibc_unlikely.
47938 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47940         [BZ #13550]
47941         * sysdeps/generic/bp-sym.h: Remove file.
47942         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47943         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47944         <bp-sym.h> and <bp-asm.h>.
47945         (__longjmp): Don't use BP_SYM.
47946         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47947         and <bp-asm.h>.
47948         (memcpy): Don't use BP_SYM.
47949         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47950         <bp-sym.h> and <bp-asm.h>.
47951         (memcpy): Don't use BP_SYM.
47952         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47953         <bp-asm.h>.
47954         (memcpy): Don't use BP_SYM.
47955         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47956         <bp-asm.h>.
47957         (memset): Don't use BP_SYM.
47958         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47959         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47960         (__bzero): Don't use BP_SYM.
47961         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47962         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47963         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47964         <bp-sym.h> and <bp-asm.h>.
47965         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47966         pointers.
47967         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47968         <bp-sym.h> and <bp-asm.h>.
47969         (memcpy): Don't use BP_SYM.
47970         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47971         <bp-sym.h> and <bp-asm.h>.
47972         (memset): Don't use BP_SYM.
47973         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47974         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47975         (__bzero): Don't use BP_SYM.
47976         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47977         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47979         <bp-sym.h> and <bp-asm.h>.
47980         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47981         pointers.
47982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47983         <bp-sym.h> and <bp-asm.h>.
47984         (memcpy): Don't use BP_SYM.
47985         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47986         <bp-sym.h> and <bp-asm.h>.
47987         (memset): Don't use BP_SYM.
47988         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47989         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47990         (__bzero): Don't use BP_SYM.
47991         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47992         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47993         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47994         <bp-sym.h> and <bp-asm.h>.
47995         (__memchr): Don't use BP_SYM.
47996         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47997         <bp-sym.h> and <bp-asm.h>.
47998         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47999         pointers.
48000         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48001         <bp-sym.h> and <bp-asm.h>.
48002         (memcpy): Don't use BP_SYM.
48003         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48004         <bp-sym.h> and <bp-asm.h>.
48005         (__mempcpy): Don't use BP_SYM.
48006         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48007         <bp-sym.h> and <bp-asm.h>.
48008         (__memrchr): Don't use BP_SYM.
48009         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48010         <bp-sym.h> and <bp-asm.h>.
48011         (memset): Don't use BP_SYM.
48012         (__bzero): Likewise.
48013         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48014         <bp-sym.h> and <bp-asm.h>.
48015         (__rawmemchr): Don't use BP_SYM.
48016         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48017         <bp-sym.h> and <bp-asm.h>.
48018         (__STRCMP): Don't use BP_SYM.
48019         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48020         <bp-sym.h> and <bp-asm.h>.
48021         (strchr): Don't use BP_SYM.
48022         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48023         <bp-sym.h> and <bp-asm.h>.
48024         (__strchrnul): Don't use BP_SYM.
48025         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48026         <bp-sym.h> and <bp-asm.h>.
48027         (strlen): Don't use BP_SYM.
48028         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48029         <bp-sym.h> and <bp-asm.h>.
48030         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48031         pointers.
48032         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48033         <bp-sym.h> and <bp-asm.h>.
48034         (__strnlen): Don't use BP_SYM.
48035         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48036         <bp-sym.h> and <bp-asm.h>.
48037         (__GI__setjmp): Don't use BP_SYM.
48038         (_setjmp): Likewise.
48039         (__sigsetjmp): Likewise.
48040         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48041         (L(start_addresses)): Don't use BP_SYM.
48042         (_start): Likewise.
48043         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48044         <bp-asm.h>.
48045         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48046         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48047         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48048         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48049         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48050         <bp-asm.h>.
48051         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48052         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48053         about bounded pointers.
48054         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48055         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48056         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48057         <bp-asm.h>.
48058         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48059         about bounded pointers.  Remove GKM FIXME comments.
48060         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48061         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48062         <bp-asm.h>.
48063         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48064         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48065         Remove GKM FIXME comments.
48066         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48067         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48068         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48069         <bp-asm.h>.
48070         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48071         about bounded pointers.  Remove GKM FIXME comment.
48072         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48073         and <bp-asm.h>.
48074         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48075         pointers.
48076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48077         <bp-sym.h> and <bp-asm.h>.
48078         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48080         <bp-sym.h> and <bp-asm.h>.
48081         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48082         comment.
48084 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48086         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48087         call free(NULL).
48089 2013-03-05  David S. Miller  <davem@davemloft.net>
48091         * po/es.po: Update from translation team.
48093 2013-03-05  Andreas Jaeger  <aj@suse.de>
48095         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48096         <bits/mman-linux.h>.
48097         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48098         is fine.
48099         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48100         <bits/mman-linux.h> to end of file.
48101         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48102         is fine.
48103         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48104         <bits/mman-linux.h> to end of file.
48105         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48106         is fine.
48107         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48108         <bits/mman-linux.h> to end of file.
48110         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48111         (MCL_CURRENT, MCL_FUTURE): Define here.
48113 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48115         [BZ #15232]
48116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48117         attribute_hidden.
48118         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48120 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48122         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48123         fourth parameter needed for rt_sigprocmask syscall.
48124         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48125         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48126         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48127         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48128         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48129         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48131 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48133         [BZ #13550]
48134         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48135         comment about bounded pointers.
48136         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48137         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48139 2013-03-04  Andreas Jaeger  <aj@suse.de>
48141         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48142         common definitions.
48144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48145         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48146         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48147         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48148         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48149         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48151 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48153         [BZ #15055]
48154         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48155         __ieee754_sqrl instead of __sqrl.
48157 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48159         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48160         * sysdeps/powerpc/fpu_control.h: ... here.
48161         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48162         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48163         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48164         * sysdeps/powerpc/bits/mathinline.h: ... here.
48166 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48168         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48169         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48170         to just [NEED_DL_SYSINFO_DSO].
48171         * elf/dl-support.c: Likewise.
48172         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48173         * elf/rtld.c (dl_main): Likewise.
48174         * elf/setup-vdso.h (setup_vdso): Likewise.
48175         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48176         * sysdeps/unix/sysv/linux/dl-sysdep.c
48177         (_dl_discover_osversion): Likewise.
48179 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48181         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48182         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48184 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48186         * NEWS: Mention libm performance improvements and non-x86 PI
48187         futex support.
48189         * csu/libc-start.c (__pthread_initialize_minimal): Change
48190         function arguments.
48191         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48193 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48195         [BZ #13550]
48196         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48197         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48198         <bp-sym.h> and <bp-asm.h>.
48199         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48200         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48201         and <bp-asm.h>.
48202         (memcpy): Don't use BP_SYM.
48203         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48204         <bp-asm.h>.
48205         (__mpn_add_n): Don't use BP_SYM.
48206         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48207         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48208         and <bp-asm.h>.
48209         (__mpn_addmul_1): Don't use BP_SYM.
48210         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48211         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48212         <bp-sym.h>.
48213         (_setjmp): Don't use BP_SYM.
48214         (__novmx_setjmp): Likewise.
48215         (__GI__setjmp): Likewise.
48216         (__vmx_setjmp): Likewise.
48217         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48218         <bp-sym.h>.
48219         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48220         (__bzero): Don't use BP_SYM.
48221         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48222         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48223         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48224         <bp-sym.h> and <bp-asm.h>.
48225         (memcpy): Don't use BP_SYM.
48226         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48227         <bp-sym.h> and <bp-asm.h>.
48228         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48229         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48230         <bp-sym.h> and <bp-asm.h>.
48231         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48232         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48233         <bp-asm.h>.
48234         (__mpn_lshift): Don't use BP_SYM.
48235         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48236         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48237         <bp-asm.h>.
48238         (memset): Don't use BP_SYM.
48239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48241         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48242         <bp-asm.h>.
48243         (__mpn_mul_1): Don't use BP_SYM.
48244         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48245         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48246         <bp-sym.h> and <bp-asm.h>.
48247         (memcmp): Don't use BP_SYM.
48248         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48249         <bp-sym.h> and <bp-asm.h>.
48250         (memcpy): Don't use BP_SYM.
48251         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48252         <bp-sym.h> and <bp-asm.h>.
48253         (memset): Don't use BP_SYM.
48254         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48255         <bp-sym.h> and <bp-asm.h>.
48256         (strncmp): Don't use BP_SYM.
48257         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48258         <bp-sym.h> and <bp-asm.h>.
48259         (memcpy): Don't use BP_SYM.
48260         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48261         <bp-sym.h> and <bp-asm.h>.
48262         (memset): Don't use BP_SYM.
48263         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48264         <bp-sym.h> and <bp-asm.h>.
48265         (__memchr): Don't use BP_SYM.
48266         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48267         <bp-sym.h> and <bp-asm.h>.
48268         (memcmp): Don't use BP_SYM.
48269         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48270         <bp-sym.h> and <bp-asm.h>.
48271         (memcpy): Don't use BP_SYM.
48272         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48273         <bp-sym.h> and <bp-asm.h>.
48274         (__mempcpy): Don't use BP_SYM.
48275         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48276         <bp-sym.h> and <bp-asm.h>.
48277         (__memrchr): Don't use BP_SYM.
48278         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48279         <bp-sym.h> and <bp-asm.h>.
48280         (memset): Don't use BP_SYM.
48281         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48282         <bp-sym.h> and <bp-asm.h>.
48283         (__rawmemchr): Don't use BP_SYM.
48284         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48285         <bp-sym.h> and <bp-asm.h>.
48286         (__STRCMP): Don't use BP_SYM.
48287         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48288         <bp-sym.h> and <bp-asm.h>.
48289         (strchr): Don't use BP_SYM.
48290         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48291         <bp-sym.h> and <bp-asm.h>.
48292         (__strchrnul): Don't use BP_SYM.
48293         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48294         <bp-sym.h> and <bp-asm.h>.
48295         (strlen): Don't use BP_SYM.
48296         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48297         <bp-sym.h> and <bp-asm.h>.
48298         (strncmp): Don't use BP_SYM.
48299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48300         <bp-sym.h> and <bp-asm.h>.
48301         (__strnlen): Don't use BP_SYM.
48302         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48303         <bp-asm.h>.
48304         (__mpn_rshift): Don't use BP_SYM.
48305         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48306         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48307         <bp-sym.h> and <bp-asm.h>.
48308         (__sigsetjmp): Don't use BP_SYM.
48309         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48310         (L(start_addresses)): Don't use BP_SYM.
48311         (_start): Likewise.
48312         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48313         <bp-asm.h>.
48314         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48315         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48316         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48317         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48318         <bp-asm.h>.
48319         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48320         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48321         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48322         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48323         <bp-asm.h>.
48324         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48325         comments.
48326         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48327         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48328         <bp-asm.h>.
48329         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48330         FIXME comments.
48331         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48332         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48333         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48334         <bp-asm.h>.
48335         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48336         comment.
48337         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48338         and <bp-asm.h>.
48339         (strncmp): Don't use BP_SYM,
48340         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48341         <bp-asm.h>.
48342         (__mpn_sub_n): Don't use BP_SYM.
48343         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48344         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48345         and <bp-asm.h>.
48346         (__mpn_submul_1): Don't use BP_SYM.
48347         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48349         <bp-sym.h> and <bp-asm.h>.
48350         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48352         <bp-sym.h> and <bp-asm.h>.
48353         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48354         comment.
48356 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48359         Use ZK to minimize writes to Z.
48360         (sub_magnitudes): Simplify code a bit.
48361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48362         Use ZK to minimize writes to Z.
48363         (sub_magnitudes): Simplify code a bit.
48365 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48367         * csu/gmon-start.c: Add special exception to license text.
48369 2013-02-27  Richard Henderson  <rth@redhat.com>
48371         * scripts/config.guess: Update from config.git.
48372         * scripts/config.sub: Likewise.
48374 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48376         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48378         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48380         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48382         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48384         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48386 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48388         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48389         [$(build-shared = yes].
48391 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48393         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48394         (__mul): Reduce iterations for calculating mantissa.
48396         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48397         MPTWO.
48398         (__mpranred): Likewise.
48400         [BZ #15160]
48401         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48402         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48404 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48406         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48407         Define __attribute__.
48409 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48411         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48412         unused.
48413         * posix/regex_internal.h (__attribute): Remove.
48414         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48415         (re_string_context_at): Likewise.
48416         (bitset_not): Use __attribute__ and mark function as possibly
48417         unused.
48418         (bitset_merge): Likewise.
48419         (bitset_mask): Likewise.
48420         (re_string_char_size_at): Likewise.
48421         (re_string_wchar_at): Likewise.
48422         (re_string_elem_size_at): Likewise.
48424 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48426         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48427         code.
48428         (cc32): Likewise.
48430         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48431         (__acr): Likewise.
48432         (__cpy): Likewise.
48433         (norm): Likewise.
48434         (denorm): Likewise.
48435         (__dbl_mp): Likewise.
48436         (add_magnitudes): Likewise.
48437         (sub_magnitudes): Likewise.
48438         (__mul): Likewise.
48439         (__inv): Likewise.
48441         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48442         style.
48444         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48445         style.
48447         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48448         code.
48450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48451         up changes with default code.
48452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48453         Likewise.
48455 2013-02-24  Allan McRae  <allan@archlinux.org>
48457         * manual/socket.texi (The Internet Namespace): Order menu items
48458         to match that in the file.
48460         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48461         node listing of the info page menu.
48463 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48465         [BZ #13550]
48466         * sysdeps/i386/bp-asm.h: Remove file.
48467         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48468         (PARMS): Do not use macros from bp-asm.h.
48469         (S1): Likewise.
48470         (S2): Likewise.
48471         (SIZE): Likewise.
48472         (__mpn_add_n): Do not use BP_SYM
48473         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48474         "bp-asm.h".
48475         (PARMS): Do not use macros from bp-asm.h.
48476         (S1): Likewise.
48477         (SIZE): Likewise.
48478         (__mpn_addmul_1): Do not use BP_SYM
48479         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48480         "bp-asm.h".
48481         (PARMS): Do not use macros from bp-asm.h.
48482         (SIGMSK): Likewise.
48483         (_setjmp): Likewise.  Do not use BP_SYM.
48484         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48485         "bp-asm.h".
48486         (PARMS): Do not use macros from bp-asm.h.
48487         (SIGMSK): Likewise.
48488         (setjmp): Likewise.  Do not use BP_SYM.
48489         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48490         "bp-asm.h".
48491         (PARMS): Do not use macros from bp-asm.h.
48492         (__frexp): Do not use BP_SYM.
48493         (frexp): Likewise.
48494         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48495         "bp-asm.h".
48496         (PARMS): Do not use macros from bp-asm.h.
48497         (__frexpf): Do not use BP_SYM.
48498         (frexpf): Likewise.
48499         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48500         "bp-asm.h".
48501         (PARMS): Do not use macros from bp-asm.h.
48502         (__frexpl): Do not use BP_SYM.
48503         (frexpl): Likewise.
48504         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48505         "bp-asm.h".
48506         (PARMS): Do not use macros from bp-asm.h.
48507         (__remquo): Do not use BP_SYM.
48508         (remquo): Likewise.
48509         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48510         "bp-asm.h".
48511         (PARMS): Do not use macros from bp-asm.h.
48512         (__remquof): Do not use BP_SYM.
48513         (remquof): Likewise.
48514         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48515         "bp-asm.h".
48516         (PARMS): Do not use macros from bp-asm.h.
48517         (__remquol): Do not use BP_SYM.
48518         (remquol): Likewise.
48519         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48520         "bp-asm.h".
48521         (PARMS): Do not use macros from bp-asm.h.
48522         (DEST): Likewise.
48523         (SRC): Likewise.
48524         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48525         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48526         "bp-asm.h".
48527         (PARMS): Do not use macros from bp-asm.h.
48528         (strlen): Do not use BP_SYM.
48529         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48530         "bp-asm.h".
48531         (PARMS): Do not use macros from bp-asm.h.
48532         (S1): Likewise.
48533         (S2): Likewise.
48534         (SIZE): Likewise.
48535         (__mpn_add_n): Do not use BP_SYM.
48536         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48537         "bp-asm.h".
48538         (PARMS): Do not use macros from bp-asm.h.
48539         (S1): Likewise.
48540         (SIZE): Likewise.
48541         (__mpn_addmul_1): Do not use BP_SYM.
48542         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48543         weak_alias.
48544         (bzero): Likewise.
48545         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48546         "bp-asm.h".
48547         (PARMS): Do not use macros from bp-asm.h.
48548         (S): Likewise.
48549         (SIZE): Likewise.
48550         (__mpn_lshift): Do not use BP_SYM.
48551         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48552         "bp-asm.h".
48553         (PARMS): Do not use macros from bp-asm.h.
48554         (DEST): Likewise.
48555         (SRC): Likewise.
48556         (LEN): Likewise.
48557         (memcpy): Likewise.  Do not use BP_SYM.
48558         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48559         libc_hidden_def and weak_alias.
48560         (mempcpy): Do not use BP_SYM in weak_alias.
48561         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48562         "bp-asm.h".
48563         (PARMS): Do not use macros from bp-asm.h.
48564         (DEST): Likewise.
48565         (LEN): Likewise.
48566         [!BZERO_P] (CHR): Likewise.
48567         (memset): Likewise.  Do not use BP_SYM.
48568         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48569         "bp-asm.h".
48570         (PARMS): Do not use macros from bp-asm.h.
48571         (S1): Likewise.
48572         (SIZE): Likewise.
48573         (__mpn_mul_1): Do not use BP_SYM.
48574         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48575         "bp-asm.h".
48576         (PARMS): Do not use macros from bp-asm.h.
48577         (S): Likewise.
48578         (SIZE): Likewise.
48579         (__mpn_rshift): Do not use BP_SYM.
48580         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48581         "bp-asm.h".
48582         (PARMS): Do not use macros from bp-asm.h.
48583         (STR): Likewise.
48584         (CHR): Likewise.
48585         (strchr): Likewise.  Do not use BP_SYM.
48586         (index): Do not use BP_SYM in weak_alias.
48587         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48588         "bp-asm.h".
48589         (PARMS): Do not use macros from bp-asm.h.
48590         (DEST): Likewise.
48591         (SRC): Likewise.
48592         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48593         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48594         "bp-asm.h".
48595         (PARMS): Do not use macros from bp-asm.h.
48596         (strlen): Do not use BP_SYM.
48597         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48598         "bp-asm.h".
48599         (PARMS): Do not use macros from bp-asm.h.
48600         (S1): Likewise.
48601         (S2): Likewise.
48602         (SIZE): Likewise.
48603         (__mpn_sub_n): Do not use BP_SYM.
48604         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48605         "bp-asm.h".
48606         (PARMS): Do not use macros from bp-asm.h.
48607         (S1): Likewise.
48608         (SIZE): Likewise.
48609         (__mpn_submul_1): Do not use BP_SYM.
48610         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48611         "bp-asm.h".
48612         (PARMS): Do not use macros from bp-asm.h.
48613         (S1): Likewise.
48614         (S2): Likewise.
48615         (SIZE): Likewise.
48616         (__mpn_add_n): Do not use BP_SYM.
48617         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48618         weak_alias.
48619         (bzero): Likewise.
48620         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48621         "bp-asm.h".
48622         (PARMS): Do not use macros from bp-asm.h.
48623         (BLK2): Likewise.
48624         (LEN): Likewise.
48625         (memcmp): Do not use BP_SYM.
48626         (bcmp): Do not use BP_SYM in weak_alias.
48627         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48628         "bp-asm.h".
48629         (PARMS): Do not use macros from bp-asm.h.
48630         (DEST): Likewise.
48631         (SRC): Likewise.
48632         (LEN): Likewise.
48633         (memcpy): Likewise.  Do not use BP_SYM.
48634         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48635         "bp-asm.h".
48636         (PARMS): Do not use macros from bp-asm.h.
48637         (DEST): Likewise.
48638         (SRC): Likewise.
48639         (LEN): Likewise.
48640         (memmove): Likewise.  Do not use BP_SYM.
48641         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48642         "bp-asm.h".
48643         (PARMS): Do not use macros from bp-asm.h.
48644         (DEST): Likewise.
48645         (SRC): Likewise.
48646         (LEN): Likewise.
48647         (__mempcpy): Likewise.  Do not use BP_SYM.
48648         (mempcpy): Do not use BP_SYM in weak_alias.
48649         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48650         "bp-asm.h".
48651         (PARMS): Do not use macros from bp-asm.h.
48652         (DEST): Likewise.
48653         (LEN): Likewise.
48654         [!BZERO_P] (CHR): Likewise.
48655         (memset): Likewise.  Do not use BP_SYM.
48656         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48657         "bp-asm.h".
48658         (PARMS): Do not use macros from bp-asm.h.
48659         (STR2): Likewise.
48660         (strcmp): Do not use BP_SYM.
48661         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48662         "bp-asm.h".
48663         (PARMS): Do not use macros from bp-asm.h.
48664         (STR): Likewise.
48665         (DELIM): Likewise.
48666         [USE_AS_STRTOK_R] (SAVE): Likewise.
48667         (FUNCTION): Likewise.  Do not use BP_SYM.
48668         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48669         aliases.
48670         (strtok_r): Likewise.
48671         (__GI___strtok_r): Likewise.
48672         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48673         (PARMS): Do not use macros from bp-asm.h.
48674         (S): Likewise.
48675         (SIZE): Likewise.
48676         (__mpn_lshift): Do not use BP_SYM.
48677         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48678         (PARMS): Do not use macros from bp-asm.h.
48679         (STR): Likewise.
48680         (CHR): Likewise.
48681         (__memchr): Do not use BP_SYM.
48682         (memchr): Do not use BP_SYM in weak_alias.
48683         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48684         (PARMS): Do not use macros from bp-asm.h.
48685         (BLK2): Likewise.
48686         (LEN): Likewise.
48687         (memcmp): Do not use BP_SYM.
48688         (bcmp): Do not use BP_SYM in weak_alias.
48689         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48690         (PARMS): Do not use macros from bp-asm.h.
48691         (S1): Likewise.
48692         (SIZE): Likewise.
48693         (__mpn_mul_1): Do not use BP_SYM.
48694         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48695         "bp-asm.h".
48696         (PARMS): Do not use macros from bp-asm.h.
48697         (STR): Likewise.
48698         (CHR): Likewise.
48699         (__rawmemchr): Do not use BP_SYM.
48700         (rawmemchr): Do not use BP_SYM in weak_alias.
48701         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48702         (PARMS): Do not use macros from bp-asm.h.
48703         (S): Likewise.
48704         (SIZE): Likewise.
48705         (__mpn_rshift): Do not use BP_SYM.
48706         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48707         (PARMS): Do not use macros from bp-asm.h.
48708         (SIGMSK): Likewise.
48709         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48710         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48711         (_start): Do not use BP_SYM.
48712         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48713         (PARMS): Do not use macros from bp-asm.h.
48714         (DEST): Likewise.
48715         (SRC): Likewise.
48716         (__stpcpy): Likewise.  Do not use BP_SYM.
48717         (stpcpy): Do not use BP_SYM in weak_alias.
48718         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48719         "bp-asm.h".
48720         (PARMS): Do not use macros from bp-asm.h.
48721         (DEST): Likewise.
48722         (SRC): Likewise.
48723         (LEN): Likewise.
48724         (__stpncpy): Likewise.  Do not use BP_SYM.
48725         (stpncpy): Do not use BP_SYM in weak_alias.
48726         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48727         (PARMS): Do not use macros from bp-asm.h.
48728         (STR): Likewise.
48729         (CHR): Likewise.
48730         (strchr): Likewise.  Do not use BP_SYM.
48731         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48732         "bp-asm.h".
48733         (PARMS): Do not use macros from bp-asm.h.
48734         (STR): Likewise.
48735         (CHR): Likewise.
48736         (__strchrnul): Likewise.  Do not use BP_SYM.
48737         (strchrnul): Do not use BP_SYM in weak_alias.
48738         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48739         "bp-asm.h".
48740         (PARMS): Do not use macros from bp-asm.h.
48741         (STOP): Likewise.
48742         (strcspn): Do not use BP_SYM.
48743         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48744         "bp-asm.h".
48745         (PARMS): Do not use macros from bp-asm.h.
48746         (STR): Likewise.
48747         (STOP): Likewise.
48748         (strpbrk): Likewise.  Do not use BP_SYM.
48749         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48750         "bp-asm.h".
48751         (PARMS): Do not use macros from bp-asm.h.
48752         (STR): Likewise.
48753         (CHR): Likewise.
48754         (strrchr): Likewise.  Do not use BP_SYM.
48755         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48756         (PARMS): Do not use macros from bp-asm.h.
48757         (SKIP): Likewise.
48758         (strspn): Do not use BP_SYM.
48759         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48760         (PARMS): Do not use macros from bp-asm.h.
48761         (STR): Likewise.
48762         (DELIM): Likewise.
48763         (SAVE): Likewise.
48764         (FUNCTION): Likewise.  Do not use BP_SYM.
48765         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
48766         aliases.
48767         (strtok_r): Likewise.
48768         (__GI___strtok_r): Likewise.
48769         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48770         (PARMS): Do not use macros from bp-asm.h.
48771         (S1): Likewise.
48772         (S2): Likewise.
48773         (SIZE): Likewise.
48774         (__mpn_sub_n): Do not use BP_SYM.
48775         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48776         "bp-asm.h".
48777         (PARMS): Do not use macros from bp-asm.h.
48778         (S1): Likewise.
48779         (SIZE): Likewise.
48780         (__mpn_submul_1): Do not use BP_SYM.
48781         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48782         <bp-sym.h>.
48783         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48784         and <bp-asm.h>.
48785         (PARMS): Do not use macros from bp-asm.h.
48786         (FLAGS): Likewise.
48787         (PTID): Likewise.
48788         (TLS): Likewise.
48789         (CTID): Likewise.
48790         (__clone): Do not use BP_SYM.
48791         (clone): Do not use BP_SYM in weak_alias.
48792         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48793         and <bp-asm.h>.
48794         (PARMS): Do not use macros from bp-asm.h.
48795         (LEN): Likewise.
48796         (__mmap64): Do not use BP_SYM.
48797         (mmap64): Do not use BP_SYM in weak_alias.
48798         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48799         <bp-sym.h> and <bp-asm.h>.
48800         (PARMS): Do not use macros from bp-asm.h.
48801         (__posix_fadvise64_l64): Do not use BP_SYM.
48802         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48803         (PARMS): Do not use macros from bp-asm.h.
48804         (NSOPS): Likewise.
48805         (semtimedop): Do not use BP_SYM.
48806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48807         and <bp-asm.h>.
48809 2013-02-21  Allan McRae  <allan@archlinux.org>
48811         * manual/message.texi (Charset conversion in gettext):
48812         Move @end statement to beginning of line.
48814 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48817         static.
48818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48819         Likewise.
48821         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48822         (denorm): Likewise.
48823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48826 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48828         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48829         tail-call to the resolved function if pltexit isn't needed.
48831 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48834         or Y being zero as being unlikely.
48835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48836         Likewise.
48838 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48840         * manual/nss.texi (System Databases and Name Service Switch):
48841         Remove frobnicate @pxref.
48843 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48845         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48846         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48848 2013-02-20  Petr Machata  <pmachata@redhat.com>
48850         * elf/elf.h (R_ARM_TARGET1): New macro.
48851         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48852         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48853         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48854         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48855         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48856         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48857         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48858         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48859         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48860         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48861         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48862         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48863         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48864         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48865         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48866         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48867         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48868         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48869         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48870         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48871         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48872         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48873         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48874         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48875         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48876         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48877         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48878         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48879         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48880         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48881         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48882         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48883         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48884         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48885         (R_ARM_THM_GOT_BREL12): Likewise.
48886         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48887         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48888         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48889         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48890         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48891         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48892         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48893         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48894         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48896 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48898         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48899         __attribute_used__ to __attribute__ ((unused)).
48901 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48903         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48904         powerpc mpa.c.
48905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48906         comment formatting.
48907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48909 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48911         [BZ #13550]
48912         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48913         Remove macro.
48914         (ENTER): Remove both macro definitions.
48915         (LEAVE): Likewise.
48916         (CHECK_BOUNDS_LOW): Likewise.
48917         (CHECK_BOUNDS_HIGH): Likewise.
48918         (CHECK_BOUNDS_BOTH): Likewise.
48919         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48920         (RETURN_BOUNDED_POINTER): Likewise.
48921         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48922         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48923         (POP_ERRNO_LOCATION_RETURN): Likewise.
48924         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48925         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48926         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48927         macros.
48928         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48929         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48930         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48931         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48932         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48933         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48934         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48935         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48936         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48937         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48938         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48939         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48940         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48941         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48942         removed macros.
48943         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48944         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48945         macros.
48946         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48947         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48948         * sysdeps/i386/i586/memset.S (memset): Likewise.
48949         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48950         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48951         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48952         macros.
48953         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48954         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48955         Change uses of L(2) to L(out).
48956         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48957         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48958         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48959         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48960         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48961         removed macros.
48962         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48963         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48964         macros.
48965         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48966         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48967         (RETURN): Do not use macro LEAVE.
48968         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48969         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48970         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48971         * sysdeps/i386/i686/memset.S (memset): Likewise.
48972         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48973         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48974         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48975         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48976         Likewise.
48977         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48978         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48979         L(1_2) and L(1_3) into L(1).
48980         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48981         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48982         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48983         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48984         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48985         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48986         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48987         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48988         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48989         macros.
48990         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48992         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48993         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48994         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48995         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48996         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48997         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48998         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48999         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49000         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49001         * sysdeps/i386/strspn.S (strspn): Likewise.
49002         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49003         conditional code.
49004         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49005         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49006         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49007         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49008         L(1_3) into L(1_1).
49009         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49010         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49011         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49012         macros.
49013         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49015 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49017         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49018         macro.
49020 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49022         * math/atest-exp.c (exp_mpn): Remove ROUND.
49023         * math/atest-exp2.c (exp_mpn): Likewise.
49024         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49026         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49027         * stdlib/tst-tls-atexit-lib.c: Likewise.
49028         * stdlib/tst-tls-atexit.c: Likewise.
49030 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49032         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49033         and __attribute_alloc_size__.
49035 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49037         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49038         __attribute_alloc_size__.
49039         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49040         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49042 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49044         * include/programs/xmalloc.h: New file.
49045         * catgets/gencat.c: Include it.
49046         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49047         * elf/pldd.c: Likewise.
49048         * iconv/iconv_charmap.c: Likewise.
49049         * iconv/iconvconfig.c: Likewise.
49050         * iconv/strtab.c: Likewise.
49051         * locale/programs/locale.c: Likewise.
49052         * locale/programs/localedef.h: Likewise.
49053         * locale/programs/simple-hash.c: Likewise.
49054         * nscd/nscd.h: Likewise.
49055         * nss/makedb.c: Likewise.
49056         * sysdeps/generic/ldconfig.h: Likewise.
49058 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49060         * Versions.def: Add GLIBC_2.18.
49061         * include/link.h (struct link_map): New member l_tls_dtor_count.
49062         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49063         (__call_tls_dtors): Likewise.
49064         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49065         __cxa_thread_atexit_impl.
49066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49067         Likewise.
49068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49069         Likewise.
49070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49071         Likewise.
49072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49073         Likewise.
49074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49076         Likewise.
49077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49078         Likewise.
49079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49081         Likewise.
49082         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49083         (tests): Add test case tst-tls-atexit.
49084         (modules-names): Add shared library for tst-tls-atexit.
49085         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49086         (GLIBC_PRIVATE): Add __call_tls_dtors.
49087         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49088         for libstdc++.
49089         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49090         * stdlib/tst-tls-atexit.c: New test case.
49091         * stdlib/tst-tls-atexit-lib.c: New test case.
49093         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49095         * elf/Versions (ld): Add _dl_find_dso_for_object.
49096         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49097         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49098         (dl_open_worker): Use _dl_find_dso_for_object.
49099         * elf/dl-sym.c (do_sym): Likewise.
49100         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49102 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49104         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49105         Syntactic changes only.
49106         (_dl_runtime_profile): Do a tail-call to the resolved function.
49108 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49110         [BZ #13550]
49111         * sysdeps/x86_64/bp-asm.h: Remove file.
49112         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49113         <bp-sym.h> and <bp-asm.h>.
49114         (__clone): Do not use BP_SYM.
49115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49116         <bp-sym.h> and <bp-asm.h>.
49117         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49118         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49119         "bp-asm.h".
49120         (_setjmp): Do not use BP_SYM.
49121         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49122         "bp-asm.h".
49123         (setjmp): Do not use BP_SYM.
49124         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49125         libc_hidden_def.
49126         (mempcpy): Do not use BP_SYM in weak_alias.
49127         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49128         "bp-asm.h".
49129         (strchr): Do not use BP_SYM.
49130         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49131         "bp-asm.h".
49132         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49133         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49134         (_start): Do not use BP_SYM.
49135         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49136         "bp-asm.h".
49137         (strcat): Do not use BP_SYM.
49138         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49139         "bp-asm.h".
49140         (STRCMP): Do not use BP_SYM.
49141         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49142         "bp-asm.h".
49143         (STRCPY): Do not use BP_SYM.
49144         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49145         "bp-asm.h".
49146         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49147         "bp-asm.h".
49148         (FUNCTION): Do not use BP_SYM.
49149         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49150         weak_alias.
49151         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49153 2013-02-17  Andreas Jaeger  <aj@suse.de>
49155         * time/Versions: Sort entries.
49156         * string/Versions: Likewise.
49157         * resolv/Versions: Likewise.
49158         * posix/Versions: Likewise.
49159         * iconv/Versions: Likewise.
49160         * elf/Versions: Likewise.
49161         * wcsmbs/Versions: Likewise.
49163 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49165         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49166         loop termination condition.
49168         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49169         variable to calculate EZ.
49170         (__sqr): Likewise.
49172         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49173         the lower precision input.
49175 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49177         [BZ #13550]
49178         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49179         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49180         (run-via-rtld-prefix): Do not handle %-bp tests.
49181         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49182         (all-object-suffixes): Remove .ob.
49183         (bppfx): Remove variable.
49184         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49185         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49186         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49187         [$(build-bounded) = yes] (libtype.ob): Likewise.
49188         * Makerules (elide-routines.ob): Remove variable.
49189         (do-tests-clean): Do not handle *-bp.out.
49190         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49191         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49192         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49193         (tests): Do not include $(tests-bp.out).
49194         (xtests): Do not include $(xtests-bp.out).
49195         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49196         [$(build-bounded) = yes] ($(addprefix
49197         $(objpfx),$(binaries-bounded))): Remove rule.
49198         ($(objpfx)%-bp.out): Remove rule.
49199         * config.make.in (build-bounded): Remove variable.
49200         * crypt/Makefile [$(build-bounded) = yes]
49201         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49202         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49203         append to variable.
49204         [$(build-bounded) = yes] (install-lib): Likewise.
49205         [$(build-bounded) = yes] (generated): Likewise.
49206         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49207         Remove rule.
49208         * intl/Makefile [$(build-bounded) = yes]
49209         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49210         * math/Makefile [$(build-bounded) = yes]
49211         ($(tests:%=$(objpfx)%-bp): Likewise.
49212         * misc/Makefile [$(build-bounded) = yes]
49213         ($(objpfx)tst-tsearch-bp): Likewise.
49214         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49215         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49216         Remove dependency.
49217         * string/Makefile (o-objects.ob): Remove variable.
49218         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49219         (CFLAGS-.ob): Remove variable.
49220         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49221         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49222         both definitions of variable.
49223         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49224         (ASFLAGS-.ob): Remove variable.
49226 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49228         [BZ #13550]
49229         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49230         Remove __BOUNDED_POINTERS__ from condition.
49231         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49232         * string/bits/string2.h [!__NO_STRING_INLINES &&
49233         !__BOUNDED_POINTERS__]: Likewise.
49234         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49235         Likewise.
49236         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49237         Remove conditional code.
49238         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49239         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49240         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49241         condition.
49243         [BZ #13550]
49244         * csu/libc-start.c: Do not include <bp-sym.h>.
49245         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49246         * elf/dl-open.c: Do not include <bp-sym.h>.
49247         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49248         * math/fegetenv.c: Do not include <bp-sym.h>.
49249         (fegetenv): Do not use BP_SYM in versioned symbols.
49250         * nptl/sysdeps/pthread/bits/libc-lockP.h
49251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49252         <bp-sym.h>.
49253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49254         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49256         (__pthread_mutex_destroy): Likewise.
49257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49258         (__pthread_mutex_lock): Likewise.
49259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49260         (__pthread_mutex_trylock): Likewise.
49261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49262         (__pthread_mutex_unlock): Likewise.
49263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49264         (__pthread_mutexattr_init): Likewise.
49265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49266         (__pthread_mutexattr_destroy): Likewise.
49267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49268         (__pthread_mutexattr_settype): Likewise.
49269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49270         (__pthread_rwlock_init): Likewise.
49271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49272         (__pthread_rwlock_destroy): Likewise.
49273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49274         (__pthread_rwlock_rdlock): Likewise.
49275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49276         (__pthread_rwlock_tryrdlock): Likewise.
49277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49278         (__pthread_rwlock_wrlock): Likewise.
49279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49280         (__pthread_rwlock_trywrlock): Likewise.
49281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49282         (__pthread_rwlock_unlock): Likewise.
49283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49284         (__pthread_key_create): Likewise.
49285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49286         (__pthread_setspecific): Likewise.
49287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49288         (__pthread_getspecific): Likewise.
49289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49290         Likewise.
49291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49292         (_pthread_cleanup_push_defer): Likewise.
49293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49294         (_pthread_cleanup_pop_restore): Likewise.
49295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49296         (pthread_setcancelstate): Likewise.
49297         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49298         <bp-sym.h>.
49299         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49300         (memchr): Do not use BP_SYM in weak_alias.
49301         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49302         (fegetenv): Do not use BP_SYM in versioned symbols.
49303         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49304         (fesetenv): Do not use BP_SYM in versioned symbols.
49305         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49306         (feupdateenv): Do not use BP_SYM in versioned symbols.
49307         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49308         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49309         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49310         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49311         (open64): Do not use BP_SYM in weak_alias.
49312         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49313         (fegetenv): Do not use BP_SYM in versioned symbols.
49314         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49315         (fesetenv): Do not use BP_SYM in versioned symbols.
49316         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49317         (feupdateenv): Do not use BP_SYM in versioned symbols.
49318         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49319         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49320         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49321         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49322         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49323         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49324         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49325         <bp-sym.h>.
49326         (__libc_start_main): Do not use BP_SYM.
49328 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49331         redundant return line.
49332         (norm): Likewise.
49333         (denorm): Likewise.
49334         (dbl_mp): Likewise.
49335         (sub_magnitudes): Likewise.
49336         (__add): Likewise.
49337         (__sub): Likewise.
49338         (__mul): Likewise.
49339         (__inv): Likewise.
49340         (__dvd): Likewise.
49341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49342         (norm): Likewise.
49343         (denorm): Likewise.
49344         (dbl_mp): Likewise.
49345         (sub_magnitudes): Likewise.
49346         (__add): Likewise.
49347         (__sub): Likewise.
49348         (__mul): Likewise.
49349         (__inv): Likewise.
49350         (__dvd): Likewise.
49352         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49353         instead of __mul.
49354         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49355         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49356         (cc32): Likewise.
49358         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49359         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49361         of __mul for squares.
49362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49363         function
49364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49365         Likewise.
49366         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49367         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49369 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49371         [BZ #13550]
49372         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49373         code.
49374         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49375         prototype or function definition.  Rename ubp_* variables and
49376         parameters.  Remove argv definitions conditional on
49377         [__BOUNDED_POINTERS__].
49378         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49379         * elf/dl-runtime.c (_dl_fixup): Likewise.
49380         * include/set-hooks.h (RUN_HOOK): Likewise.
49381         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49382         definition.
49383         * string/strcpy.c (strcpy): Do not use __unbounded.
49384         * sysdeps/generic/frame.h (struct layout): Likewise.
49385         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49386         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49387         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49388         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49389         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49390         (__backtrace): Likewise.
49391         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49392         use __ptrvalue.
49393         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49394         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49395         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49396         Likewise.
49397         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49398         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49399         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49400         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49401         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49402         Do not use __unbounded.
49403         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49404         Rename __unboundedrlimits parameter to rlimits in prototype.
49405         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49406         Do not use __unbounded.
49407         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49408         not use __ptrvalue.
49409         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49410         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49411         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49412         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49413         __ptrvalue or __unbounded.
49414         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49415         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49416         use __unbounded.
49417         (__new_msgctl): Do not use __ptrvalue.
49418         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49419         __unbounded.
49420         (__libc_msgrcv): Do not use __ptrvalue.
49421         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49422         startup_info): Do not use __unbounded.
49423         (__libc_start_main): Likewise.  Rename ubp_* variables and
49424         parameters.  Remove argv definitions conditional on
49425         [__BOUNDED_POINTERS__].
49426         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49427         __ptrvalue.
49428         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49429         use __unbounded.
49430         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49431         or __ptrvalue.
49432         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49433         use __unbounded.
49434         (__new_shmctl): Do not use __ptrvalue.
49435         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49436         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49437         Likewise.
49438         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49439         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49440         (__libc_sigaction): Likewise.
49441         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49442         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49443         Likewise.
49444         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49446 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49448         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49450         * string/mempcpy.c: Implement by calling memcpy.
49452 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49457         evaluation.
49459         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49460         values in the mantissa.
49462         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49463         minimize writes to Z.
49464         (sub_magnitudes): Simplify code a bit.
49466 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49468         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49469         from the message.  The linker prefixes all warnings with that already.
49471 2013-02-12  Andreas Schwab  <schwab@suse.de>
49473         [BZ #15078]
49474         * posix/regexec.c (extend_buffers): Add parameter min_len.
49475         (check_matching): Pass minimum needed length.
49476         (clean_state_log_if_needed): Likewise.
49477         (get_subexp): Likewise.
49478         * posix/Makefile (tests): Add bug-regex34.
49479         (bug-regex34-ENV): Define.
49480         * posix/bug-regex34.c: New file.
49482         [BZ #11561]
49483         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49484         elements compare against the byte sequence of it, not its name.
49485         * posix/Makefile (tests): Add bug-regex35.
49486         (bug-regex35-ENV): Define.
49487         * posix/bug-regex35.c: New file.
49489 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49491         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49492         comment.
49493         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49494         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49495         (CHECK_EOL): Add undef.
49497 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49499         * bits/stdlib-bsearch.h: New file.
49500         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49501         * stdlib/stdlib.h: Likewise.
49503 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49505         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49506         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49507         declaration.
49508         * manual/search.texi (Array Search Function): Add missing const in
49509         lfind prototype.
49510         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49511         declaration to use rlim_t.
49512         (Basic Scheduling Functions): Remove erroneous const from
49513         sched_getparam prototype.  Remove erroneous * from
49514         sched_get_priority_max and sched_get_priority_min prototypes.
49515         (Resource Usage): Fix summary @comment on vtimes to refer to
49516         sys/vtimes.h rather than vtimes.h.
49517         Add missing *s in vtimes prototype.
49518         (Limits on Resources): Fix ulimit prototype to return long int.
49519         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49520         prototypes to use long int rather than double.
49521         (BSD Random): Fix initstate and setstate to use char *, not void *.
49522         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49523         prototype to make second argument 'struct aiocb64 *const[]'.
49524         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49525         (Status of AIO Operations): Remove erroneous const in aio_return and
49526         aio_return64 prototypes.
49527         (Synchronizing I/O): Fix sync prototype to return void.
49528         * manual/startup.texi (Suboptions): Remove an erroneous const in
49529         getsubopt prototype.
49530         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49531         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49532         use size_t rather than int.
49533         (Scanning All Users): Likewise for getpwent_r.
49534         (Setting Groups): Add missing const to setgroups prototype.
49535         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49536         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49537         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49538         'const void *' rather than 'const char *'.
49539         (Host Address Functions): Likewise for inet_ntop.
49540         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49541         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49542         ssize_t for return value.
49543         (Sending Data): Likewise for send, sendto, sendmsg.
49544         (Socket Option Functions): Add a missing const in setsockopt prototype.
49545         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49546         use wchar_t for the argument.
49547         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49548         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49549         take no arguments.
49550         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49551         double/float/long double for second argument.
49552         Fix return types of significand, significandf, significandl.
49553         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49554         argument in fchmod prototype.
49555         (File Owner): Use uid_t and gid_t in fchown prototype.
49556         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49557         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49558         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49559         use 'const struct dirent **' as argument types to CMP function pointer
49560         argument.
49561         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49562         (File Times): Fix summary magic @comment for struct utimbuf and utime
49563         to refer to utime.h, not time.h.
49564         * manual/string.texi (Argz Functions): Add missing const in
49565         argz_extract and argz_next prototypes.
49566         (Finding Tokens in a String): Likewise for basename.
49567         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49568         (Copying and Concatenation): Fix typo in wmemmove prototype.
49569         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49570         (Signal Stack): Remove erroneous const in sigstack prototype.
49571         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49572         prototype.
49573         (Simple Calendar Time): Likewise for stime.
49574         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49575         prototype.
49576         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49577         say sys/sysctl.h instead.
49578         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49579         and vsyslog prototypes.
49581 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49583         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49584         Remove.
49586 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49588         * misc/sys/mman.h: Fix typo in mremap comment.
49590 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49592         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49593         the '\0' terminator.
49595 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49597         [BZ #13550]
49598         * debug/segfault.c: Don't include <bp-checks.h>.
49599         * sysdeps/generic/bp-checks.h: Remove file.
49600         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49601         (__GETDENTS): Don't use CHECK_N.
49602         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49603         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49604         (__getgroups): Don't use CHECK_N.
49605         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49606         (setgroups): Don't use CHECK_N.
49607         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49608         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49609         (__libc_msgrcv): Don't use CHECK_N.
49610         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49611         (__libc_msgsnd): Don't use CHECK_N.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49613         <bp-checks.h>.
49614         (__libc_pread): Don't use CHECK_N.
49615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49616         include <bp-checks.h>.
49617         (__libc_pread64): Don't use CHECK_N.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49619         include <bp-checks.h>.
49620         (__libc_pwrite): Don't use CHECK_N.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49622         include <bp-checks.h>.
49623         (__libc_pwrite64): Don't use CHECK_N.
49624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49625         <bp-checks.h>.
49626         (__libc_pread): Don't use CHECK_N.
49627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49628         include <bp-checks.h>.
49629         (__libc_pread64): Don't use CHECK_N.
49630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49631         include <bp-checks.h>.
49632         (__libc_pwrite): Don't use CHECK_N.
49633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49634         include <bp-checks.h>.
49635         (__libc_pwrite64): Don't use CHECK_N.
49636         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49637         (do_pread): Don't use CHECK_N.
49638         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49639         (do_pread64): Don't use CHECK_N.
49640         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49641         (do_pwrite): Don't use CHECK_N.
49642         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49643         (do_pwrite64): Don't use CHECK_N.
49644         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49645         (__libc_readv): Don't use CHECK_N.
49646         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49647         (semop): Don't use CHECK_N.
49648         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49649         <bp-checks.h>.
49650         (semtimedop): Don't use CHECK_N.
49651         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49652         (__libc_pread): Don't use CHECK_N.
49653         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49654         <bp-checks.h>.
49655         (__libc_pread64): Don't use CHECK_N.
49656         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49657         <bp-checks.h>.
49658         (__libc_pwrite): Don't use CHECK_N.
49659         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49660         <bp-checks.h>.
49661         (__libc_pwrite64): Don't use CHECK_N.
49662         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49663         <bp-checks.h>.
49664         (__libc_msgrcv): Don't use CHECK_N.
49665         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49666         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49667         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49668         (__libc_writev): Don't use CHECK_N.
49670 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49672         * string/strcpy.c: Removed unused variable.
49674         * Makeconfig (+sysdep-includes): Define with := rather than =.
49675         Use an existing include/ subdir of each sysdeps dir before it.
49677 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49679         * nscd/connection.c (register_traced_file): Comment function.
49680         [HAVE_INOTIFY] (union __inev): Define.
49681         [HAVE_INOTIFY] (inotify_check_files): New function.
49682         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49683         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49684         clear_db_cache.
49685         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49687 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49689         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49690         loaded if not already and that a failure is permanent.
49692 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49694         [BZ #15006]
49695         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49696         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49698 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49700         [BZ #13550]
49701         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49702         (CHECK_1_NULL_OK): Likewise.
49703         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49704         (__fxstat): Do not use CHECK_1.
49705         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49706         <bp-checks.h>.
49707         (___fxstat64): Do not use CHECK_1.
49708         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49709         <bp-checks.h>.
49710         (__fxstatat): Do not use CHECK_1.
49711         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49712         <bp-checks.h>.
49713         (__fxstatat64): Do not use CHECK_1.
49714         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49715         <bp-checks.h>.
49716         (__fxstat): Do not use CHECK_1.
49717         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49718         <bp-checks.h>.
49719         (__fxstatat): Do not use CHECK_1.
49720         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49721         <bp-checks.h>.
49722         (__getresgid): Do not use CHECK_1.
49723         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49724         <bp-checks.h>.
49725         (__getresuid): Do not use CHECK_1.
49726         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49727         <bp-checks.h>.
49728         (__lxstat): Do not use CHECK_1.
49729         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49730         <bp-checks.h>.
49731         (__old_msgctl): Do not use CHECK_1.
49732         (__new_msgctl): Likewise.
49733         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49734         <bp-checks.h>.
49735         (__new_setrlimit): Do not use CHECK_1.
49736         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49737         <bp-checks.h>.
49738         (__old_shmctl): Do not use CHECK_1.
49739         (__new_shmctl): Likewise.
49740         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49741         <bp-checks.h>.
49742         (__xstat): Do not use CHECK_1.
49743         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49744         (__lxstat): Do not use CHECK_1.
49745         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49746         <bp-checks.h>.
49747         (___lxstat64): Do not use CHECK_1.
49748         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49749         (__old_msgctl): Do not use CHECK_1.
49750         (__new_msgctl): Likewise.
49751         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49752         <bp-checks.h>.
49753         (__gettimeofday): Do not use CHECK_1.
49754         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49755         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49756         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49757         <bp-checks.h>.
49758         (__gettimeofday): Do not use CHECK_1.
49759         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49760         (__old_shmctl): Do not use CHECK_1_NULL_OK.
49761         (__new_shmctl): Do not use CHECK_1.
49762         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49763         <bp-checks.h>.
49764         (do_sigtimedwait): Do not use CHECK_1.
49765         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49766         <bp-checks.h>.
49767         (do_sigwaitinfo): Do not use CHECK_1.
49768         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49769         <bp-checks.h>.
49770         (msgctl): Do not use CHECK_1.
49771         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49772         <bp-checks.h>.
49773         (shmctl): Do not use CHECK_1.
49774         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49775         (ustat): Do not use CHECK_1.
49776         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49777         <bp-checks.h>.
49778         (__fxstat): Do not use CHECK_1.
49779         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49780         <bp-checks.h>.
49781         (__fxstatat): Do not use CHECK_1.
49782         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49783         <bp-checks.h>.
49784         (__lxstat): Do not use CHECK_1.
49785         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49786         <bp-checks.h>.
49787         (__xstat): Do not use CHECK_1.
49788         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49789         (__xstat): Do not use CHECK_1.
49790         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49791         (___xstat64): Do not use CHECK_1.
49793         [BZ #13550]
49794         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49795         definitions.
49796         (CHECK_BOUNDS_HIGH): Likewise.
49797         * string/strcpy.c: Do not include <bp-checks.h>.
49798         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49800 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49802         * nscd/nscd-client.h (__nscd_drop_map_ref):
49803         Add __attribute__ ((unused)).
49804         * nis/nss-nisplus.h (niserr2nss): Likewise.
49806         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49807         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49809         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49810         Remove inline keyword.
49811         * include/rounding-mode.h (round_away): Likewise.
49812         * libio/wfileops.c (adjust_wide_data): Likewise.
49813         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49814         (__m128i_strloadu_tolower): Likewise.
49815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49816         (__m128i_strloadu_tolower): Likewise.
49817         * time/mktime.c (ydhms_diff): Likewise.
49818         * locale/elem-hash.h (elem_hash): Likewise.
49819         * locale/setlocale.c (setdata): Likewise.
49820         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49821         (re_string_wchar_at): Likewise.
49822         (bitset_not, bitset_merge, bitset_mask): Likewise.
49823         [!(__GNUC__ > 3)] (inline): Remove macro.
49824         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49825         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49826         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49827         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49828         * string/memcmp.c (memcmp_bytes): Likewise.
49829         * locale/programs/locarchive.c (compute_hashval): Likewise.
49830         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49831         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49832         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49833         * nss/getent.c (print_rpc, print_protocols): Likewise.
49834         (print_passwd, print_group, print_aliases): Likewise.
49835         * nis/nss-nisplus.h (niserr2nss): Likewise.
49836         * nscd/connections.c (restart_p): Likewise.
49837         Change return type to bool.
49839 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49841         * Makeconfig (all-Depend-files): Add existing
49842         $(sorted-subdirs:=/Depend) files.
49843         (all-subdirs): Remove nss.
49844         * sysdeps/unix/inet/Subdirs: Add it here instead.
49845         * hesiod/Depend: New file.
49847         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49848         instead of calling alloca.
49850         * io/lseek.c (__lseek): Rename to __libc_lseek.
49851         Define __lseek as an alias.
49853         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49855 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49857         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49858         else clause and remove check for non-standard endianness.
49860 2013-02-04  David S. Miller  <davem@davemloft.net>
49862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49864 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49866         [BZ #13550]
49867         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49868         (__ubp_memchr): Remove prototype.
49869         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49870         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49871         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49872         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49873         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49874         Remove alias.
49875         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49876         (__ubp_memchr): Likewise.
49877         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49878         (__ubp_memchr): Likewise.
49879         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49880         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49881         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49882         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49883         CHECK_STRING.
49884         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49885         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49886         (__getcwd): Do not use CHECK_STRING.
49887         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49888         <bp-checks.h>.
49889         (__real_chown): Do not use CHECK_STRING.
49890         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49891         <bp-checks.h>.
49892         (fchownat): Do not use CHECK_STRING.
49893         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49894         CHECK_STRING.
49895         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49896         <bp-checks.h>.
49897         (__lchown): Do not use CHECK_STRING.
49898         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49899         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49900         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49901         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49903         include <bp-checks.h>.
49904         (truncate64): Do not use CHECK_STRING.
49905         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49906         <bp-checks.h>.
49907         (__real_chown): Do not use CHECK_STRING.
49908         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49909         <bp-checks.h>.
49910         (__lchown): Do not use CHECK_STRING.
49911         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49912         <bp-checks.h>.
49913         (__chown): Do not use CHECK_STRING.
49914         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49915         <bp-checks.h>.
49916         (truncate64): Do not use CHECK_STRING.
49917         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49918         Likewise.
49919         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49920         (__xmknod): Do not use CHECK_STRING.
49921         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49922         <bp-checks.h>.
49923         (__xmknodat): Do not use CHECK_STRING.
49924         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49925         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49927 2013-02-04  Andreas Schwab  <schwab@suse.de>
49929         [BZ #14142]
49930         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49931         * include/netdb.h: Likewise for h_errno.
49932         * elf/tst-stackguard1.c: Include <tls.h>.
49934 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49936         * elf/link.h (struct link_map): Extend the l_addr comment.
49937         * include/link.h (struct link_map): Likewise.
49939 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49941         [BZ #13550]
49942         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49943         (BOUNDED_1): Remove macro.
49944         * debug/backtrace.c: Don't include <bp-checks.h>.
49945         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49946         (__backtrace): Likewise.
49947         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49948         <bp-checks.h>.
49949         (__backtrace): Don't use BOUNDED_1.
49950         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49951         <bp-checks.h>.
49952         (__backtrace): Don't use BOUNDED_1.
49953         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49954         (__backtrace): Don't use BOUNDED_1.
49955         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49956         (shmat): Don't use BOUNDED_N.
49958 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49960         [BZ #13550]
49961         * sysdeps/generic/bp-start.h: Remove file.
49962         * csu/libc-start.c: Don't include <bp-start.h>.
49963         (LIBC_START_MAIN): Set up __environ directly instead of using
49964         INIT_ARGV_and_ENVIRON.
49965         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49966         <bp-start.h>.
49968         [BZ #13550]
49969         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49970         definitions.
49971         (CHECK_FCNTL): Likewise.
49972         (CHECK_N_PAGES): Likewise.
49974         [BZ #13550]
49975         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49976         definitions.
49977         (CHECK_SIGSET_NULL_OK): Likewise.
49978         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49979         <bp-checks.h>.
49980         (sigpending): Don't use CHECK_SIGSET.
49981         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49982         <bp-checks.h>.
49983         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49984         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49985         <bp-checks.h>.
49986         (do_sigsuspend): Don't use CHECK_SIGSET.
49987         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49988         use CHECK_SIGSET.
49989         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49990         (do_sigwait): Don't use CHECK_SIGSET.
49991         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49992         use CHECK_SIGSET.
49993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49994         include <bp-checks.h>.
49995         (sigpending): Don't use CHECK_SIGSET.
49996         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49997         include <bp-checks.h>.
49998         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49999         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50000         <bp-checks.h>.
50001         (sigpending): Don't use CHECK_SIGSET.
50002         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50003         <bp-checks.h>.
50004         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50006         [BZ #13550]
50007         * sysdeps/generic/bp-semctl.h: Remove file.
50008         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50009         <bp-checks.h> and <bp-semctl.h>.
50010         (__old_semctl): Don't use CHECK_SEMCTL.
50011         (__new_semctl): Likewise.
50012         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50013         and <bp-semctl.h>.
50014         (__old_semctl): Don't use CHECK_SEMCTL.
50015         (__new_semctl): Likewise.
50016         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50017         <bp-checks.h> and <bp-semctl.h>.
50018         (__old_semctl): Don't use CHECK_SEMCTL.
50019         (__new_semctl): Likewise.
50020         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50021         <bp-checks.h> and <bp-semctl.h>.
50022         (semctl): Don't use CHECK_SEMCTL.
50024         [BZ #13550]
50025         * Makerules (elide-bp-thunks): Remove variable.
50026         (elide-routines.oS): Don't use $(elide-bp-thunks).
50027         (elide-routines.os): Likewise.
50028         (elide-routines.o): Likewise.
50029         (elide-routines.op): Likewise.
50030         (elide-routines.og): Likewise.
50031         (objects): Don't use $(bp-thunks).
50032         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50033         include.
50034         (common-generated): Do not add s-proto-bp.d.
50035         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50036         (int): Likewise.
50037         (typ): Likewise.
50038         Do not generate makefile rules for bounded-pointer thunks.
50039         * sysdeps/generic/bp-thunks.h: Remove file.
50040         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50041         * sysdeps/unix/s-proto-bp.S: Likewise.
50043         [BZ #15062]
50044         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50045         parts of result separately when argument is not close to line from
50046         -i to i and one part of argument is small.
50047         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50048         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50049         * math/libm-test.inc (cacos_test): Add more tests.
50050         (casin_test): Likewise.
50051         (casinh_test): Likewise.
50052         * sysdeps/i386/fpu/libm-test-ulps: Update.
50053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50055 2013-01-31  David S. Miller  <davem@davemloft.net>
50057         * po/de.po: Update from translation team.
50059 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50061         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50063 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50065         * configure.in (_AC_PROG_CC_C89): New definition.
50066         * configure: Regenerate.
50068         * configure.in (AC_PROG_CPP): New definition.
50069         * configure: Regenerate.
50071 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50073         * debug/tst-backtrace.h: New file.
50074         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50075         (ret): Remove variable.
50076         (x): Likewise.
50077         (FAIL): Remove macro.
50078         (NO_INLINE): Likewise.
50079         (fn1): Use match function instead of strstr.
50080         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50081         (ret): Remove variable.
50082         (x): Likewise.
50083         (FAIL): Remove macro.
50084         (NO_INLINE): Likewise.
50085         (fn): Use match function instead of strstr.
50086         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50087         (ret): Remove variable.
50088         (x): Likewise.
50089         (FAIL): Remove macro.
50090         (NO_INLINE): Likewise.
50091         (handle_signal): Use match function instead of strstr.
50092         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50093         (ret): Remove variable.
50094         (x): Likewise.
50095         (FAIL): Remove macro.
50096         (NO_INLINE): Likewise.
50097         (handle_signal): Use match function instead of strstr.
50099 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50101         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50103 2013-01-23  David S. Miller  <davem@davemloft.net>
50105         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50106         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50107         argument of CAS if possible.
50108         * sysdeps/sparc/sparc64/bits/atomic.h
50109         (__arch_compare_and_exchange_val_32_acq): Likewise.
50110         (__arch_compare_and_exchange_val_64_acq): Likewise.
50112 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50114         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50115         * sysdeps/posix/ulimit.c: ... this.
50116         Include <limits.h>.
50117         * sysdeps/unix/bsd/ulimit.c: Remove file.
50119 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50121         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50122         (LDFLAGS-tst-array5): Likewise.
50124 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50126         [BZ #15036]
50127         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50128         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50129         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50130         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50132 2013-01-21  David S. Miller  <davem@davemloft.net>
50134         * sysdeps/sparc/backtrace.c: New file.
50135         * sysdeps/sparc/sparc32/backtrace.h: New file.
50136         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50137         * sysdeps/sparc/sparc64/backtrace.h: New file.
50138         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50139         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50140         -funwind-tables.
50142 2013-01-21  Andreas Schwab  <schwab@suse.de>
50144         [BZ #15020]
50145         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50146         closed its stdout.
50148 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50151         "mpa2.h".
50152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50154 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50155             Mark Mitchell  <mark@codesourcery.com>
50156             Tom de Vries  <tom@codesourcery.com>
50157             Paul Pluzhnikov  <ppluzhnikov@google.com>
50159         * debug/tst-backtrace2.c: New file.
50160         * debug/tst-backtrace3.c: Likewise.
50161         * debug/tst-backtrace4.c: Likewise.
50162         * debug/tst-backtrace5.c: Likewise.
50163         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50164         (CFLAGS-tst-backtrace3.c): Likewise.
50165         (CFLAGS-tst-backtrace4.c): Likewise.
50166         (CFLAGS-tst-backtrace5.c): Likewise.
50167         (LDFLAGS-tst-backtrace2): Likewise.
50168         (LDFLAGS-tst-backtrace3): Likewise.
50169         (LDFLAGS-tst-backtrace4): Likewise.
50170         (LDFLAGS-tst-backtrace5): Likewise.
50171         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50172         tst-backtrace4 and tst-backtrace5.
50174 2013-01-18  Anton Blanchard  <anton@samba.org>
50175             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50177         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50178         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50179         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50180         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50182         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50183         "+r" and remove output regs list as redundant.  Add explicit inline
50184         asm to specify register of return val to work around compiler codegen
50185         bug.  Remove (int) cast on return value.  Add return type parameter to
50186         use in macro so that this macro does not truncate return value for
50187         64-bit values.
50188         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50189         pass to INTERNAL_VSYSCALL_NCS.
50190         (INLINE_VSYSCALL): Add 'long int' as return type to
50191         INTERNAL_VSYSCALL_NCS macro invocation.
50192         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50193         INTERNAL_VSYSCALL_NCS macro invocation.
50194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50196 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50198         [BZ #14496]
50199         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50200         Fix application of SIMD FP exception mask.
50202         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50203         mp_no from a power of two.
50204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50205         __mpexp_twomm1.  Use __pow_mp.
50207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50208         multiplication.
50210 2013-01-17  David S. Miller  <davem@davemloft.net>
50212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50214 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50216         [BZ #15023]
50217         * include/complex.h: Condition contents on [!_COMPLEX_H].
50218         (__kernel_casinhf): New prototype.
50219         (__kernel_casinh): Likewise.
50220         (__kernel_casinhl): Likewise.
50221         * math/Makefile (libm_calls): Add k_casinh.
50222         * math/k_casinh.c: New file.
50223         * math/k_casinhf.c: Likewise.
50224         * math/k_casinhl.c: Likewise.
50225         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50226         finite nonzero arguments.
50227         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50228         finite nonzero arguments.
50229         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50230         finite nonzero arguments.
50231         * math/s_casinh.c: Do not include <float.h>.
50232         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50233         * math/s_casinhf.c: Do not include <float.h>.
50234         (__casinhf): Move code for finite nonzero arguments to
50235         k_casinhf.c.
50236         * math/s_casinhl.c: Do not include <float.h>.
50237         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50238         redefine.
50239         (__casinhl): Move code for finite nonzero arguments to
50240         k_casinhl.c.
50241         * math/libm-test.inc (cacos_test): Add more tests.
50242         * sysdeps/i386/fpu/libm-test-ulps: Update.
50243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50245 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50247         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50248         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50249         [!HAVE_MREMAP]: Remove [defined linux] case.
50250         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50252 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50254         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50256 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50258         * elf/elf.h (R_386_SIZE32): New relocation.
50259         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50260         R_386_SIZE32.
50261         (elf_machine_rela): Likewise.
50262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50263         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50265 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50267         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50268         (FP_FAST_FMA): Do not define.
50269         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50270         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50271         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50272         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50273         !_SOFT_FLOAT]: Likewise.
50274         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50275         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50276         value.
50277         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50278         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50279         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50281         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50282         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50283         file.
50285 2013-01-16  Andreas Schwab  <schwab@suse.de>
50287         [BZ #14327]
50288         * include/stdlib.h (__mktemp): Add declaration.
50289         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50290         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50292 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50294         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50295         definitions.
50296         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50297         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50298         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50299         definitions here.
50300         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50301         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50302         definitions.
50303         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50304         and ONE.
50305         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50306         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50307         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50308         definitions.
50309         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50310         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50311         definitions.
50312         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50314         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50316 2013-01-15  David S. Miller  <davem@davemloft.net>
50318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50319         trunc{,f} to libm-sysdep_routes.
50320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50322         file.
50323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50325         file.
50326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50327         file.
50328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50330         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50331         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50332         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50333         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50334         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50335         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50338         nearbyint{,f} to libm-sysdep_routes.
50339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50341         New file.
50342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50343         file.
50344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50345         New file.
50346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50347         file.
50348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50350         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50351         file.
50352         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50354         file.
50355         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50356         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50357         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50359         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50360         libc_feholdexcept and libc_fesetenv.
50362 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50364         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50366 2013-01-14  David S. Miller  <davem@davemloft.net>
50368         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50369         (SPARC_ASM_VIS2_IFUNC): Likewise.
50370         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50372         use of 'siam' instruction.
50373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50374         Likewise.
50375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50376         Likewise.
50377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50378         Likewise.
50379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50384         file.
50385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50386         file.
50387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50388         file.
50389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50390         file.
50391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50396         new VIS2 routines.
50397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50400         Likewise.
50401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50406         routines to libm-sysdep_routines.
50407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50410         fdim/fdimf to libm-sysdep_routines.
50411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50412         file.
50413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50415         file.
50416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50419         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50420         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50421         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50422         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50424 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50426         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50427         to optimize copies.
50429         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50434         local variable MPTWO.
50435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50436         Likewise.
50438 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50440         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50441         GLOB_NOESCAPE.
50443 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50445         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50447 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50449         * manual/pattern.texi (glob_t): Document gl_flags.
50450         (glob64_t): Likewise.
50452 2013-01-11  David S. Miller  <davem@davemloft.net>
50454         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50455         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50456         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50457         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50458         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50459         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50460         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50461         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50462         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50463         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50464         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50465         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50466         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50468         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50469         sparc V9 rather than using V8 code.
50470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50473         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50474         Move to...
50475         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50476         Here.
50478 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50480         [BZ #14941]
50481         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50482         not in the main loop.
50483         * configure: Regenerated.
50485 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50487         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50488         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50489         to just #else.
50490         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50491         [!__GLIBC_HAVE_LONG_LONG] case.
50492         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50493         condition to just #else.
50494         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50495         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50496         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50497         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50498         unconditional.
50499         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50500         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50501         #elif condition to just #else.
50502         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50503         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50504         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50505         #elif condition to just #else.
50507 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50509         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50510         (EF_MIPS_ARCH_64): Fix value.
50511         (EF_MIPS_ARCH_32R2): New.
50512         (EF_MIPS_ARCH_64R2): New.
50514 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50516         * Makeconfig (+link-pie-before-libc): New.
50517         (+link-pie-after-libc): Likewise.
50518         (+link-pie-tests): Likewise.
50519         (+link-pie): Rewritten.
50520         (link-before-libc): Remove $(config-LDFLAGS).
50521         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50522         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50523         (config-LDFLAGS): Renamed to ...
50524         (rtld-LDFLAGS): This.
50525         (rtld-tests-LDFLAGS): New macro.
50526         (link-libc-rpath-link): Likewise.
50527         (link-libc-tests-rpath-link): Likewise.
50528         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50529         (link-libc): Prepand $(link-libc-rpath-link).
50530         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50531         (test-program-prefix): New macro.
50532         (test-via-rtld-prefix): Likewise.
50533         (test-program-cmd): Likewise.
50534         (host-test-program-cmd): Likewise.
50535         * Makefile ($(common-objpfx)testrun.sh): Replace
50536         $(run-program-prefix) with $(test-program-prefix).
50537         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50538         $(rtld-LDFLAGS).
50539         ($(common-objpfx)shlib.lds): Likewise.
50540         (build-module-helper): Likewise.
50541         ($(common-objpfx)format.lds): Likewise.
50542         * Rules (binaries-pie-tests): New.
50543         (binaries-pie-notests): Likewise.
50544         (binaries-pie): Rewritten.
50545         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50546         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50547         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50548         (make-test-out): Replace $(host-built-program-cmd) with
50549         $(host-test-program-cmd).
50550         * config.make.in (build-hardcoded-path-in-tests): New variable.
50551         * configure.in (--enable-hardcoded-path-in-tests): New configure
50552         option.
50553         (hardcoded_path_in_tests): New AC_SUBST.
50554         * configure: Regenerated.
50555         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50556         $(built-program-cmd) with $(test-program-cmd).
50557         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50558         (test_program_cmd): This.
50559         * elf/Makefile ($(objpfx)order.out): Run test with
50560         $(test-program-prefix).
50561         ($(objpfx)order2.out): Likewise.
50562         ($(objpfx)tst-initorder.out): Likewise.
50563         ($(objpfx)tst-initorder2.out): Likewise.
50564         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50565         $(test-program-cmd).
50566         ($(objpfx)tst-array1-static.out): Likewise.
50567         ($(objpfx)tst-array2.out): Likewise.
50568         ($(objpfx)tst-array3.out): Likewise.
50569         ($(objpfx)tst-array4.out): Likewise.
50570         ($(objpfx)tst-array5.out): Likewise.
50571         ($(objpfx)tst-array5-static.out): Likewise.
50572         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50573         $(test-program-cmd).
50574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50575         $(run-program-prefix) with $(test-program-prefix).
50576         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50577         (test_program_prefix): This.
50578         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50579         $(run-program-prefix) with $(test-program-prefix).
50580         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50581         (test_program_prefix): This.
50582         * iconvdata/tst-tables.sh: Likewise.
50583         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50584         $(run-program-prefix) with $(test-program-prefix).
50585         ($(objpfx)tst-translit.out): Likewise.
50586         ($(objpfx)tst-gettext2.out): Likewise.
50587         ($(objpfx)tst-gettext4.out): Likewise.
50588         ($(objpfx)tst-gettext6.out): Likewise.
50589         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50590         (test_program_prefix): This.
50591         * intl/tst-gettext2.sh: Likewise.
50592         * intl/tst-gettext4.sh  Likewise.
50593         * intl/tst-gettext6.sh: Likewise.
50594         * intl/tst-translit.sh: Likewise.
50595         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50596         with $(test-program-cmd).
50597         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50598         $(run-program-prefix) with $(test-program-prefix).
50599         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50600         (test_program_prefix): This.
50601         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50602         $(run-program-prefix) with $(test-program-prefix).
50603         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50604         (test_program_prefix): This.
50605         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50606         * posix/Makefile ($(objpfx)globtest.out): Replace
50607         $(run-via-rtld-prefix) and $(test-wrapper) with
50608         $(test-program-prefix) and $(test-via-rtld-prefix).
50609         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50610         $(test-program-prefix).
50611         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50612         $(host-test-program-cmd).
50613         (tst-spawn-ARGS): Likewise.
50614         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50615         $(test-program-prefix).
50616         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50617         (test_via_rtld_prefix): This.
50618         (test_wrapper): Renamed to ...
50619         (test_program_prefix): This.
50620         (run_program_prefix): Replaced by test_program_prefix.
50621         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50622         (test_program_prefix): This.
50623         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50624         with $(host-test-program-cmd).
50625         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50626         $(run-program-prefix) with $(test-program-prefix).
50627         ($(objpfx)tst-printf.out): Likewise.
50628         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50629         $(test-program-cmd).
50630         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50631         (test_program_prefix): This.
50632         * stdio-common/tst-unbputc.sh: Likewise.
50633         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50634         $(run-program-prefix) with $(test-program-prefix).
50635         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50636         (test_program_prefix): This.
50637         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50638         $(built-program-cmd) with $(test-program-cmd).
50640 2013-01-11  Andreas Jaeger  <aj@suse.de>
50642         [BZ #15003]
50643         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50644         value. Sync with Linux 3.7.
50646 2013-01-10  David S. Miller  <davem@davemloft.net>
50648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50649         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50650         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50652 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50654         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50655         never set.
50656         * configure: Regenerated.
50658 2013-01-10  David S. Miller  <davem@davemloft.net>
50660         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50661         sparc V9 rather than using V8 code.
50662         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50663         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50665 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50667         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50668         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50669         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50670         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50671         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50672         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50673         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50674         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50675         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50676         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50677         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50678         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50679         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50680         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50681         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50682         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50683         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50684         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50685         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50686         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50687         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50688         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50689         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50690         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50691         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50692         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50693         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50695 2013-01-10  David S. Miller  <davem@davemloft.net>
50697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50699 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50701         * posix/Makefile (tests-static): New variable.
50702         (tests): Add $(tests-static).
50703         (tst-exec-static-ARGS): New variable.
50704         (tst-spawn-static-ARGS): Likewise.
50705         * posix/tst-exec-static.c: New file.
50706         * posix/tst-spawn-static.c: Likewise.
50707         * posix/tst-exec.c: Support run directly.
50708         * posix/tst-spawn.c: Likewise.
50710 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50712         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50713         long.
50714         * math/bits/mathcalls.h (llrint): Likewise.
50715         (llround): Likewise.
50716         * stdlib/stdlib.h (struct drand48_data): Likewise.
50717         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50718         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50719         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50720         Likewise.
50721         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50722         Likewise.
50723         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50724         (elf_greg_t): Likewise.
50725         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50726         (__jmp_buf): Likewise.
50727         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50728         definitions.
50729         (llrint): Likewise, for all definitions.
50730         (llrintl): Likewise.
50732         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50733         Remove [__GNUC__] condition.
50734         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50735         condition to just [__USE_ISOC99].
50736         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50738 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50740         [BZ #14200]
50741         * sysdeps/unix/sysv/linux/x86/bits/environments.h
50742         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50743         defined.
50744         (_POSIX_V6_ILP32_OFF32): Likewise.
50745         (_XBS5_ILP32_OFF32): Likewise.
50746         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50747         (__ILP32_OFFBIG_LDFLAGS): Likewise.
50749 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50751         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50754         doubles __mpexp_twomm1.  Adjust usage.
50755         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50756         Remove.
50758 2013-01-10  Andreas Schwab  <schwab@suse.de>
50760         [BZ #14964]
50761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50762         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50764 2013-01-09  David S. Miller  <davem@davemloft.net>
50766         [BZ #15003]
50767         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50768         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50769         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50770         (TCP_FASTOPEN): Define.
50771         (tcp_repair_opt): New structure.
50772         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50773         enum values.
50774         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50775         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50776         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50777         (tcp_cookie_transactions): New structure.
50779 2013-01-09  Anton Blanchard  <anton@samba.org>
50781         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50782         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50786 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50788         * include/features.h (__USE_ANSI): Remove.
50790 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50792         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50794         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50796 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50798         * sysdeps/s390/fpu/libm-test-ulps: Update.
50800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50802         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50803         (__acr): Likewise.
50804         (__cpy): Likewise.
50805         (norm): Likewise.
50806         (denorm): Likewise.
50807         (__mp_dbl): Likewise.
50808         (__dbl_mp): Likewise.
50809         (add_magnitudes): Likewise.
50810         (sub_magnitudes): Likewise.
50811         (__add): Likewise.
50812         (__sub): Likewise.
50813         (__mul): Likewise.
50814         (__inv): Likewise.
50815         (__dvd): Likewise.
50816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50817         (__acr): Likewise.
50818         (__cpy): Likewise.
50819         (norm): Likewise.
50820         (denorm): Likewise.
50821         (__mp_dbl): Likewise.
50822         (__dbl_mp): Likewise.
50823         (add_magnitudes): Likewise.
50824         (sub_magnitudes): Likewise.
50825         (__add): Likewise.
50826         (__sub): Likewise.
50827         (__mul): Likewise.
50828         (__inv): Likewise.
50829         (__dvd): Likewise.
50830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50831         (__acr): Likewise.
50832         (__cpy): Likewise.
50833         (norm): Likewise.
50834         (denorm): Likewise.
50835         (__mp_dbl): Likewise.
50836         (__dbl_mp): Likewise.
50837         (add_magnitudes): Likewise.
50838         (sub_magnitudes): Likewise.
50839         (__add): Likewise.
50840         (__sub): Likewise.
50841         (__mul): Likewise.
50842         (__inv): Likewise.
50843         (__dvd): Likewise.
50845 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50847         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50848         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50849         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50850         2 && __USE_EXTERN_INLINES]: Likewise.
50852 2013-01-08  Andreas Jaeger  <aj@suse.de>
50854         [BZ# 14985]
50855         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50856         Remove.
50857         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50858         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50860 2013-01-07  Anton Blanchard  <anton@samba.org>
50862         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50863         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50864         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50866         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50867         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50868         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50869         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50872         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50873         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50875         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50877         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50878         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50880         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50882         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50883         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50884         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50885         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50886         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50888         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50889         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50890         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50892         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50894         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50895         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50897         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50898         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50901         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50902         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50904         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50906 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50908         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50909         (__MALLOC_PMT): Likewise.
50910         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50911         [__GNUC__], only on [_LIBC].
50912         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50913         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50914         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50915         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50916         forward declaration.
50917         (realloc_hook_ini): Likewise.
50918         (memalign_hook_ini): Likewise.
50919         (__libc_memalign): Do not use __MALLOC_PMT in variable
50920         declaration.
50921         (__libc_valloc): Likewise.
50922         (__libc_pvalloc): Likewise.
50923         (__libc_calloc): Likewise.
50924         (__posix_memalign): Likewise.
50926         [BZ #14996]
50927         * math/s_casinh.c: Include <float.h>.
50928         (__casinh): Do not do computation with squaring and square root
50929         for large arguments.
50930         * math/s_casinhf.c: Include <float.h>.
50931         (__casinhf): Do not do computation with squaring and square root
50932         for large arguments.
50933         * math/s_casinhl.c: Include <float.h>.
50934         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50935         (__casinhl): Do not do computation with squaring and square root
50936         for large arguments.
50937         * math/libm-test.inc (casin_test): Add more tests.
50938         (casinh_test): Likewise.
50939         * sysdeps/i386/fpu/libm-test-ulps: Update.
50940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50942 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50944         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50945         (__x86_64_raw_data_cache_size): Likewise.
50946         (__x86_64_data_cache_size_half): Likewise.
50947         (__x86_64_raw_data_cache_size_half): Likewise.
50948         (__x86_64_shared_cache_size): Likewise.
50949         (__x86_64_raw_shared_cache_size): Likewise.
50950         (__x86_64_shared_cache_size_half): Likewise.
50951         (__x86_64_raw_shared_cache_size_half): Likewise.
50952         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50953         to ...
50954         (__x86_data_cache_size): This.
50955         (__x86_64_raw_data_cache_size): Renamed to ...
50956         (__x86_raw_data_cache_size): This.
50957         (__x86_64_data_cache_size_half): Renamed to ...
50958         (__x86_data_cache_size_half): This.
50959         (__x86_64_raw_data_cache_size_half): Renamed to ...
50960         (__x86_raw_data_cache_size_half): This.
50961         (__x86_64_shared_cache_size): Renamed to ...
50962         (__x86_shared_cache_size): This.
50963         (__x86_64_raw_shared_cache_size): Renamed to ...
50964         (__x86_raw_shared_cache_size): This.
50965         (__x86_64_shared_cache_size_half): Renamed to ...
50966         (__x86_shared_cache_size_half): This.
50967         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50968         (__x86_raw_shared_cache_size_half): This.
50969         * sysdeps/x86_64/memcpy.S: Updated.
50970         * sysdeps/x86_64/memset.S: Likewise.
50971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50975 2013-01-04  David S. Miller  <davem@davemloft.net>
50977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50979 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50981         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50982         1 to avoid redefinition warning.
50983         (__USE_GNU): Don't define.
50984         (init_signaling_nan): Protoize.
50986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50988 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50990         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50992         (__cpymn): Likewise.
50993         (norm): Remove commented code.
50994         (denorm): Likewise.
50995         (__mp_dbl): Likewise.
50996         (__inv): Likewise.
50997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50998         (__cpymn): Likewise.
50999         (norm): Remove commented code.
51000         (denorm): Likewise.
51001         (__mp_dbl): Likewise.
51002         (__inv): Likewise.
51004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51005         mp_no value for 1.0 and 2.0.
51006         (norm): Use RADIXI instead of radixi.d.
51007         (denorm): Likewise.
51008         (__mul): Use 0.0 instead of zero.d.
51009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51010         mp_no value for 1.0 and 2.0.
51011         (norm): Use RADIXI instead of radixi.d.
51012         (denorm): Likewise.
51013         (__mul): Use 0.0 instead of zero.d.
51015 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51017         [BZ #14994]
51018         * math/s_casinh.c (__casinh): Reduce finite argument to first
51019         quadrant then set signs of results at the end.
51020         * math/s_casinhf.c (__casinhf): Likewise.
51021         * math/s_casinhl.c (__casinhl): Likewise.
51022         * math/libm-test.inc (casin_test): Add more tests.
51023         (casinh_test): Likewise.
51024         * sysdeps/i386/fpu/libm-test-ulps: Update.
51025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51027 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51029         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51031         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51033         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51034         declarations.
51035         (denorm): Likewise.
51036         (__mp_dbl): Likewise.
51037         (__inv): Likewise.
51039         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51040         and adjust the header comment.
51042         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51043         variable name from declaration.
51045 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51048         Initialize COMMON_CPUID_INDEX_7 element.
51049         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51050         (CPUID_RTM): Likewise.
51051         (HAS_RTM): Likewise.
51052         (COMMON_CPUID_INDEX_7): New enum.
51054 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51056         [BZ #14981]
51057         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51058         size is zero, record memory as freed.
51060 2013-01-03  Andreas Jaeger  <aj@suse.de>
51062         * po/ia.po: Add new Interlingua translation.
51064 2012-01-03  Allan McRae  <allan@archlinux.org>
51066         * locale/programs/localedef.c: Fix description of '--posix' flag.
51068 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51070         * NEWS: Update dates in second copyright notice.
51071         * README: Update copyright dates in example.
51072         * manual/libc.texinfo: Update copyright dates.
51073         * scripts/test-installation.pl: Update copyright date in --version
51074         output.
51076         * hurd/ctty-input.c: Fix copyright notice formatting.
51077         * hurd/ctty-output.c: Likewise.
51078         * hurd/dtable.c: Likewise.
51079         * hurd/hurd-raise.c: Likewise.
51080         * hurd/hurdprio.c: Likewise.
51081         * hurd/msgportdemux.c: Likewise.
51082         * misc/sys/file.h: Likewise.
51083         * misc/sys/ioctl.h: Likewise.
51084         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51085         * sysdeps/mach/hurd/chdir.c: Likewise.
51086         * sysdeps/mach/hurd/fchdir.c: Likewise.
51087         * sysdeps/mach/hurd/rename.c: Likewise.
51088         * sysdeps/mach/hurd/rmdir.c: Likewise.
51089         * sysdeps/mach/hurd/seekdir.c: Likewise.
51090         * sysdeps/mach/hurd/setsid.c: Likewise.
51091         * sysdeps/posix/wait3.c: Likewise.
51093         * All files with FSF copyright notices: Update copyright dates
51094         using scripts/update-copyrights.
51095         * intl/plural.c: Regenerated.
51096         * locale/programs/charmap-kw.h: Likewise.
51097         * locale/programs/locfile-kw.h: Likewise.
51099 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51101         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51102         four values.
51104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51105         calculation loop and add branch prediction.
51107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51108         check access beyond bounds of m1np.
51110         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51111         MPTWO.
51112         (__inv): Remove local variable MPTWO to use the global
51113         constant.
51114         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51115         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51116         variable MPTWO.
51117         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51118         MP3HALFS static const.
51120 2013-01-01  David S. Miller  <davem@davemloft.net>
51122         * po/ca.po: Update from translation team.
51124 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51126         * scripts/update-copyrights: New file.
51127         * Makeconfig: Reformat copyright notice.
51128         * ctype/ctype.h: Likewise.
51129         * debug/swprintf_chk.c: Likewise.
51130         * elf/dl-cache.c: Likewise.
51131         * elf/dl-debug.c: Likewise.
51132         * elf/dl-object.c: Likewise.
51133         * grp/initgroups.c: Likewise.
51134         * hurd/Makefile: Likewise.
51135         * hurd/hurd/signal.h: Likewise.
51136         * hurd/hurdfault.c: Likewise.
51137         * hurd/hurdioctl.c: Likewise.
51138         * hurd/hurdlookup.c: Likewise.
51139         * hurd/intr-msg.c: Likewise.
51140         * iconv/gconv_open.c: Likewise.
51141         * libio/swprintf.c: Likewise.
51142         * locale/lc-ctype.c: Likewise.
51143         * locale/nl_langinfo.c: Likewise.
51144         * mach/Machrules: Likewise.
51145         * mach/Makefile: Likewise.
51146         * malloc/obstack.h: Likewise.
51147         * manual/Makefile: Likewise.
51148         * manual/tsort.awk: Likewise.
51149         * misc/bits/stab.def: Likewise.
51150         * nis/nis_print_group_entry.c: Likewise.
51151         * nis/nis_table.c: Likewise.
51152         * nis/nss_compat/compat-pwd.c: Likewise.
51153         * nis/nss_compat/compat-spwd.c: Likewise.
51154         * po/Makefile: Likewise.
51155         * posix/fnmatch.c: Likewise.
51156         * posix/regex.h: Likewise.
51157         * resolv/Makefile: Likewise.
51158         * resolv/nss_dns/dns-network.c: Likewise.
51159         * resolv/res_hconf.c: Likewise.
51160         * scripts/gen-sorted.awk: Likewise.
51161         * soft-fp/soft-fp.h: Likewise.
51162         * stdio-common/printf.h: Likewise.
51163         * stdlib/monetary.h: Likewise.
51164         * stdlib/random.c: Likewise.
51165         * stdlib/random_r.c: Likewise.
51166         * sysdeps/generic/Makefile: Likewise.
51167         * sysdeps/gnu/Makefile: Likewise.
51168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51178         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51179         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51180         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51181         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51182         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51184         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51185         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51191         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51192         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51193         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51194         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51195         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51196         * sysdeps/mach/hurd/errnos.awk: Likewise.
51197         * sysdeps/mach/hurd/fork.c: Likewise.
51198         * sysdeps/mach/hurd/getcwd.c: Likewise.
51199         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51200         * sysdeps/mach/hurd/mmap.c: Likewise.
51201         * sysdeps/mach/hurd/utimes.c: Likewise.
51202         * sysdeps/mach/hurd/xmknod.c: Likewise.
51203         * sysdeps/posix/profil.c: Likewise.
51204         * sysdeps/posix/readdir_r.c: Likewise.
51205         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51206         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51207         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51208         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51210         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51211         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51212         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51214         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51216         * sysdeps/pthread/lio_listio.c: Likewise.
51217         * sysdeps/sparc/dl-procinfo.h: Likewise.
51218         * sysdeps/unix/i386/sysdep.S: Likewise.
51219         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51220         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51221         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51222         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51224         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51225         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51226         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51227         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51228         * sysdeps/wordsize-32/divdi3.c: Likewise.
51229         * time/sys/time.h: Likewise.
51230         * wcsmbs/Makefile: Likewise.
51232 2013-01-01  David S. Miller  <davem@davemloft.net>
51234         * po/fr.po: Update from translation team.
51236         * catgets/gencat.c: Update copyright year.
51237         * csu/version.c: Likewise.
51238         * debug/catchsegv.sh: Likewise.
51239         * debug/pcprofiledump.c: Likewise.
51240         * debug/xtrace.sh: Likewise.
51241         * elf/ldconfig.c: Likewise.
51242         * elf/ldd.bash.in: Likewise.
51243         * elf/pldd.c: Likewise.
51244         * elf/sotruss.ksh: Likewise.
51245         * elf/sprof.c: Likewise.
51246         * iconv/iconv_prog.c: Likewise.
51247         * iconv/iconvconfig.c: Likewise.
51248         * locale/programs/locale.c: Likewise.
51249         * locale/programs/localedef.c: Likewise.
51250         * login/programs/pt_chown.c: Likewise.
51251         * malloc/memusage.sh: Likewise.
51252         * malloc/memusagestat.c: Likewise.
51253         * malloc/mtrace.pl: Likewise.
51254         * nscd/nscd.c: Likewise.
51255         * nss/getent.c: Likewise.
51256         * nss/makedb.c: Likewise.
51257         * posix/getconf.c: Likewise.
51259 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51261         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51262         numbers.
51264 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51266         * math/bits/mathcalls.h (modf): Use __nonnull.
51268 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51270         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51271         (split): Use macro CN instead of the bare value.
51272         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51273         could be used.
51274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51275         instead of the bare value.
51276         (power1): Likewise.
51278 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51281         __ATAN_TWOM.
51282         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51284         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51285         their values.
51286         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51287         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51288         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51289         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51291 2012-12-28  Andreas Jaeger  <aj@suse.de>
51293         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51294         values are from Linux 3.7.
51296         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51297         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51299 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51301         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51302         TRUE case.
51304         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51305         (norm): Likewise.
51306         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51307         variables with preprocessor constants.
51308         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51309         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51312 2012-12-27  Bruno Haible  <bruno@clisp.org>
51314         [BZ #14317]
51315         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51316         only if needed.
51318 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51321         and use variable directly.
51322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51324         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51325         MPONE.
51326         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51328         variable MPONE.
51329         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51331         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51332         include directive.  Remove local variable MPONE.
51333         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51334         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51337 2012-12-25  David S. Miller  <davem@davemloft.net>
51339         * version.h (RELEASE): Set to "development".
51340         (VERSION): Set to "2.17.90".
51341         * NEWS: Add 2.18 section.
51343 2012-12-21  David S. Miller  <davem@davemloft.net>
51345         * po/hr.po: Update from translation team.
51347 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51349         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51351 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51353         * NEWS:  Mention new memcpy for MIPS.
51355 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51357         * manual/contrib.texi (Contributors): Spelling correction.
51359 2012-12-15  David S. Miller  <davem@davemloft.net>
51361         * po/ru.po: Update from translation team.
51363 2012-12-13  David S. Miller  <davem@davemloft.net>
51365         * NEWS: Mention IFUNC testsuite enhancements.
51367         * po/pl.po: Update from translation team.
51368         * po/bg.po: Likewise.
51370         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51371         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51373 2012-12-11  David S. Miller  <davem@davemloft.net>
51375         * po/sv.po: Update from translation team.
51377         * po/vi.po: Update from translation team.
51379         * po/cs.po: Update from translation team.
51381         * po/de.po: Update from translation team.
51382         * po/eo.po: Likewise.
51383         * po/nl.po: Likewise.
51385 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51387         [BZ #14246]
51388         * manual/argp.texi (Argp Helper Functions): Move node to follow
51389         Argp Parsing State.
51391         [BZ #14872]
51392         * manual/conf.texi (Limits on File System Capacity): Mention if
51393         terminating null is included in the max size.
51395 2012-12-10  Andreas Jaeger  <aj@suse.de>
51397         * po/cs.po: Update from translation team.
51399 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51401         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51402         void pointer and cast to uintptr_t.
51403         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51404         path.
51405         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51406         * sysdeps/s390/s390-64/memset.S: Likewise.
51408 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51410         [BZ #14833]
51411         * menual/message.texi (Message Translation): Fix typos.
51412         (Helper programs for gettext): Likewise.
51414 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51416         [BZ #14898]
51417         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51418         Change to -1.
51420 2012-12-07  David S. Miller  <davem@davemloft.net>
51422         * po/libc.pot: Update.
51424 2012-12-07  Richard Henderson  <rth@redhat.com>
51426         [BZ #10114]
51427         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51428         normal/normal case to before the switch.
51429         (_FP_DIV): Likewise.
51431 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51432             Mike Frysinger  <vapier@gentoo.org>
51434         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51435         check for __NR_fadvise64_64.
51437 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51439         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51440         0, not just to plain "0" as a statement.
51441         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51442         with cw.
51444 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51446         * NEWS: Use sourceware.org in Bugzilla URL.
51448 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51451         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51453         * stdio-common/tst-put-error.c (do_test): Add newline to the
51454         padded test to ensure flush.
51456 2012-12-05  Jeff Law  <law@redhat.com>
51458         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51460 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51462         * README: Don't refer to ports add-on as distributed separately.
51463         Mention AArch64 in list of systems supported in the ports add-on.
51465         * LICENSES: Add more non-FSF copyright and license notices.
51467         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51468         ((unused)).
51470         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51472         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51473         10000 as width of padded output.
51475 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51477         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51479         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51480         variable LX with __attribute__ ((unused)).
51481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51482         Likewise.
51483         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51486         with __attribute__ ((unused)).
51488 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51490         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51494         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51495         (CFLAGS-nldbl-acos.c): New variable.
51496         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51497         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51498         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51499         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51500         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51501         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51502         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51503         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51504         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51505         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51506         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51507         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51508         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51509         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51510         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51511         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51512         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51513         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51514         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51515         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51516         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51517         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51518         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51519         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51520         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51521         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51522         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51523         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51524         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51525         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51526         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51527         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51528         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51529         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51530         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51531         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51532         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51533         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51534         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51535         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51536         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51537         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51538         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51539         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51540         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51541         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51542         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51543         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51544         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51545         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51546         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51547         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51548         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51549         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51550         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51551         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51552         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51553         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51554         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51555         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51556         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51557         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51558         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51559         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51560         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51561         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51562         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51563         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51564         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51565         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51566         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51567         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51568         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51569         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51570         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51571         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51572         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51573         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51574         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51575         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51576         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51577         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51578         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51579         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51580         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51581         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51582         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51583         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51584         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51585         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51586         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51587         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51588         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51589         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51590         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51591         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51592         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51595         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51597         [BZ #14914]
51598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51599         whole low double instead of just low 47 bits when splitting values
51600         into two parts.
51602 2012-12-03  Allan McRae  <allan@archlinux.org>
51604         * manual/stdio.texi (Predefined Printf Handlers): Remove
51605         @hsep and @vsep usage.
51607 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51609         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51610         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51612 2012-12-03  Jeff Law  <law@redhat.com>
51614         * time/sys/time.h (settimeofday): Do not mark TV argument
51615         as __nonnull.
51617 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51619         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51620         when currently writing and seek to current position when not.
51621         * libio/Makefile (tests): Remove bug-fclose1.
51622         * libio/bug-fclose1.c: Delete.
51624 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51626         * manual/arith.texi (feenableexcept): Fix typo.
51627         (fedisableexcept): Likewise.
51629 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51631         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51632         second, differently-typed declaration, rather than a cast.
51634 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51636         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51637         * include/rpc/svc.h: ... here.
51639 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51641         [BZ #13013]
51642         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51643         depending n and resplen2 to catch cases where answer
51644         equals answerp2.
51646 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51649         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51651 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51653         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51655 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51657         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51659 2012-11-28  Jeff Law  <law@redhat.com>
51661         [BZ #13761]
51662         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51663         dataset_temporary.  Track alloca usage into alloca_used.
51664         If dataset is large allocate and release it via malloc/free.
51666 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51668         [BZ #14197]
51669         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51671 2012-11-28  David S. Miller  <davem@davemloft.net>
51673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51675 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51677         [BZ #14803]
51678         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51679         of pi/2 rounded to nearest to 64 bits.
51680         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51681         nearest to 64 bits.
51682         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51683         bits.
51685 2012-11-28  Jeff Law <law@redhat.com>
51686             Martin Osvald <mosvald@redhat.com>
51688         [BZ #14889]
51689         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51690         * sunrpc/svc.c: Include time.h.
51691         (__svc_accept_failed): New function.
51692         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51693         any reason other than EINTR, call __svc_accept_failed.
51694         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51695         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51697 2012-11-28  Andreas Schwab  <schwab@suse.de>
51699         * scripts/abilist.awk: Also handle indirect functions in .opd
51700         section.
51702 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51704         [BZ #13881]
51705         * sysdeps/x86/fpu/powl_helper.c: New file.
51706         * sysdeps/x86/fpu/Makefile: Likewise.
51707         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51708         (p3): New object.
51709         (__ieee754_powl): Use __powl_helper for finite arguments except
51710         integer exponents below 8.
51711         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51712         (p3): New object.
51713         (__ieee754_powl): Use __powl_helper for finite arguments except
51714         integer exponents below 8.
51715         * math/libm-test.inc (pow_test): Add more tests and enable some
51716         previously disabled tests.
51717         * sysdeps/i386/fpu/libm-test-ulps: Update.
51718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51720 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51721             Carlos O'Donell  <carlos_odonell@mentor.com>
51723         * nss/makedb.c (is_prime): Assert that input is odd and greater
51724         than 4.  Note that fact in a comment too.
51725         (next_prime): Add 4 to input.
51727 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51729         [BZ #11741]
51730         * libio/Makefile (tests): Add test case tst-fwrite-error.
51731         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51732         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51733         * libio/tst-fwrite-error.c: New test case.
51735 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
51737         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51738         before casting to void *.
51739         * include/libc-internal.h (__pointer_type): New macro.
51740         (__integer_if_pointer_type_sub): Likewise.
51741         (__integer_if_pointer_type): Likewise.
51742         (cast_to_integer): Likewise.
51743         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51744         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51745         before casting to atomic64_t.
51746         (atomic_exchange_acq): Likewise.
51747         (__arch_exchange_and_add_body): Likewise.
51748         (__arch_add_body): Likewise.
51749         (atomic_add_negative): Likewise.
51750         (atomic_add_zero): Likewise.
51752 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
51754         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51755         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51756         (add_fdes): Likewise.
51757         (linear_search_fdes): Likewise.
51758         (binary_search_unencoded_fdes): Likewise.
51760 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
51762         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51764 2012-11-24  Adam Conrad  <adconrad@0c3.net>
51766         * configure.in: Autodetect C++ header directories.
51767         * configure: Regenerated.
51769 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
51771         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51773 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
51775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51777 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
51779         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51780         LDBL_MANT_DIG == 106]: Disable some tests.
51781         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51782         Likewise.
51783         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51784         Likewise.
51786         [BZ #14871]
51787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51788         input for small inputs.  Return +/- pi/2 for large inputs.
51789         * math/libm-test.inc (atan_test): Add more tests.
51791         * sysdeps/generic/unwind-dw2-fde-glibc.c
51792         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51793         __attribute__ ((unused)).
51795         [BZ #14645]
51796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51797         x * y if x and y are nonzero and z is zero.
51799         [BZ #14811]
51800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51801         nonzero exponents with absolute value below 0x1p-117 to +/-
51802         0x1p-117.
51804         [BZ #14869]
51805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51806         up arguments below 2**-450, not just those below 2**-500.
51807         * math/libm-test.inc (hypot_test): Add another test.
51809         [BZ #14868]
51810         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51811         Return a+b for ratio over 2**120, not 2**60.
51812         * math/libm-test.inc (hypot_test): Add another test.
51814         * math/libm-test.inc (clog_test): Use
51815         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51816         (clog10_test): Likewise.
51818         [BZ #6778]
51819         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51821 2012-11-22  Andreas Schwab  <schwab@suse.de>
51823         * sysdeps/i386/fpu/libm-test-ulps: Update.
51825 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51827         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51828         printf output with newline.
51830 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51832         [BZ #14865]
51833         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51834         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51835         -z nodlopen, -z initfirst and -z execstack support.
51836         * configure: Regenerated.
51838         * elf/elf.h (DF_1_NODIRECT): New macro.
51839         (DF_1_IGNMULDEF): Likewise.
51840         (DF_1_NOKSYMS): Likewise.
51841         (DF_1_NOHDR): Likewise.
51842         (DF_1_EDITED): Likewise.
51843         (DF_1_NORELOC): Likewise.
51844         (DF_1_SYMINTPOSE): Likewise.
51845         (DF_1_GLOBAUDIT): Likewise.
51846         (DF_1_SINGLETON): Likewise.
51847         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51848         DT_1_SUPPORTED_MASK bits.
51849         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51851 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51853         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51855 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51857         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51858         macro.
51860         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51861         (sendmmsg): Move declarations...
51862         * socket/sys/socket.h: ... here.
51863         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51864         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51865         include it from...
51866         * socket/recvmmsg.c: ... this new file.
51867         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51868         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51869         definition of __sendmmsg hidden.
51870         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51871         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51872         Move ENOSYS stub into and include it from...
51873         * socket/sendmmsg.c: ... this new file.
51874         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51875         (sysdep_routines): Move recvmmsg and sendmmsg...
51876         * socket/Makefile (routines): ... here.
51877         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51878         (GLIBC_PRIVATE): Add __sendmmsg.
51879         * include/sys/socket.h (__sendmmsg): Add declarations.
51880         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51881         sendmmsg.
51883 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51886         variable I1 with __attribute__ ((unused)).
51887         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51889 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51891         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51892         DUMMY variables with __attribute__ ((unused)).
51894         * bits/byteswap.h: Include <bits/types.h>.
51895         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51897 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51899         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51900         string_t.  Do not manually set errno.
51901         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51902         length with __strnlen.  Make sure to both set errno and return it on
51903         failure.
51905 2012-11-19  David S. Miller  <davem@davemloft.net>
51907         With help from Joseph Myers.
51908         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51909         very large arguments properly.
51910         * math/libm-test.inc (atan_test): New tests.
51911         (atan2_test): New tests.
51912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51915 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51917         [BZ #14856]
51918         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51919         Define to 3.
51921         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51922         [POSIX] (EADDRNOTAVAIL): Likewise.
51923         [POSIX] (EAFNOSUPPORT): Likewise.
51924         [POSIX] (EALREADY): Likewise.
51925         [POSIX] (ECONNABORTED): Likewise.
51926         [POSIX] (ECONNREFUSED): Likewise.
51927         [POSIX] (ECONNRESET): Likewise.
51928         [POSIX] (EDESTADDRREQ): Likewise.
51929         [POSIX] (EDQUOT): Likewise.
51930         [POSIX] (EHOSTUNREACH): Likewise.
51931         [POSIX] (EIDRM): Likewise.
51932         [POSIX] (EISCONN): Likewise.
51933         [POSIX] (ELOOP): Likewise.
51934         [POSIX] (EMULTIHOP): Likewise.
51935         [POSIX] (ENETDOWN): Likewise.
51936         [POSIX] (ENETUNREACH): Likewise.
51937         [POSIX] (ENOBUFS): Likewise.
51938         [POSIX] (ENODATA): Likewise.
51939         [POSIX] (ENOLINK): Likewise.
51940         [POSIX] (ENOMSG): Likewise.
51941         [POSIX] (ENOPROTOOPT): Likewise.
51942         [POSIX] (ENOSR): Likewise.
51943         [POSIX] (ENOSTR): Likewise.
51944         [POSIX] (ENOTCONN): Likewise.
51945         [POSIX] (ENOTSOCK): Likewise.
51946         [POSIX] (EOPNOTSUPP): Likewise.
51947         [POSIX] (EOVERFLOW): Likewise.
51948         [POSIX] (EPROTO): Likewise.
51949         [POSIX] (EPROTONOSUPPORT): Likewise.
51950         [POSIX] (EPROTOTYPE): Likewise.
51951         [POSIX] (ESTALE): Likewise.
51952         [POSIX] (ETIME): Likewise.
51953         [POSIX] (ETXTBSY): Likewise.
51954         [POSIX] (EWOULDBLOCK): Likewise.
51955         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51956         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51957         [POSIX] (SEEK_CUR): Likewise.
51958         [POSIX] (SEEK_END): Likewise.
51959         [POSIX || UNIX98] (mode_t): Do not require.
51960         [POSIX] (off_t): Likewise.
51961         [POSIX] (pid_t): Likewise.
51962         [POSIX] (sys/stat.h): Do not allow header.
51963         [POSIX] (unistd.h): Likewise.
51964         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51965         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51966         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51967         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51968         require.
51969         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51970         sigevent): Specify elements.
51971         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51972         entry.
51973         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51974         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51976         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51977         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51978         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51979         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51980         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51981         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51982         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51983         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51984         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51985         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51986         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51987         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51988         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51989         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51990         Likewise.
51991         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51992         Likewise.
51993         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51994         Likewise.
51995         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51996         Likewise.
51997         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51998         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51999         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52000         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52001         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52002         Specify lower bound on value.
52003         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52004         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52005         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52006         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52007         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52008         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52009         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52010         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52011         value.
52012         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52013         as optional.
52014         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52015         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52016         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52017         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52018         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52019         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52020         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52021         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52022         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52023         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52024         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52025         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52026         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52027         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52028         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52029         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52030         entry.
52031         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52032         optional.
52033         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52034         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52035         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52036         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52037         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52038         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52039         Likewise.
52040         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52041         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52042         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52043         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52044         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52045         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52046         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52047         as optional.
52048         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52049         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52050         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52051         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52052         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52053         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52054         specify as optional.
52055         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52056         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52057         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52058         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52059         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52060         [XPG3] (NL_LANGMAX): Likewise.
52061         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52062         [POSIX || XPG3] (NL_NMAX): Likewise.
52063         [POSIX || XPG3] (NL_SETMAX): Likewise.
52064         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52065         [XPG3] (NZERO): Likewise.
52066         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52067         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52068         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52069         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52070         (REG_ERANGE): Expect.
52071         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52072         optional-constant.
52073         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52074         Use (void) in prototype.
52075         [POSIX] (*_t): Allow.
52076         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52077         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52078         (WRDE_BADVAL): Expect.
52080         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52081         expect.
52082         [XPG3 || XPG4] (O_RSYNC): Likewise.
52083         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52084         Likewise.
52085         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52086         [XPG3 || XPG4] (sigqueue): Likewise.
52087         [XPG3 || XPG4] (sigtimedwait): Likewise.
52088         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52089         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52090         [XPG3 || XPG4] (vsnprintf): Likewise.
52091         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52092         Likewise.
52093         [XPG3 || XPG4] (blksize_t): Likewise.
52094         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52095         Likewise.
52096         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52097         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52098         [XPG3 || XPG4] (struct itimerspec): Likewise.
52099         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52100         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52101         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52102         [XPG3 || XPG4] (clockid_t): Likewise.
52103         [XPG3 || XPG4] (timer_t): Likewise.
52104         [XPG3 || XPG4] (clock_getres): Likewise.
52105         [XPG3 || XPG4] (clock_gettime): Likewise.
52106         [XPG3 || XPG4] (clock_settime): Likewise.
52107         [XPG3 || XPG4] (nanosleep): Likewise.
52108         [XPG3 || XPG4] (timer_create): Likewise.
52109         [XPG3 || XPG4] (timer_delete): Likewise.
52110         [XPG3 || XPG4] (timer_gettime): Likewise.
52111         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52112         [XPG3 || XPG4] (timer_settime): Likewise.
52113         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52114         [XPG3 || XPG4] (getlogin_r): Likewise.
52115         [XPG3 || XPG4] (pread): Likewise.
52116         [XPG3 || XPG4] (pthread_atfork): Likewise.
52117         [XPG3 || XPG4] (pwrite): Likewise.
52119         [BZ #14835]
52120         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52121         <bits/siginfo.h>.
52123 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52125         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52126         finalizing MALLSTREAM.
52128         * sysdeps/mach/hurd/syncfs.c: New file.
52130 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52132         [BZ #14719]
52133         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52134         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52135         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52136         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52137         (_nss_dns_gethostbyname4_r): Likewise.
52138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52139         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52141 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52143         [BZ #13763]
52144         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52146 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52148         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52149         * elf/cache.c (print_entry): Print ",AArch64" for
52150         FLAG_AARCH64_LIB64
52152         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52153         * elf/cache.c (print_entry): Print ",hard-float" for
52154         FLAG_ARM_LIBHF.
52156 2012-11-18  David S. Miller  <davem@davemloft.net>
52158         With help from Joseph Myers.
52159         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52160         cutoff to 2**-13.
52161         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52162         cutoff to 2**-25.
52163         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52164         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52165         small.
52166         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52167         * math/libm-test.inc (y0_test): New tests.
52168         (y1_test): New tests.
52169         * sysdeps/i386/fpu/libm-test-ulps: Update.
52170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52173 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52175         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52176         64-bit targets.
52177         * configure: Regenerated.
52179 2012-11-17  David S. Miller  <davem@davemloft.net>
52181         [BZ #14811]
52182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52183         nonzero exponents with absolute value below 0x1p-128 to +/-
52184         0x1p-128.
52186 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52188         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52190         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52192         * posix/getconf-speclist.c: New file.
52193         * posix/posix-envs.def: Likewise.
52194         * posix/confstr.c (START_ENV_GROUP): New macro.
52195         (END_ENV_GROUP): Likewise.
52196         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52197         (KNOWN_PRESENT_ENV_STRING): Likewise.
52198         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52199         (UNKNOWN_ENVIRONMENT): Likewise.
52200         (confstr): Include posix-envs.def instead of handling
52201         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52202         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52203         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52204         (END_ENV_GROUP): Likewise.
52205         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52206         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52207         (UNKNOWN_ENVIRONMENT): Likewise.
52208         (__sysconf): Include posix-envs.def instead of handling associated
52209         cases directly here.
52210         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52211         preprocessing getconf-speclist.c rather than running getconf or
52212         generating empty file.
52214 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52216         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52218 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52220         [BZ #14672]
52221         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52223 2012-11-16  David S. Miller  <davem@davemloft.net>
52225         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52226         smaller than LDBL_EPSILON/2.0L, just return xm1.
52228 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52230         * elf/tst-array1.c (init): Set constructor priority to 1000.
52231         (fini): Set destructor priority to 1000.
52232         * elf/tst-array2dep.c: Likewise.
52234 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52236         [BZ #11741]
52237         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52238         (_IO_new_file_xsputn): Also return EOF if none of the input
52239         data was written when overflow failed.
52240         * libio/iopadn.c (_IO_padn): Likewise.
52241         * libio/iowpadn.c (_IO_wpadn): Likewise.
52242         * stdio-common/tst-put-error.c: Add copyright notice.
52243         (do_test): Add case for printing padded string.
52244         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52245         _IO_padn returned error.
52246         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52247         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52248         return EOF.
52250 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52252         * libio/libioP.h: Add comment note that the references to C++
52253         bits are now obsolete.
52255 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52257         * math/libm-test.inc (check_complex): Use asprintf.
52259 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52261         * debug/pcprofiledump.c (print_version): Update copyright year.
52262         * malloc/memusagestat.c (print_version): Likewise.
52264 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52266         [BZ #14831]
52267         * elf/Makefile (tests): Add tst-audit8.
52268         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52269         ($(objpfx)tst-audit8.out): New target.
52270         (tst-audit8-ENV): New variable.
52271         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52272         audit if l_reloc_result is NULL.
52273         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52274         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52275         * elf/tst-audit8.c: New file.
52277 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52279         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52280         * misc/Makefile (CFLAGS-select.c): Define.
52281         * posix/Makefile (CFLAGS-pause.c): Define.
52283 2012-11-13  David S. Miller  <davem@davemloft.net>
52285         * crypt/Makefile: Move test targets after toplevel Rules
52286         inclusion.  Grab any necessary sysdep routines when linking.
52287         * crypt/md5.c (md5_process_block): Remove define, we will always
52288         name it __md5_process_block.
52289         (md5_finish_ctx): Update md5_process_block call.
52290         (md5_stream): Likewise.
52291         (md5_process_bytes): Likewise.
52292         (md5_process_block): Rename to __md5_process_block and move to ...
52293         * crypt/md5-block.c: ... here.
52294         * crypt/sha256.c (sha256_process_block): Move to ...
52295         * crypt/sha256-block.c: ... here.
52296         * crypt/sha512.c (sha512_process_block): Move to ...
52297         * crypt/sha512-block.c: ... here.
52298         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52299         path.
52300         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52301         * sysdeps/sparc/sparc64/multiarch/Makefile
52302         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52303         crypt subdir.
52304         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52306         multiarch changes.
52307         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52308         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52309         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52310         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52311         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52312         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52313         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52314         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52315         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52316         file.
52317         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52318         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52319         file.
52320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52322 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52324         * timezone/tzselect.ksh: Update from tzcode git revision
52325         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52326         * timezone/zdump.c: Likewise.
52327         * timezone/zic.c: Likewise.
52328         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52329         in TZVERSION setting, not $(PKGVERSION).
52330         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52331         REPORT_BUGS_TO settings.
52333         [BZ #14838]
52334         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52335         macro.
52337 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52339         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52340         detection to immediately after _FP_ROUND().
52341         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52342         bits are 0.
52344 2012-11-11  David S. Miller  <davem@davemloft.net>
52346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52347         inttypes.h
52348         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52349         __close rather than their public counterparts.
52351 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52353         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52354         file.
52355         [UNIX98] (sem_timedwait): Do not expect.
52356         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52357         [XPG4 || UNIX98] (sockatmark): Do not expect.
52358         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52359         (clock_getcpuclockid): Do not expect.
52360         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52361         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52362         Do not expect.
52363         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52364         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52365         [UNIX98] (vwscanf): Likewise.
52366         [UNIX98] (vswscanf): Likewise.
52368 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52370         * timezone/version.h: Remove file.
52371         * timezone/README: Do not refer to version.h.
52372         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52373         $(objpfx)version.h.
52374         ($(objpfx)zdump.o): Likewise.
52375         ($(objpfx)version.h): New target.
52377         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52378         2012i.
52379         * timezone/README: Don't mention modification to tzselect.ksh.
52380         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52381         work on unmodified tzselect.ksh.  Substitute version numbers in
52382         tzselect.ksh.
52384         * Makefile (format-me): Remove.
52385         (INSTALL): Adjust indentation.  Use commands directly instead of
52386         using $(format-me).
52388         * aclocal.m4 (ACX_PKGVERSION): New macro.
52389         (ACX_BUGURL): Likewise.
52390         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52391         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52392         (REPORT_BUGS_TO): Likewise.
52393         * configure: Regenerated.
52394         * config.h.in (PKGVERSION): New macro.
52395         (REPORT_BUGS_TO): Likewise.
52396         * config.make.in (PKGVERSION): New variable.
52397         (PKGVERSION_TEXI): Likewise.
52398         (REPORT_BUGS_TO): Likewise.
52399         (REPORT_BUGS_TEXI): Likewise.
52400         * Makefile (format-me): Use -I$(common-objpfx)manual.
52401         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52402         ($(common-objpfx)manual/%): New target.
52403         (manual/%): Remove target.
52404         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52405         (print_version): Use PKGVERSION.
52406         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52407         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52408         and REPORT_BUGS_TO.
52409         ($(objpfx)xtrace): Likewise.
52410         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52411         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52412         (print_version): Use PKGVERSION.
52413         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52414         (do_version): Use PKGVERSION.
52415         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52416         REPORT_BUGS_TO.
52417         (common-ldd-rewrite): Likewise.
52418         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52419         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52420         (print_version): Use PKGVERSION.
52421         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52422         * elf/pldd.c (argp_program_bug_address): Remove variable.
52423         (more_help): New function.
52424         (argp): Use more_help.
52425         (print_version): Use PKGVERSION.
52426         * elf/sln.c (main): Use PKGVERSION.
52427         (usage): Use REPORT_BUGS_TO.
52428         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52429         (top level): Use PKGVERSION.
52430         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52431         (print_version): Use PKGVERSION.
52432         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52433         (print_version): Use PKGVERSION.
52434         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52435         (print_version): Use PKGVERSION.
52436         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52437         (print_version): Use PKGVERSION.
52438         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52439         (print_version): Use PKGVERSION.
52440         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52441         (print_version): Use PKGVERSION.
52442         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52443         and BUGURL.
52444         ($(objpfx)memusage): Likewise.
52445         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52446         (do_version): Use PKGVERSION.
52447         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52448         (print_version): Use PKGVERSION.
52449         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52450         ($PKGVERSION): New variable.
52451         ($REPORT_BUGS_TO): Likewise.
52452         (usage): Use $REPORT_BUGS_TO.
52453         (top level): Use $PKGVERSION.
52454         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52455         ($(objpfx)pkgvers.texi): New rule.
52456         ($(objpfx)stamp-pkgvers): Likewise.
52457         * manual/install.texi: Include pkgvers.texi.
52458         (--with-pkgversion): Document new configure option.
52459         (--with-bugurl): Likewise.
52460         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52461         than necessarily for this particular distribution.  Use
52462         REPORT_BUGS_TO for where to report bugs.
52463         * INSTALL: Regenerated.
52464         * manual/libc.texinfo: Include pkgvers.texi.
52465         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52466         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52467         (print_version): Use PKGVERSION.
52468         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52469         (print_version): Use PKGVERSION.
52470         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52471         (print_version): Use PKGVERSION.
52472         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52473         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52474         macro.
52475         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52476         (print_version): Use PKGVERSION.
52477         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52478         (print_version): Use PKGVERSION.
52479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52480         and PKGVERSION.
52482         * timezone/checktab.awk: Update from tzcode 2012i.
52483         * timezone/ialloc.c: Likewise.
52484         * timezone/private.h: Likewise.
52485         * timezone/scheck.c: Likewise.
52486         * timezone/tzfile.h: Likewise.
52487         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52488         (TZVERSION): Hardcode tzcode version number.
52489         * timezone/zdump.c: Update from tzcode 2012i.
52490         * timezone/zic.c: Likewise.
52491         * timezone/version.h: New file.
52492         * timezone/README: Describe version.h.  Update upstream location.
52494         [BZ #14824]
52495         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52496         (mktemp): Enable declaration.
52497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52501         Likewise.
52502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52503         Likewise.
52504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52505         Likewise.
52506         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52507         Likewise.
52508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52509         Likewise.
52510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52511         Likewise.
52513         [BZ #14821]
52514         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52515         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52516         for copies of such integer values.
52517         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52518         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52520 2012-11-09  Andreas Jaeger  <aj@suse.de>
52522         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52523         definitions and declarations that are provided by
52524         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52526 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52528         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52529         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52530         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52531         definition.
52533 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52535         * elf/elf.h: Update comment before AArch64 relocations.
52537 2012-11-07  David S. Miller  <davem@davemloft.net>
52539         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52540         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52541         (__start_context): Declare.
52542         (__makecontext_ret): Delete.
52543         (__makecontext): Hook up __start_context instead of
52544         __makecontext_ret.
52545         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52546         (sysdep_routines): Add __start_context when in stdlib.
52548 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52550         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52551         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52552         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52553         hardcoded "nm".
52554         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52555         (READELF): New variable.  Use it instead of hardcoded "readelf".
52557 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52559         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52560         * sysdeps/x86/Makefile: Here.
52561         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52562         * sysdeps/x86/tst-xmmymm.sh: This.
52564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52566         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52567         expectations.
52568         [UNIX98] (pthread_barrier_t): Do not expect.
52569         [UNIX98] (pthread_barrierattr_t): Likewise.
52570         [UNIX98] (pthread_spinlock_t): Likewise.
52571         [UNIX98] (pthread_barrier_destroy): Likewise.
52572         [UNIX98] (pthread_barrier_init): Likewise.
52573         [UNIX98] (pthread_barrier_wait): Likewise.
52574         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52575         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52576         [UNIX98] (pthread_barrierattr_init): Likewise.
52577         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52578         [UNIX98] (pthread_getcpuclockid): Likewise.
52579         [UNIX98] (pthread_mutex_timedlock): Likewise.
52580         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52581         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52582         [UNIX98] (pthread_sigmask): Likewise.
52583         [UNIX98] (pthread_spin_destroy): Likewise.
52584         [UNIX98] (pthread_spin_init): Likewise.
52585         [UNIX98] (pthread_spin_lock): Likewise.
52586         [UNIX98] (pthread_spin_trylock): Likewise.
52587         [UNIX98] (pthread_spin_unlock): Likewise.
52588         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52589         Do not expect.
52590         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52591         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52592         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52593         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52594         [XPG3 || XPG4] (pthread_key_t): Likewise.
52595         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52596         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52597         [XPG3 || XPG4] (pthread_once_t): Likewise.
52598         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52599         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52600         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52601         [XPG3 || XPG4] (pthread_t): Likewise.
52603         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52604         not expect.
52605         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52607         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52608         Change function return type to int.
52610         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52611         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52612         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52613         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52614         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52615         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52616         [!POSIX] (posix_madvise): Likewise.
52617         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52618         && !UNIX98].
52619         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52620         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52621         (mode_t): Likewise.
52622         (posix_mem_offset): Likewise.
52623         (posix_typed_mem_get_info): Likewise.
52624         (posix_typed_mem_open): Likewise.
52626         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52627         Change condition to [XOPEN2K8].
52629         * conform/conformtest.pl: Preprocess allow-header data with -x c
52630         instead of from stdin.
52631         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52632         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52633         [C99-based standards] (cerfc): Likewise.
52634         [C99-based standards] (cexp2): Likewise.
52635         [C99-based standards] (cexpm1): Likewise.
52636         [C99-based standards] (clog10): Likewise.
52637         [C99-based standards] (clog1p): Likewise.
52638         [C99-based standards] (clog2): Likewise.
52639         [C99-based standards] (clgamma): Likewise.
52640         [C99-based standards] (ctgamma): Likewise.
52641         [C99-based standards] (cerff): Likewise.
52642         [C99-based standards] (cerfcf): Likewise.
52643         [C99-based standards] (cexp2f): Likewise.
52644         [C99-based standards] (cexpm1f): Likewise.
52645         [C99-based standards] (clog10f): Likewise.
52646         [C99-based standards] (clog1pf): Likewise.
52647         [C99-based standards] (clog2f): Likewise.
52648         [C99-based standards] (clgammaf): Likewise.
52649         [C99-based standards] (ctgammaf): Likewise.
52650         [C99-based standards] (cerfl): Likewise.
52651         [C99-based standards] (cerfcl): Likewise.
52652         [C99-based standards] (cexp2l): Likewise.
52653         [C99-based standards] (cexpm1l): Likewise.
52654         [C99-based standards] (clog10l): Likewise.
52655         [C99-based standards] (clog1pl): Likewise.
52656         [C99-based standards] (clog2l): Likewise.
52657         [C99-based standards] (clgammal): Likewise.
52658         [C99-based standards] (ctgammal): Likewise.
52659         * conform/data/inttypes.h-data [C99-based standards]: Include
52660         stdint.h-data.  Remove all expectations for stdint.h contents.
52661         [C99-based standards] (PRI*): Do not allow.
52662         [C99-based standards] (SCN*): Likewise.
52663         [C99-based standards] (*_t): Likewise.
52664         [C99-based-standards] (PRId8): Expect macro.
52665         [C99-based-standards] (PRIi8): Likewise.
52666         [C99-based-standards] (PRIo8): Likewise.
52667         [C99-based-standards] (PRIu8): Likewise.
52668         [C99-based-standards] (PRIx8): Likewise.
52669         [C99-based-standards] (PRIX8): Likewise.
52670         [C99-based-standards] (SCNd8): Likewise.
52671         [C99-based-standards] (SCNi8): Likewise.
52672         [C99-based-standards] (SCNo8): Likewise.
52673         [C99-based-standards] (SCNu8): Likewise.
52674         [C99-based-standards] (SCNx8): Likewise.
52675         [C99-based-standards] (PRIdLEAST8): Likewise.
52676         [C99-based-standards] (PRIiLEAST8): Likewise.
52677         [C99-based-standards] (PRIoLEAST8): Likewise.
52678         [C99-based-standards] (PRIuLEAST8): Likewise.
52679         [C99-based-standards] (PRIxLEAST8): Likewise.
52680         [C99-based-standards] (PRIXLEAST8): Likewise.
52681         [C99-based-standards] (SCNdLEAST8): Likewise.
52682         [C99-based-standards] (SCNiLEAST8): Likewise.
52683         [C99-based-standards] (SCNoLEAST8): Likewise.
52684         [C99-based-standards] (SCNuLEAST8): Likewise.
52685         [C99-based-standards] (SCNxLEAST8): Likewise.
52686         [C99-based-standards] (PRIdFAST8): Likewise.
52687         [C99-based-standards] (PRIiFAST8): Likewise.
52688         [C99-based-standards] (PRIoFAST8): Likewise.
52689         [C99-based-standards] (PRIuFAST8): Likewise.
52690         [C99-based-standards] (PRIxFAST8): Likewise.
52691         [C99-based-standards] (PRIXFAST8): Likewise.
52692         [C99-based-standards] (SCNdFAST8): Likewise.
52693         [C99-based-standards] (SCNiFAST8): Likewise.
52694         [C99-based-standards] (SCNoFAST8): Likewise.
52695         [C99-based-standards] (SCNuFAST8): Likewise.
52696         [C99-based-standards] (SCNxFAST8): Likewise.
52697         [C99-based-standards] (PRId16): Likewise.
52698         [C99-based-standards] (PRIi16): Likewise.
52699         [C99-based-standards] (PRIo16): Likewise.
52700         [C99-based-standards] (PRIu16): Likewise.
52701         [C99-based-standards] (PRIx16): Likewise.
52702         [C99-based-standards] (PRIX16): Likewise.
52703         [C99-based-standards] (SCNd16): Likewise.
52704         [C99-based-standards] (SCNi16): Likewise.
52705         [C99-based-standards] (SCNo16): Likewise.
52706         [C99-based-standards] (SCNu16): Likewise.
52707         [C99-based-standards] (SCNx16): Likewise.
52708         [C99-based-standards] (PRIdLEAST16): Likewise.
52709         [C99-based-standards] (PRIiLEAST16): Likewise.
52710         [C99-based-standards] (PRIoLEAST16): Likewise.
52711         [C99-based-standards] (PRIuLEAST16): Likewise.
52712         [C99-based-standards] (PRIxLEAST16): Likewise.
52713         [C99-based-standards] (PRIXLEAST16): Likewise.
52714         [C99-based-standards] (SCNdLEAST16): Likewise.
52715         [C99-based-standards] (SCNiLEAST16): Likewise.
52716         [C99-based-standards] (SCNoLEAST16): Likewise.
52717         [C99-based-standards] (SCNuLEAST16): Likewise.
52718         [C99-based-standards] (SCNxLEAST16): Likewise.
52719         [C99-based-standards] (PRIdFAST16): Likewise.
52720         [C99-based-standards] (PRIiFAST16): Likewise.
52721         [C99-based-standards] (PRIoFAST16): Likewise.
52722         [C99-based-standards] (PRIuFAST16): Likewise.
52723         [C99-based-standards] (PRIxFAST16): Likewise.
52724         [C99-based-standards] (PRIXFAST16): Likewise.
52725         [C99-based-standards] (SCNdFAST16): Likewise.
52726         [C99-based-standards] (SCNiFAST16): Likewise.
52727         [C99-based-standards] (SCNoFAST16): Likewise.
52728         [C99-based-standards] (SCNuFAST16): Likewise.
52729         [C99-based-standards] (SCNxFAST16): Likewise.
52730         [C99-based-standards] (PRId32): Likewise.
52731         [C99-based-standards] (PRIi32): Likewise.
52732         [C99-based-standards] (PRIo32): Likewise.
52733         [C99-based-standards] (PRIu32): Likewise.
52734         [C99-based-standards] (PRIx32): Likewise.
52735         [C99-based-standards] (PRIX32): Likewise.
52736         [C99-based-standards] (SCNd32): Likewise.
52737         [C99-based-standards] (SCNi32): Likewise.
52738         [C99-based-standards] (SCNo32): Likewise.
52739         [C99-based-standards] (SCNu32): Likewise.
52740         [C99-based-standards] (SCNx32): Likewise.
52741         [C99-based-standards] (PRIdLEAST32): Likewise.
52742         [C99-based-standards] (PRIiLEAST32): Likewise.
52743         [C99-based-standards] (PRIoLEAST32): Likewise.
52744         [C99-based-standards] (PRIuLEAST32): Likewise.
52745         [C99-based-standards] (PRIxLEAST32): Likewise.
52746         [C99-based-standards] (PRIXLEAST32): Likewise.
52747         [C99-based-standards] (SCNdLEAST32): Likewise.
52748         [C99-based-standards] (SCNiLEAST32): Likewise.
52749         [C99-based-standards] (SCNoLEAST32): Likewise.
52750         [C99-based-standards] (SCNuLEAST32): Likewise.
52751         [C99-based-standards] (SCNxLEAST32): Likewise.
52752         [C99-based-standards] (PRIdFAST32): Likewise.
52753         [C99-based-standards] (PRIiFAST32): Likewise.
52754         [C99-based-standards] (PRIoFAST32): Likewise.
52755         [C99-based-standards] (PRIuFAST32): Likewise.
52756         [C99-based-standards] (PRIxFAST32): Likewise.
52757         [C99-based-standards] (PRIXFAST32): Likewise.
52758         [C99-based-standards] (SCNdFAST32): Likewise.
52759         [C99-based-standards] (SCNiFAST32): Likewise.
52760         [C99-based-standards] (SCNoFAST32): Likewise.
52761         [C99-based-standards] (SCNuFAST32): Likewise.
52762         [C99-based-standards] (SCNxFAST32): Likewise.
52763         [C99-based-standards] (PRId64): Likewise.
52764         [C99-based-standards] (PRIi64): Likewise.
52765         [C99-based-standards] (PRIo64): Likewise.
52766         [C99-based-standards] (PRIu64): Likewise.
52767         [C99-based-standards] (PRIx64): Likewise.
52768         [C99-based-standards] (PRIX64): Likewise.
52769         [C99-based-standards] (SCNd64): Likewise.
52770         [C99-based-standards] (SCNi64): Likewise.
52771         [C99-based-standards] (SCNo64): Likewise.
52772         [C99-based-standards] (SCNu64): Likewise.
52773         [C99-based-standards] (SCNx64): Likewise.
52774         [C99-based-standards] (PRIdLEAST64): Likewise.
52775         [C99-based-standards] (PRIiLEAST64): Likewise.
52776         [C99-based-standards] (PRIoLEAST64): Likewise.
52777         [C99-based-standards] (PRIuLEAST64): Likewise.
52778         [C99-based-standards] (PRIxLEAST64): Likewise.
52779         [C99-based-standards] (PRIXLEAST64): Likewise.
52780         [C99-based-standards] (SCNdLEAST64): Likewise.
52781         [C99-based-standards] (SCNiLEAST64): Likewise.
52782         [C99-based-standards] (SCNoLEAST64): Likewise.
52783         [C99-based-standards] (SCNuLEAST64): Likewise.
52784         [C99-based-standards] (SCNxLEAST64): Likewise.
52785         [C99-based-standards] (PRIdFAST64): Likewise.
52786         [C99-based-standards] (PRIiFAST64): Likewise.
52787         [C99-based-standards] (PRIoFAST64): Likewise.
52788         [C99-based-standards] (PRIuFAST64): Likewise.
52789         [C99-based-standards] (PRIxFAST64): Likewise.
52790         [C99-based-standards] (PRIXFAST64): Likewise.
52791         [C99-based-standards] (SCNdFAST64): Likewise.
52792         [C99-based-standards] (SCNiFAST64): Likewise.
52793         [C99-based-standards] (SCNoFAST64): Likewise.
52794         [C99-based-standards] (SCNuFAST64): Likewise.
52795         [C99-based-standards] (SCNxFAST64): Likewise.
52796         [C99-based-standards] (PRIdMAX): Likewise.
52797         [C99-based-standards] (PRIiMAX): Likewise.
52798         [C99-based-standards] (PRIoMAX): Likewise.
52799         [C99-based-standards] (PRIuMAX): Likewise.
52800         [C99-based-standards] (PRIxMAX): Likewise.
52801         [C99-based-standards] (PRIXMAX): Likewise.
52802         [C99-based-standards] (SCNdMAX): Likewise.
52803         [C99-based-standards] (SCNiMAX): Likewise.
52804         [C99-based-standards] (SCNoMAX): Likewise.
52805         [C99-based-standards] (SCNuMAX): Likewise.
52806         [C99-based-standards] (SCNxMAX): Likewise.
52807         [C99-based-standards] (PRIdPTR): Likewise.
52808         [C99-based-standards] (PRIiPTR): Likewise.
52809         [C99-based-standards] (PRIoPTR): Likewise.
52810         [C99-based-standards] (PRIuPTR): Likewise.
52811         [C99-based-standards] (PRIxPTR): Likewise.
52812         [C99-based-standards] (PRIXPTR): Likewise.
52813         [C99-based-standards] (SCNdPTR): Likewise.
52814         [C99-based-standards] (SCNiPTR): Likewise.
52815         [C99-based-standards] (SCNoPTR): Likewise.
52816         [C99-based-standards] (SCNuPTR): Likewise.
52817         [C99-based-standards] (SCNxPTR): Likewise.
52818         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52819         allow.
52820         * conform/data/stdint.h-data: Update comments to clarify
52821         requirements.
52822         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52823         type.
52824         [C99-based standards] (INT8_MAX): Likewise.
52825         [C99-based standards] (INT16_MIN): Likewise.
52826         [C99-based standards] (INT16_MAX): Likewise.
52827         [C99-based standards] (INT32_MIN): Likewise.
52828         [C99-based standards] (INT32_MAX): Likewise.
52829         [C99-based standards] (INT64_MIN): Likewise.
52830         [C99-based standards] (INT64_MAX): Likewise.
52831         [C99-based standards] (UINT8_MAX): Likewise.
52832         [C99-based standards] (UINT16_MAX): Likewise.
52833         [C99-based standards] (UINT32_MAX): Likewise.
52834         [C99-based standards] (UINT64_MAX): Likewise.
52835         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52836         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52837         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52838         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52839         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52840         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52841         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52842         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52843         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52844         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52845         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52846         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52847         [C99-based standards] (INT_FAST8_MIN): Likewise.
52848         [C99-based standards] (INT_FAST8_MAX): Likewise.
52849         [C99-based standards] (INT_FAST16_MIN): Likewise.
52850         [C99-based standards] (INT_FAST16_MAX): Likewise.
52851         [C99-based standards] (INT_FAST32_MIN): Likewise.
52852         [C99-based standards] (INT_FAST32_MAX): Likewise.
52853         [C99-based standards] (INT_FAST64_MIN): Likewise.
52854         [C99-based standards] (INT_FAST64_MAX): Likewise.
52855         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52856         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52857         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52858         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52859         [C99-based standards] (INTPTR_MIN): Likewise.
52860         [C99-based standards] (INTPTR_MAX): Likewise.
52861         [C99-based standards] (UINTPTR_MAX): Likewise.
52862         [C99-based standards] (INTMAX_MIN): Likewise.
52863         [C99-based standards] (INTMAX_MAX): Likewise.
52864         [C99-based standards] (UINTMAX_MAX): Likewise.
52865         [C99-based standards] (PTRDIFF_MIN): Likewise.
52866         [C99-based standards] (PTRDIFF_MAX): Likewise.
52867         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52868         [C99-based standards] (SIZE_MAX): Likewise.
52869         [C99-based standards] (WCHAR_MAX): Likewise.
52870         [C99-based standards] (WINT_MAX): Likewise.
52871         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52872         constraint on value.
52873         [C99-based standards] (WCHAR_MIN): Likewise.
52874         [C99-based standards] (WINT_MIN): Likewise.
52875         [C99-based standards] (*_t): Allow.
52876         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52877         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52878         Include math.h-data and complex.h-data.  Remove all expectations
52879         of math.h and complex.h contents.
52880         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52881         at end of line.
52882         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52883         (struct tm): Expect tag.
52884         [C99-based-standards] (wcstof): Expect function.
52885         [C99-based-standards] (wcstold): Likewise.
52886         [C99-based-standards] (wcstoll): Likewise.
52887         [C99-based-standards] (wcstoull): Likewise.
52888         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52889         macro-int-constant.  Specify type.
52890         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52891         constraint on value.
52892         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52893         Specify type.
52894         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52895         Specify value.
52896         [ISO C standards]: Do not allow headers.
52897         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52898         wcs[abcdefghijklmnopqrstuvwxyz]*.
52899         [ISO C standards] (*_t): Do not allow.
52900         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52901         Expect function.
52902         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52903         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52904         Specify type.
52905         [ISO C standards]: Do not allow headers.
52906         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52907         is[abcdefghijklmnopqrstuvwxyz]*.
52908         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52909         to[abcdefghijklmnopqrstuvwxyz]*.
52910         [ISO C standards] (*_t): Do not allow.
52911         * conform/data/stdalign.h-data: New file.
52912         * conform/data/stdbool.h-data: Likewise.
52913         * conform/data/stdnoreturn.h-data: Likewise.
52915 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52917         [BZ #14815]
52918         * manual/filesys.texi (Directory Entries): Typo fix.
52919         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52921 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52923         * elf/elf.h (EM_AARCH64): New macro.
52924         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52925         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52926         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52927         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52928         (R_AARCH64_TLSDESC): Likewise.
52929         (NT_ARM_TLS): Likewise.
52930         (NT_ARM_HW_BREAK): Likewise.
52931         (NT_ARM_HW_WATCH): Likewise.
52933 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52935         [BZ #14811]
52936         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52937         (__ieee754_powl): Saturate nonzero exponents with absolute value
52938         below 0x1p-79 to +/- 0x1p-79.
52939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52940         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52941         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52942         nonzero exponents with absolute value below 0x1p-32 to +/-
52943         0x1p-32.
52944         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52945         (__ieee754_powl): Saturate nonzero exponents with absolute value
52946         below 0x1p-79 to +/- 0x1p-79.
52947         * math/libm-test.inc (pow_test): Add more tests.
52949 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52951         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52952         _dl_s390_cap_flags with kernel. Increase string length.
52953         (_dl_s390_platforms): Add z196 and zEC12.
52955 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52957         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52958         Change XOPEN21K to XOPEN2K.
52960 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52962         * string/memmove.c: Use memcpy when possible.
52964 2012-11-06  Andreas Jaeger  <aj@suse.de>
52966         * po/eo.po: Update from translation team.
52968 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52970         [BZ #14793]
52971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52972         exponent and small x and y exponents, scale x or y up.  Increase
52973         by 2 the exponent used in scaling up.
52974         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52976         * math/libm-test.inc (fma_test): Add more tests.
52977         (fma_test_towardzero): Likewise.
52978         (fma_test_downward): Likewise.
52979         (fma_test_upward): Likewise.
52981 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52983         [BZ #14805]
52984         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52985         fenv_t *.
52987         [BZ #14801]
52988         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52989         namespace for names of struct fields.
52990         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52991         fenv_t fields.
52992         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52993         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52995 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52997         [BZ #3665]
52998         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53000 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53002         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53003         PTR_DEMANGLE.
53005         [BZ #5246]
53006         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53007         PTR_DEMANGLE.
53009 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53011         [BZ #14797]
53012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53013         definitely overflow as x * y not x * y + z.
53014         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53016         * math/libm-test.inc (fma_test): Add more tests.
53017         (fma_test_towardzero): Likewise.
53018         (fma_test_downward): Likewise.
53019         (fma_test_upward): Likewise.
53021 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53023         [BZ #157]
53025         * include/stub-tag.h: Remove file.
53026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53027         '#include' of it.
53028         * manual/maint.texi (Porting): Don't reference it.
53029         * Makerules ($(objpfx)stubs): Likewise.
53030         * dirent/closedir.c: Don't include <stub-tag.h>.
53031         * dirent/dirfd.c: Likewise.
53032         * dirent/fdopendir.c: Likewise.
53033         * dirent/getdents.c: Likewise.
53034         * dirent/getdents64.c: Likewise.
53035         * dirent/opendir.c: Likewise.
53036         * dirent/readdir.c: Likewise.
53037         * dirent/readdir64.c: Likewise.
53038         * dirent/readdir64_r.c: Likewise.
53039         * dirent/readdir_r.c: Likewise.
53040         * dirent/rewinddir.c: Likewise.
53041         * dirent/seekdir.c: Likewise.
53042         * dirent/telldir.c: Likewise.
53043         * gmon/profil.c: Likewise.
53044         * grp/setgroups.c: Likewise.
53045         * inet/if_index.c: Likewise.
53046         * io/access.c: Likewise.
53047         * io/chdir.c: Likewise.
53048         * io/chmod.c: Likewise.
53049         * io/chown.c: Likewise.
53050         * io/close.c: Likewise.
53051         * io/dup.c: Likewise.
53052         * io/dup2.c: Likewise.
53053         * io/dup3.c: Likewise.
53054         * io/euidaccess.c: Likewise.
53055         * io/faccessat.c: Likewise.
53056         * io/fchdir.c: Likewise.
53057         * io/fchmod.c: Likewise.
53058         * io/fchmodat.c: Likewise.
53059         * io/fchown.c: Likewise.
53060         * io/fchownat.c: Likewise.
53061         * io/fcntl.c: Likewise.
53062         * io/flock.c: Likewise.
53063         * io/fstatfs.c: Likewise.
53064         * io/fstatfs64.c: Likewise.
53065         * io/fstatvfs.c: Likewise.
53066         * io/fstatvfs64.c: Likewise.
53067         * io/futimens.c: Likewise.
53068         * io/fxstat.c: Likewise.
53069         * io/fxstat64.c: Likewise.
53070         * io/fxstatat.c: Likewise.
53071         * io/fxstatat64.c: Likewise.
53072         * io/getcwd.c: Likewise.
53073         * io/isatty.c: Likewise.
53074         * io/lchmod.c: Likewise.
53075         * io/lchown.c: Likewise.
53076         * io/link.c: Likewise.
53077         * io/linkat.c: Likewise.
53078         * io/lseek.c: Likewise.
53079         * io/lseek64.c: Likewise.
53080         * io/lxstat64.c: Likewise.
53081         * io/mkdir.c: Likewise.
53082         * io/mkdirat.c: Likewise.
53083         * io/mkfifo.c: Likewise.
53084         * io/mkfifoat.c: Likewise.
53085         * io/open.c: Likewise.
53086         * io/open64.c: Likewise.
53087         * io/openat.c: Likewise.
53088         * io/openat64.c: Likewise.
53089         * io/pipe.c: Likewise.
53090         * io/pipe2.c: Likewise.
53091         * io/poll.c: Likewise.
53092         * io/posix_fadvise.c: Likewise.
53093         * io/posix_fadvise64.c: Likewise.
53094         * io/posix_fallocate.c: Likewise.
53095         * io/posix_fallocate64.c: Likewise.
53096         * io/read.c: Likewise.
53097         * io/readlink.c: Likewise.
53098         * io/readlinkat.c: Likewise.
53099         * io/rmdir.c: Likewise.
53100         * io/sendfile.c: Likewise.
53101         * io/sendfile64.c: Likewise.
53102         * io/statfs.c: Likewise.
53103         * io/statfs64.c: Likewise.
53104         * io/statvfs.c: Likewise.
53105         * io/statvfs64.c: Likewise.
53106         * io/symlink.c: Likewise.
53107         * io/symlinkat.c: Likewise.
53108         * io/ttyname.c: Likewise.
53109         * io/ttyname_r.c: Likewise.
53110         * io/umask.c: Likewise.
53111         * io/unlink.c: Likewise.
53112         * io/unlinkat.c: Likewise.
53113         * io/utime.c: Likewise.
53114         * io/utimensat.c: Likewise.
53115         * io/write.c: Likewise.
53116         * io/xmknod.c: Likewise.
53117         * io/xmknodat.c: Likewise.
53118         * io/xstat.c: Likewise.
53119         * io/xstat64.c: Likewise.
53120         * login/getpt.c: Likewise.
53121         * login/grantpt.c: Likewise.
53122         * login/unlockpt.c: Likewise.
53123         * math/e_acoshl.c: Likewise.
53124         * math/e_acosl.c: Likewise.
53125         * math/e_asinl.c: Likewise.
53126         * math/e_atan2l.c: Likewise.
53127         * math/e_atanhl.c: Likewise.
53128         * math/e_coshl.c: Likewise.
53129         * math/e_expl.c: Likewise.
53130         * math/e_fmodl.c: Likewise.
53131         * math/e_gammal_r.c: Likewise.
53132         * math/e_hypotl.c: Likewise.
53133         * math/e_j0l.c: Likewise.
53134         * math/e_j1l.c: Likewise.
53135         * math/e_jnl.c: Likewise.
53136         * math/e_lgammal_r.c: Likewise.
53137         * math/e_log10l.c: Likewise.
53138         * math/e_log2l.c: Likewise.
53139         * math/e_logl.c: Likewise.
53140         * math/e_powl.c: Likewise.
53141         * math/e_rem_pio2l.c: Likewise.
53142         * math/e_sinhl.c: Likewise.
53143         * math/e_sqrtl.c: Likewise.
53144         * math/fclrexcpt.c: Likewise.
53145         * math/fedisblxcpt.c: Likewise.
53146         * math/feenablxcpt.c: Likewise.
53147         * math/fegetenv.c: Likewise.
53148         * math/fegetexcept.c: Likewise.
53149         * math/fegetround.c: Likewise.
53150         * math/feholdexcpt.c: Likewise.
53151         * math/fesetenv.c: Likewise.
53152         * math/fesetround.c: Likewise.
53153         * math/feupdateenv.c: Likewise.
53154         * math/fgetexcptflg.c: Likewise.
53155         * math/fraiseexcpt.c: Likewise.
53156         * math/fsetexcptflg.c: Likewise.
53157         * math/ftestexcept.c: Likewise.
53158         * math/k_cosl.c: Likewise.
53159         * math/k_rem_pio2l.c: Likewise.
53160         * math/k_sinl.c: Likewise.
53161         * math/k_tanl.c: Likewise.
53162         * math/s_asinhl.c: Likewise.
53163         * math/s_atanl.c: Likewise.
53164         * math/s_cbrtl.c: Likewise.
53165         * math/s_erfl.c: Likewise.
53166         * math/s_expm1l.c: Likewise.
53167         * math/s_log1pl.c: Likewise.
53168         * math/s_tanhl.c: Likewise.
53169         * misc/acct.c: Likewise.
53170         * misc/brk.c: Likewise.
53171         * misc/chflags.c: Likewise.
53172         * misc/chroot.c: Likewise.
53173         * misc/fchflags.c: Likewise.
53174         * misc/fgetxattr.c: Likewise.
53175         * misc/flistxattr.c: Likewise.
53176         * misc/fremovexattr.c: Likewise.
53177         * misc/fsetxattr.c: Likewise.
53178         * misc/fsync.c: Likewise.
53179         * misc/ftruncate.c: Likewise.
53180         * misc/futimes.c: Likewise.
53181         * misc/futimesat.c: Likewise.
53182         * misc/getdomain.c: Likewise.
53183         * misc/getdtsz.c: Likewise.
53184         * misc/gethostid.c: Likewise.
53185         * misc/gethostname.c: Likewise.
53186         * misc/getloadavg.c: Likewise.
53187         * misc/getpagesize.c: Likewise.
53188         * misc/getsysstats.c: Likewise.
53189         * misc/getxattr.c: Likewise.
53190         * misc/gtty.c: Likewise.
53191         * misc/ioctl.c: Likewise.
53192         * misc/lgetxattr.c: Likewise.
53193         * misc/listxattr.c: Likewise.
53194         * misc/llistxattr.c: Likewise.
53195         * misc/lremovexattr.c: Likewise.
53196         * misc/lsetxattr.c: Likewise.
53197         * misc/lutimes.c: Likewise.
53198         * misc/madvise.c: Likewise.
53199         * misc/mincore.c: Likewise.
53200         * misc/mlock.c: Likewise.
53201         * misc/mlockall.c: Likewise.
53202         * misc/mmap.c: Likewise.
53203         * misc/mprotect.c: Likewise.
53204         * misc/msync.c: Likewise.
53205         * misc/munlock.c: Likewise.
53206         * misc/munlockall.c: Likewise.
53207         * misc/munmap.c: Likewise.
53208         * misc/preadv.c: Likewise.
53209         * misc/preadv64.c: Likewise.
53210         * misc/ptrace.c: Likewise.
53211         * misc/pwritev.c: Likewise.
53212         * misc/pwritev64.c: Likewise.
53213         * misc/readv.c: Likewise.
53214         * misc/reboot.c: Likewise.
53215         * misc/remap_file_pages.c: Likewise.
53216         * misc/removexattr.c: Likewise.
53217         * misc/revoke.c: Likewise.
53218         * misc/select.c: Likewise.
53219         * misc/setdomain.c: Likewise.
53220         * misc/setegid.c: Likewise.
53221         * misc/seteuid.c: Likewise.
53222         * misc/sethostid.c: Likewise.
53223         * misc/sethostname.c: Likewise.
53224         * misc/setregid.c: Likewise.
53225         * misc/setreuid.c: Likewise.
53226         * misc/setxattr.c: Likewise.
53227         * misc/sstk.c: Likewise.
53228         * misc/stty.c: Likewise.
53229         * misc/swapoff.c: Likewise.
53230         * misc/swapon.c: Likewise.
53231         * misc/sync.c: Likewise.
53232         * misc/syncfs.c: Likewise.
53233         * misc/syscall.c: Likewise.
53234         * misc/truncate.c: Likewise.
53235         * misc/ualarm.c: Likewise.
53236         * misc/usleep.c: Likewise.
53237         * misc/ustat.c: Likewise.
53238         * misc/utimes.c: Likewise.
53239         * misc/vhangup.c: Likewise.
53240         * misc/writev.c: Likewise.
53241         * posix/_exit.c: Likewise.
53242         * posix/alarm.c: Likewise.
53243         * posix/execve.c: Likewise.
53244         * posix/fexecve.c: Likewise.
53245         * posix/fork.c: Likewise.
53246         * posix/fpathconf.c: Likewise.
53247         * posix/getaddrinfo.c: Likewise.
53248         * posix/getegid.c: Likewise.
53249         * posix/geteuid.c: Likewise.
53250         * posix/getgid.c: Likewise.
53251         * posix/getgroups.c: Likewise.
53252         * posix/getlogin.c: Likewise.
53253         * posix/getlogin_r.c: Likewise.
53254         * posix/getpgid.c: Likewise.
53255         * posix/getpid.c: Likewise.
53256         * posix/getppid.c: Likewise.
53257         * posix/getresgid.c: Likewise.
53258         * posix/getresuid.c: Likewise.
53259         * posix/getsid.c: Likewise.
53260         * posix/getuid.c: Likewise.
53261         * posix/glob64.c: Likewise.
53262         * posix/nanosleep.c: Likewise.
53263         * posix/pathconf.c: Likewise.
53264         * posix/pause.c: Likewise.
53265         * posix/posix_madvise.c: Likewise.
53266         * posix/pread.c: Likewise.
53267         * posix/pread64.c: Likewise.
53268         * posix/pwrite.c: Likewise.
53269         * posix/pwrite64.c: Likewise.
53270         * posix/sched_getaffinity.c: Likewise.
53271         * posix/sched_getp.c: Likewise.
53272         * posix/sched_gets.c: Likewise.
53273         * posix/sched_primax.c: Likewise.
53274         * posix/sched_primin.c: Likewise.
53275         * posix/sched_rr_gi.c: Likewise.
53276         * posix/sched_setaffinity.c: Likewise.
53277         * posix/sched_setp.c: Likewise.
53278         * posix/sched_sets.c: Likewise.
53279         * posix/sched_yield.c: Likewise.
53280         * posix/setgid.c: Likewise.
53281         * posix/setlogin.c: Likewise.
53282         * posix/setpgid.c: Likewise.
53283         * posix/setresgid.c: Likewise.
53284         * posix/setresuid.c: Likewise.
53285         * posix/setsid.c: Likewise.
53286         * posix/setuid.c: Likewise.
53287         * posix/sleep.c: Likewise.
53288         * posix/spawni.c: Likewise.
53289         * posix/sysconf.c: Likewise.
53290         * posix/times.c: Likewise.
53291         * posix/wait.c: Likewise.
53292         * posix/wait3.c: Likewise.
53293         * posix/wait4.c: Likewise.
53294         * posix/waitpid.c: Likewise.
53295         * resolv/gai_sigqueue.c: Likewise.
53296         * resource/getpriority.c: Likewise.
53297         * resource/getrlimit.c: Likewise.
53298         * resource/getrusage.c: Likewise.
53299         * resource/nice.c: Likewise.
53300         * resource/setpriority.c: Likewise.
53301         * resource/setrlimit.c: Likewise.
53302         * resource/ulimit.c: Likewise.
53303         * rt/aio_cancel.c: Likewise.
53304         * rt/aio_fsync.c: Likewise.
53305         * rt/aio_read.c: Likewise.
53306         * rt/aio_sigqueue.c: Likewise.
53307         * rt/aio_suspend.c: Likewise.
53308         * rt/aio_write.c: Likewise.
53309         * rt/clock_getres.c: Likewise.
53310         * rt/clock_gettime.c: Likewise.
53311         * rt/clock_nanosleep.c: Likewise.
53312         * rt/clock_settime.c: Likewise.
53313         * rt/lio_listio.c: Likewise.
53314         * rt/mq_close.c: Likewise.
53315         * rt/mq_getattr.c: Likewise.
53316         * rt/mq_notify.c: Likewise.
53317         * rt/mq_open.c: Likewise.
53318         * rt/mq_receive.c: Likewise.
53319         * rt/mq_send.c: Likewise.
53320         * rt/mq_setattr.c: Likewise.
53321         * rt/mq_timedreceive.c: Likewise.
53322         * rt/mq_timedsend.c: Likewise.
53323         * rt/mq_unlink.c: Likewise.
53324         * rt/shm_open.c: Likewise.
53325         * rt/shm_unlink.c: Likewise.
53326         * rt/timer_create.c: Likewise.
53327         * rt/timer_delete.c: Likewise.
53328         * rt/timer_getoverr.c: Likewise.
53329         * rt/timer_gettime.c: Likewise.
53330         * rt/timer_settime.c: Likewise.
53331         * setjmp/__longjmp.c: Likewise.
53332         * setjmp/setjmp.c: Likewise.
53333         * signal/kill.c: Likewise.
53334         * signal/killpg.c: Likewise.
53335         * signal/raise.c: Likewise.
53336         * signal/sigaction.c: Likewise.
53337         * signal/sigaltstack.c: Likewise.
53338         * signal/sigblock.c: Likewise.
53339         * signal/sigignore.c: Likewise.
53340         * signal/sigintr.c: Likewise.
53341         * signal/signal.c: Likewise.
53342         * signal/sigpause.c: Likewise.
53343         * signal/sigpending.c: Likewise.
53344         * signal/sigqueue.c: Likewise.
53345         * signal/sigreturn.c: Likewise.
53346         * signal/sigset.c: Likewise.
53347         * signal/sigsetmask.c: Likewise.
53348         * signal/sigstack.c: Likewise.
53349         * signal/sigsuspend.c: Likewise.
53350         * signal/sigtimedwait.c: Likewise.
53351         * signal/sigvec.c: Likewise.
53352         * signal/sigwait.c: Likewise.
53353         * signal/sigwaitinfo.c: Likewise.
53354         * signal/sysv_signal.c: Likewise.
53355         * socket/accept.c: Likewise.
53356         * socket/accept4.c: Likewise.
53357         * socket/bind.c: Likewise.
53358         * socket/connect.c: Likewise.
53359         * socket/getpeername.c: Likewise.
53360         * socket/getsockname.c: Likewise.
53361         * socket/getsockopt.c: Likewise.
53362         * socket/isfdtype.c: Likewise.
53363         * socket/listen.c: Likewise.
53364         * socket/recv.c: Likewise.
53365         * socket/recvfrom.c: Likewise.
53366         * socket/recvmsg.c: Likewise.
53367         * socket/send.c: Likewise.
53368         * socket/sendmsg.c: Likewise.
53369         * socket/sendto.c: Likewise.
53370         * socket/setsockopt.c: Likewise.
53371         * socket/shutdown.c: Likewise.
53372         * socket/sockatmark.c: Likewise.
53373         * socket/socket.c: Likewise.
53374         * socket/socketpair.c: Likewise.
53375         * stdio-common/ctermid.c: Likewise.
53376         * stdio-common/cuserid.c: Likewise.
53377         * stdio-common/remove.c: Likewise.
53378         * stdio-common/rename.c: Likewise.
53379         * stdio-common/renameat.c: Likewise.
53380         * stdio-common/tempname.c: Likewise.
53381         * stdlib/getcontext.c: Likewise.
53382         * stdlib/makecontext.c: Likewise.
53383         * stdlib/setcontext.c: Likewise.
53384         * stdlib/swapcontext.c: Likewise.
53385         * stdlib/system.c: Likewise.
53386         * streams/fattach.c: Likewise.
53387         * streams/fdetach.c: Likewise.
53388         * streams/getmsg.c: Likewise.
53389         * streams/getpmsg.c: Likewise.
53390         * streams/putmsg.c: Likewise.
53391         * streams/putpmsg.c: Likewise.
53392         * sysdeps/unix/bsd/getpt.c: Likewise.
53393         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53394         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53395         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53397         Likewise.
53398         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53399         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53400         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53401         * sysvipc/msgctl.c: Likewise.
53402         * sysvipc/msgget.c: Likewise.
53403         * sysvipc/msgrcv.c: Likewise.
53404         * sysvipc/msgsnd.c: Likewise.
53405         * sysvipc/semctl.c: Likewise.
53406         * sysvipc/semget.c: Likewise.
53407         * sysvipc/semop.c: Likewise.
53408         * sysvipc/semtimedop.c: Likewise.
53409         * sysvipc/shmat.c: Likewise.
53410         * sysvipc/shmctl.c: Likewise.
53411         * sysvipc/shmdt.c: Likewise.
53412         * sysvipc/shmget.c: Likewise.
53413         * termios/tcdrain.c: Likewise.
53414         * termios/tcflow.c: Likewise.
53415         * termios/tcflush.c: Likewise.
53416         * termios/tcgetattr.c: Likewise.
53417         * termios/tcgetpgrp.c: Likewise.
53418         * termios/tcsendbrk.c: Likewise.
53419         * termios/tcsetattr.c: Likewise.
53420         * termios/tcsetpgrp.c: Likewise.
53421         * time/adjtime.c: Likewise.
53422         * time/clock.c: Likewise.
53423         * time/getitimer.c: Likewise.
53424         * time/gettimeofday.c: Likewise.
53425         * time/setitimer.c: Likewise.
53426         * time/settimeofday.c: Likewise.
53427         * time/stime.c: Likewise.
53428         * time/time.c: Likewise.
53430 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53432         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53433         /usr/old/bin.
53435         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53436         instead of spaces.
53437         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53439 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53441         [BZ #14796]
53442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53443         FE_TONEAREST before applying Dekker multiplication and Knuth
53444         addition.  Clear inexact exceptions and check for exact zero
53445         results afterwards.
53446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53449         * math/libm-test.inc (fma_test): Add more tests.
53450         (fma_test_towardzero): Likewise.
53451         (fma_test_downward): Likewise.
53452         (fma_test_upward): Likewise.
53453         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53454         function.
53455         (libc_fesetround): New macro.
53456         (libc_fesetroundf): Likewise.
53457         (libc_fesetroundl): Likewise.
53458         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53459         function.
53460         (libc_fesetround_387): Likewise.
53461         (libc_fesetroundf): New macro.
53462         (libc_fesetround): Likewise.
53463         (libc_fesetroundl): Likewise.
53464         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53465         function.
53466         (libc_fesetroundf): New macro.
53467         (libc_fesetround): Likewise.
53468         (libc_fesetroundl): Likewise.
53469         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53470         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53471         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53472         libm_hidden_ver.
53473         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53474         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53475         libm_hidden_def.
53476         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53477         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53478         libm_hidden_ver.
53479         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53480         libm_hidden_def.
53482         [BZ #3439]
53483         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53484         integer constant usable in #if and use that to give value to enum
53485         constant.
53486         (FE_DIVBYZERO): Likewise.
53487         (FE_UNDERFLOW): Likewise.
53488         (FE_OVERFLOW): Likewise.
53489         (FE_INVALID): Likewise.
53490         (FE_INVALID_SNAN): Likewise.
53491         (FE_INVALID_ISI): Likewise.
53492         (FE_INVALID_IDI): Likewise.
53493         (FE_INVALID_ZDZ): Likewise.
53494         (FE_INVALID_IMZ): Likewise.
53495         (FE_INVALID_COMPARE): Likewise.
53496         (FE_INVALID_SOFTWARE): Likewise.
53497         (FE_INVALID_SQRT): Likewise.
53498         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53499         (FE_TONEAREST): Likewise.
53500         (FE_TOWARDZERO): Likewise.
53501         (FE_UPWARD): Likewise.
53502         (FE_DOWNWARD): Likewise.
53503         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53504         (FE_DIVBYZERO): Likewise.
53505         (FE_OVERFLOW): Likewise.
53506         (FE_UNDERFLOW): Likewise.
53507         (FE_INEXACT): Likewise.
53508         (FE_TONEAREST): Likewise.
53509         (FE_DOWNWARD): Likewise.
53510         (FE_UPWARD): Likewise.
53511         (FE_TOWARDZERO): Likewise.
53512         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53513         (FE_UNDERFLOW): Likewise.
53514         (FE_OVERFLOW): Likewise.
53515         (FE_DIVBYZERO): Likewise.
53516         (FE_INVALID): Likewise.
53517         (FE_TONEAREST): Likewise.
53518         (FE_TOWARDZERO): Likewise.
53519         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53520         (FE_OVERFLOW): Likewise.
53521         (FE_UNDERFLOW): Likewise.
53522         (FE_DIVBYZERO): Likewise.
53523         (FE_INEXACT): Likewise.
53524         (FE_TONEAREST): Likewise.
53525         (FE_TOWARDZERO): Likewise.
53526         (FE_UPWARD): Likewise.
53527         (FE_DOWNWARD): Likewise.
53528         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53529         (FE_DIVBYZERO): Likewise.
53530         (FE_OVERFLOW): Likewise.
53531         (FE_UNDERFLOW): Likewise.
53532         (FE_INEXACT): Likewise.
53533         (FE_TONEAREST): Likewise.
53534         (FE_DOWNWARD): Likewise.
53535         (FE_UPWARD): Likewise.
53536         (FE_TOWARDZERO): Likewise.
53538 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53540         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53542 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53544         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53545         commands.  Quote $PWD.
53546         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53547         -x" by "export".
53548         (remove_newlines): Remove.
53550 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53552         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53553         * stdlib/stdlib.h (atof): Moved to ...
53554         * include/bits/stdlib-float.h: Here.  New file.
53555         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53556         * stdlib/bits/stdlib-float.h: New file.
53557         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53558         -mno-sse -mno-mmx.
53559         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53560         <xmmintrin.h>.
53562 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53564         * conform/conformtest.pl (@headers): Add fenv.h.
53565         * conform/data/fenv.h-data: New file.
53566         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53567         include of <math/fenv.h>.
53569         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53570         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53571         && !UNIX98].  Enables tests for XOPEN2K8.
53572         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53573         POSIX2008]: Likewise.
53575         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53576         (struct rusage): Do not expect type or its members.
53578         [BZ #3439]
53579         * math/math.h (FP_NAN): Define macro to integer constant usable in
53580         #if and use that to give value to enum constant.
53581         (FP_INFINITE): Likewise.
53582         (FP_ZERO): Likewise.
53583         (FP_SUBNORMAL): Likewise.
53584         (FP_NORMAL): Likewise.
53586 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53588         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53589         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53590         arguments.
53592 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53594         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53595         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53596         autoconf-time if not.
53597         * configure.in: Remove AC_PREREQ.
53599 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53601         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53602         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53603         of the internal implementation.
53605 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53607         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53608         except include of <misc/sys/syslog.h>.
53610 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53613         function returns with a NULL context exit with zero.
53615 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53617         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53619 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53621         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53622         (run_program_cmd): This.
53623         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53624         (tst_langinfo): New variable.  Use it.
53626 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53628         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53629         floating point opcodes.
53631 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53633         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53634         variable.
53636         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53638         * sysdeps/mach/hurd/powerpc: Remove directory.
53639         * sysdeps/mach/powerpc: Likewise.
53641 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53643         * scripts/check-local-headers.sh: Ignore c++ headers.
53645 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53647         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53648         __libc_cleanup_region_start argument.
53650 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53652         [BZ #14784]
53653         [BZ #14785]
53654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53655         x * y using scaling, not as x * y + z.
53656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53658         * math/libm-test.inc (fma_test): Add more tests.
53659         (fma_test_towardzero): Likewise.
53660         (fma_test_downward): Likewise.
53661         (fma_test_upward): Likewise.
53663 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53665         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53667 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53669         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53670         New variable.
53672 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53674         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53676 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53679         Fix sort order.
53680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53681         Likewise.
53683 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53686         Fix the order of the list for glibc 2.17.
53687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53688         Likewise.
53690 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53694 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53696         [BZ #14610]
53697         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53698         for low part of x being zero before using __atanl (y).
53699         * math/libm-test.inc (atan2_test): Add another test.
53701         * manual/install.texi (Configuring and compiling): Document
53702         general use of test-wrapper and test-wrapper-env.
53703         * INSTALL: Regenerated.
53705         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53706         (__fma): Do not extract and scale down low bits on after-rounding
53707         systems when result rounded to normal precision would have normal
53708         exponent.
53709         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53710         (__fmal): Do not extract and scale down low bits on after-rounding
53711         systems when result rounded to normal precision would have normal
53712         exponent.
53713         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53714         (__fmal): Do not extract and scale down low bits on after-rounding
53715         systems when result rounded to normal precision would have normal
53716         exponent.
53717         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53718         macro.
53719         (fma_test): Add more tests.
53720         (fma_test_towardzero): Likewise.
53721         (fma_test_downward): Likewise.
53722         (fma_test_upward): Likewise.
53724 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
53726         * sysdeps/i386/tininess.h: Renamed to ...
53727         * sysdeps/x86/tininess.h: This.
53728         * sysdeps/x86_64/tininess.h: Removed.
53730 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53732         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53733         input.  Use $(build-program-cmd).
53734         ($(objpfx)tst-array1-static.out): Likewise.
53735         ($(objpfx)tst-array2.out): Likewise.
53736         ($(objpfx)tst-array3.out): Likewise.
53737         ($(objpfx)tst-array4.out): Likewise.
53738         ($(objpfx)tst-array5.out): Likewise.
53739         ($(objpfx)tst-array5-static.out): Likewise.
53741 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
53743         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53744         if defined.
53746         * nss/nsswitch.h (nss_interface_function): Provide new
53747         macro for use with NSS functions.
53748         * grp/initgroups.c: Use new macro.
53749         * nss/getXXbyYY.c: Likewise.
53750         * nss/getXXbyYY_r.c: Likewise.
53751         * nss/getXXent.c: Likewise.
53752         * nss/getXXent_r.c: Likewise.
53753         * sysdeps/posix/getaddrinfo.c: Likewise.
53755 2012-10-30  Andreas Jaeger  <aj@suse.de>
53757         * po/ru.po: Update Russion translation from translation project.
53759 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53761         [BZ #14152]
53762         [BZ #14783]
53763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53764         result and shift together with sticky bit instead of replicating
53765         round-to-nearest rounding.
53766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53768         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
53769         missing underflow exceptions.
53770         (fma_test_towardzero): Add more tests.
53771         (fma_test_downward): Likewise.
53772         (fma_test_upward): Likewise.
53774         [BZ #14047]
53775         * sysdeps/generic/tininess.h: New file.
53776         * sysdeps/i386/tininess.h: Likewise.
53777         * sysdeps/sh/tininess.h: Likewise.
53778         * sysdeps/x86_64/tininess.h: Likewise.
53779         * stdlib/tst-strtod-underflow.c: Likewise.
53780         * stdlib/tst-tininess.c: Likewise.
53781         * stdlib/strtod_l.c: Include <tininess.h>.
53782         (round_and_return): Do not set errno for exact underflow cases.
53783         Force an underflow exception when setting errno for underflow.
53784         Determine underflow based on rounding to normal precision if
53785         TININESS_AFTER_ROUNDING.
53786         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53787         ERANGE for exact underflow cases.
53788         * stdlib/Makefile (tests): Add tst-tininess and
53789         tst-strtod-underflow.
53790         ($(objpfx)tst-tininess): Use $(link-libm).
53791         ($(objpfx)tst-strtod-underflow): Likewise.
53793 2012-10-30  Andreas Jaeger  <aj@suse.de>
53795         [BZ#14767]
53796         * elf/Makefile (tests): Remove conditional for have-initfini-array
53797         since this is now always required and the variable does not exist
53798         anymore.
53799         (tests-static): Likewise.
53800         (modules-names): Likewise.
53802         * po/eo.po: Add Esperanto translation from translation project.
53804         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53805         merged with constructor/destructor.
53806         (init_array): Likewise.
53807         * elf/tst-array2dep.c (fini_array): Likewise.
53808         (init_array): Likewise.
53810 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53812         * manual/message.texi: Delete @cartouche tags.
53814 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53816         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53817         EOPNOTSUPP.
53818         * sysdeps/mach/hurd/fsync.c: Likewise.
53820         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53821         [_POSIX_REALTIME_SIGNALS]: Change condition to
53822         [_POSIX_REALTIME_SIGNALS > 0].
53824 2012-10-27  Andreas Jaeger  <aj@suse.de>
53826         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53827         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53829         [__WORDSIZE != 64]: Likewise.
53831 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53833         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53834         *  iconvdata/tst-tables.sh: Likewise.
53836 2012-10-25  David S. Miller  <davem@davemloft.net>
53838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53839         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53840         of strtoull.
53842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53843         ifunc-impl-list.c
53844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53845         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53846         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53847         file.
53849 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53852         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53853         __getdirentries.
53855 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53856             Jim Blandy  <jimb@codesourcery.com>
53858         * scripts/cross-test-ssh.sh: New file.
53859         * manual/install.texi (Configuring and compiling): Document use of
53860         cross-test-ssh.sh.
53861         * INSTALL: Regenerated.
53863 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53865         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53866         EOPNOTSUPP.
53868 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53870         * Makeconfig (run-program-prefix): Fix comment.
53872 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53873             Jim Blandy  <jimb@codesourcery.com>
53875         * Makeconfig (test-wrapper): New variable,
53876         (test-wrapper-env): Likewise.
53877         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53878         (run-built-tests): Define to yes.
53879         (run-program-prefix): Use $(test-wrapper).
53880         (built-program-cmd): Likewise.
53881         * Rules (make-test-out): Use $(test-wrapper-env) and
53882         $(host-built-program-cmd).
53883         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53884         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53885         tst-pathopt.sh.
53886         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53887         $(test-wrapper-env) to tst-rtld-load-self.sh.
53888         ($(objpfx)order2.out): Use $(test-wrapper).
53889         ($(objpfx)tst-initorder.out): Likewise.
53890         ($(objpfx)tst-initorder2.out): Likewise.
53891         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53892         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53893         (test_wrapper_env): New variable.  Use it to run ld.so.
53894         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53895         Use it to run ld.so.
53896         (test_wrapper_env): Likewise.
53897         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53898         $(test-wrapper) to run-iconv-test.sh.
53899         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53900         (ICONV): Use $test_wrapper.
53901         * posix/Makefile ($(objpfx)globtest.out): Pass
53902         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53903         globtest.sh, not $(run-program-prefix).
53904         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53905         (test_wrapper): Likewise.
53906         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53907         set together with run_via_rtld_prefix.
53908         (run_program_prefix): Define in terms of test_wrapper and
53909         run_via_rtld_prefix.
53911 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53913         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53914         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53915         Targets removed.
53917         [BZ #14743]
53918         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53919         Declare __clock_getres, __clock_gettime, __clock_settime,
53920         __clock_nanosleep, and __clock_getcpuclockid.
53921         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53922         Remove librt_hidden_def (clock_gettime).
53923         * sysdeps/unix/clock_gettime.c: Likewise.
53924         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53925         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53926         * rt/clock_getres.c: Define __clock_getres as an alias.
53927         * sysdeps/posix/clock_getres.c: Likewise.
53928         * rt/clock_settime.c: Define __clock_settime as an alias.
53929         * sysdeps/unix/clock_settime.c: Likewise.
53930         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53931         * sysdeps/unix/clock_nanosleep.c: Likewise.
53932         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53933         * rt/clock-compat.c: New file.
53934         * rt/Makefile (librt-routines): Add clock-compat and move
53935         $(clock-routines) to ...
53936         (routines): ... here, new variable.
53937         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53938         Don't add get_clockfreq here.
53939         * rt/Versions (libc: GLIBC_2.17): New version set.
53940         Add clock_* symbols here.
53941         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53943         (GLIBC_2.17): Add clock_* symbols.
53944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53948         Likewise.
53949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53950         Likewise.
53951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53955         * NEWS: Mention the move.
53957         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53958         Use __open, __read, __close rather than their public counterparts.
53959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53960         (__get_clockfreq_via_cpuinfo): Likewise.
53961         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53962         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53964         * config.h.in (HAVE_IFUNC): New #undef.
53965         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53966         was successful.
53967         * configure: Regenerated.
53969 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53971         * configure.in: Move READELF check to start of file.
53972         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53973         libc_cv_asm_gnu_indirect_function in the process.
53974         * configure: Regenerated.
53976 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53978         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53979         send the output to /dev/null.
53980         (libc_cv_cc_with_libunwind): Likewise.
53981         (libc_cv_as_noexecstack): Likewise.
53982         * configure: Regenerate.
53984 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53986         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53988         * posix/globtest.sh (TMPDIR): Do not set.
53989         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53990         (testout): Likewise.
53992 2012-10-24  Andreas Jaeger  <aj@suse.de>
53994         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53995         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53996         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53997         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53998         posix_fadvise64, posix_fallocate64.
54000         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54001         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54002         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54003         Likewise.
54004         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54005         Likewise.
54006         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54009         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54010         <bits/fcntl-linux.h>.
54011         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54014         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54015         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54016         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54017         [__WORDSIZE != 64]: Likewise.
54019 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54021         * Makeconfig (run-built-tests): New variable.
54022         * Rules [$(cross-compiling) = yes]: Change condition to
54023         [$(run-built-tests) = no].
54024         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54025         to [$(run-built-tests) = yes].
54026         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54027         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54028         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54029         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54030         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54031         * io/Makefile [$(cross-compiling) = no]: Likewise.
54032         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54033         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54034         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54035         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54036         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54037         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54038         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54039         * string/Makefile [$(cross-compiling) = no]: Likewise.
54041         * posix/Makefile ($(objpfx)globtest.out): Pass
54042         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54043         $(rtld-installed-name).
54044         * posix/globtest.sh (elf_objpfx): Remove variable.
54045         (rtld_installed_name): Likewise.
54046         (library_path): Likewise.
54047         (run_program_prefix): New variable.  Use for running globtest
54048         binary.
54050 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54051             Joseph Myers  <joseph@codesourcery.com>
54053         * Makeconfig (host-built-program-cmd): New variable.
54054         * elf/Makefile (tst-stackguard1-ARGS): Use
54055         $(host-built-program-cmd).
54056         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54057         (tst-spawn-ARGS): Likewise.
54058         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54060 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54061             Jim Blandy  <jimb@codesourcery.com>
54063         * Makeconfig (run-via-rtld-prefix): New variable.
54064         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54065         (built-program-cmd): Likewise.
54067 2012-10-22  Andreas Jaeger  <aj@suse.de>
54069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54070         __O_RSYNC if it exists, otherwise to O_SYNC.
54072 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54073             Joseph Myers  <joseph@codesourcery.com>
54075         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54076         /dev/null.
54077         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54078         from /dev/null
54079         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54080         /dev/null.
54082 2012-10-22  Andreas Jaeger  <aj@suse.de>
54084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54085         Define always.
54086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54089         bits/fcntl-linux.h.
54091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54092         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54095         to __O_LARGEFILE.
54096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54097         to __O_LARGEFILE.
54099 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54100             Joseph Myers  <joseph@codesourcery.com>
54102         * config.make.in (NM): New variable.
54104 2012-10-21  Andreas Jaeger  <aj@suse.de>
54106         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54107         definitions and declarations that are provided by
54108         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54110 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54112         [BZ #14683]
54113         * elf/Makefile (tests-static): Add tst-leaks1-static.
54114         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54115         ($(objpfx)tst-leaks1-static): New rule.
54116         ($(objpfx)tst-leaks1-static-mem): Likewise.
54117         (tst-leaks1-static-ENV): New macro.
54118         * elf/dl-open.c (dl_open_worker): Check the main application
54119         only if SHARED is defined.
54120         * elf/tst-leaks1-static.c: New file.
54122 2012-10-20  Andreas Jaeger  <aj@suse.de>
54124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54125         generic values for Linux.
54126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54127         and declarations that are provided by <bits/fcntl-linux.h> and
54128         include <bits/fcntl-linux.h>.
54129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54132 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54134         * io/fcntl.h: Move include of <bits/types.h> to the top and
54135         include it unconditionally.
54137 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54139         * wcsmbs/Makefile (tests-ifunc): New variable.
54140         (tests): Add $(tests-ifunc).
54141         * wcsmbs/test-wcschr-ifunc.c: New file.
54142         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54143         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54144         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54145         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54146         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54148         * string/Makefile (tests-ifunc): New variable.
54149         (tests): Add $(tests-ifunc).
54150         * string/test-memccpy.c (TEST_NAME): New macro.
54151         * string/test-memchr.c (TEST_NAME): Likewise.
54152         * string/test-memcmp.c (TEST_NAME): Likewise.
54153         * string/test-memcpy.c (TEST_NAME): Likewise.
54154         * string/test-memmem.c (TEST_NAME): Likewise.
54155         * string/test-memmove.c (TEST_NAME): Likewise.
54156         * string/test-memset.c (TEST_NAME): Likewise.
54157         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54158         * string/test-stpcpy.c (TEST_NAME): Likewise.
54159         * string/test-stpncpy.c (TEST_NAME): Likewise.
54160         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54161         * string/test-strcasestr.c (TEST_NAME): Likewise.
54162         * string/test-strcat.c (TEST_NAME): Likewise.
54163         * string/test-strchr.c (TEST_NAME): Likewise.
54164         * string/test-strcmp.c(TEST_NAME): Likewise.
54165         * string/test-strcpy.c (TEST_NAME): Likewise.
54166         * string/test-strcspn.c (TEST_NAME): Likewise.
54167         * string/test-strlen.c (TEST_NAME): Likewise.
54168         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54169         * string/test-strncmp.c (TEST_NAME): Likewise.
54170         * string/test-strncpy.c (TEST_NAME): Likewise.
54171         * string/test-strnlen.c (TEST_NAME): Likewise.
54172         * string/test-strpbrk.c (TEST_NAME): Likewise.
54173         * string/test-strrchr.c (TEST_NAME): Likewise.
54174         * string/test-strspn.c (TEST_NAME): Likewise.
54175         * string/test-strstr.c (TEST_NAME): Likewise.
54176         * string/test-bcopy-ifunc.c: New file.
54177         * string/test-bzero-ifunc.c: Likewise.
54178         * string/test-memccpy-ifunc.c: Likewise.
54179         * string/test-memchr-ifunc.c: Likewise.
54180         * string/test-memcmp-ifunc.c: Likewise.
54181         * string/test-memcpy-ifunc.c: Likewise.
54182         * string/test-memmem-ifunc.c: Likewise.
54183         * string/test-memmove-ifunc.c: Likewise.
54184         * string/test-mempcpy-ifunc.c: Likewise.
54185         * string/test-memset-ifunc.c: Likewise.
54186         * string/test-rawmemchr-ifunc.c: Likewise.
54187         * string/test-stpcpy-ifunc.c: Likewise.
54188         * string/test-stpncpy-ifunc.c: Likewise.
54189         * string/test-strcasecmp-ifunc.c: Likewise.
54190         * string/test-strcasestr-ifunc.c: Likewise.
54191         * string/test-strcat-ifunc.c: Likewise.
54192         * string/test-strchr-ifunc.c: Likewise.
54193         * string/test-strchrnul-ifunc.c: Likewise.
54194         * string/test-strcmp-ifunc.c: Likewise.
54195         * string/test-strcpy-ifunc.c: Likewise.
54196         * string/test-strcspn-ifunc.c: Likewise.
54197         * string/test-strlen-ifunc.c: Likewise.
54198         * string/test-strncasecmp-ifunc.c: Likewise.
54199         * string/test-strncat-ifunc.c: Likewise.
54200         * string/test-strncmp-ifunc.c: Likewise.
54201         * string/test-strncpy-ifunc.c: Likewise.
54202         * string/test-strnlen-ifunc.c: Likewise.
54203         * string/test-strpbrk-ifunc.c: Likewise.
54204         * string/test-strrchr-ifunc.c: Likewise.
54205         * string/test-strspn-ifunc.c: Likewise.
54206         * string/test-strstr-ifunc.c: Likewise.
54208         * debug/Makefile (tests-ifunc): New variable.
54209         (tests): Add $(tests-ifunc).
54210         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54211         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54212         * debug/test-stpcpy_chk-ifunc.c: New file.
54213         * debug/test-strcpy_chk-ifunc.c: Likewise.
54215 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54217         [BZ #13601]
54218         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54219         header is not read in.
54221 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54223         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54224         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54225         directly.  Pass built executable to script as
54226         $(built-program-cmd).
54227         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54228         $testprogram without using LD_LIBRARY_PATH and $ldso.
54230         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54231         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54232         $(rtld-installed-name).
54233         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54234         (rtld_installed_name): Likewise.
54235         (library_path): Likewise.
54236         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54237         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54238         $(run-program-prefix) to tst-tables.sh.
54239         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54240         it to run tst-table-from and tst-table-to.
54241         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54242         Pass it to tst-table.sh.
54243         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54244         $(run-program-prefix) to tst-gettext.sh.
54245         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54246         tst-translit.sh.
54247         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54248         tst-gettext2.sh.
54249         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54250         to run tst-gettext.
54251         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54252         to run tst-gettext2.
54253         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54254         to run tst-translit.
54255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54256         $(run-program-prefix) to tst-mtrace.sh.
54257         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54258         to run tst-mtrace.
54259         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54260         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54261         $(rtld-installed-name).
54262         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54263         (rtld_installed_name): Likewise.
54264         (run_program_prefix): New variable.  Use it to run wordexp-test.
54266         * Makeconfig (ARCH): Remove all definitions.
54267         (machine): Likewise.
54268         [ARCH]: Remove conditional code.
54269         [!objdir]: Give error.
54270         [!objdir] (objpfx): Remove.
54271         [!objdir] (common-objpfx): Likewise.
54272         [!objdir] (common-objdir): Likewise.
54273         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54274         AC_CONFIG_FILES call.
54275         * configure: Regenerated.
54277         [BZ #13888]
54278         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54279         or TMPDIR.
54280         (testout): Likewise.
54282         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54283         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54284         $(rtld-installed-name).
54285         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54286         (rtld_installed_name): Likwise.
54287         (runit): Remove function.
54288         (run_getconf): New variable,  Use it for running getconf binary.
54290 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54292         [BZ #14716]
54293         * string/test-memmem.c (check_result): New function.
54294         (do_one_test): Use it.
54295         (check1): New function.
54296         (test_main): Use it.
54298 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54300         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54302 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54304         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54305         (_G_LSEEK64): Likewise.
54306         (_G_MMAP64): Likewise.
54307         (_G_FSTAT64): Likewise.
54308         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54309         (_G_LSEEK64): Likewise.
54310         (_G_MMAP64): Likewise.
54311         (_G_FSTAT64): Likewise.
54312         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54313         unconditional.  Call __mmap64 directly.
54314         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54315         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54316         __lseek64 directly.
54317         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54318         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54319         __mmap64 directly.
54320         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54321         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54322         __lseek64 directly.
54323         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54324         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54325         __lseek64 directly.
54326         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54327         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54328         __lseek64 directly.
54329         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54330         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54331         __fxstat64 directly.
54332         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54333         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54334         unconditional.
54335         (freopen64) [!_G_OPEN64]: Remove conditional code.
54336         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54337         unconditional.
54338         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54339         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54340         unconditional.
54341         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54342         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54343         unconditional.
54344         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54345         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54346         unconditional.
54347         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54348         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54349         unconditional.
54350         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54351         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54352         unconditional.
54353         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54354         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54355         unconditional.
54356         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54358 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54360         [BZ #12140]
54361         * manual/memory.texi (Malloc Tunable Parameters): Add note
54362         about free list pointers overwriting some perturb bytes.
54363         Wording suggested by Roland McGrath.
54365 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54367         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54368         (lgamma_test): Likewise.
54369         (tgamma_test): Likewise.
54371 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54373         [BZ #14700]
54374         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54375         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54377 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54379         * NEWS: Mention BZ #14716.
54380         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54381         when removing AVAILABLE1_USES_J macro.
54383 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54385         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54386         (__bswap_64): __uint64_t for unsigned 64-bit int.
54388 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54390         * include/string.h (memmem): Declare libc hidden alias.
54391         * string/memmem.c (memmem): Define libc hidden alias.
54392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54393         __read, __close instead of open, read, close.
54395 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54398         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54399         global and hidden.
54400         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54401         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54402         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54403         Likewise.
54404         (__rawmemchr_sse2): Likewise.
54405         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54406         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54407         (__strchr_sse2): Likewise.
54408         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54409         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54410         (__strcasecmp_sse2): Likewise.
54411         (__strncasecmp_sse2): Likewise.
54412         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54413         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54414         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54415         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54416         (__strrchr_sse2): Likewise.
54417         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54418         ifunc-impl-list.c.
54419         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54420         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54421         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54422         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54423         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54425         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54427         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54428         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54429         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54430         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54431         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54432         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54433         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54435         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54436         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54437         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54438         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54439         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54440         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54441         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54442         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54443         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54444         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54446         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54447         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54448         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54450         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54451         global and hidden.
54452         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54453         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54454         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54455         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54456         Likewise.
54457         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54458         Likewise.
54459         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54460         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54461         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54462         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54463         ifunc-impl-list.c.
54464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54466         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54467         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54468         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54469         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54470         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54471         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54472         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54473         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54477         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54478         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54479         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54481         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54482         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54483         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54487         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54488         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54489         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54490         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54491         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54492         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54493         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54494         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54495         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54496         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54497         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54498         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54500         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54501         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54502         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54503         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54504         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54506         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54507         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54508         * include/ifunc-impl-list.h: New file.
54509         * misc/ifunc-impl-list.c: Likewise.
54510         * misc/Makefile (routines): Add ifunc-impl-list.
54511         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54512         * string/test-string.h: Include <ifunc-impl-list.h>.
54513         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54514         TEST_NAME]: New variables.
54515         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54516         are defined.
54517         (test_init): Call __libc_ifunc_impl_list to initialize
54518         func_list if TEST_IFUNC and TEST_NAME are defined.
54520         * string/Makefile (strop-tests): Add bcopy and bzero.
54521         * string/test-bcopy.c: New file.
54522         * string/test-bzero.c: Likewise.
54523         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54524         defined.
54525         * string/test-memset.c: Support bzero test if TEST_BZERO is
54526         defined.
54527         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54528         __libc_memmove.
54529         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54530         __libc_memset.
54531         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54532         of memset.
54534 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54536         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54537         * configure: Regenerated.
54539         * Makeconfig (+link-static-before-libc): Don't include
54540         $(link-static-libc).
54542         * libio/libio.h (_IO_pos_t): Remove.
54544 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54546         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54547         McGrath.
54549 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54551         * crypt/crypt-entry.c: Include fips-private.h.
54552         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54553         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54554         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54555         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54557 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54559         * crypt/crypt-private.h: Include stdbool.h.
54560         (_ufc_setup_salt_r): Return bool.
54561         * crypt/crypt-entry.c: Include errno.h.
54562         (__crypt_r): Return NULL with EINVAL for bad salt.
54563         * crypt/crypt_util.c (bad_for_salt): New.
54564         (_ufc_setup_salt_r): Check that salt is long enough and within
54565         the specified alphabet.
54566         * crypt/badsalttest.c: New file.
54567         * crypt/Makefile (tests): Add it.
54568         ($(objpfx)badsalttest): New.
54570 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54572         * NEWS: Add entry for BZ #14602.
54574 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54576         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54577         type-generic.
54578         * math/libm-test.inc: Update comment listing what functions and
54579         macros are tested.
54580         (isgreater_test): New function.
54581         (isgreaterequal_test): Likewise.
54582         (isless_test): Likewise.
54583         (islessequal_test): Likewise.
54584         (islessgreater_test): Likewise.
54585         (isunordered_test): Likewise.
54586         (main): Call the new functions.
54588 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54590         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54591         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54592         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54593         * sysdeps/i386/configure: Regenerated.
54594         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54595         * sysdeps/mach/configure: Regenerated.
54596         * sysdeps/mach/hurd/configure: Regenerated.
54597         * sysdeps/powerpc/configure: Regenerated.
54598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54600         * sysdeps/s390/s390-32/configure: Regenerated.
54601         * sysdeps/s390/s390-64/configure: Regenerated.
54602         * sysdeps/sh/configure: Regenerated.
54603         * sysdeps/sparc/configure: Regenerated.
54604         * sysdeps/unix/sysv/linux/configure: Regenerated.
54605         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54606         * sysdeps/x86_64/configure: Regenerated.
54608         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54609         defined.  Don't check if MAP is NULL.
54611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54613         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54614         (_G_stat64): Likewise.
54615         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54616         (_G_stat64): Likewise.
54617         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54618         instead of struct _G_stat64.
54619         * libio/fileops.c (mmap_remap_check): Likewise.
54620         (decide_maybe_mmap): Likewise.
54621         (_IO_new_file_seekoff): Likewise.
54622         (_IO_file_stat): Likewise.
54623         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54624         _G_off64_t.
54625         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54626         instead of struct _G_stat64.
54627         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54629 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54631         [BZ #14602]
54632         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54633         Replace with ...
54634         (CHECK_EOL): New macro.
54635         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54636         CHECK_EOL.
54637         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54638         Replace with CHECK_EOL.
54639         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54640         Replace with CHECK_EOL.
54642 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54644         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54645         type-generic.
54646         * math/libm-test.inc: Update comment listing what functions and
54647         macros are tested.
54648         (finite_test): New function.
54649         (isinf_test): Likewise.
54650         (isnan_test): Likewise.
54651         (fpclassify_test): Test subnormal input.
54652         (isfinite_test): Likewise.
54653         (isnormal_test): Likewise.
54654         (main): Call the new functions.
54656 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54658         [BZ #14660]
54659         * Makerules (%.dynsym): Force C locale when running
54660         $(OBJDUMP) --dynamic-syms.
54662 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54664         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54665         <stdint.h>.
54667 2012-10-06  David S. Miller  <davem@davemloft.net>
54669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54670         upper 32-bits of the length value in %o2 since we use branch-on-register
54671         tests which consider the entire 64-bit register.
54673 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54675         * string/test-strstr.c (check2): Add a test for page boundary.
54677 2012-10-05  David S. Miller  <davem@davemloft.net>
54679         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54680         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54681         file.
54682         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54683         sysdep_routines.
54684         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54685         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54686         and bzero when HWCAP_SPARC_CRYPTO is present.
54688 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54690         [BZ #14602]
54691         * string/test-strstr.c (check2): New function.
54692         (test_main): Call check2.
54694         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54695         and bug-strchr1.
54696         * string/bug-strcasestr1.c (do_test): Moved to ...
54697         * string/test-strcasestr.c (check1): Here.  New function.
54698         (do_one_test): Break out result checking code into ...
54699         (check_result): This.  New function.
54700         (do_one_test): Call check_result.
54701         (test_main): Call check1.
54702         * string/bug-strchr1.c (do_test): Moved to ...
54703         * string/test-strchr.c (check1): Here.  New function.
54704         (do_one_test): Break out result checking code into ...
54705         (check_result): This.  New function.
54706         (do_one_test): Call check_result.
54707         (test_main): Call check1.
54708         * string/bug-strstr1.c (main): Moved to ...
54709         * string/test-strstr.c (check1): Here.  New function.
54710         (do_one_test): Break out result checking code into ...
54711         (check_result): This.  New function.
54712         (do_one_test): Call check_result.
54713         (test_main): Call check1.
54714         * string/bug-strcasestr1.c: Removed.
54715         * string/bug-strchr1.c: Likewise.
54716         * string/bug-strstr1.c: Likewise.
54718         * elf/Makefile (dl-routines): Add hwcaps.
54719         * elf/dl-support.c (_dl_important_hwcaps): Removed.
54720         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54721         (_dl_important_hwcaps): Moved to ...
54722         * elf/dl-hwcaps.c: Here.  New file.
54723         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54725         [BZ #14557]
54726         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54727         if IS_IN_rtld isn't defined.
54729         * elf/dl-support.c (_dl_sysinfo_map): New.
54730         Include "get-dynamic-info.h" and "setup-vdso.h".
54731         (_dl_non_dynamic_init): Call setup_vdso.
54732         * elf/dynamic-link.h: Don't include <assert.h>.
54733         (elf_get_dynamic_info): Moved to ...
54734         * elf/get-dynamic-info.h: Here.  New file.
54735         * elf/dynamic-link.h: Include "get-dynamic-info.h".
54736         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54737         * elf/setup-vdso.h: Here.  New file.
54738         * elf/rtld.c: Include "setup-vdso.h".
54739         (dl_main): Call setup_vdso.
54741 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
54743         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54744         creal in comment listing functions tested.  List finite, isinf,
54745         isnan, isless, islessequal, isgreater, isgreaterequal,
54746         islessgreater, isunordered, lgamma_r and pow10 as functions and
54747         macros not tested.  Mention which functions not tested are aliases
54748         for other functions.  Fix typo.  Note that signs of NaNs are not
54749         tested.
54751         * scripts/config.guess: Update from config.git.
54752         * scripts/config.sub: Likewise.
54754 2012-10-04  Roland McGrath  <roland@hack.frob.com>
54756         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54757         * misc/madvise.c (madvise): Renamed to __madvise.
54758         Make madvise a weak alias.
54759         * include/sys/mman.h: Declare __madvise.
54760         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54761         * sysdeps/unix/syscalls.list
54762         (madvise): Make __madvise the strong name, and madvise a weak alias.
54763         * sysdeps/unix/sysv/linux/syscalls.list
54764         (madvise, mmap): Remove redundant entries.
54765         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54766         * malloc/malloc.c (mtrim): Likewise.
54767         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54769 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54771         * sysdeps/mach/hurd/dl-cache.c: File removed.
54772         * config.h.in (USE_LDCONFIG): New #undef.
54773         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54774         * configure: Regenerated.
54775         * elf/Makefile (dl-routines): Add dl-cache only under
54776         [$(use-ldconfig) = yes].
54777         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54778         cache on [USE_LDCONFIG].
54779         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54780         [USE_LDCONFIG].
54781         * elf/rtld.c (dl_main): Likewise.
54783 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54785         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54786         _SC_LEVEL4_CACHE_LINESIZE.
54788 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54790         * sysdeps/unix/bsd/confstr.h: File removed.
54792 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54794         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54795         sys/sdt-config.h.
54797 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54799         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54800         Make 'mapoff' field ElfW(Off) rather than off_t.
54802 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54804         * nscd/Makefile: Remove nscd-cflags and all its users.
54805         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54806         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54808         [BZ #10631]
54809         * malloc.c (malloc_printerr): Clarify error message.
54811 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54813         [BZ #14648]
54814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54815         Set bit_FMA_Usable if FMA is supported.
54816         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54817         macro.
54818         (bit_FMA4_Usable): Updated.
54819         (index_FMA_Usable): New macro.
54820         (CPUID_FMA): Likewise.
54821         (HAS_FMA): Defined with bit_FMA_Usable.
54823 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54825         * bits/types.h (__swblk_t): Type removed.
54826         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54827         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54829         (__SWBLK_T_TYPE): Likewise.
54830         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54831         (__SWBLK_T_TYPE): Likewise.
54832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54833         (__SWBLK_T_TYPE): Likewise.
54834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54835         (__SWBLK_T_TYPE): Likewise.
54837 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54838             Honza Horak <hhorak@redhat.com>
54840         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54841         (xdr_mapname): Use YPMAXMAP as maxsize.
54842         (xdr_peername): Use YPMAXPEER as maxsize.
54843         (xdr_keydat): Use YPAXRECORD as maxsize.
54844         (xdr_valdat): Use YPMAXRECORD as maxsize.
54846 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54848         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54850         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54851         * csu/init-first.c: ... here.
54852         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54853         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54854         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54855         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54856         * sysdeps/i386/init-first.c: File removed.
54857         * sysdeps/sh/init-first.c: File removed.
54859 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54861         [BZ #14645]
54862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54863         if x * y might underflow to zero and z is zero.
54864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54866         * math/libm-test.inc (min_subnorm_value): New variable.
54867         (fma_test): Add more tests.
54868         (fma_test_towardzero): Likewise.
54869         (fma_test_downward): Likewise.
54870         (fma_test_upward): Likewise.
54871         (initialize): Set min_subnorm_value.
54873 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54875         [BZ #14638]
54876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54877         0 + 0.
54878         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54879         mode for addition resulting in exact zero.
54880         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54882         exact 0 + 0.
54883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54885         * math/libm-test.inc (fma_test): Add more tests.
54886         (fma_test_towardzero): New function.
54887         (fma_test_downward): Likewise.
54888         (fma_test_upward): Likewise.
54889         (main): Call the new functions.
54891 2012-09-28  David S. Miller  <davem@davemloft.net>
54893         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54895 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54897         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54898         instead of SIGALRM.
54900         * sysdeps/gnu/_G_config.h: Moved to ...
54901         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54902         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54903         * sysdeps/generic/_G_config.h: ... here.
54905         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54907         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54909         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54910         Conditionalize target on [libnss_test1.so-version].
54912         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54914         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54915         (elfobjdir): Move out of conditionals.
54917         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54918         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54919         (__nss_lookup_function): Conditionalize label remove_from_tree on
54920         [!DO_STATIC_NSS || SHARED], matching its only use.
54922 2012-09-28  David S. Miller  <davem@davemloft.net>
54924         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54925         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54926         file.
54927         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54928         sysdep_routines.
54929         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54931         when HWCAP_SPARC_CRYPTO is present.
54933 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54935         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54937 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54939         [BZ #6530]
54940         * stdio-common/vfprintf.c (process_string_arg): Revert
54941         2000-07-22 change.
54943 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54945         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54946         for testcase.
54947         * stdio-common/tst-sprintf.c: Include <locale.h>
54948         (main): Test sprintf's handling of incomplete multibyte
54949         characters.
54951 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54953         * elf/dl-runtime.c (VERSYMIDX): Removed.
54954         * elf/dl-version.c (VERSYMIDX): Likewise.
54955         * elf/do-rel.h (VERSYMIDX): Likewise.
54956         (VALIDX): Likewise.
54957         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54958         * elf/rtld.c (VALIDX): Likewise.
54959         (ADDRIDX): Likewise.
54960         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54961         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54962         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54963         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54964         (VALIDX): Likewise.
54965         (ADDRIDX): Likewise.
54967 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54969         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54971 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54973         [BZ #11438]
54974         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54975         to global scope.
54976         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54977         addresses are in the same scope as 192.0.2/24.
54978         * posix/gai.conf: Document new scope table defaults.
54980 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54982         [BZ #5298]
54983         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54984         for ftell.  Compute offsets from write pointers instead.
54985         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54987 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54989         [BZ #14543]
54990         * libio/Makefile (tests): New test case tst-fseek.
54991         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54992         combination works in wide mode.
54993         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54994         state when the external buffer state changes.
54996 2012-09-27  David S. Miller  <davem@davemloft.net>
54998         [BZ #14376]
54999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55000         pass reloc->r_addend in as the 'high' argument to
55001         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55007         * rt/tst-aio2.c: Include <pthread.h>.
55008         * rt/tst-aio3.c: Likewise.
55010 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55012         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55014 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55016         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55017         contents on [SHARED].
55019 2012-09-26  Marek Polacek  <polacek@redhat.com>
55021         [BZ #14530]
55022         [BZ #13741]
55023         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55024         for C++ and GCC <4.3 as well as for non GCC compilers.
55026 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55030 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55032         * Makefile.in (all, install): Declare with .PHONY.
55033         Reported by Michael Hope <michael.hope@linaro.org>.
55035 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55037         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55038         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55039         system header.
55040         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55041         Likewise.
55042         (sydep_routines): Add the new and the internal functions.
55043         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55044         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55046         (GLIBC_2.17): Add the new function.
55047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55048         (GLIBC_2.17): Likewise.
55049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55050         (GLIBC_2.17): Likewise.
55051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55052         (GLIBC_2.17): Likewise.
55053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55055 2012-09-25  Alan Modra  <amodra@gmail.com>
55057         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55058         Add release barrier before setting once_control to say
55059         initialisation is done.  Add hints on lwarx.  Use macro in
55060         place of isync.
55061         (clear_once_control): Add release barrier.
55063 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55065         [BZ #13629]
55066         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55067         specially.
55068         * math/s_clog10.c (__clog10): Likewise.
55069         * math/s_clog10f.c (__clog10f): Likewise.
55070         * math/s_clog10l.c (__clog10l): Likewise.
55071         * math/s_clogf.c (__clogf): Likewise.
55072         * math/s_clogl.c (__clogl): Likewise.
55073         * math/Makefile (libm-calls): Add x2y2m1.
55074         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55075         (__x2y2m1): Likewise.
55076         (__x2y2m1l): Likewise.
55077         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55078         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55081         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55082         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55083         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55084         * sysdeps/i386/fpu/libm-test-ulps: Update.
55085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55087         [BZ #14621]
55088         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55089         int as type of variable DEPTH.
55090         (glob): Use size_t instead of int as type of variables NEWCOUNT
55091         and OLD_PATHC.
55093 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55095         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55096         Add s_sincosf-sse2.
55097         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55098         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55099         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55100         macros for using routine as __sincosf_ia32.
55101         Use macro for function declaration and weak_alias.
55102         * sysdeps/i386/fpu/libm-test-ulps: Update.
55104         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55107         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55108         subnormal argument.
55109         * math/s_cexpf.c (__cexpf): Likewise.
55110         * math/s_csinf.c (__csinf): Likewise.
55111         * math/s_csinhf.c (__csinhf): Likewise.
55112         * math/s_ctanf.c (__ctanf): Likewise.
55113         * math/s_ctanhf.c (__ctanhf): Likewise.
55114         * math/s_ccosh.c (__ccoshf): Likewise.
55115         * math/s_cexp.c (__cexpl): Likewise.
55116         * math/s_csin.c (__csin): Likewise.
55117         * math/s_csinh.c (__csinh): Likewise.
55118         * math/s_ctan.c (__ctan): Likewise.
55119         * math/s_ctanh.c (ctanh): Likewise.
55120         * math/s_ccoshl.c (__ccoshl): Likewise.
55121         * math/s_cexpl.c (__cexpl): Likewise.
55122         * math/s_csinl.c (__csinl): Likewise.
55123         * math/s_csinhl.c (__csinhl): Likewise.
55124         * math/s_ctanl.c (__ctanl): Likewise.
55125         * math/s_ctanhl.c (__ctanhl): Likewise.
55127 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55129         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55130         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55131         (_IO_off_t): Define to __off_t, not _G_off_t.
55132         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55133         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55134         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55135         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55136         type of __dummy and __dummy2 fields.
55137         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55138         (_G_ssize_t): Likewise.
55139         (_G_off_t): Likewise.
55140         (_G_pid_t): Likewise.
55141         (_G_uid_t): Likewise.
55142         (_G_wchar_t): Likewise.
55143         (_G_wint_t): Likewise.
55144         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55145         (_G_ssize_t): Likewise.
55146         (_G_off_t): Likewise.
55147         (_G_pid_t): Likewise.
55148         (_G_uid_t): Likewise.
55149         (_G_wchar_t): Likewise.
55150         (_G_wint_t): Likewise.
55151         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55152         (_G_ssize_t): Likewise.
55153         (_G_off_t): Likewise.
55154         (_G_pid_t): Likewise.
55155         (_G_uid_t): Likewise.
55156         (_G_wchar_t): Likewise.
55157         (_G_wint_t): Likewise.
55159 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55161         * malloc/arena.c: Include malloc-sysdep.h.
55162         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55163         is sufficient to shrink the heap or an unmap is needed.
55164         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55165         new function check_may_shrink_heap.
55166         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55167         new function check_may_shrink_heap.
55169 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55171         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55172         comments.
55174 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55176         * catgets/test-gencat.sh: Add "set -e".
55177         * elf/tst-pathopt.sh: Likewise.
55178         * grp/tst_fgetgrent.sh: Likewise.
55179         * iconvdata/run-iconv-test.sh: Likewise.
55180         * intl/tst-gettext.sh: Likewise.
55181         * intl/tst-gettext2.sh: Likewise.
55182         * intl/tst-gettext4.sh: Likewise.
55183         * intl/tst-gettext6.sh: Likewise.
55184         * intl/tst-translit.sh: Likewise.
55185         * io/ftwtest-sh: Likewise.
55186         * libio/test-freopen.sh: Likewise.
55187         * malloc/tst-mtrace.sh: Likewise.
55188         * posix/globtest.sh: Likewise.
55189         * posix/tst-getconf.sh: Likewise.
55190         * posix/wordexp-tst.sh: Likewise.
55191         * stdio-common/tst-printf.sh: Likewise.
55192         * stdio-common/tst-unbputc.sh: Likewise.
55193         * stdlib/tst-fmtmsg.sh: Likewise.
55194         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55195         * catgets/Makefile: Do not specify -e option when running
55196         testsuite shell scripts.
55197         * elf/Makefile: Likewise.
55198         * grp/Makefile: Likewise.
55199         * iconvdata/Makefile: Likewise.
55200         * intl/Makefile: Likewise.
55201         * io/Makefile: Likewise.
55202         * libio/Makefile: Likewise.
55203         * malloc/Makefile: Likewise.
55204         * posix/Makefile: Likewise.
55205         * stdio-common/Makefile: Likewise.
55206         * stdlib/Makefile: Likewise.
55207         * sysdeps/x86_64/Makefile: Likewise.
55209         * io/ftwtest-sh: Add copyright header.
55210         * posix/globtest.sh: Likewise.
55211         * posix/tst-getconf.sh: Likewise.
55212         * posix/wordexp-tst.sh: Likewise.
55213         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55215 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55217         [BZ #13679]
55218         * Makeconfig (+link): Defined as $(+link-static) if
55219         $(build-shared) isn't yes.
55220         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55221         isn't yes.
55222         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55224         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55226         [BZ #14562]
55227         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55228         new chunk size with MALLOC_ALIGN_MASK.
55230 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55232         [BZ #5044]
55233         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55234         <rounding-mode.h>.
55235         (__printf_fphex): Determine rounding using get_rounding_mode and
55236         round_away.
55237         * stdio-common/tst-printf-round.c (struct hex_test): New
55238         structure.
55239         (hex_tests): New variable.
55240         (test_hex_in_one_mode): New function.
55241         (do_test): Also run tests for hex float output.
55243 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55245         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55246         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55247         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55248         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55249         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55250         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55251         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55252         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55254 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55256         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55257         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55258         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55259         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55261 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55263         [BZ #14579]
55264         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55265         mode only.
55266         * elf/tst-rtld-load-self.sh: New test.
55267         * elf/Makefile: Run it.
55269 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55271         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55272         (tst-writev-ENV): Remove.
55273         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55275 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55277         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55279 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55281         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55282         unconditional.
55283         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55284         Likewise.
55285         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55286         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55287         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55288         Likewise.
55290 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55292         [BZ #14587]
55293         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55294         * config.make.in (have-cpp-asm-debuginfo): Removed.
55295         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55296         * configure: Regenerated.
55298 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55300         [BZ #5044]
55301         * stdio-common/printf_fp.c: Include <stdbool.h> and
55302         <rounding-mode.h>.
55303         (___printf_fp): Determine rounding using get_rounding_mode and
55304         round_away.
55305         * stdio-common/tst-printf-round.c: New file.
55306         * stdio-common/Makefile (tests): Add tst-printf-round.
55307         (link-libm): New variable.
55308         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55310 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55312         [BZ #14576]
55313         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55314         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55315         Likewise.
55316         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55317         Likewise.
55319 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55321         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55322         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55323         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55326 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55328         [BZ #14518]
55329         * include/rounding-mode.h: New file.
55330         * sysdeps/generic/get-rounding-mode.h: Likewise.
55331         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55332         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55333         (MAX_VALUE): New macro.
55334         (MIN_VALUE): Likewise.
55335         (overflow_value): New function.
55336         (underflow_value): Likewise.
55337         (round_and_return): Use overflow_value and underflow_value to
55338         determine return values in overflow and underflow cases.  Use
55339         round_away to determine rounding depending on rounding mode.
55340         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55341         determine return values in overflow and underflow cases.
55342         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55343         (struct test_results): New structure.
55344         (struct test): Use struct test_results to store expected results
55345         for all rounding modes.
55346         (TEST): Include expected results for all rounding modes.
55347         (test_in_one_mode): New function.
55348         (do_test): Use test_in_one_mode to compute and check results.
55349         Check results for all rounding modes.
55350         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55351         $(link-libm).
55353 2012-12-09  Allan McRae  <allan@archlinux.org>
55355         * sysdeps/i386/fpu/libm-test-ulps: Update
55357 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55359         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55360         (_G_int32_t): Likewise.
55361         (_G_uint16_t): Likewise.
55362         (_G_uint32_t): Likewise.
55363         (_G_HAVE_BOOL): Likewise.
55364         (_G_HAVE_ATEXIT): Likewise.
55365         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55366         (_G_HAVE_IO_FILE_OPEN): Likewise.
55367         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55368         (_G_int32_t): Likewise.
55369         (_G_uint16_t): Likewise.
55370         (_G_uint32_t): Likewise.
55371         (_G_HAVE_BOOL): Likewise.
55372         (_G_HAVE_ATEXIT): Likewise.
55373         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55374         (_G_HAVE_IO_FILE_OPEN): Likewise.
55375         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55376         (_G_int32_t): Likewise.
55377         (_G_uint16_t): Likewise.
55378         (_G_uint32_t): Likewise.
55379         (_G_HAVE_BOOL): Likewise.
55380         (_G_HAVE_ATEXIT): Likewise.
55381         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55382         (_G_HAVE_IO_FILE_OPEN): Likewise.
55384 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55386         * csu/libc-tls.c: Update copyright years.
55388 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55390         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55391         [!_G_USING_THUNKS]: Remove conditional code.
55392         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55393         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55395         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55396         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55397         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55398         (_G_VTABLE_LABEL_PREFIX): Likewise.
55399         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55400         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55401         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55402         (_G_VTABLE_LABEL_PREFIX): Likewise.
55403         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55404         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55405         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55406         (_G_VTABLE_LABEL_PREFIX): Likewise.
55407         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55409 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55411         * libio/Makefile: Include ../Makeconfig before tests.
55412         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55413         only if $(build-shared) is yes.
55415         * iconv/gconv_db.c: Update copyright years.
55417 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55420         unwind info if defined PIC. Fix special cases description.
55421         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55423         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55424         DP_HI_MASK entry.
55425         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55427 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55429         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55431         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55432         is NULL.
55434         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55435         (LDLIBS-tst-chk4): This.
55436         (LDFLAGS-tst-chk5): Renamed to ...
55437         (LDLIBS-tst-chk5): This.
55438         (LDFLAGS-tst-chk6): Renamed to ...
55439         (LDLIBS-tst-chk6): This.
55440         (LDFLAGS-tst-lfschk4): Renamed to ...
55441         (LDLIBS-tst-lfschk4): This.
55442         (LDFLAGS-tst-lfschk5): Renamed to ...
55443         (LDLIBS-tst-lfschk5): This.
55444         (LDFLAGS-tst-lfschk6): Renamed to ...
55445         (LDLIBS-tst-lfschk6): This.
55447         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55448         on $(common-objpfx)soversions.mk.
55450 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55452         [BZ #10014]
55453         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55454         example host name.
55456 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55458         * malloc/arena.c (arena_get_retry): New function that gets
55459         another arena for the caller to try its request on.
55460         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55461         current arena cannot fulfill the request.
55462         (__libc_memalign): Likewise.
55463         (__libc_memalign): Likewise.
55464         (__libc_pvalloc): Likewise.
55465         (__libc_calloc): Likewise.
55467 2012-09-05  John Tobey  <john.tobey@gmail.com>
55469         [BZ #13542]
55470         * manual/arith.texi (Operations on Complex): Fix description
55471         of carg branch cut.
55473 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55475         [BZ #10014]
55476         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55477         host name.
55479         [BZ #10038]
55480         * manual/memory.texi (Memory): Make order of menu items match
55481         order of sections.
55483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55485         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55486         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55487         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55489 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55491         * csu/libc-tls.c (static_dtv): Renamed to ...
55492         (_dl_static_dtv): This.  Make it global.
55493         (_dl_initial_dtv): Removed.
55494         (__libc_setup_tls): Updated.
55495         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55496         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55497         DL_INITIAL_DTV.
55499 2012-09-06  Petr Machata  <pmachata@redhat.com>
55501         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55502         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55503         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55504         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55508         [BZ #14545]
55509         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55510         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55511         freeing dtv[-1].
55513 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55515         [BZ #14544]
55516         * Makeconfig (link-static-before-libc): Replace $(+prector)
55517         with $(+prectorT).
55518         (link-static-after-libc): Replace $(+postctor) with
55519         $(+postctorT).
55520         (link-bounded): Replace $(+prector)/$(+postctor) with
55521         $(+prectorT)/$(+postctorT).
55522         (+prectorT): New macro.
55523         (+postctorT): Likewise.
55525 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55527         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55528         (round_str): Handle values above the maximum for IBM long double
55529         as inexact.
55530         * stdlib/tst-strtod-round.c (tests): Regenerated.
55532 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55534         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55535         assembler flag.
55536         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55537         zarch_nohighgprs around the zarch optimized routines.
55538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55539         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55541         for zarch.
55543 2012-09-05  David S. Miller  <davem@davemloft.net>
55545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55547         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55548         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55549         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55550         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55551         entries.
55553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55555         * malloc/arena.c: Fold copyright years.
55556         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55560         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55562 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55564         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55566 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55568         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55569         change internal state upon failure.
55571 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55573         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55574         * malloc/memusage.c (mmap): Likewise.
55575         (mmap64, mremap): Likewise.  Adjust name in comment.
55577 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55579         * libio/fileops.c: Fix typos in comments.
55580         * libio/oldfileops.c: Likewise.
55581         * libio/wfileops.c: Likewise.
55583 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55585         [BZ #1349]
55586         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55587         (tst-malloc-usable-ENV): Set environment for test case.
55588         * malloc/hooks.c (malloc_check_get_size): New function to get
55589         requested size.
55590         * malloc/malloc.c (musable): Use malloc_check_get_size.
55591         * malloc/tst-malloc-usable.c: New test case.
55593 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55595         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55597 2012-09-05  Allan McRae  <allan@archlinux.org>
55599         [BZ #13966]
55600         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55601         determine header location.
55602         * configure: Regenerated.
55604 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55606         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55607         float format.
55608         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55609         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55610         format.
55611         (test): Regenerate.
55613 2012-09-04  David S. Miller  <davem@davemloft.net>
55615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55617         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55619 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55621         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55622         failures.
55624         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55626 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55628         [BZ #9914]
55629         * libio/iogetdelim.c: Include <limits.h>.
55630         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55631         + len + 1 would overflow.
55633 2012-09-03  Andreas Jaeger  <aj@suse.de>
55635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55636         * sysdeps/i386/fpu/libm-test-ulps: Update.
55638 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55640         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55641         Add s_sinf-sse2, s_conf-sse2.
55643         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55644         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55645         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55646         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55648         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55649         for using routine as __sinf_ia32.
55650         Use macro for function declaration and weak_alias.
55651         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55652         for using routine as __cosf_ia32.
55653         Use macro for function declaration and weak_alias.
55655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55656         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55658         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55659         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55662         * math/libm-test.inc (cos_test): Add more test cases.
55663         (sin_test): Likewise.
55664         (sincos_test): Likewise.
55666 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55669         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55670         hidden.
55671         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55673 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55675         [BZ #14538]
55676         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55677         first element of the GOT.
55678         (elf_machine_load_address): Return the difference between
55679         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55681 2012-09-01  Allan McRae  <allan@archlinux.org>
55683         [BZ #13412]
55684         * configure.in (AWK): Require gawk version 3.0 or later.
55685         * configure: Regenerated.
55687 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55689         * sysdeps/unix/sysv/linux/kernel-features.h
55690         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55692         [__NR_clock_getres]: Make code unconditional.
55693         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55694         (clock_getcpuclockid): Remove code left unreachable by removal of
55695         conditionals.
55696         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55697         code unconditional.
55698         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55699         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55700         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55701         Make code unconditional.
55702         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55703         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55704         * sysdeps/unix/sysv/linux/clock_settime.c
55705         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55706         conditional code.
55707         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55708         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55710 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55712         [BZ #14476]
55713         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55714         scripts/test-installation.pl.
55716         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55717         and $ld_so_version if it is set.
55719 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55721         [BZ #14516]
55722         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55723         failure if reading from procfs failed.
55724         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55726 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55728         * sysdeps/unix/sysv/linux/kernel-features.h
55729         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55730         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55731         Remove conditional code.
55732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55733         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55734         Remove conditional code.
55735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55736         * sysdeps/unix/sysv/linux/i386/fxstat.c
55737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55739         * sysdeps/unix/sysv/linux/i386/fxstatat.c
55740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55742         * sysdeps/unix/sysv/linux/i386/lxstat.c
55743         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55745         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55746         Remove conditional code.
55747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55748         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55749         Remove conditional code.
55750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55751         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55752         <kernel-features.h>.
55753         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55754         Remove.
55755         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55756         Remove conditional code.
55757         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55758         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55759         Remove conditional.
55761 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
55763         [BZ #5400]
55764         * NEWS: Add fixed bug number.
55766 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55768         [BZ #14519]
55769         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55770         underflowing exponent in case of negative sign.
55771         * stdlib/tst-strtod-round-data: Add more tests.
55772         * stdlib/tst-strtod-round.c (tests): Regenerated.
55774         [BZ #3479]
55775         * stdlib/strtod_l.c (NDIG): Remove.
55776         (HEXNDIG): Likewise.
55777         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55778         smallest representable value.
55779         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55780         lie within an exact representation of 1/2 ulp of the result.
55781         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55782         unconditionally.
55783         (TENS_P9_IDX): Define unconditionally.
55784         (TENS_P9_SIZE): Likewise.
55785         (TENS_P10_IDX): Likewise.
55786         (TENS_P10_SIZE): Likewise.
55787         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55788         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55789         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55790         entries for 10^2^13 and 10^2^14.
55791         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55792         (TENS_P13_IDX): Define.
55793         (TENS_P13_SIZE): Likewise.
55794         (TENS_P14_IDX): Likewise.
55795         (TENS_P14_SIZE): Likewise.
55796         (_fpioconst_pow10): Change array size to
55797         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55798         unconditional.
55799         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55800         1024]: Add entries for 10^2^13 and 10^2^14.
55801         [LAST_POW10 > _LAST_POW10]: Remove #error.
55802         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55803         (_fpioconst_pow10): Change array size to
55804         FPIOCONST_POW10_ARRAY_SIZE.
55805         * stdlib/gen-fpioconst.c: New file.
55806         * stdlib/gen-tst-strtod-round.c: Likewise.
55807         * stdlib/tst-strtod-round-data: Likewise.
55808         * stdlib/tst-strtod-round.c: Likewise.
55809         * stdlib/Makefile (tests): Add tst-strtod-round.
55811         [BZ #14459]
55812         * stdlib/strtod_l.c: Include <stdint.h>.
55813         (NDEBUG): Do not define.
55814         (round_and_return): Change EXPONENT parameter to type intmax_t.
55815         Rearrange calculations to avoid internal overflow possibilities.
55816         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55817         Rearrange calculations to avoid internal overflow possibilities.
55818         Assert that number fits inside MPNSIZE limbs.
55819         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55820         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55821         calculations and add assertions to avoid internal overflow
55822         possibilities.  Add casts to avoid signed/unsigned operations.
55823         * stdlib/tst-strtod-overflow.c: New file.
55824         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55826 2012-08-25  Marek Polacek  <polacek@redhat.com>
55828         * time/time.h: Fix some typos in comments.
55830 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55832         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55833         * posix/tst-rfc3484-2.c: Likewise.
55834         * posix/tst-rfc3484-3.c: Likewise.
55836 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55838         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55839         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55841 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55843         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55844         #include of fxstatat64.c.
55846 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55848         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55849         * shadow/getspent_r.c: Likewise.
55850         * shadow/getspnam.c: Likewise.
55851         * shadow/getspnam_r.c: Likewise.
55852         * gshadow/getsgent.c: Likewise.
55853         * gshadow/getsgent_r.c: Likewise.
55854         * gshadow/getsgnam.c: Likewise.
55855         * gshadow/getsgnam_r.c: Likewise.
55856         * inet/getnetbyad.c: Likewise.
55857         * inet/getnetbyad_r.c: Likewise.
55858         * inet/getnetbynm.c: Likewise.
55859         * inet/getnetbynm_r.c: Likewise.
55860         * inet/getnetent.c: Likewise.
55861         * inet/getnetent_r.c: Likewise.
55862         * inet/getproto.c: Likewise.
55863         * inet/getproto_r.c: Likewise.
55864         * inet/getprtent.c: Likewise.
55865         * inet/getprtent_r.c: Likewise.
55866         * inet/getprtname.c: Likewise.
55867         * inet/getprtname_r.c: Likewise.
55868         * inet/getrpcbyname.c: Likewise.
55869         * inet/getrpcbyname_r.c: Likewise.
55870         * inet/getrpcbynumber.c: Likewise.
55871         * inet/getrpcbynumber_r.c: Likewise.
55872         * inet/getrpcent.c: Likewise.
55873         * inet/getrpcent_r.c: Likewise.
55874         * inet/getaliasent.c: Likewise.
55875         * inet/getaliasent_r.c: Likewise.
55876         * inet/getaliasname.c: Likewise.
55877         * inet/getaliasname_r.c: Likewise.
55878         * nscd/getgrgid_r.c: Likewise.
55879         * nscd/getgrnam_r.c: Likewise.
55880         * nscd/gethstbyad_r.c: Likewise.
55881         * nscd/gethstbynm3_r.c: Likewise.
55882         * nscd/getpwnam_r.c: Likewise.
55883         * nscd/getpwuid_r.c: Likewise.
55884         * nscd/getsrvbynm_r.c: Likewise.
55885         * nscd/getsrvbypt_r.c: Likewise.
55886         * nscd/gai.c: Likewise.
55888         * configure.in (build_nscd): New substituted variable, set
55889         by --disable-build-nscd and defaults to $use_nscd.
55890         * configure: Regenerated.
55891         * config.make.in (build-nscd): New substituted variable.
55892         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55893         Change conditional to require [$(build-nscd) = yes] as well.
55894         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55896         [BZ# 13696]
55897         * configure.in (use_nscd): New substituted variable, set by
55898         --disable-nscd.  If enabled, define USE_NSCD.
55899         * configure: Regenerated.
55900         * config.h.in: Add USE_NSCD.
55901         * config.make.in (use-nscd): New substituted variable.
55902         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55903         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55904         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55905         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55906         (CFLAGS-getgrnam_r.c): Likewise.
55907         (CFLAGS-initgroups.c): Likewise.
55908         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55909         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55910         Variables removed.
55911         * inet/getnetgrent_r.c
55912         (nscd_setnetgrent): New function, broken out of ...
55913         (setnetgrent): ... here.  Call it.
55914         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55915         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55916         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55917         * nscd/Makefile (routines, aux): Move definitions after include of
55918         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55919         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55920         Conditionalize on [USE_NSCD].
55921         (is_nscd, nscd_init_cb): Likewise.
55922         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55923         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55924         * nss/nss_db/db-init.c: Likewise.
55925         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55926         [USE_NSCD].
55927         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55928         (make_request): Use it.
55929         (cache_valid_p): New function.
55930         (__check_pf): Use it.
55931         * NEWS: Add item for --disable-nscd.
55933 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55935         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55936         to support sed >= 4.2.1-20-ga9bf076.
55937         * configure: Regenerated.
55939 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55941         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55942         Conditionalize whole body on [IREL].
55944 2012-08-22  Jeff Law <law@redhat.com>
55946         [BZ #14505]
55947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55948         if the family is PF_UNSPEC.
55950 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55952         * Makerules (lib-version): Rename from V.
55953         (install-lib-nosubdir): Change V to lib-version.
55955 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55957         [BZ #14252]
55958         * powerpc32/power6/wcschr.c: New file.
55959         * powerpc32/power6/wcscpy.c: New file.
55960         * powerpc32/power6/wcsrchr.c: New file.
55961         * powerpc64/power6/wcschr.c: New file.
55962         * powerpc64/power6/wcscpy.c: New file.
55963         * powerpc64/power6/wcsrchr.c: New file.
55965 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55967         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55968         (two_way_short_needle): Use it.
55969         * string/strstr.c (AVAILABLE1_USES_J): Define.
55970         * string/strcasestr.c: Likewise.
55972         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55973         array references.
55974         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55976         [BZ #11607]
55977         * NEWS: Add an entry.
55978         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55979         define their defaults.
55980         (two_way_short_needle): Detect end-of-string on-the-fly.
55981         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55982         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55983         * string/bug-strcasestr1.c: New test.
55984         * string/Makefile: Run it.
55986 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55988         [BZ #11607]
55989         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55990         the first character.
55992 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55994         * csu/elf-init.c (__libc_csu_irel): Function removed.
55995         * csu/libc-start.c (apply_irel): New function.
55996         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55998 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56000         * sysdeps/unix/sysv/linux/kernel-features.h
56001         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56002         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56003         <kernel-features.h>.
56004         [__NR_fadvise64_64]: Make code unconditional.
56005         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56006         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56007         !__NR_fadvise64_64)]: Likewise.
56008         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56009         !__NR_fadvise64_64))]: Likewise.
56010         [__NR_fadvise64]: Make code unconditional.
56011         [!__NR_fadvise64]: Remove conditional code.
56012         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56013         <kernel-features.h>.
56014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56015         unconditional.
56016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56017         conditional code.
56018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56019         not include <kernel-features.h>.
56020         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56021         unconditional.
56022         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56023         conditional code.
56024         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56025         include <kernel-features.h>.
56026         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56027         unconditional.
56028         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56029         conditional code.
56031 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56034         slight instruction rearrangements per scrollpipe analysis.
56035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56037 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56039         * manual/syslog.texi (syslog; vsyslog, closelog):
56040         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56041         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56043         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56044         DSOCAPS to match condition on defining it.
56046 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56048         * sysdeps/unix/sysv/linux/kernel-features.h
56049         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56057         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56058         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56061         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56063         * sysdeps/unix/sysv/linux/kernel-features.h
56064         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56065         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56066         unconditional.
56067         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56068         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56069         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56070         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56071         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56072         Make code unconditional.
56073         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56074         (__mmap64) [!__NR_mmap2]: Likewise.
56075         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56076         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56077         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56079         [__NR_mmap2]: Make code unconditional.
56080         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56081         (__mmap64) [!__NR_mmap2]: Likewise.
56083 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56085         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56087 2012-08-18  Andreas Jaeger  <aj@suse.de>
56089         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56091 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56093         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56094         * include/unistd.h (__have_sock_cloexec): Likewise.
56095         (__have_pipe2): Likewise.
56096         (__have_dup3): Likewise.
56098 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56100         [BZ #9685]
56101         * include/unistd.h (__have_pipe2): Change define into an extern int.
56102         (__have_dup3): Likewise.
56103         * socket/have_sock_cloexec.c: Include fcntl.h.
56104         (__have_pipe2): New variable.
56105         (__have_dup3): Likewise.
56107 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56109         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56111 2012-08-17  Marek Polacek  <polacek@redhat.com>
56113         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56114         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56116 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56118         * configure.in: Add AC_SUBST for sysheaders.
56119         * configure: Regenerated.
56120         * config.make.in (sysheaders): New substituted variable.
56122         * sysdeps/unix/mkfifo.c: Moved ...
56123         * sysdeps/posix/mkfifo.c: ... here.
56124         * sysdeps/unix/mkfifoat.c: Moved ...
56125         * sysdeps/posix/mkfifoat.c: ... here.
56127         * sysdeps/unix/utime.c: Moved ...
56128         * sysdeps/posix/utime.c: ... here.
56130         * sysdeps/unix/time.c: Moved ...
56131         * sysdeps/posix/time.c: ... here.
56132         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56133         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56135         * sysdeps/unix/nice.c: Moved ...
56136         * sysdeps/posix/nice.c: ... here.
56138         * sysdeps/unix/alarm.c: Moved ...
56139         * sysdeps/posix/alarm.c: ... here.
56141         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56143 2012-08-17  Jeff Law <law@redhat.com>
56145         * intl/Makefile (codeset_mo): New variable.
56146         ($(codeset_mo)): New target.
56147         (tst-codeset.out): Depend on that.  Remove explicit rule.
56148         (tst-gettext3.out, tst-gettext5.out): Likewise.
56149         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56150         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56151         * intl/tst-codeset.sh: Remove.
56152         * intl/tst-gettext3.sh: Likewise.
56153         * intl/tst-gettext5.sh: Likewise.
56155 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56157         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56158         * sysdeps/unix/syscalls.list: ... here.
56160         * sysdeps/posix/getaddrinfo.c
56161         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56162         (gaiconf_init, gaiconf_reload): Use them.
56163         [!_STATBUF_ST_NSEC]
56164         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56165         Define using time_t rather than struct timespec.
56167         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56168         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56169         Macros removed.
56170         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56171         [!NO_THREADS].
56172         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56173         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56174         Likewise.
56176         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56177         __libc_cleanup_push argument.
56179         * bits/param.h: New file.
56180         * misc/sys/param.h: New file.
56181         * include/sys/param.h: New file.
56182         * misc/Makefile (headers): Add bits/param.h.
56183         * sysdeps/generic/sys/param.h: File removed.
56184         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56185         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56186         * sysdeps/mach/hurd/bits/param.h: New file.
56187         * sysdeps/mach/hurd/sys/param.h: File removed.
56189         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56190         last change.
56192         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56193         [_IO_MTSAFE_IO].
56194         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56195         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56196         New macros.
56198         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56199         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56200         rather than -D_IO_MTSAFE_IO conditionally.
56201         * stdio-common/Makefile (CPPFLAGS): Likewise.
56202         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56203         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56204         Use $(libio-mtsafe).
56205         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56206         of -D_IO_MTSAFE_IO.
56207         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56208         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56209         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56210         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56211         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56212         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56213         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56214         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56215         (CFLAGS-fread_u_chk.c): Likewise.
56216         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56217         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56218         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56219         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56220         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56221         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56222         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56223         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56224         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56226         * libio/Makefile: Test [$(libc-reentrant) = yes]
56227         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56229         * Makeconfig
56230         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56231         * sysdeps/pthread/configure: File removed.
56232         * sysdeps/pthread/Makeconfig: New file.
56233         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56234         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56236 2012-08-16  Gary Benson  <gbenson@redhat.com>
56238         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56239         unmapping the first object in a namespace.
56241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56243         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56244         (__internal_setnetgrent): ... this.  Add internal_function to
56245         definition.  Add libc_hidden_def.
56246         (setnetgrent): Update caller.
56247         (internal_endnetgrent): Renamed to ...
56248         (__internal_endnetgrent): ... this.  Add internal_function to
56249         definition.  Add libc_hidden_def.
56250         (endnetgrent): Update caller.
56251         (internal_getnetgrent_r): Renamed to ...
56252         (__internal_getnetgrent_r): ... this.  Add internal_function to
56253         definition.  Add libc_hidden_def.
56254         (__getnetgrent_r): Update caller.
56255         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56257 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56259         * stdlib/longlong.h: Update from GCC.
56261 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56263         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56264         on _QL, which is set by umul_ppmm but never used.
56265         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56266         variables, which are set by GMP macros but never used.
56267         * stdio-common/_itowa.c (_itowa): Likewise.
56268         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56269         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56271 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56273         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56274         struct La_sh_regs is not constant.
56275         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56276         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56277         and struct La_sparc64_regs are not constant.
56279 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56281         * sysdeps/unix/sysv/linux/kernel-features.h
56282         (__ASSUME_POSIX_TIMERS): Remove.
56283         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56285         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56286         Make code unconditional.
56287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56288         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56289         Make code unconditional.
56290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56291         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56292         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56294         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56295         Make code unconditional.
56296         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56297         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56298         (__libc_missing_posix_timers): Remove.
56300 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56302         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56303         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56305         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56307         * elf/dl-sym.c: Include <stdlib.h>.
56309         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56310         constants, which avoids warnings in 32-bit builds.
56312         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56313         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56315         * misc/lseek.c: File moved to ...
56316         * io/lseek.c: ... here.
56318         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56320         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56321         shifting LEN more than 31 bits at once.
56323 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56325         [BZ #14195]
56326         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56327         segmentation fault for a case of two empty input strings.
56328         * string/test-strncasecmp.c (check1): Renamed to...
56329         (bz12205): ...this.
56330         (bz14195): Add new testcase for two empty input strings and N > 0.
56331         (test_main): Call new testcase, adapt for renamed function.
56333 2012-08-15  Andreas Jaeger  <aj@suse.de>
56335         [BZ #14090]
56336         * crypt/md5test2.c: New test, based on test supplied by Serge
56337         Belyshev <belyshev@depni.sinp.msu.ru>.
56338         * crypt/Makefile (xtests): Add md5test-giant..
56339         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56341 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56343         [BZ #14090]
56344         * crypt/md5.c (md5_process_block): Don't assume the buffer
56345         length is less than 2**32.
56346         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56347         length is less than 2**64.
56349 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56351         * string/str-two-way.h: Include <sys/param.h>.
56352         (MAX): Macro removed.
56354         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56355         Move #define and #undef of memmove to just before and after
56356         including <string.h>.
56358         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56359         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56360         and after including <string.h>.  Move declarations of
56361         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56362         to before #include "string/memmove.c".
56364         * include/dirent.h: Declare __getdirentries.
56366         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56367         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56369 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56371         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56372         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56373         * sysdeps/i386/configure: Regenerated.
56374         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56375         STABS_CURRENT_FILE, and STABS_FUN.
56376         (END): Remove call to STABS_FUN_END.
56377         (STABS_CURRENT_FILE1): Delete.
56378         (STABS_CURRENT_FILE): Likewise.
56379         (STABS_FUN): Likewise.
56380         (STABS_FUN_END): Likewise.
56381         (STABS_FUN2): Likewise.
56382         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56383         * sysdeps/x86_64/configure: Regenerated.
56385 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56387         * elf/dl-open.c: Include <atomic.h>.
56388         * elf/dl-lookup.c: Likewise.
56390 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56392         * sysdeps/unix/sysv/linux/kernel-features.h
56393         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56394         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56395         unconditionally.
56396         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56397         unconditionally.
56398         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56399         condition on __ASSUME_CLONE_THREAD_FLAGS.
56401 2012-08-14  Andreas Jaeger  <aj@suse.de>
56403         * sysdeps/i386/fpu/libm-test-ulps: Update.
56405 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56407         * include/atomic.h (atomic_exchange_and_add): Split into ...
56408         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56409         New atomic macros.
56411 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56415 2012-08-13  Jeff Law <law@redhat.com>
56417         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56418         null byte in the output string.
56420 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56422         * sysdeps/unix/sysv/linux/kernel-features.h
56423         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56424         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56425         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56426         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56427         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56428         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56429         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56431 2012-08-09  Jeff Law <law@redhat.com>
56433         [BZ #13939]
56434         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56435         When avoid_arena is set, don't retry in the that arena.  Pick the
56436         next one, whatever it might be.
56437         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56438         (arena_lock): Pass in new parameter to arena_get2.
56439         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56440         arena_get2.
56441         (__libc_malloc): Unify retrying after main arena failure with
56442         __libc_memalign version.
56443         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56445 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56447         [BZ #14166]
56448         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56449         to __redirect_strstr.
56450         (__strstr_sse42): Use typeof __redirect_strstr.
56451         (__strstr_ia32): Likewise.
56452         (__libc_strstr): New prototype.
56453         (strstr): Renamed to ...
56454         (__libc_strstr): This.
56455         (strstr): New strong alias of __libc_strstr.
56456         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56457         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56458         __redirect_time.
56459         Include <time.h>.
56460         (__libc_time): New prototype.
56461         (time_ifunc): Replace time with __libc_time.
56462         (time): New strong alias and hidden definition of __libc_time.
56463         (__GI_time): Remove strong alias.
56464         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56465         Include <stddef.h>.
56466         (memmove): Redefined to __redirect_memmove.
56467         (__memmove_sse2): Use typeof __redirect_memmove.
56468         (__memmove_ssse3): Likewise.
56469         (__memmove_ssse3_back): Likewise.
56470         (__libc_memmove): New prototype.
56471         (memmove): Renamed to ...
56472         (__libc_memmove): This.
56473         (memmove): New strong alias of __libc_memmove.
56475 2012-08-08  Mark Salter  <msalter@redhat.com>
56477         * elf/elf.h
56478         (R_MN10300_TLS_GD): Define.
56479         (R_MN10300_TLS_LD): Likewise.
56480         (R_MN10300_TLS_LDO): Likewise.
56481         (R_MN10300_TLS_GOTIE): Likewise.
56482         (R_MN10300_TLS_IE): Likewise.
56483         (R_MN10300_TLS_LE): Likewise.
56484         (R_MN10300_TLS_DTPMOD): Likewise.
56485         (R_MN10300_TLS_DTPOFF): Likewise.
56486         (R_MN10300_TLS_TPOFF): Likewise.
56487         (R_MN10300_SYM_DIFF): Likewise.
56488         (R_MN10300_ALIGN): Likewise.
56489         (R_MN10300_NUM): Update.
56491 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56494         Remove.
56496 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56498         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56500         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56501         sysdeps/unix -> sysdeps/posix move.
56502         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56504 2012-08-07      Allan McRae     <allan@archlinux.org>
56506         [BZ #14303]
56507         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56508         (SUNOS_CPP): Likewise.
56509         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56510         not found.
56511         (open_input): Call CPP using execvp.
56513 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56515         * sysdeps/unix/sysv/linux/kernel-features.h
56516         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56517         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56518         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56519         (__ASSUME_WAITID_SYSCALL): Likewise.
56520         * sysdeps/unix/sysv/linux/dl-execstack.c
56521         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56522         code unconditional.
56523         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56524         conditional code.
56525         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56526         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56527         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56528         code.
56529         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56530         unconditional.
56531         [__ASSUME_WAITID_SYSCALL]: Likewise.
56532         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56534 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56536         * sysdeps/unix/closedir.c: Renamed to ...
56537         * sysdeps/posix/closedir.c: ... here.
56538         * sysdeps/unix/dirfd.c: Renamed to ...
56539         * sysdeps/posix/dirfd.c: ... here.
56540         * sysdeps/unix/dirstream.h: Renamed to ...
56541         * sysdeps/posix/dirstream.h: ... here.
56542         * sysdeps/unix/fdopendir.c: Renamed to ...
56543         * sysdeps/posix/fdopendir.c: ... here.
56544         * sysdeps/unix/opendir.c: Renamed to ...
56545         * sysdeps/posix/opendir.c: ... here.
56546         * sysdeps/unix/readdir.c: Renamed to ...
56547         * sysdeps/posix/readdir.c: ... here.
56548         * sysdeps/unix/readdir_r.c: Renamed to ...
56549         * sysdeps/posix/readdir_r.c: ... here.
56550         * sysdeps/unix/rewinddir.c: Renamed to ...
56551         * sysdeps/posix/rewinddir.c: ... here.
56552         * sysdeps/unix/seekdir.c: Renamed to ...
56553         * sysdeps/posix/seekdir.c: ... here.
56554         * sysdeps/unix/telldir.c: Renamed to ...
56555         * sysdeps/posix/telldir.c: ... here.
56556         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56557         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56558         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56559         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56561         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56562         * bits/fcntl.h: ... here.
56564         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56565         not 0.
56566         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56567         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56568         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56569         (struct flock): Move l_start, l_len to the beginning.
56570         Use __pid_t for l_pid.
56571         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56572         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56573         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56574         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56575         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56576         [__USE_LARGEFILE64] (struct flock64): New type.
56577         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56579         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56580         * bits/dirent.h: ... here.
56582         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56583         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56585 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56588         Change from 2.6.0 to 2.6.16.
56589         * sysdeps/unix/sysv/linux/configure: Regenerated.
56590         * sysdeps/unix/sysv/linux/kernel-features.h
56591         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56592         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56593         version.
56594         (__ASSUME_UTIMES): Likewise.
56595         (__ASSUME_CLONE_STOPPED): Remove.
56596         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56597         architectures, not kernel version.
56598         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56599         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56600         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56601         (__ASSUME_WAITID_SYSCALL): Likewise.
56602         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56603         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56604         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56605         refer to older versions.
56607 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56609         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56610         Define alphasort64 as an alias.
56611         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56612         Define versionsort64 as an alias.
56613         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56614         Define scandir64 as an alias.
56615         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56616         Define scandirat64 as an alias.
56617         * dirent/alphasort64.c (alphasort64):
56618         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56619         * dirent/versionsort64.c: Likewise.
56620         * dirent/scandir64.c: Likewise.
56621         * dirent/scandirat64.c: Likewise.
56622         * sysdeps/wordsize-64/alphasort.c: File removed.
56623         * sysdeps/wordsize-64/alphasort64.c: File removed.
56624         * sysdeps/wordsize-64/scandir.c: File removed.
56625         * sysdeps/wordsize-64/scandir64.c: File removed.
56626         * sysdeps/wordsize-64/scandirat.c: File removed.
56627         * sysdeps/wordsize-64/scandirat64.c: File removed.
56628         * sysdeps/wordsize-64/versionsort.c: File removed.
56629         * sysdeps/wordsize-64/versionsort64.c: File removed.
56630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56631         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56632         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56633         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56634         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56635         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56636         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56637         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56639         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56641         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56643         [defined __arch64__ || defined __sparcv9]
56644         (__INO_T_MATCHES_INO64_T): New macro.
56645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56646         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56647         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56648         * sysdeps/unix/sysv/linux/bits/dirent.h
56649         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56650         (_DIRENT_MATCHES_DIRENT64): New macro.
56652         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56653         Define lockf64 as an alias.
56654         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56655         Define fseeko64 as an alias.
56656         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56657         Define ftello64 as an alias.
56658         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56659         Define _IO_fgetpos64 and fgetpos64 as aliases.
56660         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56661         Define _IO_fsetpos64 and fsetpos64 as aliases.
56662         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56663         Conditionalize body on this.
56664         * libio/fseeko64.c: Likewise.
56665         * libio/ftello64.c: Likewise.
56666         * libio/iofgetpos64.c: Likewise.
56667         * libio/iofsetpos64.c: Likewise.
56668         * sysdeps/wordsize-64/lockf.c: File removed.
56669         * sysdeps/wordsize-64/lockf64.c: File removed.
56670         * sysdeps/wordsize-64/fseeko.c: File removed.
56671         * sysdeps/wordsize-64/fseeko64.c: File removed.
56672         * sysdeps/wordsize-64/ftello.c: File removed.
56673         * sysdeps/wordsize-64/ftello64.c: File removed.
56674         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56675         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56676         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56677         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56679         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56680         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56681         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56682         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56683         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56684         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56685         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56686         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56687         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56689         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56691         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56693         [defined __arch64__ || defined __sparcv9]
56694         (__OFF_T_MATCHES_OFF64_T): New macro.
56695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56696         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56698         (__OFF_T_MATCHES_OFF64_T): New macro.
56700 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56702         * stdlib/secure-getenv.c (__secure_getenv): Replace
56703         GLIBC_2_16 with GLIBC_2_17.
56705 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56708         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56710 2012-08-03  David S. Miller  <davem@davemloft.net>
56712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56714 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56717         Remove.
56718         (__ASSUME_CORRECT_SI_PID): Likewise.
56719         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56720         (__ASSUME_TMPFS_NAME): Likewise.
56721         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56722         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56723         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56724         (HAVE_AUX_SECURE): Make definition unconditional.
56725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56726         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56728 2012-08-03  Roland McGrath  <roland@hack.frob.com>
56730         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56731         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56732         * sysdeps/mach/hurd/eloop-threshold.h: New file.
56733         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56734         __eloop_threshold instead of SYMLOOP_MAX.
56736         * sysdeps/generic/eloop-threshold.h: New file.
56737         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56738         of MAXSYMLINKS.
56739         * elf/chroot_canon.c (chroot_canon): Likewise.
56741 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56743         [BZ #13717]
56744         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56745         Change to 2.6.0 everywhere.
56746         * sysdeps/unix/sysv/linux/configure: Regenerated.
56747         * sysdeps/unix/sysv/linux/kernel-features.h
56748         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56749         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56750         kernel versions.
56751         (__ASSUME_POSIX_TIMERS): Define unconditionally.
56752         (__ASSUME_FUTEX_REQUEUE): Remove.
56753         (__ASSUME_STATFS64): Define unconditionally.
56754         (__ASSUME_AT_SECURE): Likewise.
56755         (__ASSUME_CORRECT_SI_PID): Likewise.
56756         (__ASSUME_TGKILL): Define without depending on kernel version for
56757         i386.
56758         (__ASSUME_UTIMES): Likewise.
56759         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56760         kernel version.
56761         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56762         (__ASSUME_TMPFS_NAME): Likewise.
56763         * README: Update reference to Linux kernel versions.
56765 2012-08-02  Marek Polacek  <polacek@redhat.com>
56767         [BZ# 14150]
56768         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
56769         libc_cv_asm_type_prefix with %.
56770         * configure: Regenerated.
56771         * include/libc-symbols.h: Remove comment about
56772         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56773         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56774         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56775         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56776         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56777         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56778         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56779         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56780         * elf/tst-unique2mod1.c: Likewise.
56781         * elf/tst-unique1mod2.c: Likewise.
56782         * elf/tst-unique1mod1.c: Likewise.
56783         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56784         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56785         Replace ASM_TYPE_DIRECTIVE with .type.
56786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56787         * sysdeps/i386/sysdep.h: Likewise.
56788         * sysdeps/x86_64/sysdep.h: Likewise.
56789         * sysdeps/sh/sysdep.h: Likewise.
56790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56791         Do not define ASM_TYPE_DIRECTIVE.
56792         * sysdeps/powerpc/sysdep.h: Likewise.
56793         * sysdeps/powerpc/powerpc32/sysdep.h:
56794         Replace ASM_TYPE_DIRECTIVE with .type.
56795         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56796         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56797         * sysdeps/i386/fpu/e_powf.S: Likewise.
56798         * sysdeps/i386/fpu/e_expl.S: Likewise.
56799         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56800         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56801         * sysdeps/i386/fpu/e_pow.S: Likewise.
56802         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56804         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56805         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56806         * sysdeps/i386/fpu/e_log2.S: Likewise.
56807         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56808         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56809         * sysdeps/i386/fpu/e_powl.S: Likewise.
56810         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56811         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56812         * sysdeps/i386/fpu/e_logl.S: Likewise.
56813         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56814         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56815         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56816         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56817         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56818         * sysdeps/i386/fpu/e_log.S: Likewise.
56819         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56820         * sysdeps/i386/fpu/e_logf.S: Likewise.
56821         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56822         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56823         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56824         * sysdeps/i386/fpu/e_log10.S: Likewise.
56825         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56826         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56827         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56828         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56829         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56830         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56831         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56832         * sysdeps/i386/i686/strtok.S: Likewise.
56833         * sysdeps/i386/i386-mcount.S: Likewise.
56834         * sysdeps/i386/strtok.S: Likewise.
56835         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56836         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56837         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56838         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56839         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56840         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56841         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56842         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56843         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56844         * sysdeps/x86_64/_mcount.S: Likewise.
56845         * sysdeps/x86_64/strtok.S: Likewise.
56846         * sysdeps/sh/_mcount.S: Likewise.
56848 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56850         * libio/iofopen.c: Include <fcntl.h>.
56851         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56852         (_IO_fopen64, fopen64): Define as aliases.
56853         * libio/iofopen64.c: Include <fcntl.h>.
56854         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56855         Conditionalize body on this.
56856         * sysdeps/wordsize-64/iofopen.c: File removed.
56857         * sysdeps/wordsize-64/iofopen64.c: File removed.
56859 2012-08-01  Marek Polacek  <polacek@redhat.com>
56861         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56862         Use dlfcn directly instead of a variable.
56863         (binfmt-subdir): Do not define.
56864         (dlfcn): Likewise.
56866 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56869         Remove all definitions.
56870         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56871         <kernel-features.h>.
56872         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56873         (miss_F_GETOWN_EX): Remove all definitions.
56874         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56875         macro definition.
56876         [!__ASSUME_FCNTL64]: Remove conditional code.
56877         [__ASSUME_FCNTL64]: Make code unconditional.
56878         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56879         <kernel-features.h>.
56880         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56881         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56882         (lockf64) [__NR_fcntl64]: Make code unconditional.
56883         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56885         * sysdeps/unix/sysv/linux/kernel-features.h
56886         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56887         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56888         Make code unconditional.
56889         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56890         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56892         [__NR_vfork]: Make code unconditional.
56893         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56894         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56896         [__NR_vfork]: Make code unconditional.
56897         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56898         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56900 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56902         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56903         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56905         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56906         Define mkstemp64 as an alias.
56907         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56908         Define mkstemps64 as an alias.
56909         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56910         Define mkostemp64 as an alias.
56911         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56912         Define mkostemps64 as an alias.
56913         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56914         Conditionalize body on this.
56915         * misc/mkostemp64.c: Likewise.
56916         * misc/mkostemps64.c: Likewise.
56917         * misc/mkstemps64.c: Likewise.
56918         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56919         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56920         * sysdeps/wordsize-64/mkostemp.c: File removed.
56921         * sysdeps/wordsize-64/mkstemp.c: File removed.
56922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56923         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56924         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56925         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56927         [BZ #14138]
56928         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56929         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56930         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56931         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56933         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56934         compat_symbol macros from <shlib-compat.h> rather than the underlying
56935         default_symbol_version and symbol_version macros, so that DEFAULT
56936         lines in shlib-versions are respected.
56937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56939 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56941         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56942         Declare with warn_unused_result.
56943         (setgid, setregid, setegid, setresgid): Likewise.
56944         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56945         Likewise.
56946         * WUR-REPORT: Remove set*id functions.
56948 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56950         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56952 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56954         [BZ #10191]
56955         * include/sys/socket.h (__libc_accept, __libc_accept4):
56956         Add attribute_hidden.
56957         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56960         use of PTR_MANGLE.
56961         * inet/getnetgrent_r.c (setup): Likewise.
56963         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56965 2012-07-31  David S. Miller  <davem@davemloft.net>
56967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56969 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56971         [BZ #13629]
56972         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56973         value between 1.0 and 2.0 and smaller part has absolute value less
56974         than 1.0.
56975         * math/s_clog10.c (__clog10): Likewise.
56976         * math/s_clog10f.c (__clog10f): Likewise.
56977         * math/s_clog10l.c (__clog10l): Likewise.
56978         * math/s_clogf.c (__clogf): Likewise.
56979         * math/s_clogl.c (__clogl): Likewise.
56980         * math/libm-test.inc (clog_test): Add more tests.
56981         (clog10_test): Likewise.
56982         * sysdeps/i386/fpu/libm-test-ulps: Update.
56983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56985 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56987         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56988         Exit with zero in case no suitable GID is found, and write a
56989         message to standard error.
56991 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56993         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56994         rather than to 1.
56995         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56996         (MAXPATHLEN): Removed.
56997         (NOGROUP, NODEV): New macros.
56998         (setbit, clrbit, isset, isclr): New macros.
56999         (howmany, roundup, powerof2): New macros.
57000         (DEV_BSIZE): New macro.
57002         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57003         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57005         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57006         definition on [!__NO_LONG_DOUBLE_MATH].
57008         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57009         PTR_MANGLE and PTR_DEMANGLE.
57011         * socket/accept4.c (accept4): Rename to __libc_accept4.
57012         Define accept4 as a weak alias.
57014         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57015         on [_DIRENT_HAVE_D_TYPE].
57016         * io/ftw.c (ftw_dir): Likewise.
57018         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57020         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57022         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57023         Use the BSD numbers rather than the arbitrary ones we had.
57024         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57025         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57026         (SIGXCPU, SIGXFSZ): New macros.
57027         (_NSIG): Now 32.
57029         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57030         initializer on [_LIBC_REENTRANT].
57032         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57033         definitions inside [_POSIX_MAPPED_FILES].
57035         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57037         * dirent/opendir.c: Include <fcntl.h>.
57039         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57040         (__libc_getspecific): Likewise.
57041         (__libc_key_create): Likewise.
57043         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57044         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57045         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57046         (tmpfile64): Define as alias.
57047         * sysdeps/wordsize-64/tmpfile.c: File removed.
57048         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57050         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57052         * stdio-common/vfscanf.c: Include <stdbool.h>.
57053         * nss/makedb.c: Likewise.
57054         * stdio-common/_i18n_number.h: Likewise.
57055         * argp/argp-help.c: Likewise.
57056         * posix/wordexp.c: Likewise.
57057         * sysdeps/posix/spawni.c: Likewise.
57058         * nss/nss_files/files-initgroups.c: Likewise.
57059         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57060         * nss/nss_files/files-initgroups.c: Likewise.
57061         * nss/nss_db/db-netgrp.c: Likewise.
57062         * nss/nss_db/db-initgroups.c: Likewise.
57063         * io/fchmodat.c: Include <sys/stat.h>.
57065         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57066         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57068         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57069         [HAVE_MMAP].
57071         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57072         Add multiple inclusion protection.
57074 2012-07-27  David S. Miller  <davem@davemloft.net>
57076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57078 2012-07-27  Gary Benson  <gbenson@redhat.com>
57080         [BZ #14298]
57081         * elf/rtld.c: Include <stap-probe.h>.
57082         (dl_main): Added static probes "init_start" and "init_complete".
57083         * elf/dl-load.c: Include <stap-probe.h>.
57084         (lose): Take new parameter "nsid".
57085         Added static probe "map_failed".
57086         (_dl_map_object_from_fd): Pass namespace id to lose.
57087         Added static probe "map_start".
57088         (open_verify): Pass namespace id to lose.
57089         * elf/dl-open.c: Include <stap-probe.h>.
57090         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57091         and "reloc_complete".
57092         * elf/dl-close.c: Include <stap-probe.h>.
57093         (_dl_close_worker): Added static probes "unmap_start" and
57094         "unmap_complete".
57095         * elf/rtld-debugger-interface.txt: New file documenting the above.
57097 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57099         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57100         rather than a string variable.
57101         * sunrpc/rpc_main.c (h_output): Likewise.
57102         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57104 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57106         * inet/check_native.c: New file.
57108 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57110         [BZ #13629]
57111         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57112         if larger part has absolute value 1.0.
57113         * math/s_clog10.c (__clog10): Likewise.
57114         * math/s_clog10f.c (__clog10f): Likewise.
57115         * math/s_clog10l.c (__clog10l): Likewise.
57116         * math/s_clogf.c (__clogf): Likewise.
57117         * math/s_clogl.c (__clogl): Likewise.
57118         * math/libm-test.inc (clog_test): Add more tests.
57119         (clog10_test): Likewise.
57120         * sysdeps/i386/fpu/libm-test-ulps: Update.
57121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57123         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57124         (pltexit): Likewise.
57125         (La_regs): Likewise.
57126         (La_retval): Likewise.
57127         (int_retval): Likewise.
57128         Update #error for removed macros to refer only to definitions in
57129         tst-audit.h.
57130         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57131         macro.
57132         (pltexit): Likewise.
57133         (La_regs): Likewise.
57134         (La_retval): Likewise.
57135         (int_retval): Likewise.
57136         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57137         macro.
57138         (pltexit): Likewise.
57139         (La_regs): Likewise.
57140         (La_retval): Likewise.
57141         (int_retval): Likewise.
57142         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57143         macro.
57144         (pltexit): Likewise.
57145         (La_regs): Likewise.
57146         (La_retval): Likewise.
57147         (int_retval): Likewise.
57148         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57149         macro.
57150         (pltexit): Likewise.
57151         (La_regs): Likewise.
57152         (La_retval): Likewise.
57153         (int_retval): Likewise.
57154         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57155         macro.
57156         (pltexit): Likewise.
57157         (La_regs): Likewise.
57158         (La_retval): Likewise.
57159         (int_retval): Likewise.
57160         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57161         macro.
57162         (pltexit): Likewise.
57163         (La_regs): Likewise.
57164         (La_retval): Likewise.
57165         (int_retval): Likewise.
57166         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57167         macro definitions in tst-audit.h.
57168         * sysdeps/i386/tst-audit.h: New file.
57169         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57170         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57171         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57172         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57173         * sysdeps/sh/tst-audit.h: Likewise.
57174         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57175         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57176         * sysdeps/x86_64/tst-audit.h: Likewise.
57178 2012-07-26  Andreas Jaeger  <aj@suse.de>
57180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57181         ptrace.
57183         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57184         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57185         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57186         PTRACE_O_MASK.
57187         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57188         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57189         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57191         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57192         value.
57194         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57195         _sigsys.
57196         (si_call_addr, si_syscall, si_arch): Define new macro.
57197         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57198         _sigsys.
57199         (si_call_addr, si_syscall, si_arch): Define new marcro.
57200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57201         _sigsys.
57202         (si_call_addr, si_syscall, si_arch): Define new macro.
57203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57204         _sigsys.
57205         (si_call_addr, si_syscall, si_arch): Define new macro.
57207 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57209         [BZ #13717]
57210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57211         Change to 2.4.21 where previously 2.4.1.
57212         * sysdeps/unix/sysv/linux/configure: Regenerated.
57213         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57214         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57215         Linux kernel version.
57216         (__ASSUME_STD_AUXV): Remove.
57217         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57218         kernel version.
57219         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57220         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57221         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57222         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57223         (__ASSUME_NETLINK_SUPPORT): Likewise.
57224         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57225         (__no_netlink_support): Remove conditional definition.
57226         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57227         Remove.
57228         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57229         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57230         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57231         (if_nameindex_ioctl): Remove.
57232         (if_nameindex_netlink): Do not handle __no_netlink_support.
57233         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57234         code.
57235         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57236         Remove conditional code.
57237         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57238         code.
57239         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57240         unconditional.
57241         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57242         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57243         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57244         Remove.
57245         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57246         [!__ASSUME_STD_AUXV]: Remove conditional code.
57247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57248         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57249         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57251         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57252         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57253         code.
57254         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57256         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57257         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57258         conditional code.
57259         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57261         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57262         code.
57263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57264         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57265         conditional code.
57266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57267         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57268         code unconditional.
57269         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57270         conditional code.
57271         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57272         unconditional.
57273         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57274         conditional code.
57275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57276         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57277         unconditional.
57278         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57279         conditional code.
57280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57281         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57282         code unconditional.
57283         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57284         conditional code.
57285         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57286         unconditional.
57287         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57288         conditional code.
57289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57290         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57291         code unconditional.
57292         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57293         conditional code.
57294         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57295         unconditional.
57296         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57297         conditional code.
57299 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57301         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57302         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57303         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57304         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57305         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57306         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57307         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57308         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57309         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57310         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57311         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57312         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57313         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57314         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57315         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57316         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57317         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57318         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57319         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57321         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57322         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57323         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57325 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57327         * Versions.def: Add GLIBC_2.17.
57328         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57329         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57330         Introduce __libc_secure_getenv.
57331         * stdlib/Versions (2.17): Add secure_getenv
57332         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57333         * stdlib/secure-getenv.c: Rename __secure_getenv to
57334         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57335         symbol __secure_getenv for GLIBC_2.0.
57336         * stdlib/tst-secure-getenv.c: New.
57337         * stdlib/Makefile (tests): Add testcase.
57338         * manual/startup.texi (Environment Access): Document
57339         secure_getenv.
57340         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57341         __libc_secure_getenv.
57342         * inet/ruserpass.c (ruserpass): Likewise.
57343         * malloc/mtrace.c (mtrace): Likewise.
57344         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57345         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57346         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57347         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57348         HAVE_SECURE_GETENV.
57349         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57350         __secure_getenv to __libc_secure_getenv.
57351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57353         Likewise.
57354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57355         Likewise.
57356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57364 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57366         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57367         (struct La_i86_retval): Likewise.
57368         (struct La_x86_64_regs): Likewise.
57369         (struct La_x86_64_retval): Likewise.
57370         (struct La_x32_regs): Likewise.
57371         (struct La_x32_retval): Likewise.
57372         (struct La_ppc32_regs): Likewise.
57373         (struct La_ppc32_retval): Likewise.
57374         (struct La_ppc64_regs): Likewise.
57375         (struct La_ppc64_retval): Likewise.
57376         (struct La_sh_regs): Likewise.
57377         (struct La_sh_retval): Likewise.
57378         (struct La_s390_32_regs): Likewise.
57379         (struct La_s390_32_retval): Likewise.
57380         (struct La_s390_64_regs): Likewise.
57381         (struct La_s390_64_retval): Likewise.
57382         (struct La_sparc32_regs): Likewise.
57383         (struct La_sparc32_retval): Likewise.
57384         (struct La_sparc64_regs): Likewise.
57385         (struct La_sparc64_retval): Likewise.
57386         (struct audit_ifaces): Remove architecture-specific pltenter and
57387         pltexit members.
57388         * sysdeps/i386/ldsodefs.h: New file.
57389         * sysdeps/powerpc/ldsodefs.h: Likewise.
57390         * sysdeps/s390/ldsodefs.h: Likewise.
57391         * sysdeps/sh/ldsodefs.h: Likewise.
57392         * sysdeps/sparc/ldsodefs.h: Likewise.
57393         * sysdeps/x86_64/ldsodefs.h: Likewise.
57395 2012-07-25  Marek Polacek  <polacek@redhat.com>
57397         [BZ #6808]
57398         * math/libm-test.inc (yn_test): Add another test.
57399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57400         to ERANGE when the result is +-Inf.
57401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57402         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57403         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57406 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57408         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57409         equal to 0.
57410         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57411         clock_t.
57412         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57414 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57416         * configure.in <sysdeps resolving>: Correct printing
57417         Implies_before.
57418         * configure: Regenerate.
57420 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57422         * math/w_ilogb.c: Include <limits.h>.
57423         * math/w_ilogbl.c: Likewise.
57425 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57427         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57428         va_copy.  Document allowing for unavailable va_copy only as
57429         pre-C99 compatibility.
57430         * manual/string.texi (Copying and Concatenation): Use va_copy
57431         instead of __va_copy in concat example.
57433 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57435         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57436         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57437         it if not null.
57439         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57440         with O_NOLINK passed to __file_name_lookup.
57442         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57443         with O_NOLINK passed to __file_name_lookup.
57445         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57446         negative N or less than NGIDS.
57448         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57449         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57450         enough.  Use memcpy instead of strncpy.
57452 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57454         * elf/Makefile (check-data): Remove.
57455         (localplt.data): New vpath directive.
57456         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57457         instead of $(check-data).
57458         * scripts/data/localplt-generic.data: Move to ...
57459         * sysdeps/generic/localplt.data: ... here.
57460         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57461         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57462         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57464         ... here.
57465         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57467         ... here.
57468         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57470         ... here.
57471         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57473         ... here.
57474         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57476         ... here.
57477         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57479         ... here.
57481 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57483         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57484         PPC32 and PPC64 files.
57485         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57486         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57488 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57490         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57491         __makecontext_ret to ...
57492         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57493         ... here and call exit if uc_link is NULL.  New file.
57494         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57495         __makecontext_ret.S.
57496         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57497         __makecontext_ret to ...
57498         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57499         ... here and call exit if uc_link is NULL.  New file.
57500         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57501         __makecontext_ret.S.
57503 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57505         * elf/elf.h (R_390_IRELATIVE): New definition.
57506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57507         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57508         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57510         (elf_machine_lazy_rel): Likewise.
57511         * sysdeps/s390/dl-irel.h: New file.
57512         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57513         * sysdeps/s390/s390-64/memset.S: New asm code.
57514         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57515         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57516         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57517         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57518         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57519         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57521         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57522         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57523         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57524         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57525         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57526         * sysdeps/s390/s390-32/memset.S: New asm code.
57527         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57529 2012-07-17  Marek Polacek  <polacek@redhat.com>
57531         [BZ #14349]
57532         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57533         * sysdeps/s390/s390-64/configure.in: Likewise.
57534         * sysdeps/sparc/configure.in: Likewise.
57535         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57536         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57537         * sysdeps/i386/configure.in: Likewise.
57538         * sysdeps/x86_64/configure.in: Likewise.
57539         * sysdeps/sh/configure.in: Likewise.
57540         * sysdeps/s390/s390-32/configure: Regenerated.
57541         * sysdeps/s390/s390-64/configure: Likewise.
57542         * sysdeps/x86_64/configure: Likewise.
57543         * sysdeps/sh/configure: Likewise.
57544         * sysdeps/powerpc/powerpc64/configure: Likewise.
57545         * sysdeps/powerpc/powerpc32/configure: Likewise.
57546         * sysdeps/sparc/configure: Likwise.
57547         * sysdeps/i386/configure: Likewise.
57549         * elf/dl-open.c: Comment fixes.
57551 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57553         * Makefile [CXX] (check-data): Remove.
57554         [CXX] (c++-types.data): New vpath directive.
57555         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57556         vpath.  Do not allow for C++ type data being missing.
57557         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57558         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57559         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57560         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57561         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57562         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57563         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57565         ... here.
57566         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57568         ... here.
57569         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57571         ... here.
57572         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57574         ... here.
57575         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57577         ... here.
57578         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57580         ... here.
57581         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57583         ... here.
57584         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57587         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57588         definitions to architecture-specific files.
57589         (TLS_IE): Likewise.
57590         (TLS_LD): Likewise.
57591         (TLS_GD): Likewise.
57592         * sysdeps/i386/tls-macros.h: New file.
57593         * sysdeps/powerpc/tls-macros.h: Likewise.
57594         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57595         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57596         * sysdeps/sh/tls-macros.h: Likewise.
57597         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57598         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57599         * sysdeps/x86_64/tls-macros.h: Likewise.
57601 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57603         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57604         zero value for regular exit case.
57606         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57607         (__start_context): Preserve zero value for regular exit case.
57609 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57610             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57612         * manual/setjmp.texi (setcontext): Clarify normal process
57613         termination when uc_link is the null pointer.
57614         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57615         exit call.
57617 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57619         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57620         preprocessor.  Test for each exception mask separately.
57622 2012-07-16  Andreas Jaeger  <aj@suse.de>
57624         * po/ru.po: Update from translation team.
57626 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57628         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57629         equal to 0.
57630         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57631         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57632         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57633         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57636 2012-07-13  Andreas Jaeger  <aj@suse.de>
57638         * po/fr.po: Update from translation team.
57640 2012-07-12  Marek Polacek  <polacek@redhat.com>
57642         [BZ #14173]
57643         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57645         loop condition.
57647 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57649         [BZ #13717]
57650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57651         Change to 2.4.1 where previously 2.4.0.
57652         * sysdeps/unix/sysv/linux/configure: Regenerated.
57653         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57654         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57655         version.
57656         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57657         (__ASSUME_AT_CLKTCK): Remove.
57658         (__ASSUME_AT_PAGESIZE): Likewise.
57659         (__ASSUME_AT_XID): Likewise.
57660         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57661         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57662         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57663         unconditionally.
57664         (HAVE_AUX_PAGESIZE): Likewise.
57665         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57666         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57667         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57669 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57671         [BZ #14307]
57672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57673         the temporary buffer used to invoke __gethostbyname2_r,
57674         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57675         host_data / struct gaih_addrtuple.
57676         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57677         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57678         header file nss/nsswitch.h.
57679         * nss/nsswitch.h (global scope): Add definition of implementation
57680         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57681         resolv/nss_dns/dns-host.c).
57683 2012-07-11  Andreas Jaeger  <aj@suse.de>
57685         * po/fr.po: Update from translation team.
57687         * po/sv.po: Update from translation team
57688         * po/fr.po: Another update from translation team.
57690 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57692         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57693         for subnormals or multiply small sinh result by itself.
57694         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57697 2012-07-11  David S. Miller  <davem@davemloft.net>
57699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57701 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57703         [BZ #14347]
57704         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57705         (INTERNAL_MARK): Shift it here.
57707 2012-07-10  Marek Polacek  <polacek@redhat.com>
57709         [BZ #14151]
57710         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57711         libc_cv_asm_global_directive with .globl.
57712         * configure: Regenerated.
57713         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57714         with .globl.
57715         * sysdeps/i386/configure: Regenerated.
57716         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57717         with .globl.
57718         * sysdeps/x86_64/configure: Regenerated.
57719         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57720         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57721         * elf/tst-unique2mod2.c: Likewise.
57722         * elf/tst-unique2mod1.c: Likewise.
57723         * elf/tst-unique1mod2.c: Likewise.
57724         * elf/tst-unique1mod1.c: Likewise.
57725         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57726         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57727         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57728         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57729         * sysdeps/mach/sysdep.h: Likewise.
57730         * sysdeps/i386/sysdep.h: Likewise.
57731         * sysdeps/i386/i386-mcount.S: Likewise.
57732         * sysdeps/x86_64/_mcount.S: Likewise.
57733         * sysdeps/x86_64/sysdep.h: Likewise.
57734         * sysdeps/sh/_mcount.S: Likewise.
57735         * sysdeps/sh/sysdep.h: Likewise.
57736         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57737         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57738         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57739         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57740         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57741         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57742         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57743         * locale/localeinfo.h: Likewise.
57744         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57745         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57747 2012-07-09  Roland McGrath  <roland@hack.frob.com>
57749         [BZ #14336]
57750         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57751         system".
57752         * manual/message.texi (The Uniforum approach): Likewise.
57753         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57754         (glibc iconv Implementation): Likewise.
57756 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
57758         [BZ #14337]
57759         * math/s_clog.c (__clog): Avoid scaling a value down where that
57760         could result in underflow.
57761         * math/s_clog10.c (__clog10): Likewise.
57762         * math/s_clog10f.c (__clog10f): Likewise.
57763         * math/s_clog10l.c (__clog10l): Likewise.
57764         * math/s_clogf.c (__clogf): Likewise.
57765         * math/s_clogl.c (__clogl): Likewise.
57766         * math/libm-test.inc (clog_test): Add more tests.
57767         (clog10_test): Likewise.
57768         * sysdeps/i386/fpu/libm-test-ulps: Update.
57769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57771 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
57773         [BZ #14283]
57774         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57775         by 7 not 8 to examine high bit of fractional part.
57777         [BZ #14042]
57778         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57779         for call to __mcount_internal.
57780         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57781         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57782         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57784 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57786         [BZ #14154]
57787         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57788         approximation for values within 0x1p-13f of an odd multiple of
57789         pi/4.
57790         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57791         exception.  Add more tests.
57792         * sysdeps/i386/fpu/libm-test-ulps: Update.
57794         [BZ #6778]
57795         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57796         inputs and return -1 for them.  Do not check for +Inf in case not
57797         reachable for +Inf.
57798         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57799         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57801         and return -1 for them.  Do not check for +Inf in case not
57802         reachable for +Inf.
57803         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57804         define.
57805         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57806         and return -1 for them.  Do not check for +Inf in case not
57807         reachable for +Inf.
57808         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57809         spurious underflow.
57810         * sysdeps/i386/fpu/libm-test-ulps: Update.
57811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57813 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57815         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57817 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57819         [BZ #14157]
57820         [BZ #14331]
57821         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57822         could result in spurious underflow.  Scale down values above
57823         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57824         * math/s_csqrtf.c (__csqrtf): Likewise.
57825         * math/s_csqrtl.c (__csqrtl): Likewise.
57826         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57827         spurious underflow.
57828         * sysdeps/i386/fpu/libm-test-ulps: Update.
57829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57831 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57833         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57834         xopen-msg.sed.
57835         * catgets/xopen-msg.awk: New file.
57836         * catgets/xopen-msg.sed: Removed.
57838         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57839         po2text.sed.
57840         * intl/po2test.awk: New file.
57841         * intl/po2test.sed: Removed.
57843 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57845         [BZ #14328]
57846         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57847         or multiply small sinh result by itself.
57848         * math/s_ctanf.c (__ctanf): Likewise.
57849         * math/s_ctanh.c (__ctanh): Likewise.
57850         * math/s_ctanhf.c (__ctanhf): Likewise.
57851         * math/s_ctanhl.c (__ctanhl): Likewise.
57852         * math/s_ctanl.c (__ctanl): Likewise.
57853         * math/libm-test.inc (ctan_test_tonearest): New function.
57854         (ctan_test_towardzero): Likewise.
57855         (ctan_test_downward): Likewise.
57856         (ctan_test_upward): Likewise.
57857         (ctanh_test_tonearest): Likewise.
57858         (ctanh_test_towardzero): Likewise.
57859         (ctanh_test_downward): Likewise.
57860         (ctanh_test_upward): Likewise.
57861         (main): Call these new functions.
57862         * sysdeps/i386/fpu/libm-test-ulps: Update.
57863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57865 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57867         * .gitignore: Delete /ports entry.
57869 2012-07-03  Andreas Jaeger  <aj@suse.de>
57871         * po/bg.po: Update from translation team.
57872         * po/cs.po: Likewise.
57873         * po/de.po: Likewise.
57874         * po/hr.po: Likewise.
57875         * po/nl.pl: Likewise.
57876         * po/pl.po: Likewise.
57877         * po/vi.po: Likewise.
57879 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57881         * Makeconfig [!+link] (+link-before-libc): New variable.
57882         [!+link] (+link-after-libc): Likewise.
57883         [!+link] (+link-tests): Likewise.
57884         [!+link] (+link): Define in terms of $(+link-before-libc) and
57885         $(+link-after-libc).
57886         [!+link-static] (+link-static-before-libc): New variable.
57887         [!+link-static] (+link-static-after-libc): Likewise.
57888         [!+link-static] (+link-static-tests): Likewise.
57889         [!+link-static] (+link-static): Define in terms of
57890         $(+link-static-before-libc) and $(+link-static-after-libc).
57891         [build-shared] (link-libc-before-gnulib): New variable.
57892         [build-shared] (link-libc-tests): Likewise.
57893         [build-shared] (link-libc): Define in terms of
57894         $(link-libc-before-gnulib).
57895         [!build-shared] (link-libc-tests): New variable.
57896         (link-libc-static-tests): New variable.
57897         [!gnulib] (gnulib-arch): New variable.
57898         [!gnulib] (gnulib-tests): Likewise.
57899         [!gnulib] (static-gnulib-arch): Likewise.
57900         [!gnulib] (static-gnulib-tests): Likewise.
57901         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57902         Define with "=" instead of ":=".
57903         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57904         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57905         * Rules (binaries-all-notests): New variable.
57906         (binaries-all-tests): Likewise.
57907         (binaries-static-notests): Likewise.
57908         (binaries-static-tests): Likewise.
57909         (binaries-all): Define using $(binaries-all-notests) and
57910         $(binaries-all-tests).
57911         (binaries-static): Define using $(binaries-static-notests) and
57912         $(binaries-static-tests).
57913         (binaries-shared-tests): New variable.
57914         (binaries-shared-notests): Likewise.
57915         (binaries-shared): Remove variable.
57916         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57917         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57918         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57919         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57920         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57921         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57922         * elf/Makefile (sln-modules): New variable.
57923         (extra-objs): Add $(sln-modules:=.o).
57924         (ldconfig-modules): Add static-stubs.
57925         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57926         * elf/static-stubs.c: New file.
57928         [BZ #14283]
57929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57930         by 7 not 8 to examine high bit of fractional part.  Use volatile
57931         variables when splitting into final array of floats if
57932         __FLT_EVAL_METHOD__ != 0.
57933         * math/libm-test.inc (cos_test): Add another test.
57934         (sin_test): Likewise.
57935         * sysdeps/i386/fpu/libm-test-ulps: Update.
57937         [BZ #14273]
57938         * math/libm-test.inc (cosh_test): Add more tests.
57940         * version.h (RELEASE): Set to "development".
57941         (VERSION): Set to "2.16.90".
57943 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57945         * NEWS: Update copyright. Remove last-updated date.
57946         Mention math library bug fixes and timezone data changes.
57947         * README: Mention GNU/Hurd, x32, and HPPA support status.
57949 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57951         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57953 2012-06-27  Andreas Jaeger  <aj@suse.de>
57955         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57957 2012-06-25  Andreas Jaeger  <aj@suse.de>
57959         * sysdeps/s390/fpu/libm-test-ulps: Update.
57961 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57962             Thomas Schwinge  <thomas@codesourcery.com>
57964         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57965         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57967         fanotify_mark.
57969 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57971         * sysdeps/mach/start.c: Remove file.
57972         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57973         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57974         * sysdeps/sh/init-first.c: Likewise.
57976         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57977         registers for frame unwinding purposes, add CFI directives.
57978         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57980         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57981         Likewise.
57983         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57984         __fortify_fail returning.
57985         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57987         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57988         sysdeps/sh/____longjmp_chk.S.
57989         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57990         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57991         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57992         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57994         * sysdeps/sh/abort-instr.h: New file.
57995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57996         process in case exit returns.
57998         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57999         initialize the GOT register before use.
58001         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58002         calculation of ARGC > 4.
58004         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58005         meaningful names to some local labels.
58007 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58008             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58010         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58011         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58012         (__arch_compare_and_exchange_val_16_acq): Likewise.
58013         (__arch_compare_and_exchange_val_32_acq): Likewise.
58014         (atomic_exchange_and_add): Fix gUSA sequence.
58015         (atomic_add): Likewise.
58016         (atomic_add_negative): Likewise.
58017         (atomic_add_zero): Likewise.
58018         (atomic_bit_test_set): Likewise.
58020 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58022         [BZ #13579]
58023         * include/link.h (struct link_map): Add l_free_initfini.
58024         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58025         l_initfini.
58026         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58027         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58028         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58029         set.
58031 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58033         * configure.in: Use AC_LANG_SOURCE.
58034         * configure: Regenerate.
58036 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58038         * configure.in (libc_cv_localstatedir): New substituted variable.
58039         * configure: Regenerated.
58040         * config.make.in (localstatedir): New variable, substituted from
58041         libc_cv_localstatedir.
58042         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58043         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58044         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58045         * sysdeps/gnu/configure: Regenerated.
58047 2012-06-21  Jeff Law  <law@redhat.com>
58049         [BZ #14277]
58050         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58051         free.  Simplify list management for _LIBC case.
58053 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58055         [BZ #14273]
58056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58057         Clear sign bit of 64-bit integer value before comparing against
58058         overflow value.
58060         * sysdeps/mach/configure: Regenerated.
58062 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58064         [BZ #14278]
58065         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58067 2012-06-21  Jeff Law  <law@redhat.com>
58069         [BZ #13882]
58070         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58071         uint16_t for elements in the "seen" array to avoid char overflows.
58072         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58073         * elf/dl-open.c (dl_open_worker): Likewise.
58075 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58077         * scripts/list-sources.sh: Scan PORTS for translations.
58078         * po/libc.pot: Regenerated.
58080 2012-06-21  Andreas Jaeger  <aj@suse.de>
58082         [BZ #12194]
58083         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58084         warning.
58085         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58086         * bits/byteswap-16.h (__bswap_16): Likewise.
58087         * bits/byteswap.h (__bswap_constant_16): Likewise.
58089 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58091         [BZ #14117]
58092         * sysdeps/i386/fpu_control.h: Removed.
58093         * sysdeps/x86_64/fpu_control.h: Moved to ...
58094         * sysdeps/x86/fpu_control.h: Here.
58096         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58097         (_FPU_SETCW): Likewise.
58099 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58101         [BZ #14117]
58102         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58103         * sysdeps/x86/fpu/bits/mathinline.h: This.
58104         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58106         [BZ #14050]
58107         [BZ #14117]
58108         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58109         functions if __x86_64__ is defined.
58111 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58113         * string/endian.h: Add !__ASSEMBLER__ condition for including
58114         conversion interfaces.
58116 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58118         [BZ #14241]
58119         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58120         of ABS(x) in calculating zero to negative powers other than odd
58121         integers.
58122         * math/libm-test.inc (pow_test): Add more tests.
58124 2012-06-15  Andreas Jaeger  <aj@suse.de>
58126         * manual/contrib.texi (Contributors): Update entry of Liubov
58127         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58128         Machado Filho.
58130 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58132         * string/string.h: Add __wur to GNU version of strerror_r.
58134 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58136         [BZ #14229]
58137         * string/Makefile (tests): Add tst-strtok_r.
58138         * string/tst-strtok_r.c: New file.
58139         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58140         RAX_LP/RDX_LP on SAVE_PTR.
58142 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58144         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58146 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58148         * libm_test.inc (csqrt_test): Allow more spurious underflow
58149         exceptions.
58150         (j0_test): Likewise.
58151         (j1_test): Likewise.
58152         (y0_test): Likewise.
58153         (y1_test): Likewise.
58155 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58157         * po/Makefile (libc.pot): Use UTF-8 charset.
58159 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58161         [BZ #14210]
58162         Suppress sign-conversion warning from FD_SET.
58163         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58164         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58165         not unsigned long int.
58166         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58168 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58170         [BZ #14050]
58171         [BZ #14117]
58172         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58173         __extern_always_inline instead of __extern_inline.
58174         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58175         (__signbit): Likewise.
58176         (__signbitl): Support C++ namespace.
58177         (lrintf): New inline function.
58178         (lrint): Likewise.
58179         (llrintf): Likewise.
58180         (llrint): Likewise.
58181         (fmaxf): Likewise.
58182         (fmax): Likewise.
58183         (fminf): Likewise.
58184         (fmin): Likewise.
58185         (rint): Likewise.
58186         (rintf): Likewise.
58187         (ceil): Likewise.
58188         (ceilf): Likewise.
58189         (floor): Likewise.
58190         (floorf): Likewise.
58191         (nearbyint): Likewise.
58192         (nearbyintf): Likewise.
58194 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58197         non-default versions.
58199 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58201         [BZ #14218]
58202         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58204 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58206         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58207         (FE_UPWARD, FE_DOWNWARD): Don't define.
58208         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58212         reading it.
58213         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58214         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58216 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58218         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58220         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58221         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58223 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58225         [BZ #14117]
58226         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58227         * sysdeps/i386/fpu/Implies: New file.
58228         * sysdeps/x86_64/fpu/Implies: Likewise.
58229         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58230         * sysdeps/x86/fpu/bits/fenv.h: This.
58232         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58233         __SSE_MATH__.
58235 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58237         [BZ #14134]
58238         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58239         character 0xffff that matches the last element of the
58240         conversion table.
58242 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58245         fmodl commit.
58247 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58250         values higher than 25.6283.
58252 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58254         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58255         subnormal exponent extraction and add some __builtin_expect.
58256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58257         Fix for subnormal mantissa calculation.
58259 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58261         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58262         cpu2 is -1 and errno is not ENOSYS.
58264 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58266         [BZ #14117]
58267         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58268         * sysdeps/x86/bits/string.h: This.
58269         * sysdeps/x86_64/bits/string.h: Removed.
58271         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58272         if not compiling for x86-64, but compiling for >= i486.
58274         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58275         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58278         New macro from Linux kernel 3.4.0.
58279         (FP_XSTATE_MAGIC2): Likewise.
58280         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58281         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58282         (struct _fpx_sw_bytes): New struct.
58283         (struct _xsave_hdr): Likewise.
58284         (struct _ymmh_state): Likewise.
58285         (struct _xstate): Likewise.
58287         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58288         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58289         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58290         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58291         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58292         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58294         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58295         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58296         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58297         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58298         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58299         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58301 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58303         [BZ #13743]
58304         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58305         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58306         (sysdep_headers): Include sys/platform/ppc.h.
58307         * sysdeps/powerpc/test-gettimebase.c: Test for
58308         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58309         * manual/Makefile (appendices): Include platform.texi.
58310         * manual/contrib.texi (Contributors): Update @node pointers.
58311         * manual/maint.texi (Maintenance): Likewise.
58312         (Platform): New node.
58313         * manual/platform.texi: New file.  Document the new features.
58315 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58316             Jakub Jelinek  <jakub@redhat.com>
58318         [BZ #14188]
58319         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58320         where __builtin_expect is unavailable.
58322 2012-06-03  David S. Miller  <davem@davemloft.net>
58324         * stdlib/longlong.h: Updated from GCC.
58326 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58328         [BZ #14042]
58329         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58330         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58331         __mcount_internal.
58332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58333         (GLIBC_2.16): Likewise.
58335 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58337         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58339 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58342         (default-abi): New variable.
58343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58344         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58345         variable.
58346         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58347         Likewise.
58348         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58349         Likewise.
58350         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58351         Likewise.
58353         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58354         definition.  Document in comment.
58356 2012-06-01  David S. Miller  <davem@davemloft.net>
58358         * stdlib/longlong.h: Updated from GCC.
58360 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58362         [BZ #14117]
58363         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58364         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58365         sys/debugreg.h sys/io.h here.
58366         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58367         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58368         sys/io.h.
58369         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58370         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58371         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58372         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58373         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58374         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58377         Define only if __x86_64__ is defined.
58379 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58381         [BZ #14048]
58382         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58383         Use int64_t for variable i.
58384         * math/libm-test.inc (fmod_test): Add more tests.
58386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58387         z computation is not scheduled after fetestexcept.
58388         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58389         Use math_force_eval instead of asm to ensure calculation scheduled
58390         before exception test.
58391         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58392         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58394 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58397         computation is not scheduled after fetestexcept.
58399 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58401         [BZ #14117]
58402         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58403         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58405 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58407         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58408         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58410 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58412         [BZ #14117]
58413         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58414         <bits/wordsize.h>.
58415         (__WCHAR_MIN): Support __WORDSIZE == 64.
58416         (__WCHAR_MAX): Likewise.
58418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58421         [BZ #14183]
58422         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58423         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58425         [BZ #14117]
58426         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58429         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58430         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58433         Defined to 1 if __x86_64__ isn't defined.
58434         (_STAT_VER_LINUX_OLD): New.
58435         (st_atime): Remove duplicate.
58436         (st_mtime): Likewise.
58437         (st_ctime): Likewise.
58439 2012-05-31  David S. Miller  <davem@davemloft.net>
58441         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58442         entries.
58444 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58446         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58447         gen-libm-test.pl.
58449         [BZ #14132]
58450         * elf/dl-reloc.c: Include <_itoa.h>.
58451         (_dl_reloc_bad_type): Remove use of INTUSE.
58452         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58453         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58454         * stdio-common/psiginfo.c (psiginfo): Likewise.
58455         * stdio-common/psignal.c (psignal): Likewise.
58456         * string/strsignal.c (strsignal): Likewise.
58457         * include/signal.h (_sys_siglist): Declare hidden proto.
58458         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58459         INTVARDEF with libc_hidden_data_def.
58460         * stdio-common/itoa-udigits.c: Likewise.
58461         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58462         (_itoa_lower_digits_internal): Remove declaration.
58463         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58464         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58465         (_sys_sigabbrev_internal): Remove aliases.
58466         (_sys_siglist): Define hidden alias.
58468 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58471         bits/sysctl.h.
58473 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58475         [BZ #14117]
58476         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58477         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58479         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58480         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58481         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58482         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58484         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58486         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58487         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58488         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58490         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58491         with __addr.
58492         (insw): Likewise.
58493         (insl): Likewise.
58494         (outsb): Likewise.
58495         (outsw): Likewise.
58496         (outsl): Likewise.
58498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58499         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58500         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58502         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58503         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58505         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58506         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58507         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58509         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58510         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58512         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58513         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58516         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58517         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58519         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58520         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58521         to ...
58522         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58524         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58525         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58526         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58528         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58529         for x86-64.
58530         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58532 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58534         * math/math.h (M_El): Use two more decimal places.
58535         (M_LOG2El): Likewise.
58536         (M_LOG10El): Likewise.
58537         (M_LN2l): Likewise.
58538         (M_LN10l): Likewise.
58539         (M_PIl): Likewise.
58540         (M_PI_2l): Likewise.
58541         (M_PI_4l): Likewise.
58542         (M_1_PIl): Likewise.
58543         (M_2_PIl): Likewise.
58544         (M_2_SQRTPIl): Likewise.
58545         (M_SQRT2l): Likewise.
58546         (M_SQRT1_2l): Likewise.
58548 2012-05-31  David S. Miller  <davem@davemloft.net>
58550         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58551         values between float registers.
58552         * sysdeps/sparc/sparc64/memset.S: Likewise.
58553         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58555 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58557         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58558         -D_FORTIFY_SOURCE=1.
58559         (CPPFLAGS-tst-longjmp_chk.c): Define.
58560         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58561         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58562         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58563         CFLAGS-tst-wchar-h.c.
58565 2012-05-31  Marek Polacek  <polacek@redhat.com>
58567         [BZ #14132]
58568         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58569         __endmntent_internal): Remove declaration.
58570         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58571         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58572         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58574 2012-05-30  David S. Miller  <davem@davemloft.net>
58576         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58577         (___Q_simulate_exceptions): Use real FP ops rather than writing
58578         into the %fsr.
58579         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58580         Likewise.
58582 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58584         [BZ #14117]
58585         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58586         * sysdeps/x86/bits/xtitypes.h: This.
58588         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58589         * sysdeps/x86/bits/wordsize.h: This.
58591         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58592         * sysdeps/x86/bits/huge_vall.h: This.
58594         * sysdeps/i386/bits/select.h: Removed.
58595         * sysdeps/x86_64/bits/select.h: Renamed to ...
58596         * sysdeps/x86/bits/select.h: This.
58598         * sysdeps/i386/bits/setjmp.h: Removed.
58599         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58600         * sysdeps/x86/bits/setjmp.h: This.
58602         * sysdeps/i386/bits/mathdef.h: Removed.
58603         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58604         * sysdeps/x86/bits/mathdef.h: This.
58606 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58608         [BZ #14132]
58609         * include/sys/socket.h (__connect_internal)
58610         (__libc_sa_len_internal): Remove declaration.
58611         (__connect, __libc_sa_len): Declare hidden_proto.
58612         (SA_LEN): Remove use of INTUSE.
58613         * socket/connect.c: Add libc_hidden_def.
58614         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58615         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58616         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58617         alias.
58618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58620         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58621         of adding _internal alias.
58623 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58625         [BZ #14117]
58626         * sysdeps/i386/bits/link.h: Removed.
58627         * sysdeps/i386/bits/linkmap.h: Likewise.
58628         * sysdeps/x86_64/bits/link.h: Renamed to ...
58629         * sysdeps/x86/bits/link.h: This.
58630         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58631         * sysdeps/x86/bits/linkmap.h: This.
58633         * sysdeps/i386/bits/endian.h: Removed.
58634         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58635         * sysdeps/x86/bits/endian.h: This.
58637         * sysdeps/i386/bits/byteswap.h: Removed.
58638         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58639         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58640         * sysdeps/x86/bits/byteswap.h: This.
58641         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58642         * sysdeps/x86/bits/byteswap-16.h: This.
58643         * sysdeps/i386/Implies: Add x86.
58644         * sysdeps/x86_64/Implies: Likewise.
58646 2012-05-30  David S. Miller  <davem@davemloft.net>
58648         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58649         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58650         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58651         (FP_TRAPPING_EXCEPTIONS): Define.
58652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58653         (FP_TRAPPING_EXCEPTIONS): Define.
58654         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58655         subnormals only when inexact has been signalled or underflow
58656         exceptions are enabled.
58657         (_FP_PACK_CANONICAL): Likewise.
58659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58661         [BZ #14183]
58662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58663         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58665 2012-05-30  Richard Henderson  <rth@twiddle.net>
58667         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58668         with #ifndef NOT_IN_libc.
58670         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58671         marked to avoid plt entry.
58673 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58675         [BZ #14112]
58676         * Makeconfig (default-abi): New macro.
58677         (abi-includes): Likewise.
58678         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58679         $(abi-$(default-abi)-lib-soname) for soname if defined.
58680         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58681         abi-variants.
58682         * Makefile (installed-stubs): Likewise.
58683         * include/stubs-biarch.h: Removed.
58684         * scripts/lib-names.awk: Only handle one library at a time.
58685         * scripts/soversions.awk: Remove WORDSIZE support.
58686         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58687         entries.
58688         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58689         Removed.
58690         (syscall-list-default-condition): Likewise.
58691         (syscall-list-default-condition): Likewise.
58692         (syscall-list-includes): Likewise.
58693         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58694         syscall-list-* with abi-*.  Handle undefined abi-variants.
58695         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58696         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58697         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58698         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58699         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58700         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58701         Removed.
58702         (syscall-list-32-options): Likewise.
58703         (syscall-list-32-condition): Likewise.
58704         (syscall-list-64-options): Likewise.
58705         (syscall-list-64-condition): Likewise.
58706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58707         macro.
58708         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58709         Renamed to ...
58710         (abi-*): This.
58711         (abi-64-ld-soname): New macro.
58712         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58713         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58714         Renamed to ...
58715         (abi-*): This.
58716         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58717         * sysdeps/x86_64/x32/shlib-versions: Likewise.
58719 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
58721         * sysdeps/unix/sysv/linux/kernel-features.h
58722         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58723         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58724         include <kernel-features.h>.
58725         [!__NR_ftruncate64]: Remove conditional code.
58726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58727         [__NR_ftruncate64]: Make code unconditional.
58728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58729         * sysdeps/unix/sysv/linux/truncate64.c: Do not
58730         include <kernel-features.h>.
58731         [!__NR_ftruncate64]: Remove conditional code.
58732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58733         [__NR_ftruncate64]: Make code unconditional.
58734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58736         include <kernel-features.h>.
58737         [!__NR_ftruncate64]: Remove conditional code.
58738         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58739         [__NR_ftruncate64]: Make code unconditional.
58740         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58742         include <kernel-features.h>.
58743         [!__NR_ftruncate64]: Remove conditional code.
58744         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58745         [__NR_ftruncate64]: Make code unconditional.
58746         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58748         * configure.in (libc_cv_fpie): Weaken to a compile test using
58749         LIBC_TRY_CC_OPTION.
58750         * configure: Regenerated.
58752 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58758         Refreshed.
58759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58765         Refreshed.
58767 2012-05-27  David S. Miller  <davem@davemloft.net>
58769         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58770         (___Q_zero): New.
58771         (__Q_simulate_exceptions): Return void.  Change to simulate
58772         exceptions by writing into the %fsr.
58773         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58774         (__Qp_handle_exceptions): Likewise.
58775         (numbers): Delete.
58776         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58777         __Qp_handle_exceptions.
58778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58779         __Qp_handle_exceptions.
58780         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58781         as unused and give dummy FP_RND_NEAREST initializer.
58782         (FP_INHIBIT_RESULTS): Define.
58783         (___Q_simulate_exceptions): Update declaration.
58784         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58785         formatting.
58786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58787         as unused and give dummy FP_RND_NEAREST initializer.
58788         (__Qp_handle_exceptions): Update declaration.
58789         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58790         formatting.
58792 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58794         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58795         the temporary FPU control word.
58796         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58797         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58798         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58799         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58802         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58805         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58806         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58808 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58810         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58811         fields.
58813 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58815         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58816         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58817         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58818         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58819         Likewise.
58820         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58821         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58822         Likewise.
58824 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58826         * po/h.po: Update from translation team.
58828 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58830         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58832         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58833         handling of denormals.
58834         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58835         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58836         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58837         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58838         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58841         Likewise.
58843 2012-05-26  Marek Polacek  <polacek@redhat.com>
58845         [BZ #14152]
58846         * math/libm-test.inc (fma_test): Don't always expect underflow
58847         exception.
58849 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58851         [BZ #12416]
58852         * elf/tst-execstack.c: Include stackinfo.h.
58853         (do_test): Adjust test case to ensure that pthread_getattr_np
58854         behaviour remains the same after marking stack executable.
58856 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58858         * sysdeps/unix/sysv/linux/kernel-features.h
58859         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58860         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58861         kernel-features.h.
58862         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58863         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58864         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58865         kernel-features.h.
58866         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58867         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58869 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58871         * configure.in: Define the default includes to being none.
58872         * configure: Regenerated.
58874 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58876         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58877         * sysdeps/x86_64/setjmp.S: Likewise.
58878         * sysdeps/i386/bsd-setjmp.S: Likewise.
58879         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58880         * sysdeps/i386/setjmp.S: Likewise.
58881         * sysdeps/i386/__longjmp.S: Likewise.
58882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58883         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58885         * include/stap-probe.h: New file.
58886         * configure.in: Handle --enable-systemtap.
58887         * configure: Regenerated.
58888         * config.h.in (USE_STAP_PROBE): New #undef.
58889         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58890         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58891         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58895         [BZ #13717]
58896         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58897         to 2.4.0 where earlier.
58898         * sysdeps/unix/sysv/linux/configure: Regenerated.
58899         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58900         <kernel-features.h>.
58901         [__ASSUME_32BITUIDS]: Make code unconditional.
58902         [!__ASSUME_32BITUIDS]: Remove conditional code.
58903         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58904         <kernel-features.h>.
58905         [__ASSUME_32BITUIDS]: Make code unconditional.
58906         [!__ASSUME_32BITUIDS]: Remove conditional code.
58907         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58908         [__ASSUME_32BITUIDS]: Make code unconditional.
58909         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58910         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58911         <kernel-features.h>.
58912         [__ASSUME_32BITUIDS]: Make code unconditional.
58913         [!__ASSUME_32BITUIDS]: Remove conditional code.
58914         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58915         <kernel-features.h>.
58916         [__ASSUME_32BITUIDS]: Make code unconditional.
58917         [!__ASSUME_32BITUIDS]: Remove conditional code.
58918         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58919         <kernel-features.h>.
58920         [__ASSUME_32BITUIDS]: Make code unconditional.
58921         [!__ASSUME_32BITUIDS]: Remove conditional code.
58922         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58923         <kernel-features.h>.
58924         [__ASSUME_32BITUIDS]: Make code unconditional.
58925         [!__ASSUME_32BITUIDS]: Remove conditional code.
58926         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58927         <kernel-features.h>.
58928         [__ASSUME_32BITUIDS]: Make code unconditional.
58929         [!__ASSUME_32BITUIDS]: Remove conditional code.
58930         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58931         <kernel-features.h>.
58932         [__ASSUME_32BITUIDS]: Make code unconditional.
58933         [!__ASSUME_32BITUIDS]: Remove conditional code.
58934         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58935         <kernel-features.h>.
58936         [__ASSUME_32BITUIDS]: Make code unconditional.
58937         [!__ASSUME_32BITUIDS]: Remove conditional code.
58938         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58939         <kernel-features.h>.
58940         [__ASSUME_32BITUIDS]: Make code unconditional.
58941         [!__ASSUME_32BITUIDS]: Remove conditional code.
58942         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58943         <kernel-features.h>.
58944         [__ASSUME_32BITUIDS]: Make code unconditional.
58945         [!__ASSUME_32BITUIDS]: Remove conditional code.
58946         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58947         <kernel-features.h>.
58948         [__ASSUME_32BITUIDS]: Make code unconditional.
58949         [!__ASSUME_32BITUIDS]: Remove conditional code.
58950         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58951         <kernel-features.h>.
58952         [__NR_setresgid] (__setresgid): Do not declare.
58953         [__ASSUME_32BITUIDS]: Make code unconditional.
58954         [!__ASSUME_32BITUIDS]: Remove conditional code.
58955         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58956         <kernel-features.h>.
58957         [__NR_setresuid] (__setresuid): Do not declare.
58958         [__ASSUME_32BITUIDS]: Make code unconditional.
58959         [!__ASSUME_32BITUIDS]: Remove conditional code.
58960         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58961         <kernel-features.h>.
58962         [__ASSUME_32BITUIDS]: Make code unconditional.
58963         [!__ASSUME_32BITUIDS]: Remove conditional code.
58964         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58965         <kernel-features.h>.
58966         [__ASSUME_32BITUIDS]: Make code unconditional.
58967         [!__ASSUME_32BITUIDS]: Remove conditional code.
58968         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58969         <kernel-features.h>.
58970         [__ASSUME_32BITUIDS]: Make code unconditional.
58971         [!__ASSUME_32BITUIDS]: Remove conditional code.
58972         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58973         <kernel-features.h>.
58974         [__ASSUME_32BITUIDS]: Make code unconditional.
58975         [!__ASSUME_32BITUIDS]: Remove conditional code.
58976         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58977         <kernel-features.h>.
58978         [__ASSUME_32BITUIDS]: Make code unconditional.
58979         [!__ASSUME_32BITUIDS]: Remove conditional code.
58980         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58981         <kernel-features.h>.
58982         [__ASSUME_32BITUIDS]: Make code unconditional.
58983         [!__ASSUME_32BITUIDS]: Remove conditional code.
58984         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58985         <kernel-features.h>.
58986         [__ASSUME_32BITUIDS]: Make code unconditional.
58987         [!__ASSUME_32BITUIDS]: Remove conditional code.
58988         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58989         <kernel-features.h>.
58990         [__ASSUME_32BITUIDS]: Make code unconditional.
58991         [!__ASSUME_32BITUIDS]: Remove conditional code.
58992         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58993         <kernel-features.h>.
58994         [__ASSUME_32BITUIDS]: Make code unconditional.
58995         [!__ASSUME_32BITUIDS]: Remove conditional code.
58996         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58997         <kernel-features.h>.
58998         [__ASSUME_32BITUIDS]: Make code unconditional.
58999         [!__ASSUME_32BITUIDS]: Remove conditional code.
59000         * sysdeps/unix/sysv/linux/kernel-features.h
59001         (__ASSUME_SETRESUID_SYSCALL): Remove.
59002         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59003         (__ASSUME_32BITUIDS): Likewise.
59004         (__ASSUME_LDT_WORKS): Likewise.
59005         (__ASSUME_O_DIRECTORY): Likewise.
59006         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59007         architecture but not kernel version.
59008         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59009         (__ASSUME_MMAP2_SYSCALL): Likewise.
59010         (__ASSUME_STAT64_SYSCALL): Likewise.
59011         (__ASSUME_IPC64): Likewise.
59012         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59013         <kernel-features.h>.
59014         [__ASSUME_32BITUIDS]: Make code unconditional.
59015         [!__ASSUME_32BITUIDS]: Remove conditional code.
59016         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59017         <kernel-features.h>.
59018         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59019         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59020         132096]: Remove conditional code.
59021         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59022         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59023         <kernel-features.h>.
59024         [__ASSUME_32BITUIDS]: Make code unconditional.
59025         [!__ASSUME_32BITUIDS]: Remove conditional code.
59026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59027         <kernel-features.h>.
59028         [__ASSUME_32BITUIDS]: Make code unconditional.
59029         [!__ASSUME_32BITUIDS]: Remove conditional code.
59030         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59031         <kernel-features.h>.
59032         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59033         unconditional.
59034         (__setresgid): Do not declare.
59035         [__ASSUME_32BITUIDS]: Make code unconditional.
59036         [!__ASSUME_32BITUIDS]: Remove conditional code.
59037         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59038         <kernel-features.h>.
59039         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59040         unconditional.
59041         (__setresuid): Do not declare.
59042         [__ASSUME_32BITUIDS]: Make code unconditional.
59043         [!__ASSUME_32BITUIDS]: Remove conditional code.
59044         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59045         <kernel-features.h>.
59046         [__ASSUME_32BITUIDS]: Make code unconditional.
59047         [!__ASSUME_32BITUIDS]: Remove conditional code.
59048         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59049         <kernel-features.h>.
59050         [__ASSUME_32BITUIDS]: Make code unconditional.
59051         [!__ASSUME_32BITUIDS]: Remove conditional code.
59053 2012-05-25  Richard Henderson  <rth@twiddle.net>
59055         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59056         dl_hwcap to ifunc resolver.
59057         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59058         elf_ifunc_invoke.
59059         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59060         dl_hwcap to ifunc resolver.
59061         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59065         [BZ #14153]
59066         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59067         for |x| <= 2**-26, not 2**-57.
59068         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59069         exception.
59071 2012-05-24  Jeff Law  <law@redhat.com>
59073         * stdio-common/Makefile (tests): Add bug25.
59074         * stdio-common/bug25.c: New test.
59076 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59078         [BZ #13576]
59079         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59080         multiple of MALLOC_ALIGNMENT in size.
59081         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59083 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59085         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59086         Require >= 256.
59087         (FILENAME_MAX): Use macro-int-constant.
59088         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59089         (_IOFBF): Use macro-int-constant.
59090         (_IOLBF): Likewise.
59091         (_IONBF): Likewise.
59092         (SEEK_CUR): Likewise.
59093         (SEEK_END): Likewise.
59094         (SEEK_SET): Likewise.
59095         (TMP_MAX): Likewise.
59096         (EOF): Use macro-int-constant.  Require < 0.
59097         (NULL): Use macro-constant.  Require == 0.
59098         (stdin): Require type to be FILE *.
59099         (stdout): Likewise.
59100         (stderr): Likewise.
59101         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59102         macro-int-constant.
59103         (EXIT_SUCCESS): Likewise.
59104         (NULL): Use macro-constant.  Require == 0.
59105         (RAND_MAX): Use macro-int-constant.
59106         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59107         [C99-based standards] (strtof): Require function.
59108         [C99-based standards] (strtold): Likewise.
59109         [C99-based standards] (strtoll): Likewise.
59110         [C99-based standards] (strtoull): Likewise.
59111         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59112         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59113         [ISO || ISO99 || ISO11] (math.h): Likewise.
59114         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59115         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59118 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59120         [BZ #14132]
59121         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59122         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59123         * intl/dgettext.c (DCGETTEXT): Likewise.
59124         * intl/gettext.c (DCGETTEXT): Likewise.
59125         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59126         * posix/regex_internal.h (gettext): Likewise.
59127         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59128         Remove declaration.
59129         * include/argz.h (__argz_count_internal)
59130         (__argz_stringify_internal): Remove declaration.
59131         (__argz_count, __argz_stringify): Declare hidden proto.
59132         * intl/dcgettext.c: Remove use of INTDEF.
59133         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59134         * string/argz-stringify.c: Likewise.
59135         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59136         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59137         Declare hidden proto.
59138         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59139         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59140         Declare hidden proto.
59141         * include/stdio.h (__asprintf_internal): Don't declare.
59142         (__asprintf): Don't define as macro.  Declare hidden proto.
59143         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59144         (__fsetlocking): Declare hidden proto.
59145         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59146         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59147         hidden proto.
59148         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59149         (_IO_setlinebuf): Remove use of INTUSE.
59150         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59151         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59152         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59153         Remove declaration.
59154         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59155         (_IO_do_flush): Remove use of INTUSE.
59156         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59157         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59158         (_IO_adjust_column, _IO_least_wmarker)
59159         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59160         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59161         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59162         (_IO_default_doallocate, _IO_wdefault_doallocate)
59163         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59164         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59165         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59166         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59167         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59168         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59169         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59170         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59171         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59172         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59173         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59174         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59175         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59176         proto.
59177         (_IO_flush_all_internal, _IO_adjust_column_internal)
59178         (_IO_default_uflow_internal, _IO_default_finish_internal)
59179         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59180         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59181         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59182         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59183         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59184         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59185         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59186         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59187         (_IO_file_close_internal, _IO_file_close_it_internal)
59188         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59189         (_IO_file_init_internal, _IO_file_attach_internal)
59190         (_IO_file_fopen_internal, _IO_file_read_internal)
59191         (_IO_file_sync_internal, _IO_file_seek_internal)
59192         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59193         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59194         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59195         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59196         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59197         (_IO_list_all_internal, _IO_link_in_internal)
59198         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59199         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59200         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59201         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59202         (_IO_do_write_internal, _IO_padn_internal)
59203         (_IO_getline_info_internal, _IO_getline_internal)
59204         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59205         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59206         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59207         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59208         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59209         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59210         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59211         with libc_hidden_ver, remove use of INTUSE.
59212         * libio/genops.c: Likewise.
59213         * libio/freopen.c: Likewise.
59214         * libio/freopen64.c: Likewise.
59215         * libio/iofclose.c: Likewise.
59216         * libio/iofdopen.c: Likewise.
59217         * libio/iofflush.c: Likewise.
59218         * libio/iofflush_u.c: Likewise.
59219         * libio/iofgets.c: Likewise.
59220         * libio/iofgets_u.c: Likewise.
59221         * libio/iofopen.c: Likewise.
59222         * libio/iofopncook.c: Likewise.
59223         * libio/iofread.c: Likewise.
59224         * libio/iofread_u.c: Likewise.
59225         * libio/ioftell.c: Likewise.
59226         * libio/iofwrite.c: Likewise.
59227         * libio/iogetline.c: Likewise.
59228         * libio/iogets.c: Likewise.
59229         * libio/iogetwline.c: Likewise.
59230         * libio/iopadn.c: Likewise.
59231         * libio/iopopen.c: Likewise.
59232         * libio/ioseekoff.c: Likewise.
59233         * libio/ioseekpos.c: Likewise.
59234         * libio/iosetbuffer.c: Likewise.
59235         * libio/iosetvbuf.c: Likewise.
59236         * libio/ioungetc.c: Likewise.
59237         * libio/ioungetwc.c: Likewise.
59238         * libio/iovdprintf.c: Likewise.
59239         * libio/iovsprintf.c: Likewise.
59240         * libio/iovsscanf.c: Likewise.
59241         * libio/memstream.c: Likewise.
59242         * libio/obprintf.c: Likewise.
59243         * libio/oldfileops.c: Likewise.
59244         * libio/oldiofclose.c: Likewise.
59245         * libio/oldiofdopen.c: Likewise.
59246         * libio/oldiofopen.c: Likewise.
59247         * libio/oldiopopen.c: Likewise.
59248         * libio/oldstdfiles.c: Likewise.
59249         * libio/putc.c: Likewise.
59250         * libio/setbuf.c: Likewise.
59251         * libio/setlinebuf.c: Likewise.
59252         * libio/stdfiles.c: Likewise.
59253         * libio/strops.c: Likewise.
59254         * libio/vasprintf.c: Likewise.
59255         * libio/vscanf.c: Likewise.
59256         * libio/vsnprintf.c: Likewise.
59257         * libio/vswprintf.c: Likewise.
59258         * libio/wfiledoalloc.c: Likewise.
59259         * libio/wfileops.c: Likewise.
59260         * libio/wgenops.c: Likewise.
59261         * libio/wmemstream.c: Likewise.
59262         * libio/wstrops.c: Likewise.
59263         * libio/__fpurge.c: Likewise.
59264         * libio/__fsetlocking.c: Likewise.
59265         * assert/assert.c: Likewise.
59266         * debug/fgets_chk.c: Likewise.
59267         * debug/fgets_u_chk.c: Likewise.
59268         * debug/fread_chk.c: Likewise.
59269         * debug/fread_u_chk.c: Likewise.
59270         * debug/gets_chk.c: Likewise.
59271         * debug/obprintf_chk.c: Likewise.
59272         * debug/vasprintf_chk.c: Likewise.
59273         * debug/vdprintf_chk.c: Likewise.
59274         * debug/vsnprintf_chk.c: Likewise.
59275         * debug/vsprintf_chk.c: Likewise.
59276         * malloc/mtrace.c: Likewise.
59277         * misc/error.c: Likewise.
59278         * misc/syslog.c: Likewise.
59279         * stdio-common/asprintf.c: Likewise.
59280         * stdio-common/fxprintf.c: Likewise.
59281         * stdio-common/getw.c: Likewise.
59282         * stdio-common/isoc99_fscanf.c: Likewise.
59283         * stdio-common/isoc99_scanf.c: Likewise.
59284         * stdio-common/isoc99_vfscanf.c: Likewise.
59285         * stdio-common/isoc99_vscanf.c: Likewise.
59286         * stdio-common/isoc99_vsscanf.c: Likewise.
59287         * stdio-common/printf-prs.c: Likewise.
59288         * stdio-common/printf_fp.c: Likewise.
59289         * stdio-common/printf_fphex.c: Likewise.
59290         * stdio-common/printf_size.c: Likewise.
59291         * stdio-common/putw.c: Likewise.
59292         * stdio-common/scanf.c: Likewise.
59293         * stdio-common/sprintf.c: Likewise.
59294         * stdio-common/tmpfile.c: Likewise.
59295         * stdio-common/vfprintf.c: Likewise.
59296         * stdio-common/vfscanf.c: Likewise.
59297         * stdlib/strfmon_l.c: Likewise.
59298         * sunrpc/openchild.c: Likewise.
59299         * sunrpc/xdr_stdio.c: Likewise.
59300         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59301         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59303 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59305         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59307         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59308         in the third column, to generate for the shared library an IFUNC
59309         that uses _dl_vdso_vsym.
59310         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59311         * Makeconfig (object-suffixes-noshared): New variable.
59313         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59314         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59315         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59316         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59318         [BZ #14132]
59319         * include/sys/time.h (__gettimeofday): Remove macro.
59320         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59321         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59322         Remove INTDEF.
59323         (__gettimeofday): Add libc_hidden_def.
59324         (gettimeofday): Add libc_hidden_weak.
59325         * sysdeps/mach/gettimeofday.c: Likewise.
59326         * sysdeps/posix/gettimeofday.c: Likewise.
59327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59328         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59330         (__gettimeofday_internal): Remove strong_alias.
59331         (__gettimeofday): Add libc_hidden_def.
59332         (gettimeofday): Add libc_hidden_weak.
59333         * sysdeps/unix/syscalls.list (gettimeofday):
59334         Remove __gettimeofday_internal alias.
59336 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59337             H.J. Lu  <hongjiu.lu@intel.com>
59339         [BZ #12495]
59340         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59341         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59342         (largebin_index_32_big): New.
59343         (largebin_index): Use it for 16-byte alignment.
59344         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59345         correction with front_misalign.
59347 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59351         Likewise.
59352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59353         Likewise.
59354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59355         Likewise.
59356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59357         Likewise.
59358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59359         Likewise.
59360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59361         Likewise.
59362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59363         Likewise.
59364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59365         Likewise.
59366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59367         Likewise.
59368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59369         Likewise.
59370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59371         Likewise.
59372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59373         Likewise.
59375         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59376         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59380         [BZ #10846]
59381         [BZ #14036]
59382         * math/libm-test.inc (exp_test): Add test from bug 14036.
59383         (pow_test): Add test from bug 10846.
59385         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59386         and other flags.
59387         (special_function): Do not include flags in test name.
59388         (parse_args): Likewise.
59389         * sysdeps/i386/fpu/libm-test-ulps: Update.
59390         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59391         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59392         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59395         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59396         exceptions.
59397         * math/libm-test.inc ("Philosophy"): Update comment about
59398         exception testing.
59399         (UNDERFLOW_EXCEPTION): New macro.
59400         (UNDERFLOW_EXCEPTION_OK): Likewise.
59401         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59402         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59403         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59404         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59405         (INVALID_EXCEPTION_OK): Update value.
59406         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59407         (OVERFLOW_EXCEPTION_OK): Likewise.
59408         (IGNORE_ZERO_INF_SIGN): Likewise.
59409         (test_exceptions): Handle underflow exceptions.
59410         (acos_test): Update for underflow exception expectations.
59411         (cexp_test): Likewise.
59412         (clog_test): Likewise.
59413         (clog10_test): Likewise.
59414         (csqrt_test): Likewise.
59415         (ctan_test): Likewise.
59416         (ctanh_test): Likewise.
59417         (exp_test): Likewise.
59418         (exp10_test): Likewise.
59419         (exp2_test): Likewise.
59420         (expm1_test): Likewise.
59421         (fma_test): Likewise.
59422         (j0_test): Likewise.
59423         (jn_test): Likewise.
59424         (nexttoward_test): Likewise.
59425         (pow_test): Likewise.
59426         (scalbn_test): Likewise.
59427         (scalbln_test): Likewise.
59428         (tan_test): Likewise.
59429         (y1_test): Likewise.
59430         * sysdeps/i386/fpu/libm-test-ulps: Update.
59431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59433 2012-05-23  David S. Miller  <davem@davemloft.net>
59435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59436         (__libc_sigaction): Remove unused local variables.
59438 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59440         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59442 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59444         mktime: avoid signed integer overflow
59445         * time/mktime.c (__mktime_internal): Do not mishandle the case
59446         where diff == INT_MIN.
59448         mktime: simplify computation of average
59449         * time/mktime.c (ranged_convert): Use new time_t_avg function
59450         instead of rolling our own (probably-slower) code.
59452         mktime: do not assume signed right shift propagates sign bit
59453         * time/mktime.c (isdst_differ): New static function.
59454         (__mktime_internal): No need to normalize tm_isdst now.
59455         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59456         tm_isdst values.
59458         mktime: merge another wrapv change from gnulib
59459         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59460         from some compilers.
59462         mktime: remove incorrect attempt at unusual arithmetics
59463         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59464         The code didn't really work on such machines anyway.
59465         (TYPE_MINIMUM): Assume two's complement.
59466         (twos_complement_arithmetic): Verify that long_int and time_t
59467         are two's complement (or unsigned, in the latter case).
59469         mktime: check signed shifts on long_int and time_t, too
59470         * time/mktime.c (SHR): Check that shifts work as desired
59471         on the types long_int and time_t too, as SHR is used on
59472         such types.
59474         mktime: do not assume 'long' is wide enough
59475         * time/mktime.c (verify): Move decl up.
59476         (long_int): New type.
59477         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59478         to remove assumption in the code that 'long' is wide enough to
59479         store year values.  This assumption is not true on x32 and on
59480         some non-glibc platforms.
59482         mktime: merge wrapv change from gnulib
59483         * time/mktime.c (WRAPV): New macro.
59484         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59485         (guess_time_tm, __mktime_internal): Do not assume that signed
59486         integer overflow wraps around; modern compilers generate code
59487         where this assumption is no longer valid.
59489 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59491         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59492         Replace "jmp L(pseudo_end)" with "ret".
59493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59494         Likewise.
59496 2012-05-23  Andreas Jaeger  <aj@suse.de>
59498         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59499         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59501 2012-05-23  Andreas Jaeger  <aj@suse.de>
59502             Maximilian Attems  <max@stro.at>
59504         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59505         New macros.
59507 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59510         code so that pseudo_end is just ret and the stack pointer is
59511         correct also for static library in error case.
59513 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59515         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59516         move to syscalls.list.
59517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59522         * manual/install.texi (Running make install): Do not mention Linux
59523         kernel version for which pt_chown is not needed.
59524         (Linux): Do not mention problems with nscd with 2.0 kernels.
59525         * INSTALL: Regenerated.
59527 2012-05-23  Andreas Jaeger  <aj@suse.de>
59529         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59530         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59531         macro.
59532         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59534         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59536         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59537         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59539         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59540         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59541         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59542         * sysdeps/unix/sysv/linux/bits/in.h
59543         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59545 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59547         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59548         (PREPARE_VERSION): Just use assert instead, it will be elided
59549         under [NDEBUG] anyway.
59551 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59553         * sysdeps/unix/sysv/linux/Makefile: Include
59554         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59555         (sysdep_routines): Remove sysctl.
59556         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59557         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59558         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59559         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59560         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59562 2012-05-22  Andreas Jaeger  <aj@suse.de>
59564         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59565         that pseudo_end is just ret and the stack pointer is correct also
59566         for static library in error case.
59568 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59570         [BZ #14122]
59571         * nss/nsswitch.c (defconfig_entries): New variable.
59572         (__nss_database_lookup): Don't leak defconfig entries.
59573         (nss_parse_service_list): Don't leak on error paths.
59574         (free_database_entries): New function.
59575         (free_defconfig): New function.
59576         (free_mem): Move common code to free_database_entries.
59578 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59581         Add arch_prctl.
59582         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59585         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59587         New macro.
59588         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59589         (INTERNAL_SYSCALL_TYPES): Likewise.
59590         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59591         (LOAD_REGS_TYPES_[1-6]): Likewise.
59592         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59593         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59595 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59597         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59598         copysignl for GLIBC_2_0.
59599         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59600         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59601         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59602         logbl for GLIBC_2_0.
59603         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59604         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59606 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59609         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59611         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59612         Use "neg %eax".
59614         * time/mktime.c: Update copyright years.
59616 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59618         mktime: merge comment-quoting-style change from gnulib
59619         * time/mktime.c: Quote 'like this' in comments.
59620         The GNU coding standards suggest that we no longer quote `like this',
59621         as "`" and "'" are typically rendered asymmetrically nowadays.
59622         The typical gnulib style is to quote 'like this' when quoting
59623         code, and "like this" when quoting English.
59625         * time/mktime.c (compile-command): Add "-I.".
59627         mktime: merge mktime-internal.h change from gnulib
59628         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59630         mktime: merge time_r change from gnulib
59631         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59633         mktime: merge DEBUG change from gnulib
59634         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59635         case system <time.h> has a #define.
59637         mktime: merge <sys/types.h> change from gnulib
59638         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59639         since <time.t> is now guaranteed to define time_t.
59641         mktime: merge HAVE_CONFIG_H change from gnulib
59642         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59647         Use "neg %eax".
59649         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59650         __rlim_t cast.
59651         (struct rusage): Use anonymous union to pad each field to
59652         __syscall_slong_t.
59654 2012-05-21  David S. Miller  <davem@davemloft.net>
59656         * Makefules (o-iterator): Remove .s cases.
59657         (compile-command.s): Delete.
59658         (COMPILE.s): Delete.
59659         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59661 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59663         * configure.in (libc_cv_predef_stack_protector): Only consider
59664         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59665         * configure: Regenerated.
59667 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59670         New macro.  Use R*LP on int and pointer.
59671         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59672         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59673         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59674         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59676         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59677         [__WORDSIZE_TIME64_COMPAT32] instead of
59678         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59679         (struct utmp): Likewise.
59680         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59681         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59682         Renamed to ...
59683         (__WORDSIZE_TIME64_COMPAT32): This.
59684         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59685         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59686         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59687         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59688         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59689         (__WORDSIZE_TIME64_COMPAT32): New macro.
59691 2012-05-21  Andreas Jaeger  <aj@suse.de>
59693         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59694         only if [SHARED]. Add prototype for __wcschr_ia32.
59696 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59698         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59699         of %rbp unmolested in the jmp_buf while mangling the low bits.
59700         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59701         unmolested high bits of %rbp while demangling the low bits.
59702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59704 2012-05-21  Andreas Jaeger  <aj@suse.de>
59706         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59707         * sunrpc/svc_simple.c: Use it for registerrpc.
59708         * sunrpc/xcrypt.c: Use it for passwd2des.
59710         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59712 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59714         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59715         Don't define if [__SYSCALL_WORDSIZE != 32].
59716         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59717         New macro.
59719 2012-05-21  Bruno Haible  <bruno@clisp.org>
59720             Andreas Jaeger  <aj@suse.de>
59722         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59723         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59724         inptr and inend for must_buffer_ch.
59725         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59726         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59727         * stdio-common/Makefile (tests): Remove bug15.
59728         (bug15-ENV): Remove macro.
59729         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59730         anymore.
59732 2012-05-19  Andreas Jaeger  <aj@suse.de>
59733             Roland McGrath  <roland@hack.frob.com>
59735         * manual/contrib.texi: Completely rewritten. It contains now an
59736         alphabetical list of contributors and their contributions.
59738 2012-05-21  Richard Henderson  <rth@twiddle.net>
59740         * misc/getauxval.c (__getauxval): Use unsigned long int.
59741         * misc/sys/auxv.h: Include <sys/cdefs.h>.
59742         (getauxval): Use unsigned long int.
59744 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59746         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59748 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59750         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59751         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59752         __alignof__ (long double).
59754 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59758 2012-05-20  Richard Henderson  <rth@twiddle.net>
59760         * misc/getauxval.c: New file.
59761         * misc/sys/auxv.h: New file.
59762         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59763         (routines): Add getauxval.
59764         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59766         * elf/dl-sysdep.c (_dl_auxv): Remove.
59767         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59768         * elf/dl-support.c (_dl_auxv): New variable.
59769         (_dl_aux_init): Initialize it.
59770         * manual/startup.texi (Auxiliary Vector): New node.
59771         * sysdeps/generic/bits/hwcap.h: New file.
59772         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59773         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
59774         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59775         * sysdeps/sparc/sysdep.h: ... here.  Include it.
59776         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59777         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59779         Update.
59780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59789 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59793 2012-05-19  David S. Miller  <davem@davemloft.net>
59795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59797 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59799         [BZ #14123]
59800         * math/s_ccosh.c: Include <float.h>
59801         (__ccosh): Avoid internal overflow calculating sinh and cosh
59802         values before multiplying by sin and cos values.
59803         * math/s_ccoshf.c: Likewise.
59804         * math/s_ccoshl.c: Likewise.
59805         * math/s_csin.c: Likewise.
59806         * math/s_csinf.c: Likewise.
59807         * math/s_csinl.c: Likewise.
59808         * math/s_csinh.c: Likewise.
59809         * math/s_csinhf.c: Likewise.
59810         * math/s_csinhl.c: Likewise.
59811         * math/libm-test.inc (ccos_test): Add more tests.
59812         (ccosh_test): Likewise.
59813         (csin_test): Likewise.
59814         (csinh_test): Likewise.
59815         * sysdeps/i386/fpu/libm-test-ulps: Update.
59816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59818 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59820         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59821         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59823         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59825 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59827         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59828         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59829         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59830         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59831         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59832         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59833         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59834         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59835         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59836         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59837         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59838         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59839         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59840         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59841         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59842         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59843         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59844         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59845         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59846         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59847         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59848         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59849         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59850         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59851         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59852         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59853         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59854         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59855         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59856         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59857         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59859 2012-05-18  Andreas Jaeger  <aj@suse.de>
59861         * csu/.gitignore: Delete.
59863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59865         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59866         (timex): Use __syscall_slong_t.
59868 2012-05-18  Andreas Jaeger  <aj@suse.de>
59869             Carlos O'Donell  <carlos_odonell@mentor.com>
59871         * manual/install.texi (Configuring and compiling): Update
59872         description about files modified in the source directory.
59873         * INSTALL: Regenerated.
59875 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59877         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59878         value.  Use "or" to set return value to -1.
59879         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59880         negate return value.
59882 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59884         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59885         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59886         failure if the compiler has Graphite support disabled.
59887         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59888         Likewise.
59889         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59890         (CFLAGS-memmove.c): Likewise.
59891         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59892         Likewise.
59894 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59896         * sysdeps/x86_64/x32/_itoa.h: New file.
59898         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59899         getdents system call only if kernel and user dirents have the
59900         same d_ino and d_off.
59902         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59903         LLONG_MAX != LONG_MAX.
59904         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59905         (_fitoa_word): Likewise.
59907         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59908         years.
59909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59910         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59911         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59913         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59914         include <bits/wordsize.h>.  Check __x86_64__ instead of
59915         __WORDSIZE.
59916         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59917         if __x86_64__ is defined.  Use anonymous union on fpstate.
59919         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59920         anonymous union.
59922 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59924         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59925         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59926         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59927         Refer to _rtld_local_ro instead of _rtld_global_ro.
59928         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59929         Likewise.
59930         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59931         Likewise.
59932         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59933         Likewise.
59934         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59935         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59936         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59938         [BZ #10882]
59939         * sysdeps/powerpc/powerpc32/dl-machine.c
59940         (__elf_machine_runtime_setup) [PROF]: Don't reference
59941         _dl_prof_resolve.
59943 2012-05-18  Andreas Jaeger  <aj@suse.de>
59945         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59946         function only available for GCCs before 3.4 since GCC 3.4
59947         introduced a builtin.
59948         (lrint): Likewise.
59949         (llrintf): Likewise.
59950         (llrint): Likewise.
59951         (fmaxf): Likewise.
59952         (fmax): Likewise.
59953         (fminf): Likewise.
59954         (fmin): Likewise.
59955         (rint): Likewise.
59956         (rintf): Likewise.
59957         (nearbyint): Likewise.
59958         (nearbyintf): Likewise.
59959         (ceil): Likewise.
59960         (ceilf): Likewise.
59961         (floor): Likewise.
59962         (floorf): Likewise.
59964 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59966         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59967         on both fields and cast pointer to __syscall_ulong_t.
59969         * bits/types.h (__fsword_t): New type.
59970         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59971         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59973         (__FSWORD_T_TYPE): Likewise.
59974         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59975         (__FSWORD_T_TYPE): Likewise.
59976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59977         (__FSWORD_T_TYPE): Likewise.
59978         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59979         (__FSWORD_T_TYPE): Likewise.
59980         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59981         __SWORD_TYPE with __fsword_t.
59982         (statfs64): Likewise.
59984 2012-05-17  David S. Miller  <davem@davemloft.net>
59986         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59988 2012-05-17  Andreas Jaeger  <aj@suse.de>
59990         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59991         warning.
59993 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59995         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59997 2012-05-17  Andreas Jaeger  <aj@suse.de>
59999         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60000         when it is used.
60002 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60004         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60006 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60008         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60009         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60011 2012-05-17  Andreas Jaeger  <aj@suse.de>
60012             Carlos O'Donell  <carlos_odonell@mentor.com>
60014         [BZ #14059]
60015         * sysdeps/x86_64/multiarch/init-arch.h
60016         (bit_YMM_Usable): Rename to...
60017         (bit_AVX_Usable): ... this.
60018         (bit_FMA4_Usable): New macro.
60019         (bit_XMM_state): New macro.
60020         (bit_YMM_state): New macro.
60021         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60022         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60023         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60024         (CPUID_OSXSAVE): New macro.
60025         (CPUID_AVX): New macro.
60026         (CPUID_FMA4): New macro.
60027         (index_YMM_Usable): Rename to...
60028         (index_AVX_Usable): ... this.
60029         (HAS_AVX): Use HAS_ARCH_FEATURE.
60030         (HAS_FMA4): Likewise.
60031         (HAS_YMM_USABLE): Remove.
60032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60033         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60034         are present.
60035         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60036         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60037         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60038         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60039         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60041 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60043         * math/libm-test.c: Support platforms without multiple rounding modes.
60044         * math/bug-nextafter.c: Support platforms without FP exceptions.
60045         * math/bug-nexttoward.c: Likewise.
60046         * math/test-fenv.c: Likewise.
60047         * math/test-misc.c: Likewise.
60048         * stdlib/bug-getcontext.c: Likewise.
60050 2012-05-17  Andreas Jaeger  <aj@suse.de>
60052         * manual/examples/search.c (critter_cmp): Change signature to
60053         avoid warnings.
60054         * manual/string.texi (Collation Functions): Likewise.
60056 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60058         * bits/types.h: Fold copyright years.
60059         * bits/typesizes.h: Likewise.
60060         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60064         * time/time.h: Likewise.
60066 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60068         [BZ #208]
60069         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60070         in instead of returning them.  Return void.
60071         (__libc_mallinfo): Accumulate over all arenas.
60072         (__malloc_stats): Adjust for change in int_mallinfo interface.
60074 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60076         [BZ #10375]
60077         * configure.in (NM): Add AC_CHECK_TOOL for it.
60078         (libc_extra_cflags): New substituted variable.
60079         Check for -fstack-protector being used implicitly.
60080         * configure: Regenerated.
60081         * config.make.in (config-extra-cflags): New variable,
60082         gets @libc_extra_cflags@.
60083         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60085         [BZ #10375]
60086         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60087         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60088         * configure: Regenerated.
60089         * config.make.in (CPPUNDEFS): New substituted variable.
60090         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60091         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60092         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60094 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60096         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60097         (mq_attr): Use __syscall_slong_t.
60099 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60101         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60102         Check __x86_64__ instead of __WORDSIZE.
60103         (_STAT_VER_LINUX): Likewise.
60104         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60105         __syscall_ulong_t and __syscall_slong_t.
60106         (stat64): Likewise.
60108 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60110         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60112 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60114         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60116 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60118         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60119         __syscall_ulong_t.
60121         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60122         include <bits/wordsize.h>.  Check __x86_64__ instead of
60123         __WORDSIZE.
60124         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60125         defined.
60126         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60128         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60129         include <bits/wordsize.h>.  Check __x86_64__ instead of
60130         __WORDSIZE.
60131         (user_regs_struct): Use "__extension__ unsigned long long"
60132         instead of "unsigned long" if __x86_64__ is defined.
60133         (user): Likewise.  Pad after pointer field if __ILP32__ is
60134         defined.
60136 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60138         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60139         versions 5 to 9.
60140         * configure: Regenerated.
60141         * manual/install.texi (texinfo): Increase version requirement to
60142         4.5 or later.
60143         * INSTALL: Regenerated.
60145         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60149         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60151         * sysdeps/x86_64/x32/ffs.c: New file.
60153         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60154         __syscall_ulong_t.
60155         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60156         defined.  Use __syscall_ulong_t.
60157         (shminfo): Use __syscall_ulong_t.
60158         (shm_info): Likewise.
60160         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60161         __syscall_ulong_t.
60163         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60164         <bits/wordsize.h>.
60165         (msgqnum_t): Use __syscall_ulong_t.
60166         (msglen_t): Likewise.
60167         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60168         __syscall_ulong_t.
60170         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60171         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60173         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60175         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60176         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60178         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60179         __syscall_slong_t.
60181         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60182         include <bits/wordsize.h>.  Check __x86_64__ instead of
60183         __WORDSIZE.
60185         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60186         "unsigned long long int" if __x86_64__ is defined.
60187         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60189         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60190         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60191         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60193         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60194         <stdint.h>.
60195         (GET_PC): Cast to uintptr_t first.
60196         (GET_FRAME): Likewise.
60197         (GET_STACK): Likewise.
60199         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60200         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60201         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60202         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60203         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60204         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60205         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60206         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60207         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60208         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60209         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60211         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60212         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60213         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60214         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60215         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60216         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60217         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60218         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60219         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60220         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60221         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60222         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60223         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60224         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60225         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60229 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60231         * Makerules (+depfiles): Also collect depfiles from .oS in
60232         $(extra-objs).
60233         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60234         .oS, $(libnldbl-routines)).
60236         * Makerules (native-compile-mkdep-flags): Define.
60237         * sunrpc/Makefile (extra-objs): Add $(addprefix
60238         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60239         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60240         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60241         calling $(make-target-directory).
60243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60245         * bits/types.h (__snseconds_t): Removed.
60246         * time/time.h (struct timespec): Replace __snseconds_t with
60247         __syscall_slong_t.
60248         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60249         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60250         Likewise.
60251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60252         (__SNSECONDS_T_TYPE): Likewise.
60253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60254         (__SNSECONDS_T_TYPE): Likewise.
60255         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60256         (__SNSECONDS_T_TYPE): Likewise.
60258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60260         * sysdeps/mach/hurd/bits/typesizes.h
60261         (__SYSCALL_SLONG_TYPE): New macro.
60262         (__SYSCALL_ULONG_TYPE): Likewise.
60264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60266         * bits/types.h (__syscall_slong_t): New type.
60267         (__syscall_ulong_t): Likewise.
60269         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60270         (__SYSCALL_ULONG_TYPE): Likewise.
60271         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60272         (__SYSCALL_SLONG_TYPE): Likewise.
60273         (__SYSCALL_ULONG_TYPE): Likewise.
60274         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60275         (__SYSCALL_SLONG_TYPE): Likewise.
60276         (__SYSCALL_ULONG_TYPE): Likewise.
60277         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60278         (__SYSCALL_SLONG_TYPE): Likewise.
60279         (__SYSCALL_ULONG_TYPE): Likewise.
60281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60283         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60284         Add sigaltstack-offsets.sym.
60285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60286         <sigaltstack-offsets.h>.
60287         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60288         longjmp_msg pointer.
60289         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60290         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60291         signal stack.
60292         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60294 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60296         * elf/stackguard-macros.h: Remove file.
60297         * sysdeps/generic/stackguard-macros.h: New file.
60298         * sysdeps/i386/stackguard-macros.h: Likewise.
60299         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60300         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60301         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60302         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60303         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60304         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60305         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60306         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60307         <elf/stackguard-macros.h>.
60309         [BZ #14109]
60310         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60311         __aligned__ in attribute.
60312         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60313         (gregset_t): Likewise.
60315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60317         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60318         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60319         * sysdeps/x86_64/x32/Implies-after: New file.
60321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60323         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60324         and access return value for _dl_profile_fixup.  Use R10_LP to
60325         load frame size.
60327 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60329         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60333         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60334         * sysdeps/x86_64/x32/sysdep.h: New file.
60336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60338         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60339         * sysdeps/x86_64/setjmp.S: Likewise.
60341 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60343         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60344         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60345         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60346         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60347         remove unused global constant.
60349 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60351         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60352         include of <not-cancel.h>.
60354 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60356         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60358 2012-05-15  Jeff Law  <law@redhat.com>
60359             Andreas Jaeger  <aj@suse.de>
60361         [BZ #13594]
60362         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60363         out from...
60364         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60365         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60366         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60367         code changing __hst_map_handle.map.
60369 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60371         * configure.in (sysnames): Look for Implies-before and Implies-after
60372         files.
60373         * configure: Regenerated.
60375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60377         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60378         8-byte data alignment with LP_SIZE alignment.
60380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60382         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60383         into R10_LP.
60385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60387         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60391         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60392         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60393         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60394         Likewise.
60395         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60399         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60400         (stackinfo_sub_sp): Likewise.
60402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60405         RAX_LP.
60407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60409         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60410         into R*_LP.
60412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60415         sizes into R*_LP.
60417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60419         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60423         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60424         into R11_LP and load __x86_64_shared_cache_size_half into
60425         R8_LP.
60427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60429         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60430         R8_LP.
60432 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60434         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60435         logb for POWER7.
60436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60437         logbf for POWER7.
60438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60439         logbl for POWER7.
60440         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60441         powerpc32/power7/fpu/s_logb.c via #include.
60442         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60443         powerpc32/power7/fpu/s_logbf.c via #include.
60444         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60445         powerpc32/power7/fpu/s_logbl.c via #include.
60447 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60449         * README.libm: Remove file.
60451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60453         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60454         count for x32.  Use R*_LP and omit operand-size suffix.
60456 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60458         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60459         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60460         * sysdeps/x86_64/x32/shlib-versions: New file.
60462 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60464         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60465         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60466         Use _dl_fatal_printf instead.
60468 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60470         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60471         set if not set by the user.  Do not allow for being unset.
60472         * sysdeps/unix/sysv/linux/configure: Regenerated.
60474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60476         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60477         the `q' suffix from lea and replace .quad with ASM_ADDR.
60479 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60482         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60483         instead of $17.
60484         (PTR_DEMANGLE): Likewise.
60486 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60488         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60489         (LP_OP): Likewise.
60490         (ASM_ADDR): Likewise.
60491         (RAX_LP): Likewise.
60492         (RBP_LP): Likewise.
60493         (RBX_LP): Likewise.
60494         (RCX_LP): Likewise.
60495         (RDI_LP): Likewise.
60496         (RSI_LP): Likewise.
60497         (RSP_LP): Likewise.
60498         (R8_LP): Likewise.
60499         (R9_LP): Likewise.
60500         (R10_LP): Likewise.
60501         (R10_LP): Likewise.
60502         (R11_LP): Likewise.
60503         (R12_LP): Likewise.
60504         (R13_LP): Likewise.
60505         (R14_LP): Likewise.
60506         (R15_LP): Likewise.
60508 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60510         * sysdeps/x86_64/x32/dl-machine.h: New file.
60512 2012-05-14  Andreas Jaeger  <aj@suse.de>
60514         * manual/Makefile (subdir): Remove export of subdir.
60515         (all): Remove target.
60516         (.PHONY): Remove all from list.
60517         (mkinstalldirs): Remove.
60518         (.PHONY): Remove installdirs from list.
60519         ($(inst_infodir)/libc.info): Use make-target-directory.
60520         (installdirs): Remove.
60521         (subdir_%): Remove.
60522         (glibc-targets): Remove.
60523         (lib): Remove.
60524         (stubs): Remove.
60525         ($(objpfx)stubs ../po/manual.pot): Remove.
60526         ($(objpfx)stamp%): Remove.
60527         (make-target-directory): Remove.
60528         (subdir_install): Remove.
60529         (routines): Remove.
60530         (aux): Remove.
60531         (sources): Remove.
60532         (objects): Remove.
60533         (headers): Remove.
60535         [BZ #13750]
60536         * manual/.gitignore: Remove, it's not needed anymore.
60537         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60538         all files in it.
60539         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60540         directory.
60541         (texis): Renamed to $(objpfx)texis.
60542         (texis-path): New, contains path to generated files.
60543         (chapters.%): Use texis-path for complete path, add extra argument
60544         libc-texinfo.sh.
60545         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60546         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60547         (summary,texi, stamp-summary): Use complete path of
60548         files. Generate files in build dir.
60549         (dir-add.texi): Build in build dir.
60550         (libm-err.texi,stamp-libm-err): Likewise.
60551         (version.texi, stamp-version): Likewise.
60552         (.%c.texi): Likewise.
60553         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60554         (mostlyclean): Remove target.
60555         (realclean): Remove target.
60556         (generated): Add new variable with contents from mostlyclean and
60557         realclean, remove entries duplicated in common-mostlyclean, add
60558         stamp-libm-err and stamp-version.
60559         (generated-dirs): Add libc directory.
60560         ($(inst_infodir)/libc.info): Install files from build dir.
60562         * manual/install.texi (Configuring and compiling): Adjust since
60563         the info files are not part of the tar ball anymore.
60565 2012-05-14  Andreas Jaeger  <aj@suse.de>
60567         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60568         variable.
60570 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60572         [BZ #13717]
60573         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60574         to 2.2.0 where earlier.
60575         * sysdeps/unix/sysv/linux/configure: Regenerated.
60576         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60577         Remove conditional code.
60578         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60579         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60580         Remove conditional code.
60581         [!__NR_lchown]: Likewise.
60582         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60583         [__NR_lchown]: Likewise.
60584         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60585         comment referencing __ASSUME_LCHOWN_SYSCALL.
60586         * sysdeps/unix/sysv/linux/i386/sigaction.c
60587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60589         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60590         Remove conditional code.
60591         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60592         (__protocol_available): Remove #if 0 code.
60593         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60594         conditional code.
60595         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60596         * sysdeps/unix/sysv/linux/kernel-features.h
60597         (__ASSUME_GETCWD_SYSCALL): Don't define.
60598         (__ASSUME_REALTIME_SIGNALS): Likewise.
60599         (__ASSUME_PREAD_SYSCALL): Likewise.
60600         (__ASSUME_PWRITE_SYSCALL): Likewise.
60601         (__ASSUME_POLL_SYSCALL): Likewise.
60602         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60603         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60604         non-SPARC.
60605         (__ASSUME_SIOCGIFNAME): Don't define.
60606         (__ASSUME_MSG_NOSIGNAL): Likewise.
60607         (__ASSUME_SENDFILE): Define unconditionally.
60608         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60609         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60610         conditional code.
60611         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60612         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60613         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60614         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60615         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60616         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60617         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60619         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60622         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60625         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60631         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60632         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60634         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60637         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60638         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60640         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60642         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60643         Remove conditional code.
60644         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60645         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60646         Remove conditional code.
60647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60648         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60649         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60650         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60651         Remove conditional code.
60652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60653         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60654         Remove conditional code.
60655         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60656         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60657         Remove conditional code.
60658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60659         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60660         Remove conditional code.
60661         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60662         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60663         Remove conditional code.
60664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60665         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60666         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60668         * sysdeps/unix/sysv/linux/sigaction.c
60669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60671         * sysdeps/unix/sysv/linux/sigpending.c
60672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60674         * sysdeps/unix/sysv/linux/sigprocmask.c
60675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60677         * sysdeps/unix/sysv/linux/sigsuspend.c
60678         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60679         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60680         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60681         (__libc_missing_rt_sigs): Remove.
60682         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60683         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60684         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60685         Remove conditional code.
60686         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60687         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60688         return 1.
60689         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60690         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60691         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60692         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60694 2012-05-14  Andreas Jaeger  <aj@suse.de>
60696         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60697         it's not used in glibc.
60698         (__coshm1): Likewise.
60699         (__acosh1p): Likewise.
60700         (__sgn): Likewise.
60702         * manual/string.texi (Copying and Concatenation): Add missing
60703         variable in concat example.
60704         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60708         [BZ #14103]
60709         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60710         __builtin_clzl with __builtin_clzll.
60712 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60714         [BZ #14104]
60715         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60716         libc_freeres_ptr.
60718 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60720         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60721         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60722         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60723         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60725 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
60727         * NEWS: Update ia64 info.
60729 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
60731         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60732         used as bcopy.
60734 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
60736         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60737         * sysdeps/unix/syscalls.list (dup3): Likewise.
60738         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60739         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60741 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60743         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60744         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60746 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60748         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60749         thread pointer.
60750         (TLS_IE): Use mov/add instead of movq/addq to load thread
60751         pointer.
60752         (TLS_GD_PREFIX): New.
60753         (TLS_GD): Use it.
60755 2012-05-11  David S. Miller  <davem@davemloft.net>
60757         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60758         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60759         (_FPU_SETCW): Likewise.
60761 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60763         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60764         is 32-byte aligned.
60766 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
60768         [BZ #11837]
60769         * iconvdata/gb18030.c: Update tables.
60770         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
60771         characters specially.
60772         (BODY for TO_LOOP): Add encoding of missing ranges.
60774 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
60776         [BZ #13673]
60777         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60778         * sysdeps/mach/hurd/dup3.c: Likewise.
60779         * sysdeps/mach/hurd/readlinkat.c: Likewise.
60780         * sysdeps/powerpc/memmove.c:: Likewise.
60782 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60784         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60785         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60787 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60789         * elf/elf.h (R_X86_64_RELATIVE64): New.
60790         (R_X86_64_NUM): Updated.
60791         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60792         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60793         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60794         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60795         tst-quad1pie tst-quad2pie
60796         (modules-names): Add tst-quadmod1 tst-quadmod2.
60797         ($(objpfx)tst-quad1): New dependency.
60798         ($(objpfx)tst-quad2): Likewise.
60799         ($(objpfx)tst-quad1pie): Likewise.
60800         ($(objpfx)tst-quad2pie): Likewise.
60801         * sysdeps/x86_64/tst-quad1.c: New file.
60802         * sysdeps/x86_64/tst-quad1pie.c: New file.
60803         * sysdeps/x86_64/tst-quad2.c: Likewise.
60804         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60805         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60806         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60807         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60808         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60810 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60812         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60813         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60814         * streams/stropts.h (t_scalar_t): Define type.
60816         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60817         (_PATH_PRESERVE): Set to "/var/lib".
60818         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60820         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60821         instead of int.
60823         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60824         if __dir_mkfile succeeded.
60826         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60827         checking for _hurd_dtablesize.  Unlock it right after having
60828         finished _hurd_dtable allocation.
60830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60832         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60833         * sysdeps/mach/hurd/configure: Regenerated.
60834         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60835         special-casing to...
60836         * sysdeps/gnu/configure.in: ... this new file.
60837         * sysdeps/unix/sysv/linux/configure: Regenerated.
60838         * sysdeps/gnu/configure: New generated file.
60840         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60841         for Linux: use nsec instead of usec, as well as:
60842         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60843         members of type struct timespec.
60844         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60845         New macros.
60846         (struct stat64): Likewise.
60847         (_STATBUF_ST_NSEC): New macro.
60848         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60850         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60851         __strtoul_internal rather than strtoul.
60853 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60855         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60856         and reject them.
60858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60860         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60861         which preserves existing values.
60862         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60866         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60867         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60868         greater than FD_SETSIZE.
60870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60872         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60873         allocated, call __vm_protect to finish enabling the existing space, and
60874         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60875         allocate the remainder.
60877 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60879         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60880         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60884         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60885         sysdeps/mach/hurd/readlink.c.
60887         * posix/tst-sysconf.c (posix_options): Only use
60888         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60889         _POSIX_SYNCHRONIZED_IO when they are defined
60890         * sysdeps/mach/hurd/bits/posix_opt.h:
60891         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60892         (_XOPEN_REALTIME): Undefine macro.
60893         (_XOPEN_REALTIME_THREADS): Undefine macro.
60894         (_XOPEN_SHM): Undefine macro.
60895         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60896         macro to -1.
60897         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60898         macro to -1.
60899         (_POSIX_ASYNC_IO): Undefine macro.
60900         (_POSIX_PRIORITIZED_IO): Undefine macro.
60901         (_POSIX_SPIN_LOCKS): Define macro to -1.
60903         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60904         SA_NODEFER, SA_RESETHAND.
60905         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60906         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60907         F_DUPFD_CLOEXEC.
60909 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60911         * elf/Makefile (pldd-modules): Define unconditionally.
60913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60915         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60919         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60920         Return ENOENT when name is empty.
60921         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60925         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60927         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60931         Fix mlock in all cases except non-readable pages.
60932         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60933         instead of VM_PROT_ALL as parameter to __vm_wire function.
60935         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60936         (__mkdir): When path is `/', just fail with EEXIST.
60937         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60941         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60942         <sys/uio.h> (for writev).
60943         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60944         and <sys/param.h> (for MIN).
60946 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60948         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60949         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60950         if interrupted.
60952 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60954         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60955         Depend on against $(link-rpcuserlibs).
60957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60959         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60960         (__libc_stack_end): Do not use attribute_relro.
60961         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60962         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60963         to libthread-provided value.
60964         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60965         attribute_relro.
60967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60969         [BZ #3748]
60970         * bits/libc-lock.h (__libc_once_get): New macro.
60971         * sysdeps/mach/bits/libc-lock.h: Likewise.
60972         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60973         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60974         instead of using implementation details.
60976         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60977         * libio/freopen.c: Likewise.
60978         * libio/freopen64.c: Likewise.
60979         * misc/syslog.c: Likewise.
60980         * nscd/connections.c: Likewise.
60981         * nscd/netgroupcache.c: Likewise.
60982         * sysdeps/posix/getcwd.c: Likewise.
60984 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60986         * math/w_ilogbf.c: Add #include <limits.h>.
60988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60990         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60991         path instead of returning without unlocking.
60993         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60994         immediate-write ioctls.
60995         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60999         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61000         __builtin_frame_address instead of making assumptions about the
61001         location of the return address relative to DATA.  Force early load of
61002         the return address.
61003         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61004         __builtin_frame_address.
61006         dup3 for GNU Hurd.
61007         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61008         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61009         implement dup3 and do some further code clean-ups.
61010         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61011         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61013 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61015         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61017         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61018         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61019         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61020         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61021         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61022         d->port.lock.
61024         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61025         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61026         when handler == SIG_ERR, not when handler != SIG_ERR.
61028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61030         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61031         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61032         definitions.
61034         accept4 for GNU Hurd.
61035         * include/sys/socket.h (__libc_accept4): New prototype.
61036         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61037         to implement __libc_accept4.
61038         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61039         __libc_accept4.
61040         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61042         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61043         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61044         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61045         signal-defines.sym.
61047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61049         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61053         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61054         assertion on O_CLOEXEC flag.
61055         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61056         * hurd/intern-fd.c: Likewise.
61057         * hurd/port2fd.c: Likewise.
61059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61061         [BZ #3906]
61062         * bits/in.h (IPV6_PKTINFO): Define new macro.
61063         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61065 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61067         [BZ #13954]
61068         [BZ #13955]
61069         [BZ #13956]
61070         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61071         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61072         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61073         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61075         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61076         * math/libm-test.inc (logb_test) : Additional logb tests.
61078 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61079             Andreas Jaeger  <aj@suse.de>
61081         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61082         * configure: Regenerated.
61083         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61084         * config.make.in (link-obsolete-rpc): New substituted variable.
61085         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61086         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61087         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61088         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61089         so that libc.a contains the symbols.
61090         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61091         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61092         * sunrpc/auth_none.c: Likewise.
61093         * sunrpc/auth_unix.c: Likewise.
61094         * sunrpc/authdes_prot.c: Likewise.
61095         * sunrpc/authuxprot.c: Likewise.
61096         * sunrpc/clnt_gen.c: Likewise.
61097         * sunrpc/clnt_perr.c: Likewise.
61098         * sunrpc/clnt_raw.c: Likewise.
61099         * sunrpc/clnt_simp.c: Likewise.
61100         * sunrpc/clnt_tcp.c: Likewise.
61101         * sunrpc/clnt_udp.c: Likewise.
61102         * sunrpc/clnt_unix.c: Likewise.
61103         * sunrpc/des_crypt.c: Likewise.
61104         * sunrpc/des_soft.c: Likewise.
61105         * sunrpc/get_myaddr.c: Likewise.
61106         * sunrpc/key_call.c: Likewise.
61107         * sunrpc/key_prot.c: Likewise.
61108         * sunrpc/netname.c: Likewise.
61109         * sunrpc/pm_getmaps.c: Likewise.
61110         * sunrpc/pm_getport.c: Likewise.
61111         * sunrpc/pmap_clnt.c: Likewise.
61112         * sunrpc/pmap_prot.c: Likewise.
61113         * sunrpc/pmap_prot2.c: Likewise.
61114         * sunrpc/pmap_rmt.c: Likewise.
61115         * sunrpc/publickey.c: Likewise.
61116         * sunrpc/rpc_cmsg.c: Likewise.
61117         * sunrpc/rpc_common.c: Likewise.
61118         * sunrpc/rpc_dtable.c: Likewise.
61119         * sunrpc/rpc_prot.c: Likewise.
61120         * sunrpc/rpc_thread.c: Likewise.
61121         * sunrpc/rtime.c: Likewise.
61122         * sunrpc/svc.c: Likewise.
61123         * sunrpc/svc_auth.c: Likewise.
61124         * sunrpc/svc_raw.c: Likewise.
61125         * sunrpc/svc_run.c: Likewise.
61126         * sunrpc/svc_tcp.c: Likewise.
61127         * sunrpc/svc_udp.c: Likewise.
61128         * sunrpc/svc_unix.c: Likewise.
61129         * sunrpc/svcauth_des.c: Likewise.
61130         * sunrpc/xcrypt.c: Likewise.
61131         * sunrpc/xdr.c: Likewise.
61132         * sunrpc/xdr_array.c: Likewise.
61133         * sunrpc/xdr_float.c: Likewise.
61134         * sunrpc/xdr_intXX_t.c: Likewise.
61135         * sunrpc/xdr_mem.c: Likewise.
61136         * sunrpc/xdr_rec.c: Likewise.
61137         * sunrpc/xdr_ref.c: Likewise.
61138         * sunrpc/xdr_sizeof.c: Likewise.
61139         * sunrpc/xdr_stdio.c: Likewise.
61141 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61143         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61144         change.  Update copyright years.
61146 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61148         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61150 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61151             Joseph Myers  <joseph@codesourcery.com>
61152             Paul Pluzhnikov  <ppluzhnikov@google.com>
61154         [BZ #14012]
61155         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61156         requiring rpcgen.
61157         [cross-compiling] (extra-libs): Likewise.
61158         [cross-compiling] (extra-libs-others): Likewise.
61159         [cross-compiling] (librpcsvc-routines): Likewise.
61160         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61161         [cross-compiling] (omit-deps): Likewise.
61162         (sunrpc-CPPFLAGS): New variable.
61163         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61164         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61165         (cross-rpcgen-objs): New variable.
61166         (extra-objs): Append $(cross-rpcgen-objs).
61167         ($(cross-rpcgen-objs)): New rule.
61168         ($(objpfx)cross-rpcgen): Likewise.
61169         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61170         comment.
61171         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61172         ($(objpfx)x%.stmp): Likewise.
61173         * sunrpc/proto.h [IS_IN_build] (_): Define.
61174         [IS_IN_build] (_libc_intl_domainname): Likewise.
61176 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61179         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61180         and R_X86_64_TPOFF64.
61182 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61184         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61185         sysdeps/unix/sysv/syscalls.list.
61186         (stime): Likewise.
61187         (utime): Likewise.
61188         * sysdeps/unix/sysv/syscalls.list: Remove file.
61190 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61192         [BZ #3440]
61193         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61194         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61195         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61196         (__LC_IDENTIFICATION): Make these macros useful in #if
61197         expressions, as required by C99.
61199 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61201         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61202         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61203         after this.
61205 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61207         * stdlib/longlong.h: Updated from GCC.
61209 2012-05-09  Andreas Jaeger  <aj@suse.de>
61211         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61212         default is first entry.
61213         (run_mode): Set type.
61214         (main): Remove informal message about syslog.
61215         (options): Fix typo.
61217         [BZ #14053]
61218         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61219         to asm.
61220         (lrint): Likewise.
61221         (llrintf): Likewise.
61222         (llrint): Likewise.
61223         (rint): Likewise.
61224         (rintf): Likewise.
61225         (nearbyint): Likewise.
61226         (nearbyintf): Likewise.
61228 2012-05-09  Andreas Jaeger  <aj@suse.de>
61229             Pedro Alves  <palves@redhat.com>
61231         * nscd/nscd.c (run_mode): Use enum.
61232         (main): Cleanup coding style issue.
61234 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61235             Andreas Jaeger  <aj@suse.de>
61237         * nscd/nscd.c (go_background): Replaced with...
61238         (run_mode): ... this.
61239         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61240         (options): Add -F --foreground.
61241         (main): Implement it.
61242         (parse_opt): Parse it.
61244 2012-05-09  Andreas Jaeger  <aj@suse.de>
61246         [BZ #14083]
61247         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61248         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61249         -Wconversion warning.
61250         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61251         Likewise.
61253 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61255         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61256         == 0.
61257         (LC_ALL): Use macro-int-constant.
61258         (LC_COLLATE): Likewise.
61259         (LC_CTYPE): Likewise.
61260         (LC_MESSAGES): Likewise.
61261         (LC_MONETARY): Likewise.
61262         (LC_NUMERIC): Likewise.
61263         (LC_TIME): Likewise.
61264         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61265         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61267         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61268         Specify type.
61269         [C99-based standards] (float_t): Expect type.
61270         [C99-based standards] (double_t): Expect type.
61271         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61272         type.
61273         [C99-based standards] (HUGE_VALL): Likewise.
61274         [C99-based standards] (INFINITY): Likewise.
61275         [C99-based standards] (NAN): Likewise.
61276         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61277         [C99-based standards] (FP_NAN): Likewise.
61278         [C99-based standards] (FP_NORMAL): Likewise.
61279         [C99-based standards] (FP_SUBNORMAL): Likewise.
61280         [C99-based standards] (FP_ZERO): Likewise.
61281         [C99-based standards] (FP_FAST_FMA): Use
61282         optional-macro-int-constant.  Specify type.  Require == 1.
61283         [C99-based standards] (FP_FAST_FMAF): Likewise.
61284         [C99-based standards] (FP_FAST_FMAL): Likewise.
61285         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61286         [C99-based standards] (FP_ILOGBNAN): Likewise.
61287         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61288         Specify type.
61289         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61290         [C99-based standards] (math_errhandling): Specify type.
61291         [ISO99 || ISO11] (signgam): Do not allow.
61292         [non-C99-based standards] (copysignf): Do not allow.
61293         [non-C99-based standards] (exp2f): Likewise.
61294         [non-C99-based standards] (log2f): Likewise.
61295         [non-C99-based standards] (modff): Allow.
61296         [non-C99-based standards] (erff): Do not allow.
61297         [non-C99-based standards] (erfcf): Likewise.
61298         [non-C99-based standards] (gammaf): Likewise.
61299         [non-C99-based standards] (hypotf): Likewise.
61300         [non-C99-based standards] (j0f): Likewise.
61301         [non-C99-based standards] (j1f): Likewise.
61302         [non-C99-based standards] (jnf): Likewise.
61303         [non-C99-based standards] (lgammaf): Likewise.
61304         [non-C99-based standards] (tgammaf): Likewise.
61305         [non-C99-based standards] (y0f): Likewise.
61306         [non-C99-based standards] (y1f): Likewise.
61307         [non-C99-based standards] (ynf): Likewise.
61308         [non-C99-based standards] (isnanf): Likewise.
61309         [non-C99-based standards] (acoshf): Likewise.
61310         [non-C99-based standards] (asinhf): Likewise.
61311         [non-C99-based standards] (atanhf): Likewise.
61312         [non-C99-based standards] (cbrtf): Likewise.
61313         [non-C99-based standards] (expm1f): Likewise.
61314         [non-C99-based standards] (ilogbf): Likewise.
61315         [non-C99-based standards] (log1pf): Likewise.
61316         [non-C99-based standards] (logbf): Likewise.
61317         [non-C99-based standards] (nextafterf): Likewise.
61318         [non-C99-based standards] (remainderf): Likewise.
61319         [non-C99-based standards] (rintf): Likewise.
61320         [non-C99-based standards] (scalbf): Likewise.
61321         [non-C99-based standards] (copysignl): Likewise.
61322         [non-C99-based standards] (exp2l): Likewise.
61323         [non-C99-based standards] (log2l): Likewise.
61324         [non-C99-based standards] (modfl): Allow.
61325         [non-C99-based standards] (erfl): Do not allow.
61326         [non-C99-based standards] (erfcl): Likewise.
61327         [non-C99-based standards] (gammal): Likewise.
61328         [non-C99-based standards] (hypotl): Likewise.
61329         [non-C99-based standards] (j0l): Likewise.
61330         [non-C99-based standards] (j1l): Likewise.
61331         [non-C99-based standards] (jnl): Likewise.
61332         [non-C99-based standards] (lgammal): Likewise.
61333         [non-C99-based standards] (tgammal): Likewise.
61334         [non-C99-based standards] (y0l): Likewise.
61335         [non-C99-based standards] (y1l): Likewise.
61336         [non-C99-based standards] (ynl): Likewise.
61337         [non-C99-based standards] (isnanl): Likewise.
61338         [non-C99-based standards] (acoshl): Likewise.
61339         [non-C99-based standards] (asinhl): Likewise.
61340         [non-C99-based standards] (atanhl): Likewise.
61341         [non-C99-based standards] (cbrtl): Likewise.
61342         [non-C99-based standards] (expm1l): Likewise.
61343         [non-C99-based standards] (ilogbl): Likewise.
61344         [non-C99-based standards] (log1pl): Likewise.
61345         [non-C99-based standards] (logbl): Likewise.
61346         [non-C99-based standards] (nextafterl): Likewise.
61347         [non-C99-based standards] (remainderl): Likewise.
61348         [non-C99-based standards] (rintl): Likewise.
61349         [non-C99-based standards] (scalbl): Likewise.
61350         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61351         [non-C99-based standards] (FP_*): Do not allow.
61352         [C99-based standards] (FP_*): Change to
61353         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61354         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61355         allow.
61356         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61357         (SIG_ERR): Likewise.
61358         [X/Open-based standards] (SIG_HOLD): Likewise.
61359         (SIG_IGN): Likewise.
61360         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61361         positive value.
61362         (SIGFPE): Likewise.
61363         (SIGILL): Likewise.
61364         (SIGINT): Likewise.
61365         (SIGSEGV): Likewise.
61366         (SIGTER): Likewise.
61367         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61368         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61369         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61370         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61371         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61372         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61373         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61374         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61375         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61376         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61377         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61378         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61379         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61380         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61381         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61382         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61383         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61384         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61385         [X/Open-based standards] (SIGTRAP): Likewise.
61386         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61387         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61388         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61389         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61390         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61391         allow.
61393 2012-05-08  Ian Wienand  <ianw@vmware.com>
61395         [BZ #14080]
61396         * time/tzset.c (__tzset_parse_tz): Update default rules for
61397         daylight time changes in the Energy Policy Act of 2005.
61399 2012-05-09  Andreas Jaeger  <aj@suse.de>
61401         [BZ #13983]
61402         * elf/ldconfig.c (parse_conf): Change string to make clear that
61403         ldconfig only issued a warning if ld.so.conf does not exist.
61405 2012-05-08  David S. Miller  <davem@davemloft.net>
61407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61408         movxtod instead of popping the value on the stack.
61410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61412 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61414         * config.h.in: Add HAVE_ARM_PCS_VFP.
61416 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61418         [BZ #13979]
61419         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61420         checking but the checks are disabled for any reason.
61422 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61424         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61425         and ELF64_R_TYPE with ELFW(R_TYPE).
61427 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61429         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61430         (ulimit): Likewise.
61432         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61433         (settimeofday): Likewise.
61435 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61437         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61438         a struct th_u2 inside the union, and move tu_block/tu_code into
61439         a new th_u3 union of tu_block/tu_code inside of that.  Move
61440         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61441         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61442         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61443         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61444         (th_stuff): Change to th_u1.tu_stuff.
61445         (th_data): Define.
61446         (th_msg): Change to th_u1.th_u2.tu_data.
61448 2012-05-07  David S. Miller  <davem@davemloft.net>
61450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61452         [BZ #14074]
61453         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61454         (SETUP_PIC_REG): Use it.
61455         (SETUP_PIC_REG_LEAF): Use it.
61457 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61459         [BZ #13885]
61460         [BZ #13923]
61461         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61462         USE_AS_EXPM1L.
61463         (EXPL_FINITE): Likewise.
61464         (FLDLOG): Likewise.
61465         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61466         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61467         e_expl.S.
61468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61469         USE_AS_EXPM1L.
61470         (EXPL_FINITE): Likewise.
61471         (FLDLOG): Likewise.
61472         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61473         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61474         e_expl.S.
61475         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61476         test of -max_value argument for long double.
61477         * sysdeps/i386/fpu/libm-test-ulps: Update.
61478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61480 2012-05-06  David S. Miller  <davem@davemloft.net>
61482         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61483         quad soft-float symbols whose references which are compiler
61484         generated.
61485         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61487 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61489         [BZ #13884]
61490         [BZ #13914]
61491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61492         USE_AS_EXP10L.
61493         (EXPL_FINITE): Likewise.
61494         (FLDLOG): Likewise.
61495         (c0): Likewise.
61496         (c1): Likewise.
61497         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61498         Adjust comments for base varying.
61499         (__expl_finite): Change alias to EXPL_FINITE.
61500         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61501         e_expl.S.
61502         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61503         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61504         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61505         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61506         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61507         USE_AS_EXP10L.
61508         (EXPL_FINITE): Likewise.
61509         (FLDLOG): Likewise.
61510         (c0): Likewise.
61511         (c1): Likewise.
61512         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61513         Adjust comments for base varying.
61514         (__expl_finite): Change alias to EXPL_FINITE.
61515         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61516         tests for bugs.
61517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61519         [BZ #14064]
61520         * math/libm-test.inc (check_float_internal): Correct ulp
61521         calculation for subnormal expected results.
61523 2012-05-06  Andreas Jaeger  <aj@suse.de>
61525         * Makeconfig (+math-flags): New, set to -frounding-math.
61526         (+cflags): Add +math-flags so that all of glibc gets compiled with
61527         it.
61529         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61531 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61533         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61534         Disable one test.
61536         [BZ #13787]
61537         [BZ #13922]
61538         [BZ #14036]
61539         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61540         (__ieee754_expl): Allow for and saturate large arguments.
61541         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61542         (u_threshold): Likewise.
61543         (__exp): Call __ieee754_exp before checking for overflow and
61544         underflow.
61545         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61546         (u_threshold): Likewise.
61547         (__expf): Call __ieee754_expf before checking for overflow and
61548         underflow.
61549         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61550         (u_threshold): Likewise.
61551         (__expl): Call __ieee754_expl before checking for overflow and
61552         underflow.
61553         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61554         (__ieee754_expl): Allow for and saturate large arguments.
61555         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61556         missing overflow exception on overflow.
61557         (expm1_test): Do not allow missing overflow exception on overflow.
61559         * sysdeps/i386/fpu/e_expl.c: Move to ...
61560         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61561         rather than using inline asm.
61562         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61563         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61564         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61566         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61567         (nice): Likewise.
61568         (poll): Likewise.
61569         (signal): Likewise.
61570         (time): Likewise.
61571         (times): Likewise.
61573 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61575         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61576         sysdeps/unix/common/syscalls.list.
61577         (fchmod): Likewise.
61578         (fchown): Likewise.
61579         (ftruncate): Likewise.
61580         (getrusage): Likewise.
61581         (gettimeofday): Likewise.
61582         (setpgid): Likewise.
61583         (setregid): Likewise.
61584         (setreuid): Likewise.
61585         (sigaction): Likewise.
61586         (truncate): Likewise.
61587         (vhangup): Likewise.
61588         * sysdeps/unix/common/syscalls.list: Remove file.
61589         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61590         * sysdeps/unix/sysv/linux/Implies: Likewise.
61592 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61594         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61596         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61597         Moved to ...
61598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61599         Here.
61600         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61601         to ...
61602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61603         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61604         to ...
61605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61606         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61607         to ...
61608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61609         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61610         to ...
61611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61612         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61613         to ...
61614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61615         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61616         to ...
61617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61618         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61619         to ...
61620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61621         Here.
61622         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61623         to ...
61624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61625         Here.
61626         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61627         to ...
61628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61629         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61630         Moved to ...
61631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61632         Here.
61633         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61634         to ...
61635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61637 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61639         * sysdeps/unix/common/bits/dirent.h: Remove file.
61640         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61642         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61643         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61644         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61645         * sysdeps/unix/bsd/isatty.c: Likewise.
61646         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61647         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61648         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61650 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61652         [BZ #13563]
61653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61654         long double comparison inaccuracies.
61655         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61658 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61660         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61661         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61663 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61665         [BZ #14049]
61666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61667         nonzero digits before rounding a hex value.
61668         * stdlib/tst-strtod.c (tests): Add another test.
61670 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61672         * sysdeps/s390/fpu/libm-test-ulps: Update.
61674 2012-05-03  Andreas Jaeger  <aj@suse.de>
61676         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61677         does not get optimized out.
61678         (malloc_opt_barrier): New.
61680 2012-05-03  Andreas Jaeger  <aj@suse.de>
61681             Roland McGrath  <roland@hack.frob.com>
61683         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61684         intermediate file deletion.
61685         (generated): Add .symlist files.
61687 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61689         [BZ #13775]
61690         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61691         Redirect under this condition.
61692         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61693         [__USE_GNU] (__dprintf_chk): Not under this condition.
61694         [__USE_GNU] (__vdprintf_chk): Likewise.
61695         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61696         under this condition.
61697         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61698         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61699         [__USE_XOPEN2K8] (vdprintf): Likewise.
61700         [__USE_GNU] (__dprintf_chk): Not under this condition.
61701         [__USE_GNU] (__vdprintf_chk): Likewise.
61702         [__USE_GNU] (dprintf): Likewise.
61703         [__USE_GNU] (vdprintf): Likewise.
61705 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61707         * elf/Makefile (common-generated): Set this instead of generated for
61708         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61709         $(all-built-dso)-derived lists.
61711 2012-05-03  Andreas Jaeger  <aj@suse.de>
61713         * sysdeps/i386/fpu/libm-test-ulps: Update.
61715         * FAQ: Removed.
61716         * FAQ.in: Likewise.
61717         * scripts/gen-FAQ.pl: Likewise.
61718         * manual/install.texi (Installation): Point to online location of
61719         FAQ.
61720         * Makefile (files-for-dist): Remove FAQ.
61721         (FAQ): Remove.
61723 2012-05-02  Allan McRae  <allan@archlinux.org>
61725         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61726         (LDFLAGS-reldepmod5.so): Likewise.
61727         (LDFLAGS-reldep6mod1.so): Likewise.
61728         (LDFLAGS-reldep6mod4.so): Likewise.
61729         (LDFLAGS-reldep8mod3.so): Likewise.
61730         (LDFLAGS-unload4mod1.so): Likewise.
61731         (LDFLAGS-unload4mod2.so): Likewise.
61732         (LDFLAGS-tst-initorder): Likewise.
61733         (LDFLAGS-tst-initordera2.so): Likewise.
61734         (LDFLAGS-tst-initordera3.so): Likewise.
61735         (LDFLAGS-tst-initordera4.so): Likewise.
61736         (LDFLAGS-tst-initorderb2.so): Likewise.
61737         (LDFLAGS-noload): Likewise.
61738         (LDFLAGS-next): Likewise.
61739         (LDFLAGS-order2mod1.so): Likewise.
61740         (LDFLAGS-order2mod2.so): Likewise.
61741         (LDFLAGS-tst-initorder2): Likewise.
61742         (LDFLAGS-tst-initorder2a.so): Likewise.
61743         (LDFLAGS-tst-initorder2b.so): Likewise.
61744         (LDFLAGS-tst-initorder2c.so): Likewise.
61745         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61747 2012-05-02  David S. Miller  <davem@davemloft.net>
61749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61751 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
61753         [BZ #14055]
61754         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61756 2012-05-02  Andreas Jaeger  <aj@suse.de>
61758         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61759         since we manipulate rounding mode.
61760         (CPPFLAGS-test-idouble.c): Likewise.
61761         (CPPFLAGS-test-ifloat.c): Likewise.
61762         (CFLAGS-test-ldouble.c): Likewise.
61763         (CFLAGS-test-double.c): Likewise.
61764         (CFLAGS-test-float.c): Likewise.
61765         (CFLAGS-test-misc.c): Likewise.
61766         (CFLAGS-test-test-fenv.c): Likewise.
61768 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61770         [BZ #2550]
61771         [BZ #2570]
61772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61773         comparisons to determine direction to adjust input.
61775 2012-05-01  Roland McGrath  <roland@hack.frob.com>
61777         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61778         output to the target.
61780         * scripts/localplt.awk: New file.
61781         * elf/Makefile ($(objpfx)check-localplt): Target removed.
61782         (check-localplt-CFLAGS): Variable removed.
61783         ($(all-built-dso:=.jmprel)): New static pattern rule.
61784         (generated): Add those targets.
61785         (localplt-built-dso): New variable.
61786         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61788         * elf/check-localplt.c: File removed.
61790         * scripts/check-execstack.awk: New file.
61791         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61792         (check-execstack-CFLAGS): Variable removed.
61793         ($(objpfx)check-execstack.h): Target removed.
61794         ($(objpfx)execstack-default): New target.
61795         (generated): Add that instead of check-execstack.h.
61796         ($(all-built-dso:=.phdr)): New static pattern rule.
61797         (generated): Add those targets.
61798         * elf/check-execstack.c: File removed.
61800         * scripts/check-textrel.awk: New file.
61801         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61802         (check-textrel-CFLAGS): Variable removed.
61803         (all-built-dso): Use := to define.o
61804         ($(all-built-dso:=.dyn)): New static pattern rule.
61805         (generated): Add those targets.
61806         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61807         * config.make.in (READELF): New substituted variable.
61808         * elf/check-textrel.c: File removed.
61810 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61812         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61813         allow.
61814         * conform/data/ctype.h-data [C99-based standards] (isblank):
61815         Expect function.
61816         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61817         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61819         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61820         Specify type.  Require positive value.
61821         (EILSEQ): Likewise.
61822         (ERANGE): Likewise.
61823         [ISO || POSIX] (EILSEQ): Do not expect.
61824         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61825         Specify type.  Require positive value.
61826         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61827         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61828         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61829         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61830         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61831         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61832         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61833         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61834         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61835         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61836         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61837         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61838         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61839         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61840         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61841         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61842         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61843         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61844         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61845         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61846         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61847         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61848         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61849         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61850         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61851         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61852         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61853         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61854         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61855         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61856         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61857         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61858         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61859         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61860         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61861         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61862         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61863         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61864         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61865         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61866         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61867         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61868         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61869         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61870         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61871         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61872         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61873         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61874         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61875         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61876         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61877         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61878         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61879         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61880         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61881         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61882         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61883         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61884         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61885         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61886         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61887         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61888         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61889         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61890         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61891         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61892         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61893         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61894         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61895         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61896         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61897         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61898         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61899         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61900         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61901         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61902         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61903         Require >= 2.
61904         (FLT_ROUNDS): Expect as macro, not constant.
61905         (FLT_MANT_DIG): Use macro-int-constant.
61906         (DBL_MANT_DIG): Likewise.
61907         (LDBL_MANT_DIG): Likewise.
61908         (FLT_DIG): Likewise.
61909         (DBL_DIG): Likewise.
61910         (LDBL_DIG): Likewise.
61911         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61912         (DBL_MIN_EXP): Likewise.
61913         (LDBL_MIN_EXP): Likewise.
61914         (FLT_MAX_EXP): Use macro-int-constant.
61915         (DBL_MAX_EXP): Likewise.
61916         (LDBL_MAX_EXP): Likewise.
61917         (FLT_MAX_10_EXP): Likewise.
61918         (DBL_MAX_10_EXP): Likewise.
61919         (LDBL_MAX_10_EXP): Likewise.
61920         (FLT_MAX): Use macro-constant.
61921         (DBL_MAX): Likewise.
61922         (LDBL_MAX): Likewise.
61923         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61924         (DBL_EPSILON): Likewise.
61925         (LDBL_EPSILON): Likewise.
61926         (FLT_MIN): Likewise.
61927         (DBL_MIN): Likewise.
61928         (LDBL_MIN): Likewise.
61929         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61930         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61931         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61932         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61933         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61934         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61935         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61936         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61937         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61938         [ISO11] (FLT_TRUE_MIN): Likewise.
61939         [ISO11] (LDBL_TRUE_MIN): Likewise.
61940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61941         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61942         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61943         (SCHAR_MAX): Likewise.
61944         (UCHAR_MAX): Likewise.
61945         (CHAR_MIN): Likewise.
61946         (CHAR_MAX): Likewise.
61947         (MB_LEN_MAX): Use macro-int-constant.
61948         (SHRT_MIN): Use macro-int-constant.  Specify type.
61949         (SHRT_MAX): Likewise.
61950         (USHRT_MAX): Likewise.
61951         (INT_MAX): Likewise.
61952         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61953         bound negative.
61954         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61955         bound with "U".
61956         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61957         bound with "L".
61958         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61959         bound negative.  Suffix upper bound with "L".
61960         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61961         bound with "UL".
61962         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61963         Specify type.
61964         [C99-based standards] (LLONG_MAX): Likewise.
61965         [C99-based standards] (ULLONG_MAX): Likewise.
61966         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61967         == 0.
61968         [ISO11] (max_align_t): Require type.
61969         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61971         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61972         from $CFLAGS, without defining away __attribute__ calls.
61973         (checknamespace): Use $CFLAGS_namespace.
61975         * conform/conformtest.pl (@keywords): Only include C99 keywords
61976         for standards based on C99 or C11.
61978         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61979         Disable tests.
61980         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61981         UNIX98]: Likewise.
61983         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61984         usability of symbols in #if.
61986         * conform/conformtest.pl: If macro or constant types start
61987         "promoted:", expect the symbol to be of the following type
61988         promoted by the integer promotions.
61990         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61991         in one place.  Also handle "macro-constant".
61993         * conform/conformtest.pl: Only accept expected macro values with
61994         "==".  Parse all "macro" lines in one place.
61995         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61997         * conform/conformtest.pl: Handle braced types on "constant" lines
61998         instead of handling "typed-constant".
61999         * conform/data/signal.h-data: Use "constant" instead of
62000         "typed-constant".
62002         * conform/conformtest.pl: Handle "optional-" at start of lines in
62003         one place rather than duplicating several cases.  Handle each
62004         format of "macro" line with initial "optional-".
62006         * conform/conformtest.pl: Only accept expected constant or
62007         optional-constant values with "==".  Parse all "constant" lines in
62008         one place.  Parse all "optional-constant" lines in one place.
62009         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62010         * conform/data/fmtmsg.h-data: Likewise.
62011         * conform/data/netinet/in.h-data: Likewise.
62012         * conform/data/tar.h-data: Likewise.
62013         * conform/data/limits.h-data: Use "==" form on "constant" and
62014         "optional-constant" lines.
62016         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62017         Use -std=c99 for XOPEN2K.
62018         (@knownproblems): Remove.
62019         (newtoken): Don't check %isknown.
62021         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62022         Do not expect macro.
62023         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62024         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62025         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62026         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62027         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62028         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62029         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62030         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62031         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62032         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62033         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62034         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62035         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62036         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62037         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62038         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62039         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62040         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62041         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62042         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62043         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62044         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62045         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62046         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62047         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62048         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62049         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62050         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62051         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62052         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62053         [XPG3] (acosh): Likewise.
62054         [XPG3] (asinh): Likewise.
62055         [XPG3] (atanh): Likewise.
62056         [XPG3] (cbrt): Likewise.
62057         [XPG3] (expm1): Likewise.
62058         [XPG3] (ilogb): Likewise.
62059         [XPG3] (log1p): Likewise.
62060         [XPG3] (logb): Likewise.
62061         [XPG3] (nextafter): Likewise.
62062         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62063         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62064         [XPG3] (remainder): Likewise.
62065         [XPG3] (rint): Likewise.
62066         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62067         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62068         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62069         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62070         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62071         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62072         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62073         [UNIX98 || XOPEN2K] (scalb): Expect.
62074         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62075         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62076         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62077         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62078         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62079         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62080         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62081         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62082         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62083         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62084         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62085         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62086         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62087         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62088         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62089         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62090         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62091         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62092         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62093         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62094         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62095         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62096         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62097         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62098         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62099         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62100         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62101         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62102         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62103         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62104         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62105         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62106         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62107         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62108         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62109         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62110         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62111         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62112         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62113         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62114         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62115         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62116         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62117         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62118         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62119         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62120         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62121         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62122         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62123         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62124         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62125         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62126         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62127         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62128         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62129         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62130         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62131         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62132         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62133         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62134         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62135         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62136         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62137         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62138         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62139         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62140         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62141         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62142         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62143         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62144         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62145         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62146         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62147         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62148         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62149         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62150         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62151         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62152         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62153         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62154         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62155         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62156         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62157         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62158         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62159         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62160         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62161         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62162         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62163         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62164         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62165         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62166         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62167         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62168         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62169         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62170         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62171         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62172         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62173         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62174         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62175         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62176         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62177         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62178         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62179         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62180         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62181         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62182         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62183         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62184         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62185         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62186         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62187         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62188         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62189         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62190         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62191         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62192         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62193         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62194         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62195         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62196         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62197         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62198         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62199         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62200         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62201         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62202         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62203         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62204         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62205         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62206         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62207         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62208         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62209         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62210         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62212         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62213         _XOPEN_SOURCE_EXTENDED for XPG4.
62215         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62217         * Makeconfig (localtime): Remove variable.
62218         (inst_localtime-file): Likewise.
62220 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62223         Update.
62224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62225         Update.
62226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62227         Update.
62228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62229         Update.
62230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62231         Update.
62232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62233         Update.
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62235         Update.
62236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62237         Update.
62238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62239         Update.
62241 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62243         [BZ #2550]
62244         [BZ #2570]
62245         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62246         comparisons to determine direction to adjust input.
62247         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62248         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62249         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62250         Likewise.
62251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62252         Likewise.
62253         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62254         Likewise.
62255         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62256         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62257         Likewise.
62258         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62259         Likewise.
62260         * math/libm-test.inc (nexttoward_test): Add more tests.
62262 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62264         [BZ #14040]
62265         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62266         in version GLIBC_2.1, not GLIBC_2.0.
62267         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62268         Likewise.
62270 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62272         [BZ #13942]
62273         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62274         (1 - x) * (1 + x).
62275         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62276         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62277         * math/libm-test.inc (acos_test): Add more tests.
62278         (asin_test): Likewise.
62279         * sysdeps/i386/fpu/libm-test-ulps: Update.
62280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62282         [BZ #14034]
62283         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62284         of square root.
62285         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62286         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62287         * math/libm-test.inc (acos_test_tonearest): New function.
62288         (acos_test_towardzero): Likewise.
62289         (acos_test_downward): Likewise.
62290         (acos_test_upward): Likewise.
62291         (asin_test_tonearest): Likewise.
62292         (asin_test_towardzero): Likewise.
62293         (asin_test_downward): Likewise.
62294         (asin_test_upward): Likewise.
62295         (main): Call the new functions.
62296         * sysdeps/i386/fpu/libm-test-ulps: Update.
62297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62299         [BZ #13884]
62300         [BZ #13924]
62301         * math/e_exp10.c: Include <float.h>.
62302         (__ieee754_exp10): Handle underflow here rather than multiplying
62303         large negative argument by M_LN10.
62304         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62305         of __ieee754_expf.
62306         * math/e_exp10l.c: Include <float.h>.
62307         (__ieee754_exp10l): Handle underflow here rather than multiplying
62308         large negative argument by M_LN10l.
62309         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62310         spurious overflow exception on underflow.
62312 2012-04-29  Marek Polacek  <polacek@redhat.com>
62314         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62315         (__fortify_function): New macro.
62316         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62317         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62318         __extern_always_inline.
62319         * libio/bits/stdio2.h: Likewise.
62320         * libio/bits/stdio.h: Likewise.
62321         * string/string.h: Likewise.
62322         * string/bits/string3.h: Likewise.
62323         * include/stdio.h: Likewise.
62324         * stdlib/bits/stdlib.h: Likewise.
62325         * stdlib/stdlib.h: Likewise.
62326         * rt/bits/mqueue2.h: Likewise.
62327         * rt/mqueue.h: Likewise.
62328         * posix/bits/unistd.h: Likewise.
62329         * posix/unistd.h: Likewise.
62330         * io/bits/poll2.h: Likewise.
62331         * io/bits/fcntl2.h: Likewise.
62332         * io/fcntl.h: Likewise.
62333         * io/sys/poll.h: Likewise.
62334         * misc/bits/syslog.h: Likewise.
62335         * misc/bits/syslog-ldbl.h: Likewise.
62336         * misc/sys/syslog.h: Likewise.
62337         * socket/bits/socket2.h: Likewise.
62338         * socket/sys/socket.h: Likewise.
62339         * debug/tst-chk1.c: Likewise.
62340         * wcsmbs/bits/wchar2.h: Likewise.
62341         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62342         * wcsmbs/wchar.h: Likewise.
62344 2012-04-29  Andreas Jaeger  <aj@suse.de>
62346         * Makerules (tests): Remove enable-check-abi protection.
62347         (check-abi-warn): Remove.
62348         (check-abi-%): Remove check-abi-warn usage.
62350         * configure.in: Remove check-abi configure option.
62351         * configure: Regenerated.
62352         * config.make.in (enable-check-abi): Remove.
62354 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62356         [BZ #14033]
62357         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62358         double functions to double *_finite functions.
62360         [BZ #13941]
62361         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62362         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62363         LDBL_MIN_EXP.
62364         * stdio-common/Makefile (tests): Add tst-sprintf3.
62365         * stdio-common/tst-sprintf3.c: New file.
62367         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62368         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62370 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62372         * conform/conformtest.pl: Remove duplicate typed-constant
62373         handling.
62375 2012-04-28  David S. Miller  <davem@davemloft.net>
62377         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62378         (check-abi-%): Remove AWK script prerequisite and explicit
62379         abilist directory.
62380         (check-abi): Rewrite to just diff the symlist with the abilist.
62381         (config-tls, config-abi-config): Delete, no longer used.
62382         (update-abi-%): Remove AWK script and explicit abilist directory.
62383         (update-abi): Rewrite to simply compare and conditionally copy the
62384         symlist and the sysdep abilist file.  Remove update-abi-config
62385         checks.
62386         * abilist/ld.abilist: Remove.
62387         * abilist/libBrokenLocale.abilist: Remove.
62388         * abilist/libanl.abilist: Remove.
62389         * abilist/libcrypt.abilist: Remove.
62390         * abilist/libdl.abilist: Remove.
62391         * abilist/librt.abilist: Remove.
62392         * abilist/libthread_db.abilist: Remove.
62393         * abilist/libutil.abilist: Remove.
62394         * scripts/extract-abilist.awk: Remove.
62395         * scripts/merge-abilist.awk: Remove.
62396         * sysdeps/generic/libcidn.abilist: New file.
62397         * sysdeps/generic/libnss_compat.abilist: New file.
62398         * sysdeps/generic/libnss_db.abilist: New file.
62399         * sysdeps/generic/libnss_dns.abilist: New file.
62400         * sysdeps/generic/libnss_files.abilist: New file.
62401         * sysdeps/generic/libnss_hesiod.abilist: New file.
62402         * sysdeps/generic/libnss_nis.abilist: New file.
62403         * sysdeps/generic/libnss_nisplus.abilist: New file.
62404         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62405         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62406         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62407         file.
62408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62409         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62410         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62411         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62412         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62413         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62414         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62415         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62416         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62417         file.
62418         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62419         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62420         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62421         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62422         file.
62423         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62424         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62425         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62426         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62427         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62428         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62429         file.
62430         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62431         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62432         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62433         file.
62434         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62436         New file.
62437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62438         New file.
62439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62440         New file.
62441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62442         New file.
62443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62444         New file.
62445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62446         New file.
62447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62448         New file.
62449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62450         New file.
62451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62452         New file.
62453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62454         New file.
62455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62456         New file.
62457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62458         New file.
62459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62460         New file.
62461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62462         file.
62463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62464         New file.
62465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62466         New file.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62468         file.
62469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62470         New file.
62471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62472         New file.
62473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62474         file.
62475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62476         New file.
62477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62478         New file.
62479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62480         New file.
62481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62482         New file.
62483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62484         New file.
62485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62486         New file.
62487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62489         file.
62490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62491         New file.
62492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62493         file.
62494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62495         file.
62496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62497         file.
62498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62499         file.
62500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62501         file.
62502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62503         New file.
62504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62505         file.
62506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62507         file.
62508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62509         New file.
62510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62511         file.
62512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62514         file.
62515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62516         New file.
62517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62518         file.
62519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62520         file.
62521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62522         file.
62523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62524         file.
62525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62526         file.
62527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62528         New file.
62529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62530         file.
62531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62532         file.
62533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62534         New file.
62535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62536         file.
62537         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62538         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62539         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62540         file.
62541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62542         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62543         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62544         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62545         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62546         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62547         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62548         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62549         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62550         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62553         file.
62554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62555         New file.
62556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62557         file.
62558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62559         file.
62560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62561         file.
62562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62563         file.
62564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62565         file.
62566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62567         New file.
62568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62569         New file.
62570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62571         file.
62572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62573         New file.
62574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62575         file.
62576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62578         file.
62579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62580         New file.
62581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62582         file.
62583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62584         file.
62585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62586         file.
62587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62588         file.
62589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62590         file.
62591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62592         New file.
62593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62594         New file.
62595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62596         file.
62597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62598         New file.
62599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62600         file.
62602 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62604         * conform/conformtest.pl: Fix typo in handling typed-constant from
62605         allow-header.
62607 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62609         * README: Cut down references to pre-2.6 Linux kernels and
62610         Linuxthreads.  Update lists of configurations in libc and ports
62611         and sort alphabetically.  Say "or newer" with Linux kernel version
62612         requirements.
62614         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62616 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62618         [BZ #887]
62619         * math/libm-test.inc (logb_test_downward): New test to expose
62620         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62621         rounding mode.
62623 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62625         [BZ #14027]
62626         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62627         to be done.
62628         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62629         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62631 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62633         * sysdeps/unix/i386/brk.S: Remove file.
62634         * sysdeps/unix/i386/dl-brk.S: Likewise.
62635         * sysdeps/unix/i386/pipe.S: Likewise.
62636         * sysdeps/unix/i386/sigreturn.S: Likewise.
62637         * sysdeps/unix/i386/syscall.S: Likewise.
62638         * sysdeps/unix/i386/vfork.S: Likewise.
62639         * sysdeps/unix/i386/wait.S: Likewise.
62641         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62642         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62644         * configure.in (arm*-none*): Do not allow without
62645         --enable-hacker-mode.
62646         (netbsd*): Remove case setting base_os.
62647         (386bsd*): Likewise.
62648         (freebsd*): Likewise.
62649         (bsdi*): Likewise.
62650         (osf*): Likewise.
62651         (sunos*): Likewise.
62652         (ultrix*): Likewise.
62653         (newsos*): Likewise.
62654         (dynix*): Likewise.
62655         (*bsd*): Likewise.
62656         (sysv*): Likewise.
62657         (isc*): Likewise.
62658         (esix*): Likewise.
62659         (sco*): Likewise.
62660         (minix*): Likewise.
62661         (irix4*): Likewise.
62662         (irix6*): Likewise.
62663         (solaris[2-9]*): Likewise.
62664         (none): Likewise.
62665         * configure: Regenerated.
62667 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62669         [BZ #11521]
62670         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62671         overflow or cancellation in calculating denominator.
62672         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62673         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62674         down expression to avoid unexpected rounding in newer GCCs.
62675         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62677 2012-04-26  David S. Miller  <davem@davemloft.net>
62679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62680         long-double compat symbols.
62681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62695 2012-04-25  David S. Miller  <davem@davemloft.net>
62697         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62698         HWCAP_* values only after the memory barriers have been defined.
62699         (atomic_full_barrier): Define.
62700         (atomic_read_barrier): Define.
62701         (atomic_write_barrier): Define.
62703 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62705         * shlib-versions: Add libgcc_s version information.
62706         * sysdeps/generic/libgcc_s.h: Remove.
62707         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62708         libgcc_s.h.
62709         * sysdeps/gnu/unwind-resume.c: Likewise.
62710         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62712 2012-04-25  David S. Miller  <davem@davemloft.net>
62714         * sysdeps/unix/sparc/brk.S: Delete.
62715         * sysdeps/unix/sparc/dl-brk.S: Delete.
62716         * sysdeps/unix/sparc/pipe.S: Delete.
62717         * sysdeps/unix/sparc/sysdep.S: Delete.
62718         * sysdeps/unix/sparc/sysdep.h: Delete.
62719         * sysdeps/unix/sparc/vfork.S: Delete.
62720         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62721         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62722         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62723         (ret_ERRVAL, r0, r1, MOVE): Define.
62724         (JUMPTARGET): Remove.
62725         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62726         sysdeps/unix/sparc/sysdep.h
62727         (ENTRY, END): Remove.
62728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62730 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
62732         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62733         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62734         -DIS_IN_build.
62736         * timezone/README: Update upstream location and email address for
62737         tzcode and tzdata.
62738         * timezone/zdump.c: Update from tzcode 2012b.
62739         * timezone/zic.c: Likewise.
62741         * configure.in (libc_cv_as_needed): Remove test.
62742         * configure: Regenerated.
62743         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62744         conditional definition.
62745         [$(have-as-needed) != yes] (no-as-needed): Likewise.
62746         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62747         * config.make.in (have-as-needed): Remove variable.
62749 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62750             Paul Pluzhnikov  <ppluzhnikov@google.com>
62752         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62753         strings correctly.
62755 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
62757         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62758         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62759         * sysdeps/sh/strlen.S: Likewise.
62761 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62763         * sysdeps/unix/fork.S: Remove file.
62764         * sysdeps/unix/i386/fork.S: Likewise.
62765         * sysdeps/unix/sparc/fork.S: Likewise.
62767         * sysdeps/unix/system.c: Remove file.
62768         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62770         * sysdeps/unix/getegid.S: Remove file.
62771         * sysdeps/unix/geteuid.S: Likewise.
62773 2012-04-24  Roland McGrath  <roland@hack.frob.com>
62775         * scripts/check-localplt.awk: New file.
62776         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62777         of diff.
62778         * scripts/data/localplt-generic.data: Add a comment.
62780         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62781         NODE when __dir_mkfile failed.
62782         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62783         Reported by Ludovic Courtès <ludo@gnu.org>.
62785 2012-04-24  Andreas Jaeger  <aj@suse.de>
62787         * Makerules (common-clean): Also remove gen-as-const-headers
62788         files.
62790 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62792         * Makerules (native-compile): Do not change working directory for
62793         build.  Use $(OUTPUT_OPTION) in command.
62794         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62796 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62798         [BZ #13886]
62799         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62800         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62801         * math/libm-test.inc (floor_test): Add more tests.
62802         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62804 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62806         * sysdeps/unix/getdents.c: Remove file.
62807         * sysdeps/unix/sysv/getdents.c: Likewise.
62808         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62810         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62811         sysdeps/unix/mman/syscalls.list.
62812         (mmap): Likewise.
62813         (mprotect): Likewise.
62814         (msync): Likewise.
62815         (munmap): Likewise.
62816         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62817         * sysdeps/unix/mman/syscalls.list: Remove.
62818         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62820         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62821         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62822         * configure: Regenerated.
62823         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62824         $(libgcc_s_suffix).
62825         * config.make.in (libgcc_s_suffix): Remove variable.
62827 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62829         * sysdeps/unix/sysv/gethostname.c: Move to ...
62830         * sysdeps/posix/gethostname.c: ... here.
62832         * sysdeps/unix/execve.S: Remove file.
62834         * sysdeps/unix/_exit.S: Remove file.
62836 2012-04-23  Andreas Jaeger  <aj@suse.de>
62838         [BZ #13739]
62839         * manual/Makefile: Remove make dist support, there's no
62840         need for a stand-alone documentation tar ball.
62841         (TEXI2DVI): Define always, it's not in Makeconfig.
62842         (dist): Removed.
62843         (tar-it): Removed.
62844         (edition): Removed.
62845         (glibc-doc-$(edition).tar): Removed
62846         (%.Z): Removed.
62847         (%.gz): Removed.
62848         (%.uu): Removed.
62849         (ETAGS): Remove, it's in Makeconfig.
62850         (move-if-change): Remove, it's in Makeconfig.
62852 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62854         [BZ #13970]
62855         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62856         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62857         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62858         (strtod_l, strtof_l, strtold_l): Remove __wur.
62859         It is not necessarily an error to ignore strtol's return value.
62860         One can reliably look at the stored endptr to decide whether
62861         the number had valid syntax.
62863 2012-04-21  Andreas Jaeger  <aj@suse.de>
62865         [BZ #13739]
62866         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62868 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62870         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62871         * sysdeps/unix/sysv/Versions: Remove file.
62873 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62875         [BZ #13927]
62876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62878 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62880         [BZ #7064]
62881         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62882         version from __vm86.
62884 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62886         * sysdeps/unix/common/lxstat.c: Remove file.
62887         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62889         * sysdeps/unix/sysv/Makefile: Remove file.
62891         * sysdeps/unix/sysv/direct.h: Remove file.
62893         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62894         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62895         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62896         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62897         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62898         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62899         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62901         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62903         * sysdeps/unix/xmknod.c: Remove file.
62904         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62906         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62908         * sysdeps/unix/sysv/i386/time.S: Remove file.
62910         * sysdeps/unix/fxstat.c: Remove file.
62911         * sysdeps/unix/xstat.c: Likewise.
62912         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62914         * sysdeps/unix/sysv/sigaction.c: Remove file.
62916         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62917         (sysdep_headers): Remove variable.
62918         [termio.h not in sysdep_headers] (generated): Likewise.
62919         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62920         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62921         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62922         * sysdeps/unix/sysv/tcflow.c: Likewise.
62923         * sysdeps/unix/sysv/tcflush.c: Likewise.
62924         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62925         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62926         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62927         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62928         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62930         * sysdeps/unix/siglist.c: Remove file.
62932         * sysdeps/unix/getppid.S: Remove file.
62934         * sysdeps/unix/mkdir.c: Remove file.
62935         * sysdeps/unix/rmdir.c: Likewise.
62937 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62939         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62940         ERR_MAX value.
62941         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62942         errlist-compat value.
62944 2012-04-18  David S. Miller  <davem@davemloft.net>
62946         * sysdeps/generic/memcopy.h (reg_char): Delete.
62947         * debug/strcat_chk.c: Use char, not reg_char.
62948         * debug/strcpy_chk.c: Likewise.
62949         * debug/strncat_chk.c: Likewise.
62950         * debug/strncpy_chk.c: Likewise.
62951         * string/memchr.c: Likewise.
62952         * string/memrchr.c: Likewise.
62953         * string/rawmemchr.c: Likewise.
62954         * string/strcat.c: Likewise.
62955         * string/strchr.c: Likewise.
62956         * string/strchrnul.c: Likewise.
62957         * string/strcmp.c: Likewise.
62958         * string/strcpy.c: Likewise.
62959         * string/strncat.c: Likewise.
62960         * string/strncmp.c: Likewise.
62961         * string/strncpy.c: Likewise.
62963 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62965         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62966         __builtin_memcopy is called when src and dest ranges are known to not
62967         overlap.
62969 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62971         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62972         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62973         fwd_align_merge macro call.
62974         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62975         bwd_align_merge macro call.
62976         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62978 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62980         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62981         bwd_align_merge macros.
62982         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62983         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62984         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62986 2012-04-18  David S. Miller  <davem@davemloft.net>
62988         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62990 2012-04-18  Andreas Jaeger  <aj@suse.de>
62992         [BZ# 6794]
62993         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62994         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62995         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62997         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62998         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62999         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63001         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63002         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63003         Adjust for changed ldbl-128 files.
63005         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63006         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63007         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63009 2012-04-17  David S. Miller  <davem@davemloft.net>
63011         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63013 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63015         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63016         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63017         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63018         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63019         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63020         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63022 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63024         [BZ #6794]
63025         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63026         * math/libm-test.inc: Add ilogb errno and exception tests.
63027         * math/w_ilogb.c: New file: ilogb wrapper.
63028         * math/w_ilogbf.c: New file: ilogbf wrapper.
63029         * math/w_ilogbl.c: New file: ilogbl wrapper.
63030         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63031         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63032         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63033         exception being thrown with 0.0 as argument.
63034         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63035         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63036         exception being thrown with 0.0 as argument.
63037         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63038         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63039         exception being thrown with 0.0 as argument.
63040         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63041         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63042         exception being thrown with 0.0 as argument.
63043         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63044         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63045         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63046         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63047         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63048         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63049         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63050         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63051         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63053 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63055         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63056         with altivec.
63058 2012-04-16  Marek Polacek  <polacek@redhat.com>
63060         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63062 2012-04-16  Marek Polacek  <polacek@redhat.com>
63064         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63065         operands of fdivp instruction.
63067 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63069         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63070         * elf/tst-auditmod3b.c: Likewise.
63071         * elf/tst-auditmod4b.c: Likewise.
63072         * elf/tst-auditmod5b.c: Likewise.
63073         * elf/tst-auditmod6b.c: Likewise.
63074         * elf/tst-auditmod6c.c: Likewise.
63075         * elf/tst-auditmod7b.c: Likewise.
63076         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63077         * sysdeps/x86_64/preconfigure.in: Likewise.
63078         * sysdeps/x86_64/preconfigure: Regenerated.
63080 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63082         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63083         __ILP32__.
63085 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63088         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63090 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63092         [BZ #13973]
63093         * locale/iso-639.def: Fix gl language name. Spotted by
63094         Yaron Shahrabani.
63096 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63098         [BZ #2074]
63099         * libio/libio.h (__io_write_fn): Update comment.
63101 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63103         [BZ #2074]
63104         * stdio.texi (Hook Functions): The user provided writer function
63105         is not allowed to return -1.
63107 2012-04-11  David S. Miller  <davem@davemloft.net>
63109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63111 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63113         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63114         Add a leading slash to rtkaio.
63116 2012-04-11  Jim Meyering  <meyering@redhat.com>
63118         [BZ #11959]
63119         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63120         It is not necessarily an error to ignore fwrite's return
63121         value.  One can reliably use ferror to test for errors after
63122         the fact.
63124 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63126         * bits/types.h (__snseconds_t): New type.
63127         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63129         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63131         (__SNSECONDS_T_TYPE): Likewise.
63132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63133         (__SNSECONDS_T_TYPE): Likewise.
63134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63135         (__SNSECONDS_T_TYPE): Likewise.
63137 2012-04-10  Andreas Jaeger  <aj@suse.de>
63139         [BZ #2636]
63140         * manual/time.texi (Processor Time): Return type of times is
63141         elapsed real time since an arbitrary point in the past.
63142         (CPU Time): Move CLK_TCK from here...
63143         (Processor Time): ...to here.  Correct description.
63144         * manual/conf.texi (Constants for Sysconf): Correct description of
63145         _SC_CLK_TCK.
63147 2012-04-10  David S. Miller  <davem@davemloft.net>
63149         [BZ #13967]
63150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63151         where the is a gap between DT_REL(A) and DT_JMPREL.
63153 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63155         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63156         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63157         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63159 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63161         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63162         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63163         (dl_main): Handle --inhibit-cache.
63164         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63165         _dl_inhibit_cache.
63166         * elf/dl-load.c (_dl_map_object): Use it.
63167         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63169 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63171         [BZ #13872]
63172         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63173         (__ieee754_powl): Saturate large exponents rather than testing for
63174         overflow of y*log2(x).
63175         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63176         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63177         exceptions.
63179         [BZ #11521]
63180         * math/s_ctan.c: Include <float.h>.
63181         (__ctan): Avoid internal overflow or cancellation in calculating
63182         denominator.
63183         * math/s_ctanf.c: Likewise.
63184         * math/s_ctanl.c: Likewise.
63185         * math/s_ctanh.c: Likewise.
63186         * math/s_ctanhf.c: Likewise.
63187         * math/s_ctanhl.c: Likewise.
63188         * math/libm-test.inc (ctan_test): Add more tests.
63189         (ctanh_test): Likewise.
63190         * sysdeps/i386/fpu/libm-test-ulps: Update.
63191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63193 2012-04-09  Andreas Jaeger  <aj@suse.de>
63195         [BZ #6894]
63196         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63197         is an optional BSD extension.
63199         [BZ #10254]
63200         * manual/stdio.texi (Opening Streams): Document additional fopen
63201         parameters.
63203 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63205         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63206         %eax without telling the compiler.
63208 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63210         [BZ # 13963]
63211         * manual/install.texi: Use sourceware.org.
63213 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63215         [BZ #13873]
63216         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63217         (__ieee754_pow): Generate overflow and underflow using huge*huge
63218         and tiny*tiny rather than just returning constant infinity or zero
63219         for large exponents.
63220         * math/libm-test.inc (pow_test): Require overflow exceptions for
63221         applicable cases of large exponents.
63223         [BZ #706]
63224         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63225         (__ieee754_pow): Use iterative multiplication algorithm only for
63226         integer exponents with absolute value below 1024.  Check for odd
63227         integer exponents when using algorithm for real exponents.
63228         * math/libm-test.inc (pow_test): Add more tests.
63229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63231 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63233         [BZ #13705]
63234         * math/libm-test.inc (exp_test): Do not allow overflow exception
63235         on underflow test.
63237 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63239         [BZ #13705]
63240         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63241         instead of __kernel_standard_f.
63243 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63245         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63246         * sysdeps/x86_64/memset_chk.S: Likewise.
63248 2012-04-08  Andreas Jaeger  <aj@suse.de>
63250         [BZ #10153]
63251         * manual/startup.texi (Environment Access): Describe return value
63252         for putenv and setenv.
63254         [BZ #6895]
63255         * manual/filesys.texi (Directory Entries): Add description for
63256         DT_LNK.
63258         [BZ #6890]
63259         * manual/filesys.texi (Directory Entries): Clarify that it's file
63260         system not operating system in the description of DT_UNKNOWN.
63262         [BZ #6578]
63263         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63265 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63267         [BZ #6649]
63268         * manual/llio.texi (Opening and Closing Files): Add cross
63269         reference to explain mode argument.
63271 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63273         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63274         * sysdeps/x86_64/memset_chk.S: Likewise.
63276 2012-04-07  David S. Miller  <davem@davemloft.net>
63278         * elf/elf.h (R_SPARC_WDISP10): Define.
63279         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63280         R_SPARC_SIZE32.
63281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63282         R_SPARC_SIZE64 and R_SPARC_H34.
63284 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63286         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63287         conditions and remove no longer applicable assertion.
63289 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63291         * bits/byteswap.h: Include <features.h>.
63292         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63293         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63295 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63297         * bits/byteswap.h (__bswap_16): Removed.
63298         Include <bits/byteswap-16.h> to get __bswap_16.
63299         * sysdeps/i386/bits/byteswap.h: Likewise.
63300         * sysdeps/s390/bits/byteswap.h: Likewise.
63301         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63302         * bits/byteswap-16.h: New file.
63303         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63304         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63305         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63306         * string/Makefile (headers): Add bits/byteswap-16.h.
63308 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63310         [BZ #13895]
63311         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63312         extra indirection.
63313         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63314         * nss/tst-nss-static.c: New.
63316 2012-04-06  Robert Millan  <rmh@gnu.org>
63318         [BZ #6486]
63319         * manual/llio.texi (File Position Primitive): lseek
63320         refers to WHENCE when it really means OFFSET.
63322 2012-04-06  Andreas Jaeger  <aj@suse.de>
63324         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63325         strncmp declarations.
63327         * abilist/libc.abilist: Add __poll and __ppoll.
63329 2012-04-05  David S. Miller  <davem@davemloft.net>
63331         * scripts/check-local-headers.sh: Accept a host triplet in the
63332         path matched by the exclude regexp.
63334         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63335         definition.
63336         * sysdeps/powerpc/powerpc32/dl-machine.h
63337         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63338         * sysdeps/s390/s390-32/dl-machine.h
63339         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63340         * sysdeps/sparc/sparc32/dl-machine.h
63341         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63342         * sysdeps/sparc/sparc64/dl-machine.h
63343         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63345         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63346         lazy binding.
63347         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63348         undefined symbol errors.
63350         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63351         DT_NEEDED entries.
63353 2012-04-05  Michael Matz  <matz@suse.de>
63355         [BZ #13592]
63356         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63358 2012-04-05  Andreas Jaeger  <aj@suse.de>
63360         [BZ #13908]
63361         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63362         comment.
63364 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63366         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63367         which ROUND is no valid rounding mode.
63369 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63371         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63372         read again.
63373         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63375 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63377         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63378         an exception using FPU order intentionally.
63380 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63382         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63383         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63384         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63385         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63387 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63389         [BZ #12340]
63390         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63391         EINVAL when BUFLEN is too smal.
63393 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63395         [BZ #13553]
63396         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63397         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63399 2012-04-03  Andreas Jaeger  <aj@suse.de>
63401         [BZ #13938]
63402         * manual/setjmp.texi (System V contexts): Fix sentence.
63404         [BZ #13926]
63405         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63406         New macro for this case.
63407         [!__GNUC__] (__bswap_64): New inline function for this case.
63408         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63409         * bits/byteswap.h: Likewise.
63410         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63411         ull, guard with __GLIBC_HAVE_LONG_LONG.
63413         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63414         __GLIBC_HAVE_LONG_LONG.
63416         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63417         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63419 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63421         [BZ #13691]
63422         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63423         inptr and inend, rather than using last_ch.
63425 2012-04-02  David S. Miller  <davem@davemloft.net>
63427         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63428         * stdio-common/printf-parse.h (read_int): Change return type to
63429         'int', return -1 on INT_MAX overflow.
63430         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63431         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63432         overflows INT_MAX.  Check for overflow of in-format-string precision
63433         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63434         SIZE_MAX not INT_MAX for integer overflow test.
63435         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63436         skip the construct in the format string but do not record anything.
63437         * stdio-common/bug22.c: Adjust to test both width/prevision
63438         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63439         explicitly for proper errno values.
63441 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63443         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63444         CHAR_MAX.
63445         * string/test-strcmp.c [! WIDE]: Likewise.
63446         * time/tst-mktime2.c: Likewise for INT_MAX.
63447         * string/test-string.h: #include <sys/param.h> for MIN.
63449         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63450         * sysdeps/i386/init-first.c (init): Likewise.
63451         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63452         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63453         * sysdeps/sh/init-first.c (init): Likewise.
63455 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63457         * po/ru.po: Update from translation team.
63458         * po/vi.po: Likewise.
63460 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63462         * resolv/nss_dns/dns-host.c: Merge copyright years.
63464 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63466         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63467         Optimize memcpy with prefetch if
63468         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63469         src, dst pointers have unequal 16 byte alignments.
63471 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63473         [BZ #13928]
63474         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63475         from a CNAME entry and return the minimum ttl for the query.
63476         (gaih_getanswer_slice): Likewise.
63478 2012-03-30  Jeff Law  <law@redhat.com>
63480         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63481         due to long keys.
63482         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63483         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63485         * resolv/nss_dns/dns-host.c: Update copyright year.
63487 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63489         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63490         requests to save a system call.  Fix check that all bytes are sent.
63492         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63493         comments for sendmmsg.
63495 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63497         [BZ #13691]
63498         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63499         with only 1 character between 0x0041 and 0x01b0.
63500         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63501         * wcsmbs/tst-mbsnrtowcs.c: New file.
63503 2012-03-29  David S. Miller  <davem@davemloft.net>
63505         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63506         small copies by hand.
63508 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63510         [BZ #13761]
63511         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63512         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63513         group memberships.
63515 2012-03-28  David S. Miller  <davem@davemloft.net>
63517         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63518         that branches into memcpy.
63519         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63522         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63523         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63524         bits.
63525         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63526         implementation too.
63527         * sysdeps/sparc/mempcpy.S: New file.
63529         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63530         the IFUNC routine in the libc case.
63531         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63533         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63534         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63535         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63536         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63537         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63538         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63539         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63540         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63542         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63543         loop to 256 bytes instead of 64 bytes and fix test signedness.
63545         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63546         * sysdeps/sparc/sparc32/Makefile: rather than here...
63547         * sysdeps/sparc/sparc64/Makefile: and here.
63549 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63551         * malloc/mallocbug.c: Avoid warnings about unused variables.
63553 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63555         [BZ #13760]
63556         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63557         in the right place. Discard and retry query if response is
63558         larger than input buffer size.
63560 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63562         [BZ #369]
63563         [BZ #2678]
63564         [BZ #3866]
63565         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63566         x for large integer exponent.
63567         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63568         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63569         sign of result as needed afterwards.
63570         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63571         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63572         result for underflowing pow the same as for overflow.
63573         (__kernel_standard_l): Handle powl overflow and underflow here
63574         rather than calling __kernel_standard.
63575         * math/libm-test.inc (pow_test): Add more tests.
63577         [BZ #3868]
63578         [BZ #13879]
63579         [BZ #13910]
63580         [BZ #13911]
63581         [BZ #13912]
63582         [BZ #13913]
63583         [BZ #13915]
63584         [BZ #13916]
63585         [BZ #13917]
63586         [BZ #13918]
63587         [BZ #13919]
63588         [BZ #13920]
63589         [BZ #13921]
63590         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63591         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63592         (__kernel_standard_l): New function.
63593         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63594         __kernel_standard.
63595         * math/w_acosl.c (__acosl): Likewise.
63596         * math/w_asinl.c (__asinl): Likewise.
63597         * math/w_atan2l.c (__atan2l): Likewise.
63598         * math/w_atanhl.c (__atanhl): Likewise.
63599         * math/w_coshl.c (__coshl): Likewise.
63600         * math/w_exp10l.c (__exp10l): Likewise.
63601         * math/w_exp2l.c (__exp2l): Likewise.
63602         * math/w_fmodl.c (__fmodl): Likewise.
63603         * math/w_hypotl.c (__hypotl): Likewise.
63604         * math/w_j0l.c (__j0l, __y0l): Likewise.
63605         * math/w_j1l.c (__j1l, __y1l): Likewise.
63606         * math/w_jnl.c (__jnl, __ynl): Likewise.
63607         * math/w_lgammal.c (__lgammal): Likewise.
63608         * math/w_log10l.c (__log10l): Likewise.
63609         * math/w_log2l.c (__log2l): Likewise.
63610         * math/w_logl.c (__logl): Likewise.
63611         * math/w_powl.c (__powl): Likewise.
63612         * math/w_remainderl.c (__remainderl): Likewise.
63613         * math/w_scalbl.c (sysv_scalbl): Likewise.
63614         * math/w_sinhl.c (__sinhl): Likewise.
63615         * math/w_sqrtl.c (__sqrtl): Likewise.
63616         * math/w_tgammal.c (__tgammal): Likewise.
63617         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63618         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63619         * math/libm-test.inc (acos_test): Add more tests.
63620         (acosh_test): Likewise.
63621         (asin_test): Likewise.
63622         (atanh_test): Likewise.
63623         (exp_test): Likewise.
63624         (exp10_test): Likewise.
63625         (exp2_test): Likewise.
63626         (expm1_test): Likewise.
63627         (lgamma_test): Likewise.
63628         (log_test): Likewise.
63629         (log10_test): Likewise.
63630         (log1p_test): Likewise.
63631         (log2_test): Likewise.
63632         (pow_test): Do not allow some spurious overflow exceptions.
63633         (sqrt_test): Add more tests.
63634         (tgamma_test): Likewise.
63635         (y0_test): Likewise.
63636         (y1_test): Likewise.
63637         (yn_test): Likewise.
63639 2012-03-27  Anton Blanchard  <anton@samba.org>
63641         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63642         MAP_HUGETLB.
63643         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63644         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63645         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63647 2012-03-27  David S. Miller  <davem@davemloft.net>
63649         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63651         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63652         have-as-vis3 check.
63654 2012-03-27  Andreas Jaeger  <aj@suse.de>
63656         * sysdeps/x86_64/elf/configure.in: Moved to ...
63657         * sysdeps/x86_64/configure.in: ... here.
63658         * sysdeps/x86_64/elf/start.S: Moved to ...
63659         * sysdeps/x86_64/start.S: ... here.
63660         * sysdeps/x86_64/elf/configure: Delete.
63662         * sysdeps/x86_64/configure.in: Merge contents from
63663         sysdeps/i386/configure.in (without i686 check).
63665         * sysdeps/i386/elf/Versions: Merge into ...
63666         * sysdeps/i386/Versions: ... this.
63667         * sysdeps/i386/elf/Versions: Delete file.
63668         * sysdeps/i386/elf/start.S: Moved to ...
63669         * sysdeps/i386/start.S: ...here.
63670         * sysdeps/i386/elf/configure.in: Merge into...
63671         * sysdeps/i386/configure.in: ...here.
63672         * sysdeps/i386/elf/configure.in: Delete file.
63673         * sysdeps/i386/elf/configure: Delete file.
63675         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63676         * debug/backtracesyms.c: ... here.
63677         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63678         * debug/backtracesymsfd.c: ... here.
63679         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63680         * sysdeps/generic/ifunc-sel.h: ... here.
63682         * sysdeps/unix/i386/start.c: Delete file.
63683         * sysdeps/unix/sparc/start.c: Delete file.
63684         * sysdeps/unix/start.c: Delete file.
63686         * sysdeps/sh/elf/configure.in: Moved to ...
63687         * sysdeps/sh/configure.in: ... here.
63688         * sysdeps/sh/elf/start.S: Moved to ...
63689         * sysdeps/sh/start.S: ... here.
63690         * sysdeps/sh/elf/configure: Delete file.
63692         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63693         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63694         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63695         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63696         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63697         * sysdeps/powerpc/powerpc64/start.S: here.
63698         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63699         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63700         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63701         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63702         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63704         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63705         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63706         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63707         * sysdeps/powerpc/powerpc32/start.S: ... here.
63708         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63709         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63710         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63712         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63713         * sysdeps/powerpc/ifunc-sel.h: ... here.
63714         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63715         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63717         * sysdeps/sparc/elf/configure.in: Moved to ...
63718         * sysdeps/sparc/configure.in: ... here.
63719         * sysdeps/sparc/elf/configure: Delete file.
63720         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63721         * sysdeps/sparc/sparc32/start.S: ... here.
63722         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63723         * sysdeps/sparc/sparc64/start.S: ... here.
63724         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63725         * sysdeps/sparc/sparc32/Makefile: ... this.
63726         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63727         * sysdeps/sparc/sparc64/Makefile: ... this.
63729         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63730         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63731         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63732         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63733         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63734         * sysdeps/s390/s390-32/setjmp.S: ... here.
63735         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63736         * sysdeps/s390/s390-32/configure.in: ... here.
63737         * sysdeps/s390/s390-32/elf/configure: Delete file.
63738         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63739         * sysdeps/s390/s390-32/start.S: ... here.
63741         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63742         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63743         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63744         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63745         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63746         * sysdeps/s390/s390-64/setjmp.S: ... here.
63747         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63748         * sysdeps/s390/s390-64/configure.in: ... here
63749         * sysdeps/s390/s390-64/elf/configure: Delete file.
63750         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63751         * sysdeps/s390/s390-64/start.S: ... here.
63752         * sysdeps/s390/s390-64/elf/configure: Delete.
63754         * configure.in: Remove support for elf directories in sysdeps.
63756         * configure: Regenerated.
63757         * sysdeps/i386/configure: Regenerated.
63758         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63759         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63760         * sysdeps/s390/s390-32/configure: Regenerated.
63761         * sysdeps/s390/s390-64/configure: Regenerated.
63762         * sysdeps/sh/configure: Regenerated.
63763         * sysdeps/sparc/configure: Regenerated.
63764         * sysdeps/x86_64/configure: Regenerated.
63766 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
63768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63770         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63771         denormal result into account.
63773 2012-03-25  Roland McGrath  <roland@hack.frob.com>
63775         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63776         Reported by Allan McRae <allan@archlinux.org>.
63778 2012-03-23  Jeff Law  <law@redhat.com>
63780         * nss/getnssent.c (__nss_getent): Fix typo.
63782 2012-03-23  David S. Miller  <davem@davemloft.net>
63784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63786 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63788         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63789         to pad to uint64_t for each field.
63790         (dl_tls_index): Replace unsigned long with uint64_t.
63792 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63793         Paul Pluzhnikov  <ppluzhnikov@google.com>
63795         [BZ #6528]
63796         * grp/Makefile (otherlibs): Don't set it.
63797         * inet/Makefile (otherlibs): Likewise.
63798         * login/Makefile (otherlibs): Likewise.
63799         * nscd/Makefile (otherlibs): Likewise.
63800         * posix/Makefile (otherlibs): Likewise.
63801         * pwd/Makefile (otherlibs): Likewise.
63802         * rt/Makefile (otherlibs): Likewise.
63803         * sunrpc/Makefile (otherlibs): Likewise.
63804         * nss/Makefile (otherlibs): Likewise.
63805         Add libnss_files to routines and static-only-routines.
63806         ($(objpfx)getent): Remove rule.
63807         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63808         static-only-routines.
63810 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63812         [BZ #13892]
63813         * math/s_cexp.c: Include <float.h>.
63814         (__cexp): Handle exp result overflowing not necessarily
63815         overflowing both real and imaginary parts of result.
63816         * math/s_cexpf.c: Likewise.
63817         * math/s_cexpl.c: Likewise.
63818         * math/libm-test.inc (cexp_test): Add more tests.
63819         * sysdeps/i386/fpu/libm-test-ulps: Update.
63820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63822 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63824         * include/link.h (ELFW): New macro.
63825         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63826         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63828 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63830         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63831         with uint64_t.
63833 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63835         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63836         declaration.
63837         (struct La_x32_retval): Likewise.
63839 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63841         * sysdeps/x86_64/preconfigure.in: New file.
63842         * sysdeps/x86_64/preconfigure: New generated file.
63844 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63846         [BZ #13824]
63847         * math/e_exp2l.c: Include <float.h>.
63848         (__ieee754_exp2l): Handle overflow and underflow cases
63849         separately.  Only pass fractional part of argument to
63850         __ieee754_expl.
63851         * math/libm-test.inc (exp2_test): Add more tests.
63853         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63854         negating x to take absolute value.
63855         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63856         Likewise.
63857         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63858         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63859         Likewise.
63860         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63861         computing low part if x was negated.
63862         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63864 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63866         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63867         la_x32_gnu_pltexit.
63868         (pltexit): Cast int_retval to ptrdiff_t.
63869         * elf/tst-auditmod3b.c: Likewise.
63870         * elf/tst-auditmod4b.c: Likewise.
63871         * elf/tst-auditmod5b.c: Likewise.
63872         * elf/tst-auditmod6b.c: Likewise.
63873         * elf/tst-auditmod6c.c: Likewise.
63874         * elf/tst-auditmod7b.c: Likewise.
63876         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63877         and x32_gnu_pltexit.
63879         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63880         __ELF_NATIVE_CLASS.
63881         (La_x32_regs): New macro.
63882         (La_x32_retval): Likewise.
63883         (la_x32_gnu_pltenter): New function prototype.
63884         (la_x32_gnu_pltexit): Likewise.
63886 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63889         exponent.
63891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63893         * configure.in (libc_cv_cc_nofma): Check for option to disable
63894         generation of FMA instructions.
63895         * configure: Regenerate.
63896         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63897         * sysdeps/ieee754/dbl-64/Makefile: New file.
63898         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63899         Remove brandred-fma4.
63900         (CFLAGS-brandred-fma4.c): Remove.
63901         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63902         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63903         define.
63904         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63905         define.
63907 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63909         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63910         LLONG_MAX != LONG_MAX.
63911         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63912         (_fitoa_word): Likewise.
63913         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63914         LLONG_MAX != LONG_MAX.
63915         * stdio-common/_itowa.h: Include <_itoa.h>.
63916         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63917         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63918         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63919         only if not defined.
63920         (_ITOA_WORD_TYPE): Likewise.
63921         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63922         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63924 2012-03-21  David S. Miller  <davem@davemloft.net>
63926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63928 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63930         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63931         of x86_64 when setting libc_cv_slibdir, libdir and
63932         libc_cv_localedir.
63933         * sysdeps/unix/sysv/linux/configure: Regenerated.
63935 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63937         * manual/lang.texi (Old Varargs): Remove section.
63938         (How Variadic): Update menu.
63939         (va_start): Do not mention varargs.h.
63941 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63942             Joseph Myers  <joseph@codesourcery.com>
63944         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63945         link test.
63946         * configure: Regenerated.
63948 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63950         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63951         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63952         conformtest.pl
63954 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63956         * NOTES: Remove.
63957         * Makefile (files-for-dist): Remove NOTES.
63958         (NOTES): Remove rule.
63959         * README: Don't refer to NOTES.
63960         * manual/creature.texi: Don't include macros.texi.
63961         * manual/intro.texi (creature.texi): Remove comment referring to
63962         NOTES.
63964         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63965         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63966         * configure: Regenerated.
63967         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63968         LIBC_TRY_CC_OPTION.
63969         (libc_cv_as_i686): Likewise.
63970         (libc_cv_cc_avx): Likewise.
63971         (libc_cv_cc_sse2avx): Likewise.
63972         (libc_cv_cc_fma4): Likewise.
63973         (libc_cv_cc_novzeroupper): Likewise.
63974         * sysdeps/i386/configure: Regenerated.
63976         [BZ #13883]
63977         * sysdeps/i386/fpu/s_cexp.S: Remove.
63978         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63979         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63980         * math/libm-test.inc (cexp_test): Add more tests.
63981         * sysdeps/i386/fpu/libm-test-ulps: Update.
63982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63984 2012-03-21  Allan McRae  <allan@archlinux.org>
63986         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63988 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63990         [BZ #13871]
63991         * math/w_exp2.c: Do not include <float.h>.
63992         (o_threshold, u_threshold): Remove.
63993         (__exp2): Calculate result before checking finiteness and calling
63994         __kernel_standard.
63995         * math/w_exp2f.c: Likewise.
63996         * math/w_exp2l.c: Likewise.
63997         * math/libm-test.inc (exp2_test): Require overflow exception for
63998         1e6 input.
64000         [BZ #3866]
64001         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64002         range of signed 64-bit integers before using fistpll.  Remove
64003         checks for whether integers fit in mantissa bits.
64004         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64005         the range of signed 32-bit integers before using fistpl.  Remove
64006         checks for whether integers fit in mantissa bits.
64007         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64008         (__ieee754_powl): Test for y outside the range of signed 64-bit
64009         integers before using fistpll.  Reduce 64-bit values to 63-bit
64010         ones as needed.
64011         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64012         divide-by-zero is raised for zero to large negative powers.
64013         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64014         (__ieee754_powl): Test for y outside the range of signed 64-bit
64015         integers before using fistpll.  Reduce 64-bit values to 63-bit
64016         ones as needed.
64017         * math/libm-test.inc (pow_test): Add more tests.
64019 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64021         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64022         <stdio-common/_itoa.h>.
64023         * debug/segfault.c: Likewise.
64024         * elf/dl-cache.c: Likewise.
64025         * elf/dl-minimal.c: Likewise.
64026         * elf/dl-misc.c: Likewise.
64027         * elf/dl-sysdep.c: Likewise.
64028         * elf/dl-version.c: Likewise.
64029         * elf/rtld.c: Likewise.
64030         * hurd/hurdsock.c: Likewise.
64031         * hurd/lookup-retry.c: Likewise.
64032         * malloc/malloc.c: Likewise.
64033         * malloc/mtrace.c: Likewise.
64034         * nscd/nscd_getgr_r.c: Likewise.
64035         * nscd/nscd_getpw_r.c: Likewise.
64036         * nscd/nscd_getserv_r.c: Likewise.
64037         * posix/getopt_init.c: Likewise.
64038         * posix/wordexp.c: Likewise.
64039         * stdio-common/_itoa.c: Likewise.
64040         * stdio-common/printf_fphex.c: Likewise.
64041         * stdio-common/vfprintf.c: Likewise.
64042         * string/_strerror.c: Likewise.
64043         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64044         * sysdeps/i386/i686/hp-timing.h: Likewise.
64045         * sysdeps/mach/_strerror.c: Likewise.
64046         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64047         * sysdeps/mach/hurd/sethostid.c: Likewise.
64048         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64049         * sysdeps/mach/xpg-strerror.c: Likewise.
64050         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64051         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64052         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64053         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64054         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64055         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64057         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64058         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64059         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64060         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64061         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64062         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64063         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64064         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64065         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64066         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64067         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64068         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64069         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64070         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64072         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64074         * stdio-common/_itoa.h: Moved to ...
64075         * sysdeps/generic/_itoa.h: Here.
64077         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64079         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64080         instead of "_itoa.h" and "_itowa.h".
64081         * stdio-common/vfprintf.: Likewise.
64083 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64085         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64086         <bits/wordsize.h>.
64087         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64088         (__signbit): Likwise.
64089         (llrintf): Likwise.
64090         (llrint): Likwise.
64092 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64094         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64095         __WORDSIZE != 64.
64097 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64099         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64100         OVERFLOW_EXCEPTION_OK.
64101         * math/libm-test.inc ("Philosophy"): Update comment about
64102         exception testing.
64103         (OVERFLOW_EXCEPTION): Define.
64104         (OVERFLOW_EXCEPTION_OK): Likewise.
64105         (INVALID_EXCEPTION_OK): Renumber.
64106         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64107         (IGNORE_ZERO_INF_SIGN): Likewise.
64108         (test_exceptions): Handle FE_OVERFLOW.
64109         (exp10_test): Expect overflow exceptions.
64110         (exp2_test): Likewise.
64111         (expm1_test): Likewise.
64112         (nextafter_test): Likewise.
64113         (pow_test): Likewise.
64114         (scalbn_test): Likewise.
64115         (scalbln_test): Likewise.
64117 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64119         * sysdeps/x86_64/bits/atomic.h
64120         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64121         64bit integer.
64122         (atomic_exchange_acq): Likewise.
64123         (__arch_exchange_and_add_body): Likewise.
64124         (__arch_add_body): Likewise.
64125         (atomic_add_negative): Likewise.
64126         (atomic_add_zero): Likewise.
64128 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64130         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64131         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64135         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64136         Check __x86_64__ instead of __WORDSIZE.
64138 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64140         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64142 2012-03-19  David S. Miller  <davem@davemloft.net>
64144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64146         * sysdeps/sparc/fpu/fenv_private.h: New file.
64147         * sysdeps/sparc/fpu/math_private.h: Use it.
64148         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64149         Remove.
64150         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64151         (libc_feholdexcept_setroundl): Remove.
64152         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64153         Remove.
64154         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64155         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64157 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64159         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64160         int64_t instead of long int.
64161         (INSERT_WORDS64): Likwise.
64163 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64165         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64166         _Unwind_GetCFA return to _Unwind_Ptr first.
64168 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64170         [BZ #13629]
64171         * math/s_clog.c: Include <float.h>.
64172         (__clog): Scale large or subnormal inputs.
64173         * math/s_clogf.c: Likewise.
64174         * math/s_clogl.c: Likewise.
64175         * math/s_clog10.c: Include <float.h>.
64176         (M_LOG10_2): Define.
64177         (__clog10): Scale large or subnormal inputs.
64178         * math/s_clog10f.c: Likewise.
64179         * math/s_clog10l.c: Likewise.
64180         * math/libm-test.inc (clog_test): Add more tests.
64181         (clog10_test): Likewise.
64182         * sysdeps/i386/fpu/libm-test-ulps: Update.
64183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64185         [BZ #11451]
64186         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64187         x and y.
64188         * math/libm-test.inc (atan2_test): Add another test.
64190         * Makerules (common-objdir-compile): Remove.
64191         * sysdeps/unix/Makefile (config-generated): Do not add
64192         $(unix-generated) to variable.
64193         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64194         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64195         Remove rule.
64196         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64197         Likewise.
64198         [generic bits/local_lim.h] (before-compile): Do not append to
64199         variable.
64200         [generic bits/local_lim.h] (common-generated): Likewise.
64201         [generic sys/param.h] (before-compile): Do not append to variable.
64202         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64203         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64204         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64205         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64206         include.
64207         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64208         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64209         [generic sys/param.h] ($(addprefix
64210         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64211         [generic sys/param.h] (common-generated): Do not append to
64212         variable.
64213         [generic sys/param.h] (sysdep_headers): Likewise.
64214         [generic bits/errno.h] (before-compile): Do not append to
64215         variable.
64216         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64217         rule.
64218         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64219         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64220         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64221         [generic bits/errno.h] (common-generated): Do not append to
64222         variable.
64223         [generic bits/ioctls.h] (before-compile): Do not append to
64224         variable.
64225         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64226         rule.
64227         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64228         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64229         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64230         rule.
64231         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64232         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64233         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64234         [generic bits/ioctls.h] (common-generated): Do not append to
64235         variable.
64236         [generic sys/syscall.h] (syscall.h): Remove variable.
64237         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64238         rule.
64239         [generic sys/syscall.h] (before-compile): Do not append to
64240         variable.
64241         [generic sys/syscall.h] (common-generated): Likewise.
64242         * sysdeps/unix/errnos-tmpl.c: Remove file.
64243         * sysdeps/unix/errnos.awk: Likewise.
64244         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64245         * sysdeps/unix/ioctls.awk: Likewise.
64246         * sysdeps/unix/mk-local_lim.c: Likewise.
64247         * sysdeps/unix/snarf-ioctls: Likewise.
64249 2012-03-19  Richard Henderson  <rth@twiddle.net>
64251         * sysdeps/i386/fpu/fenv_private.h: New file.
64252         * sysdeps/i386/fpu/math_private.h: Use it.
64253         (math_opt_barrier, math_force_eval): Remove.
64254         (libc_feholdexcept_setround_53bit): Remove.
64255         (libc_feupdateenv_53bit): Remove.
64256         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64257         (math_opt_barrier, math_force_eval): Remove.
64258         (libc_feholdexcept): Remove.
64259         (libc_feholdexcept_setround): Remove.
64260         (libc_fetestexcept, libc_fesetenv): Remove.
64261         (libc_feupdateenv_test): Remove.
64262         (libc_feupdateenv, libc_feholdsetround): Remove.
64263         (libc_feresetround): Remove.
64265         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64266         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64268         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64269         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64270         (libc_feupdateenv_testl): New.
64271         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64272         (libc_feupdateenv_testf): New.
64273         (libc_feupdateenv): Use libc_feupdateenv_test.
64274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64275         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64277         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64278         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64279         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64280         (libc_feresetround_noex): New.
64281         (libc_feresetround_noexf): New.
64282         (libc_feresetround_noexl): New.
64283         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64284         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64285         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64286         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64287         SET_RESTORE_ROUND.
64288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64290         (__cos): Likewise.
64291         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64293         SET_RESTORE_ROUND_NOEX.
64294         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64295         SET_RESTORE_ROUND_NOEXF.
64296         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64297         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64298         (libc_feholdsetroundf): New.
64299         (libc_feresetround, libc_feresetroundf): New.
64301         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64302         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64303         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64305         * sysdeps/generic/math_private.h: Include <fenv.h>.
64306         (default_libc_feholdexcept): New.
64307         (default_libc_feholdexcept_setround): New.
64308         (default_libc_fesetenv, default_libc_feupdateenv): New.
64309         (libc_feholdexcept): Only define if undefined.
64310         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64311         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64312         (libc_feholdexcept_setroundl): Likewise.
64313         (libc_feholdexcept_setround_53bit): Likewise.
64314         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64315         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64316         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64317         (libc_feupdateenv_53bit): Likewise.
64318         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64319         (libc_feholdexcept): Convert from macro to inline function.
64320         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64321         (libc_fesetenv, libc_feupdateenv): Likewise.
64323         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64324         not previously defined.
64325         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64326         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64327         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64328         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64329         * sysdeps/ieee754/flt-32/math_private.h: New file.
64330         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64331         math_private.h below SET_FLOAT_WORD.
64332         (__isnan, __isinf_ns, __finite): Remove.
64333         (__isnanf, __isinf_nsf, __finitef): Remove.
64335 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64339 2012-03-17  David S. Miller  <davem@davemloft.net>
64341         [BZ #6471]
64342         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64343         for 2.16.
64345 2012-03-16  David S. Miller  <davem@davemloft.net>
64347         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64348         warnings.
64350         [BZ #6471]
64351         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64352         properly.
64353         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64354         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64355         sysdep_routines when subdir is sysvipc.
64356         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64357         __getshmlba helper.
64359         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64361 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64363         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64364         [__LP64__].
64366 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64368         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64369         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64370         (__lround): Renamed to ...
64371         (__llround): This.  Replace long int with long long int.
64372         Define lround functions as aliases of llround functions.
64373         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64375 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64377         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64378         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64379         adresses to uintptr_t.  Replace "long int" and "unsigned long
64380         int" with "greg_t" on va_arg.
64382 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64384         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64385         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64387         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64388         Move e_machine check before EI_CLASS check.  Handle x32
64389         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64390         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64391         SKIP_EM_IA_64 and include
64392         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64394         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64395         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64396         (add_system_dir): New macro.
64398         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64399         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64401 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64403         [BZ #2551]
64404         [BZ #2552]
64405         [BZ #2553]
64406         [BZ #2554]
64407         [BZ #2562]
64408         [BZ #2563]
64409         [BZ #2565]
64410         [BZ #2566]
64411         [BZ #2576]
64412         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64413         (y0): Likewise.
64414         * math/w_j0f.c (j0f): Likewise.
64415         (y0f): Likewise.
64416         * math/w_j0l.c (__j0l): Likewise.
64417         (__y0l): Likewise.
64418         * math/w_j1.c (j1): Likewise.
64419         (y1): Likewise.
64420         * math/w_j1f.c (j1f): Likewise.
64421         (y1f): Likewise.
64422         * math/w_j1l.c (__j1l): Likewise.
64423         (__y1l): Likewise.
64424         * math/w_jn.c (jn): Likewise.
64425         (yn): Likewise.
64426         * math/w_jnf.c (jnf): Likewise.
64427         (ynf): Likewise.
64428         * math/w_jnl.c (__jnl): Likewise.
64429         (__ynl): Likewise.
64430         * math/libm-test.inc (j0_test): Add more tests.
64431         (j1_test): Likewise.
64432         (jn_test): Likewise.  Add trailing semicolon to existing test.
64433         (y0_test): Likewise.
64434         (y1_test): Likewise.
64435         * sysdeps/i386/fpu/libm-test-ulps: Update.
64436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64438         [BZ #13851]
64439         [BZ #13854]
64440         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64441         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64442         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64443         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64444         (__tanl): Set errno for infinite argument.
64445         * sysdeps/i386/fpu/mptan.c: Remove.
64446         * sysdeps/i386/fpu/s_tan.S: Likewise.
64447         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64448         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64449         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64450         * math/libm-test.inc (tan_test): Add more tests and enable more
64451         tests for double and long double.
64452         * sysdeps/i386/fpu/libm-test-ulps: Update.
64453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64455 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64457         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64458         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64460 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64462         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64463         * configure.in: Use it for both main tree and add-ons.
64464         * configure: Regenerated.
64466 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64468         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64470 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64472         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64473         in comment.
64475         [BZ #13851]
64476         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64477         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64478         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64479         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64480         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64481         infinite argument.
64482         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64484         != 0 for prec == 2.
64485         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64486         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64487         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64488         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64489         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64490         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64491         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64492         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64493         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64494         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64495         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64496         * math/libm-test.inc (cos_test): Add more tests and enable more
64497         tests for long double.
64498         (sin_test): Likewise.
64499         (sincos_test): Likewise.
64500         * sysdeps/i386/fpu/libm-test-ulps: Update.
64501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64503 2012-03-16  David S. Miller  <davem@davemloft.net>
64505         * sysdeps/sparc/fpu/math_private.h: New file.
64507 2012-03-15  David S. Miller  <davem@davemloft.net>
64509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64510         file.
64511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64513         file.
64514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64519         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64520         sysdep routines.
64521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64523         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64524         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64526         * sysdeps/sparc/sparc-ifunc.h: New file.
64527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64528         sparc-ifunc.h
64529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64531         Likewise.
64532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64533         Likewise.
64534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64538         Likewise.
64539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64544         Likewise.
64545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64546         Likewise.
64547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64570         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64572 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64574         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64575         scaling.
64576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64578 2012-03-15  Andreas Jaeger  <aj@suse.de>
64580         [BZ #13852]
64581         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64582         ieee754/flt-32 implementation for sin, cos and sincos.
64583         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64584         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64585         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64586         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64587         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64588         ieee754/flt-32 implementation for tan.
64590         * math/libm-test.inc (cos_test): Enable some large input tests for
64591         float as well
64592         (sin_test): Likewise.
64593         (sincos_test): Likewise.
64594         (tan_test): Add tests for large input.
64596         * sysdeps/i386/fpu/libm-test-ulps: Update.
64598 2012-03-15  Andreas Jaeger  <aj@suse.de>
64600         [BZ #13658]
64601         * math/libm-test.inc (cos_test): Add more test cases.
64602         (sin_test): Likewise.
64603         (sincos_test): Likewise.
64605 2012-03-15  Andreas Jaeger  <aj@suse.de>
64607         [BZ #13837]
64608         * math/libm-test.inc (cos_test): Add a test case for large input
64609         value.
64610         (sin_test): Likewise.
64611         (sincos_test): Likewise.
64613 2012-03-15  Andreas Jaeger  <aj@suse.de>
64614             Joseph Myers  <joseph@codesourcery.com>
64616         [BZ #13658]
64617         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64618         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64619         * sysdeps/i386/fpu/branred.c: Likewise.
64620         * sysdeps/i386/fpu/dosincos.c: Likewise.
64621         * sysdeps/i386/fpu/mpa.c: Likewise.
64622         * sysdeps/i386/fpu/s_cos.S: Likewise.
64623         * sysdeps/i386/fpu/s_sin.S: Likewise.
64624         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64625         * sysdeps/i386/fpu/sincos32.c: Likewise.
64627         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64628         Define.
64629         (libc_feupdateenv_53bit): Define.
64630         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64631         Define.
64632         (libc_feupdateenv_53bit): Define.
64634         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64635         53 bit (without extend i386 double precision).
64637         * math/libm-test.inc (sincos_test): Add tests for large input.
64638         (sin): Likewise.
64639         (cos): Likewise.
64641         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64643 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64647 2012-03-15  David S. Miller  <davem@davemloft.net>
64649         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64650         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64651         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64652         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64665         file.
64666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64668         file.
64669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64671         file.
64672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64674         file.
64675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64677         fmin/fmax sysdep routines.
64678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64680 2012-03-14  David S. Miller  <davem@davemloft.net>
64682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64703         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64704         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64705         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64706         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64707         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64708         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64709         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64710         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64711         routines.
64712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64713         file.
64714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64716         file.
64717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64719         file.
64720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64722         file.
64723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64725         file.
64726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64728         file.
64729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64730         file.
64731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64732         file.
64733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64734         file.
64735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64736         New file.
64737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64738         file.
64739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64740         file.
64741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64743         file.
64744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64746         file.
64747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64749         file.
64750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64752         VIS3 routines.
64754         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64755         New file.
64757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64759         * sysdeps/sparc/configure.in: New file.
64760         * sysdeps/sparc/configure: Generate.
64761         * configure.in (libc_cv_sparc_as_vis3): Substitute.
64762         * configure: Regenerate.
64763         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64764         * config.make.in (have-as-vis3): New.
64765         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64766         available use -Av9d instead of -Av9a.
64767         * sysdeps/sparc/sparc64/Makefile: Likewise.
64768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64770         New file.
64771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64772         file.
64773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64774         New file.
64775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64776         file.
64777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64778         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64779         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64780         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64783         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64784         fzeros/fnegs to load 0x80000000 into a float register instead of
64785         using the stack.
64786         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64788 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64791         bits/syscall.h.
64792         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64793         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64794         ($(inst_includedir)/bits/syscall.h): Remove rule.
64795         ($(objpfx)bits/syscall.d): Include instead of
64796         $(objpfx)syscall-list.d.
64797         (generated): Change syscall-list.h and syscall-list.d to
64798         bits/syscall.h and bits/syscall.d.
64800 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64802         [BZ #13846]
64803         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64805 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64807         [BZ #13841]
64808         * math/s_csqrt.c: Include <float.h>.
64809         (__csqrt): Scale large or subnormal inputs.
64810         * math/s_csqrtf.c: Likewise.
64811         * math/s_csqrtl.c: Likewise.
64812         * math/libm-test.inc (csqrt_test): Add more tests.
64813         * sysdeps/i386/fpu/libm-test-ulps: Update.
64814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64816         [BZ #13840]
64817         * math/libm-test.inc (hypot_test): Add more tests.
64819 2012-03-13  David S. Miller  <davem@davemloft.net>
64821         [BZ #13840]
64822         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64823         double-precision for the calculation instead of scaling.
64825 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64827         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64828         manipulate bits before adding and subtracting TWO52[sx].
64829         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64830         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64831         Likewise.
64832         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64834 2012-03-13  David S. Miller  <davem@davemloft.net>
64836         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64837         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64839         rtld-global-offsets.h
64840         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64842         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64843         large parameters.
64845         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64847         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64848         'err' in the ifdef scope in which it is actually used.
64850         * nss/nss_db/db-init.c: Include string.h
64852 2012-03-12  David S. Miller  <davem@davemloft.net>
64854         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64855         masking out of the most significant byte of random value used.
64856         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64857         Fix coding style in previous change.
64859         * sysdeps/unix/sysv/linux/kernel-features.h
64860         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64861         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64862         expression.
64863         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64864         later.
64866 2012-03-11  David S. Miller  <davem@davemloft.net>
64868         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64869         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64870         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64871         for 'resultvar' otherwise things get truncated on 64-bit.
64873         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64874         Fix masking out of the most significant byte of random value used.
64876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64878 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64882 2012-03-09  David S. Miller  <davem@davemloft.net>
64884         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64885         variables with appropriate CPP guards.
64886         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64887         from the frame pointer, not the stack pointer.  Correct layout
64888         comments.  Fix test on resulting framesize and the management of
64889         the outregs buffer for pltexit.  Preserve floating point return
64890         values across _dl_call_pltexit call.
64891         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64892         framesize and the management of the outregs buffer for pltexit.
64893         Preserve floating point return values across _dl_call_pltexit
64894         call.
64895         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64896         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64897         (la_sparc64_gnu_pltexit): New functions.
64898         (print_exit): Fix format string for return register value.
64900 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64902         * sunrpc/Makefile (others): Add rpcgen.
64903         ($(objpfx)rpcgen): Remove special build rule and dependency on
64904         libc.
64905         * sunrpc/rpcgen.c: New file.
64907 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64909         [BZ #13673]
64910         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64911         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64912         * sysdeps/i386/crti.S: Likewise.
64913         * sysdeps/i386/crtn.S: Likewise.
64914         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64915         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64916         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64917         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64918         * sysdeps/sh/crti.S: Likewise.
64919         * sysdeps/sh/crtn.S: Likewise.
64920         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64922         [BZ #13673]
64923         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64924         with URL.
64925         * locale/programs/locfile-kw.gperf: Likewise.
64926         * locale/programs/charmap-kw.h: Regenerated.
64927         * locale/programs/locfile-kw.h: Likewise.
64929         [BZ #13673]
64930         * intl/plural.y: Replace FSF snail mail address with URL.
64931         * intl/plural.c: Regenerated.
64933 2012-03-09  Richard Henderson  <rth@twiddle.net>
64935         * include/math_private.h: Remove file.
64936         * math/math_private.h: Move file ...
64937         * sysdeps/generic/math_private.h: ... here.
64939         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64940         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64941         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64943         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64944         and <math_private.h>.
64945         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64946         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64947         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64948         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64949         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64950         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64951         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64952         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64953         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64954         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64956         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64957         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64958         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64959         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64960         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64961         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64962         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64963         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64964         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64966         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64967         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64969         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64970         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64971         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64972         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64975         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64976         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64977         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64978         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64979         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64980         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64981         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64982         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64983         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64984         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64985         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64986         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64987         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64988         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64989         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64990         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64991         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64992         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64993         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64994         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64995         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64996         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64997         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64998         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64999         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65000         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65001         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65002         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65003         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65004         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65006         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65007         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65008         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65009         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65010         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65011         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65012         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65013         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65014         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65015         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65016         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65017         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65018         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65019         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65021         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65022         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65023         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65024         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65025         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65026         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65027         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65028         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65029         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65031         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65032         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65033         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65034         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65035         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65036         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65037         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65038         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65039         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65040         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65041         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65042         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65043         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65044         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65045         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65046         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65047         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65048         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65049         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65050         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65051         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65052         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65053         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65054         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65055         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65056         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65057         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65058         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65059         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65060         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65061         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65062         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65063         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65064         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65065         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65066         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65067         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65068         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65069         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65070         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65071         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65072         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65073         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65074         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65075         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65076         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65077         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65078         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65079         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65080         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65081         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65082         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65083         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65084         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65085         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65086         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65087         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65088         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65089         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65090         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65091         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65092         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65093         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65094         * sysdeps/ieee754/k_standard.c: Likewise.
65095         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65096         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65097         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65098         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65099         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65100         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65101         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65102         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65103         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65105         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65107         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65108         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65109         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65110         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65111         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65112         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65113         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65114         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65115         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65116         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65117         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65118         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65119         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65120         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65121         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65122         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65123         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65124         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65125         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65126         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65127         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65128         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65129         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65130         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65131         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65132         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65133         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65134         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65135         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65136         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65137         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65138         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65139         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65140         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65141         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65142         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65143         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65144         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65145         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65146         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65147         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65148         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65149         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65150         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65151         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65152         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65153         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65154         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65155         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65156         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65157         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65158         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65159         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65161         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65163         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65165         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65167         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65169         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65171         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65172         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65174         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65175         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65177         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65180         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65181         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65182         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65183         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65185         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65186         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65187         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65188         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65190         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65192         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65193         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65194         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65195         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65197         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65198         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65199         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65200         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65201         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65202         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65203         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65204         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65206         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65207         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65208         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65209         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65210         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65211         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65212         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65213         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65214         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65215         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65216         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65217         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65218         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65219         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65220         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65221         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65222         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65223         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65224         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65225         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65226         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65227         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65228         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65229         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65230         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65231         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65232         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65233         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65234         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65235         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65236         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65237         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65238         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65239         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65240         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65241         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65242         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65243         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65244         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65245         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65246         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65247         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65248         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65249         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65250         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65251         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65252         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65253         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65254         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65255         * sysdeps/ieee754/s_lib_version.c: Likewise.
65256         * sysdeps/ieee754/s_matherr.c: Likewise.
65257         * sysdeps/ieee754/s_signgam.c: Likewise.
65258         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65259         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65260         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65261         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65262         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65263         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65264         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65265         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65266         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65267         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65268         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65269         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65270         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65271         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65272         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65273         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65274         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65275         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65276         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65277         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65278         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65280 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65282         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65283         * sunrpc/rpc_main.c: Likewise.
65284         * sunrpc/rpc_svcout.c: Likewise.
65286 2012-03-09  David S. Miller  <davem@davemloft.net>
65288         * include/math_private.h: New file.
65290 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65292         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65293         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65294         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65295         from <bits/socket_type.h>.
65296         (enum __socket_type): Don't define here.
65297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65299         bits/socket_type.h.
65301         [BZ #13566]
65302         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65303         checking __USE_GNU.
65305         * Makerules ($(inst_includedir)/%.h): New rule.
65306         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65307         (install-others): Remove variable setting.
65308         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65310 2012-03-08  Richard Henderson  <rth@twiddle.net>
65312         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65313         from macro to inline function; merge with the
65314         !__LIBC_INTERNAL_MATH_INLINES version.
65315         (__ieee754_sqrtf): Likewise.
65317         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65318         to inline function.
65319         (__rintf, __floor, __floorf): Likewise.
65321         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65322         macro to inline function.
65323         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65325         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65326         not <math/math_private.h>.
65328 2012-03-08  David S. Miller  <davem@davemloft.net>
65330         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65331         copyright year.
65332         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65334 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65336         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65337         normalization.
65338         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65339         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65341 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65343         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65344         be defined individually, they must be defined as a block.  Define
65345         S for printing a string instead of hidint the different by using a
65346         macro for adding the 'l'.
65347         * stdio-common/tst-fphex-wide.c: Adjust.
65349 2012-03-07  Marek Polacek  <polacek@redhat.com>
65351         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65353 2012-03-08  Marek Polacek  <polacek@redhat.com>
65355         [BZ #13806]
65356         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65357         * stdio-common/tst-fphex.c: Define a few macros to make the
65358         test reusable.  Use them.
65359         * stdio-common/tst-fphex-wide.c: New file.
65361 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65363         [BZ #6911]
65364         * manual/macros.texi (gnusystems): New macro.
65365         (nongnusystems): Likewise.
65366         (gnulinuxhurdsystems): Likewise.
65367         (gnuhurdsystems): Likewise..
65368         (gnulinuxsystems): Likewise.
65369         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65370         variants of the GNU system, not "GNU system".
65371         * manual/conf.texi: Likewise.
65372         * manual/errno.texi: Likewise.  Update example of errno macro
65373         expansion.
65374         * manual/filesys.texi: Likewise.
65375         (getumask): Document as specific to GNU/Hurd.
65376         * manual/install.texi: Likewise.  Reword some references to
65377         GNU/Linux.
65378         * manual/intro.texi: Likewise.
65379         * manual/io.texi: Likewise.
65380         (File Name Portability): Detail which constraints are inapplicable
65381         to all GNU systems and which are only inapplicable to GNU/Hurd.
65382         * manual/job.texi: Likewise.
65383         * manual/llio.texi: Likewise.
65384         (O_NOCTTY): Document as present on GNU/Linux.
65385         * manual/maint.texi: Likewise.
65386         * manual/memory.texi: Likewise.
65387         * manual/pattern.texi: Likewise.
65388         * manual/pipe.texi: Likewise.
65389         * manual/process.texi: Likewise.
65390         * manual/resource.texi: Likewise.
65391         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65392         child on GNU/Hurd.
65393         * manual/setjmp.texi: Likewise.
65394         * manual/signal.texi: Likewise.
65395         * manual/startup.texi: Likewise.
65396         * manual/stdio.texi: Likewise.
65397         * manual/terminal.texi: Likewise.
65398         (ONLCR): Document as POSIX.
65399         (OXTABS): Document availability on GNU/Linux as XTABS.
65400         (ONOEOT): Document availability separately from other bits.
65401         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65402         * manual/time.texi: Likewise.
65403         * manual/users.texi: Likewise.
65404         * INSTALL: Regenerated.
65405         * sysdeps/gnu/errlist.c: Regenerated.
65407         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65408         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65409         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65410         puts.
65411         * configure: Regenerated.
65413 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65415         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65416         default includes instead of AC_HEADER_CHECK.
65417         * sysdeps/i386/configure: Regenerated.
65419         [BZ #10716]
65420         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65421         * math/s_cacoshf.c (__cacoshf): Likewise.
65422         * math/s_cacoshl.c (__cacoshl): Likewise.
65423         * math/s_casinh.c (__casinh): Set signs of result from argument.
65424         * math/s_casinhf.c (__casinhf): Likewise.
65425         * math/s_casinhl.c (__casinhl): Likewise.
65426         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65427         (casinh_test): Add more tests.
65428         * sysdeps/i386/fpu/libm-test-ulps: Update.
65429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65431 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65433         * po/zh_TW.po: Update from translation team.
65435         * login/Makefile (distribute): Remove variable.
65436         * catgets/Makefile: Likewise.
65437         * mach/Makefile: Likewise.
65438         * malloc/Makefile: Likewise.
65439         * misc/Makefile: Likewise.
65440         * iconv/Makefile: Likewise.
65441         * nscd/Makefile: Likewise.
65442         * hurd/Makefile: Likewise.
65443         * manual/Makefile: Likewise.
65444         * locale/Makefile: Likewise.
65445         * intl/Makefile: Likewise.
65446         * conform/Makefile: Likewise.
65447         * nss/Makefile: Likewise.
65448         * time/Makefile: Likewise.
65449         * soft-fp/Makefile: Likewise.
65450         * dirent/Makefile: Likewise.
65451         * gmon/Makefile: Likewise.
65452         * po/Makefile: Likewise.
65453         * rt/Makefile: Likewise.
65454         * socket/Makefile: Likewise.
65455         * math/Makefile: Likewise.
65456         * signal/Makefile: Likewise.
65457         * debug/Makefile: Likewise.
65458         * elf/Makefile: Likewise.
65459         * timezone/Makefile: Likewise.
65460         * stdlib/Makefile: Likewise.
65461         * iconvdata/Makefile: Likewise.
65462         * sunrpc/Makefile: Likewise.
65463         * io/Makefile: Likewise.
65464         * argp/Makefile: Likewise.
65465         * inet/Makefile: Likewise.
65466         * hesiod/Makefile: Likewise.
65467         * grp/Makefile: Likewise.
65468         * csu/Makefile: Likewise.
65469         * wctype/Makefile: Likewise.
65470         * crypt/Makefile: Likewise.
65471         * libio/Makefile: Likewise.
65472         * string/Makefile: Likewise.
65473         * nis/Makefile: Likewise.
65474         * resolv/Makefile: Likewise.
65475         * stdio-common/Makefile: Likewise.
65476         * wcsmbs/Makefile: Likewise.
65477         * dlfcn/Makefile: Likewise.
65478         * posix/Makefile: Likewise.
65480         [BZ #6959]
65481         * timezone/Makefile: Don't install timezone files, just the programs
65482         and scripts.
65484 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65486         * nss/databases.def: Add missing gshadow entry.
65488         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65490 2012-03-06  Marek Polacek  <polacek@redhat.com>
65492         [BZ #13726]
65493         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65494         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65495         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65496         * stdio-common/tst-long-dbl-fphex.c: New file.
65498 2012-03-06  David S. Miller  <davem@davemloft.net>
65500         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65501         (set_obp_int): New function.
65502         (get_obp_int): New function.
65503         (__get_clockfreq_via_dev_openprom): Likewise.
65504         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65505         Avoid unused variable warnings on 'val' and use builtin_expect.
65506         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65507         __builtin_expect.
65508         (INLINE_CLONE_SYSCALL): Likewise.
65510 2012-03-05  David S. Miller  <davem@davemloft.net>
65512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65514 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65518         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65519         only for |x| >= 40.
65520         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65522 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65525         Replace gettimeofday with __vdso_gettimeofday.
65527         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65528         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65529         __vdso_clock_gettime and __vdso_getcpu.
65531         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65532         time with __vdso_time.
65534 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65536         * manual/lang.texi (size_t): Note types to which size_t may be
65537         equivalent with the GNU C Library, but do not describe when
65538         differences between them are significant.
65540 2012-03-05  Andreas Jaeger  <aj@suse.de>
65542         * sysdeps/i386/fpu/libm-test-ulps: Update.
65544 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65546         [BZ #3976]
65547         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65548         (__ieee754_pow): Save and restore rounding mode and use
65549         round-to-nearest for main computations.
65550         * math/libm-test.inc (pow_test_tonearest): New function.
65551         (pow_test_towardzero): Likewise.
65552         (pow_test_downward): Likewise.
65553         (pow_test_upward): Likewise.
65554         (main): Call the new functions.
65555         * sysdeps/i386/fpu/libm-test-ulps: Update.
65556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65558         [BZ #3976]
65559         * math/libm-test.inc (cosh_test_tonearest): New function.
65560         (cosh_test_towardzero): Likewise.
65561         (cosh_test_downward): Likewise.
65562         (cosh_test_upward): Likewise.
65563         (sinh_test_tonearest): Likewise.
65564         (sinh_test_towardzero): Likewise.
65565         (sinh_test_downward): Likewise.
65566         (sinh_test_upward): Likewise.
65567         (main): Call the new functions.
65568         * sysdeps/i386/fpu/libm-test-ulps: Update.
65569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65571 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65573         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65574         default stack guard is set in last bytes.
65575         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65577 2012-03-05  Kees Cook  <keescook@chromium.org>
65579         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65581         [BZ #13656]
65582         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65583         possibly allocate from heap instead of stack.
65584         * stdio-common/bug-vfprintf-nargs.c: New file.
65585         * stdio-common/Makefile (tests): Add nargs overflow test.
65587 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65591 2012-03-03  Marek Polacek  <polacek@redhat.com>
65593         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65594         * math/math_private.h: Likewise.
65595         * stdlib/tst-strtod.c: Likewise.
65596         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65597         * sysdeps/x86_64/bits/atomic.h: Likewise.
65599 2012-03-02  David S. Miller  <davem@davemloft.net>
65601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65605         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65606         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65607         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65608         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65610 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65612         [BZ #13792]
65613         * manual/examples/README: New file, says the example source files
65614         can be used under GPL>=2.
65615         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65616         line containing just "*/".
65617         * manual/examples/add.c: Add copyright header (GPL>=2).
65618         * manual/examples/argp-ex1.c: Likewise.
65619         * manual/examples/argp-ex2.c: Likewise.
65620         * manual/examples/argp-ex3.c: Likewise.
65621         * manual/examples/argp-ex4.c: Likewise.
65622         * manual/examples/atexit.c: Likewise.
65623         * manual/examples/db.c: Likewise.
65624         * manual/examples/dir.c: Likewise.
65625         * manual/examples/dir2.c: Likewise.
65626         * manual/examples/execinfo.c: Likewise.
65627         * manual/examples/filecli.c: Likewise.
65628         * manual/examples/filesrv.c: Likewise.
65629         * manual/examples/fmtmsgexpl.c: Likewise.
65630         * manual/examples/genpass.c: Likewise.
65631         * manual/examples/inetcli.c: Likewise.
65632         * manual/examples/inetsrv.c: Likewise.
65633         * manual/examples/isockad.c: Likewise.
65634         * manual/examples/longopt.c: Likewise.
65635         * manual/examples/memopen.c: Likewise.
65636         * manual/examples/memstrm.c: Likewise.
65637         * manual/examples/mkfsock.c: Likewise.
65638         * manual/examples/mkisock.c: Likewise.
65639         * manual/examples/mygetpass.c: Likewise.
65640         * manual/examples/pipe.c: Likewise.
65641         * manual/examples/popen.c: Likewise.
65642         * manual/examples/rprintf.c: Likewise.
65643         * manual/examples/search.c: Likewise.
65644         * manual/examples/select.c: Likewise.
65645         * manual/examples/setjmp.c: Likewise.
65646         * manual/examples/sigh1.c: Likewise.
65647         * manual/examples/sigusr.c: Likewise.
65648         * manual/examples/stpcpy.c: Likewise.
65649         * manual/examples/strdupa.c: Likewise.
65650         * manual/examples/strftim.c: Likewise.
65651         * manual/examples/strncat.c: Likewise.
65652         * manual/examples/subopt.c: Likewise.
65653         * manual/examples/swapcontext.c: Likewise.
65654         * manual/examples/termios.c: Likewise.
65655         * manual/examples/testopt.c: Likewise.
65656         * manual/examples/testpass.c: Likewise.
65657         * manual/examples/timeval_subtract.c: Likewise.
65659         [BZ #13792]
65660         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65661         function to ...
65662         * manual/timeval_subtract.c.texi: ... here, new file.
65664 2012-03-02  David S. Miller  <davem@davemloft.net>
65666         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65668 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65670         [BZ #3976]
65671         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65672         (__sin): Save and restore rounding mode and use round-to-nearest
65673         for all computations.
65674         (__cos): Save and restore rounding mode and use round-to-nearest
65675         for all computations.
65676         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65677         <fenv.h>.
65678         (tan): Save and restore rounding mode and use round-to-nearest for
65679         all computations.
65680         * math/libm-test.inc (cos_test_tonearest): New function.
65681         (cos_test_towardzero): Likewise.
65682         (cos_test_downward): Likewise.
65683         (cos_test_upward): Likewise.
65684         (sin_test_tonearest): Likewise.
65685         (sin_test_towardzero): Likewise.
65686         (sin_test_downward): Likewise.
65687         (sin_test_upward): Likewise.
65688         (tan_test_tonearest): Likewise.
65689         (tan_test_towardzero): Likewise.
65690         (tan_test_downward): Likewise.
65691         (tan_test_upward): Likewise.
65692         (main): Call the new functions.
65693         * sysdeps/i386/fpu/libm-test-ulps: Update.
65694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65696         [BZ #10135]
65697         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65698         small n, then large n, before computing and testing k+n.
65699         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65700         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65701         Likewise.
65702         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65703         Likewise.
65704         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65705         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65706         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65707         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65711         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65712         * math/libm-test.inc (scalbn_test): Add more tests.
65713         (scalbln_test): Likewise.
65715         * manual/filesys.texi (mode_t): Describe constraints on size and
65716         signedness, not exact equivalence to a particular type.
65717         (ino_t): Likewise.
65718         (ino64_t): Likewise.
65719         (dev_t): Likewise.
65720         (nlink_t): Likewise.
65721         (blkcnt_t): Likewise.
65722         (blkcnt64_t): Likewise.
65723         * manual/llio.texi (off_t): Likewise.
65725         [BZ #3976]
65726         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65727         (__ieee754_exp): Save and restore rounding mode and use
65728         round-to-nearest for all computations.
65729         * math/libm-test.inc (exp_test_tonearest): New function.
65730         (exp_test_towardzero): Likewise.
65731         (exp_test_downward): Likewise.
65732         (exp_test_upward): Likewise.
65733         (main): Call the new functions.
65734         * sysdeps/i386/fpu/libm-test-ulps: Update.
65735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65737 2012-03-01  Chris Demetriou  <cgd@google.com>
65739         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65740         have predictable order.
65742 2012-03-01  David S. Miller  <davem@davemloft.net>
65744         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65746         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65747         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65748         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65749         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65751         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65752         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65753         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65755         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65756         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65757         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65758         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65759         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65763         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65764         * sysdeps/sparc/fpu/libm-test-ulps: to here.
65765         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65767         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65768         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65769         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65770         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65771         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65772         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65774         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65775         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65776         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65777         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65778         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65780         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65781         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65783         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65784         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65785         * sysdeps/sparc/elf/configure: Regenerated.
65787 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65789         * configure.in (AS, LD): Require binutils 2.20 or later.
65790         * configure: Regenerated.
65791         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65792         as required minimum version.
65793         * INSTALL: Regenerated.
65795         [BZ #2541]
65796         [BZ #4108]
65797         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65798         before squaring exponent.
65799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65800         bottom long double and 27 bits of top long double before squaring
65801         exponent.
65802         * math/libm-test.inc (erfc_test): Add more tests.
65803         * sysdeps/i386/fpu/libm-test-ulps: Update.
65804         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65807 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65809         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65810         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65811         containing bit-fields.
65812         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65813         * soft-fp/single.h (_FP_UNION_S): Likewise.
65814         * soft-fp/double.h (_FP_UNION_D): Likewise.
65816 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65818         [BZ #13786]
65819         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65820         not include ../strcmp.S.
65821         [USE_AS_STRNCASECMP_L]: Likewise.
65822         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65823         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65824         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65825         (__strncasecmp_l_ia32): Define as alias to
65826         __strncasecmp_l_nonascii.
65828         [BZ #5794]
65829         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65830         * sysdeps/i386/fpu/libm-test-ulps: Update.
65831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65833         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65836 2012-02-29  Jeff Law  <law@redhat.com>
65838         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65839         out of bounds read.
65841 2012-02-29  Marek Polacek  <polacek@redhat.com>
65843         [BZ #13706]
65844         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65845         * elf/Makefile: Add rules to run tst-unused-dep.out.
65847 2012-02-28  David S. Miller  <davem@davemloft.net>
65849         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65850         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65851         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65852         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65853         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65854         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65856 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65858         * math/libm-test.inc (llround_test): Move one test from
65859         lround_test.  Use TEST_f_L in moved test.
65860         (lround_test): Move misplaced test to llround_test.  Add testcase
65861         from bug 2561.
65863 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65865         * sysdeps/x86_64/fpu/e_expf.S: New file.
65866         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65868 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65870         [BZ #13637]
65871         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65872         of remain_len that may cause incomplete multi-byte character and
65873         false match.
65874         * posix/bug-regex33.c: New file.
65875         * posix/Makefile (tests): Add bug-regex33.
65877 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65879         * manual/macros.texi: New file.
65880         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65881         * manual/libc.texinfo: Include macros.texi.
65882         * manual/creatute.texi: Likewise.
65883         * manual/install.texi: Likewise.
65884         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65885         @glibcadj{} in references to the GNU C Library.
65886         * manual/charset.texi: Likewise.
65887         * manual/conf.texi: Likewise.
65888         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65889         when not using those macros.
65890         * manual/creature.texi: Likewise.
65891         * manual/crypt.texi: Likewise.
65892         * manual/errno.texi: Likewise.
65893         * manual/filesys.texi: Likewise.
65894         * manual/header.texi: Likewise.
65895         * manual/install.texi: Likewise.
65896         * manual/intro.texi: Likewise.
65897         * manual/io.texi: Likewise.
65898         * manual/job.texi: Likewise.
65899         * manual/lang.texi: Likewise.
65900         * manual/libc.texiinfo: Likewise.
65901         * manual/llio.texi: Likewise.
65902         * manual/locale.texi: Likewise.
65903         * manual/maint.texi: Likewise.
65904         * manual/math.texi: Likewise.
65905         * manual/memory.texi: Likewise.
65906         * manual/message.texi: Likewise.
65907         * manual/nss.texi: Likewise.
65908         * manual/pattern.texi: Likewise.
65909         * manual/process.texi: Likewise.
65910         * manual/resource.texi: Likewise.
65911         * manual/search.texi: Likewise.
65912         * manual/setjmp.texi: Likewise.
65913         * manual/signal.texi: Likewise.
65914         * manual/socket.texi: Likewise.
65915         * manual/startup.texi: Likewise.
65916         * manual/stdio.texi: Likewise.
65917         * manual/string.texi: Likewise.
65918         * manual/sysinfo.texi: Likewise.
65919         * manual/syslog.texi: Likewise.
65920         * manual/terminal.texi: Likewise.
65921         * manual/time.texi: Likewise.
65922         * manual/users.texi: Likewise.
65923         * INSTALL: Regenerated.
65924         * NOTES: Regenerated.
65925         * sysdeps/gnu/errlist.c: Regenerated.
65927 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65929         * include/dirent.h: Include <dirstream.h> before
65930         <dirent/dirent.h>.
65932 2012-02-28  David S. Miller  <davem@davemloft.net>
65934         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65935         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65936         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65937         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65939 2012-02-27  David S. Miller  <davem@davemloft.net>
65941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65943         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65944         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65947         frame pointer instead of stack pointer relative arg slot.
65948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65949         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65950         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65952 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65954         [BZ #3992]
65955         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65957 2012-02-27  David S. Miller  <davem@davemloft.net>
65959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65963         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65964         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65965         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65966         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65968 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65970         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65971         later.  Allow versions 5-9.
65972         * configure: Regenerated.
65973         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65974         required minimum version and 4.6 as recommended version.  Do not
65975         mention bugs in GCC 2.7 and 2.8.
65976         * INSTALL: Regenerated.
65978 2012-02-27  David S. Miller  <davem@davemloft.net>
65980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65984         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65985         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65986         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65987         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65989         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65990         manipulate bits before adding and subtracting TWO112[sx].
65991         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65993 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65995         [BZ #13775]
65996         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65997         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65998         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65999         being in POSIX, because they are in 1003.1-2008.
66001         * rt/tst-aio.c: Include <fcntl.h>.
66002         * rt/tst-aio7.c: Likewise.
66003         * rt/tst-aio64.c: Likewise.
66005         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66007 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66009         * manual/install.texi (--with-headers): Describe headers as
66010         interface headers, not private headers.
66011         (Specific advice for GNU/Linux systems): Describe use of headers
66012         from "make headers_install", not private headers from older
66013         kernels.
66014         * INSTALL: Regenerated.
66015         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66016         Change to 2.6.19.
66017         * sysdeps/unix/sysv/linux/configure: Regenerated.
66019         * manual/llio.texi (fclean): Remove documentation.
66021         * manual/Makefile (libc-texi-generated): New variable.  Include
66022         version.texi.
66023         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66024         $(libc-texi-generated), not duplicated list of files.
66025         (version.texi, stamp-version): New rules.
66026         (realclean): Remove $(libc-texi-generated), not individual files
66027         from that list.  Do not remove dir-add.texinfo.
66028         * manual/libc.texinfo: Comment out uses of edition numbers and
66029         references to printed manual.  Remove last-updated dates.
66030         (EDITION): Comment out.
66031         (ISBN): Likewise.
66032         (VERSION, UPDATED): Remove.
66033         (version.texi): Include.
66035 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66037         * sysdeps/posix/spawni.c: Include <signal.h>.
66038         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66039         * sysdeps/pthread/aio_fsync.c: Likewise.
66041 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66043         * conform/Makefile (tests): Run only when not cross-compiling and
66044         when fast-check is not defined.
66046         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66047         * conform/data/limits.h-data: Fixes for POSIX2008.
66048         * conform/run-conformtest.sh: Run all tests.
66049         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66050         headers.
66051         * include/bits/dlfcn.h: Likewise.
66052         * include/langinfo.h: Likewise.
66053         * include/monetary.h: Likewise.
66054         * include/sys/poll.h: Likewise.
66056         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66057         for __USE_GNU.
66058         * posix/spawn.h: Define __need_sigset_t.
66059         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66060         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66061         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66062         to get sigevent_t only.
66063         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66064         only for __USE_GNU.
66065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66066         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66067         process_vm_writev only for __USE_GNU.
66068         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66070         * conform/Makefile: For now ignore errors from run-conformtest.
66071         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66072         POSIX to avoid namespace pollution.  Don't prepend headers.
66073         * conform/data/aio.h-data: Fixes for POSIX testing.
66074         * conform/data/fcntl.h-data: Likewise.
66075         * conform/data/glob.h-data: Likewise.
66076         * conform/data/grp.h-data: Likewise.
66077         * conform/data/pthread.h-data: Likewise.
66078         * conform/data/pwd.h-data: Likewise.
66079         * conform/data/signal.h-data: Likewise.
66080         * conform/data/spawn.h-data: Likewise.
66081         * conform/data/stdio.h-data: Likewise.
66082         * conform/data/stdlib.h-data: Likewise.
66083         * conform/data/stropts.h-data: Likewise.
66084         * conform/data/sys/mman.h-data: Likewise.
66085         * conform/data/sys/stat.h-data: Likewise.
66086         * conform/data/sys/types.h-data: Likewise.
66087         * conform/data/sys/wait.h-data: Likewise.
66088         * conform/data/time.h-data: Likewise.
66089         * conform/data/unistd.h-data: Likewise.
66090         * conform/data/utime.h-data: Likewise.
66092         * io/sys/stat.h: fchmod was always in POSIX.
66093         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66094         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66095         * rt/aio.h: Define __need_timespec before including <time.h>.
66096         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66097         struct.  Add forward declaration of pthread_attr_t and use it in
66098         sigevent.
66099         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66100         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66101         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66102         always remove CLK_TCK definition.
66104 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66106         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66108 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66110         * conform/run-conformtest.sh: New file.
66111         * conform/Makefile: Run run-conformtest for tests.
66112         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66113         support.
66115         * conform/data/uchar.h-data: New file.
66116         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66117         * conform/data/arpa/inet.h-data: Likewise.
66118         * conform/data/assert.h-data: Likewise.
66119         * conform/data/complex.h-data: Likewise.
66120         * conform/data/cpio.h-data: Likewise.
66121         * conform/data/ctype.h-data: Likewise.
66122         * conform/data/dirent.h-data: Likewise.
66123         * conform/data/dlfcn.h-data: Likewise.
66124         * conform/data/errno.h-data: Likewise.
66125         * conform/data/fcntl.h-data: Likewise.
66126         * conform/data/float.h-data: Likewise.
66127         * conform/data/fmtmsg.h-data: Likewise.
66128         * conform/data/fnmatch.h-data: Likewise.
66129         * conform/data/ftw.h-data: Likewise.
66130         * conform/data/glob.h-data: Likewise.
66131         * conform/data/grp.h-data: Likewise.
66132         * conform/data/iconv.h-data: Likewise.
66133         * conform/data/inttypes.h-data: Likewise.
66134         * conform/data/langinfo.h-data: Likewise.
66135         * conform/data/libgen.h-data: Likewise.
66136         * conform/data/limits.h-data: Likewise.
66137         * conform/data/locale.h-data: Likewise.
66138         * conform/data/math.h-data: Likewise.
66139         * conform/data/monetary.h-data: Likewise.
66140         * conform/data/mqueue.h-data: Likewise.
66141         * conform/data/ndbm.h-data: Likewise.
66142         * conform/data/net/if.h-data: Likewise.
66143         * conform/data/netdb.h-data: Likewise.
66144         * conform/data/netinet/in.h-data: Likewise.
66145         * conform/data/nl_types.h-data: Likewise.
66146         * conform/data/poll.h-data: Likewise.
66147         * conform/data/pthread.h-data: Likewise.
66148         * conform/data/pwd.h-data: Likewise.
66149         * conform/data/regex.h-data: Likewise.
66150         * conform/data/sched.h-data: Likewise.
66151         * conform/data/search.h-data: Likewise.
66152         * conform/data/semaphore.h-data: Likewise.
66153         * conform/data/setjmp.h-data: Likewise.
66154         * conform/data/signal.h-data: Likewise.
66155         * conform/data/spawn.h-data: Likewise.
66156         * conform/data/stdarg.h-data: Likewise.
66157         * conform/data/stdio.h-data: Likewise.
66158         * conform/data/stdlib.h-data: Likewise.
66159         * conform/data/string.h-data: Likewise.
66160         * conform/data/strings.h-data: Likewise.
66161         * conform/data/stropts.h-data: Likewise.
66162         * conform/data/sys/ipc.h-data: Likewise.
66163         * conform/data/sys/mman.h-data: Likewise.
66164         * conform/data/sys/msg.h-data: Likewise.
66165         * conform/data/sys/resource.h-data: Likewise.
66166         * conform/data/sys/select.h-data: Likewise.
66167         * conform/data/sys/sem.h-data: Likewise.
66168         * conform/data/sys/shm.h-data: Likewise.
66169         * conform/data/sys/socket.h-data: Likewise.
66170         * conform/data/sys/stat.h-data: Likewise.
66171         * conform/data/sys/statvfs.h-data: Likewise.
66172         * conform/data/sys/time.h-data: Likewise.
66173         * conform/data/sys/timeb.h-data: Likewise.
66174         * conform/data/sys/times.h-data: Likewise.
66175         * conform/data/sys/types.h-data: Likewise.
66176         * conform/data/sys/uio.h-data: Likewise.
66177         * conform/data/sys/un.h-data: Likewise.
66178         * conform/data/sys/utsname.h-data: Likewise.
66179         * conform/data/sys/wait.h-data: Likewise.
66180         * conform/data/syslog.h-data: Likewise.
66181         * conform/data/tar.h-data: Likewise.
66182         * conform/data/termios.h-data: Likewise.
66183         * conform/data/utime.h-data: Likewise.
66184         * conform/data/utmpx.h-data: Likewise.
66185         * conform/data/varargs.h-data: Likewise.
66186         * conform/data/wchar.h-data: Likewise.
66187         * conform/data/wctype.h-data: Likewise.
66188         * conform/data/wordexp.h-data: Likewise.
66190         * include/stropts.h: New file.
66191         * include/uchar.h: New file.
66192         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66193         * include/assert.h: Likewise.
66194         * include/ctype.h: Likewise.
66195         * include/dirent.h: Likewise.
66196         * include/dlfcn.h: Likewise.
66197         * include/fcntl.h: Likewise.
66198         * include/fnmatch.h: Likewise.
66199         * include/glob.h: Likewise.
66200         * include/grp.h: Likewise.
66201         * include/libio.h: Likewise.
66202         * include/locale.h: Likewise.
66203         * include/math.h: Likewise.
66204         * include/net/if.h: Likewise.
66205         * include/netdb.h: Likewise.
66206         * include/netinet/in.h: Likewise.
66207         * include/pthread.h: Likewise.
66208         * include/pwd.h: Likewise.
66209         * include/regex.h: Likewise.
66210         * include/sched.h: Likewise.
66211         * include/search.h: Likewise.
66212         * include/setjmp.h: Likewise.
66213         * include/signal.h: Likewise.
66214         * include/stdio.h: Likewise.
66215         * include/stdlib.h: Likewise.
66216         * include/string.h: Likewise.
66217         * include/sys/cdefs.h: Likewise.
66218         * include/sys/mman.h: Likewise.
66219         * include/sys/msg.h: Likewise.
66220         * include/sys/resource.h: Likewise.
66221         * include/sys/select.h: Likewise.
66222         * include/sys/socket.h: Likewise.
66223         * include/sys/stat.h: Likewise.
66224         * include/sys/statvfs.h: Likewise.
66225         * include/sys/time.h: Likewise.
66226         * include/sys/times.h: Likewise.
66227         * include/sys/uio.h: Likewise.
66228         * include/sys/utsname.h: Likewise.
66229         * include/sys/wait.h: Likewise.
66230         * include/termios.h: Likewise.
66231         * include/time.h: Likewise.
66232         * include/ulimit.h: Likewise.
66233         * include/unistd.h: Likewise.
66234         * include/utime.h: Likewise.
66235         * include/wchar.h: Likewise.
66236         * include/wctype.h: Likewise.
66237         * include/wordexp.h: Likewise.
66239         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66241         * time/time.h: TIME_UTC must be a macro.
66242         Make timespec_get available for ISO C11 only as well.
66244 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66246         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66247         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66249 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66251         * configure.in: Use -o not -a in test for unsupported multi-arch.
66253 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66255         * manual/texinfo.tex: Update to version 2012-01-19.16.
66257 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66259         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66261 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66263         [BZ #13738]
66264         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66265         * manual/fdl-1.3.texi: New file.
66266         * manual/fdl-1.1.texi: File removed.
66268         [BZ #13738]
66269         * manual/libc.texinfo (FDL_VERSION): New @set.
66270         Use it for mention of FDL in cover text.
66271         (Documentation License): Use it in @include file name.
66273 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66274             Roland McGrath  <roland@hack.frob.com>
66276         [BZ #5461]
66277         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66278         (not LONG_LONG_MAX and LONG_LONG_MIN.
66279         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66280         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66281         name.
66282         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66284 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66286         [BZ #2547]
66287         [BZ #11365]
66288         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66289         manipulate bits before adding and subtracting TWO23[sx].
66290         * math/libm-test.inc (nearbyint_test): Add more tests.
66292 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66294         [BZ #2548]
66295         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66296         bits before adding and subtracting TWO23[sx].
66297         * math/libm-test.inc (rint_test): Add more tests.
66298         (rint_test_tonearest): Likewise.
66299         (rint_test_towardzero): Likewise.
66300         (rint_test_downward): Likewise.
66301         (rint_test_upward: Likewise.
66303 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66305         [BZ #10110]
66306         * include/stdc-predef.h: New file.  Extracted from features.h.
66307         * include/features.h: Include stdc-predef.h.
66308         * Makefile (headers): Add stdc-predef.h.
66309         * CONFORMANCE (Compiler limitations): Update.
66311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66313         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66315 2012-02-21  David S. Miller  <davem@davemloft.net>
66317         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66318         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66320 2012-02-20  David S. Miller  <davem@davemloft.net>
66322         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66323         using a normal save/restore sequence, rather than allocating a
66324         dummy stack frame just to store a frame pointer and restore.
66325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66327 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66329         * manual/install.texi: Fix stray word in line-wrapped comment.
66331 2012-02-20  David S. Miller  <davem@davemloft.net>
66333         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66334         both binutils and gcc support GOTDATA.
66336         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66337         "rd %pc" in the PIC register setup sequences.
66339         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66340         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66341         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66342         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66343         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66345         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66346         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66348         (SYSCALL_ERROR_HANDLER): Likewise.
66349         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66350         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66352         (SYSCALL_ERROR_HANDLER): Likewise.
66354         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66355         (HAVE_GCC_GOTDATA): New.
66356         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66357         relocation support in both binutils and gcc.
66358         * sysdeps/sparc/elf/configure: Regenerate.
66360         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66361         * sysdeps/sparc/sparc32/elf/configure: Delete.
66362         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66363         * sysdeps/sparc/sparc64/elf/configure: Delete.
66364         * sysdeps/sparc/elf/configure.in: New file.
66365         * sysdeps/sparc/elf/configure: Generate.
66367         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66368         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66369         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66370         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66371         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66373 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66375         * manual/install.texi: Do not mention specific glibc version
66376         numbers.
66377         * manual/libc.texinfo (VERSION, UPDATED): Update.
66378         (@copying): Use @copyright{} and range of years.
66380 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66382         [BZ #13695]
66383         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66384         [crti.S not in sysdirs] (generated): Do not append.
66385         [crti.S not in sysdirs] (omit-deps): Likewise.
66386         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66387         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66388         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66389         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66390         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66391         Likewise.
66392         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66393         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66394         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66395         * csu/defs.awk: Remove file.
66396         * sysdeps/generic/initfini.c: Likewise.
66397         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66398         variable.
66399         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66400         Likewise.
66402 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66404         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66405         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66406         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66407         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66408         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66409         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66410         <bits/epoll.h>.
66411         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66412         (__EPOLL_PACKED): Define to empty if not defined by
66413         <bits/epoll.h>.
66414         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66416         bits/epoll.h.
66418 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66420         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66421         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66422         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66423         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66424         <bits/timerfd.h>.
66425         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66427         bits/timerfd.h.
66429 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66431         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66432         in C locale.
66433         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66434         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66435         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66438 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66440         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66441         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66443 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66445         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66446         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66447         defined.
66448         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66449         Likewise.
66450         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66451         entry for 2.16.
66453 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66455         * math/w_acos.c: Use non-signaling floating-point comparisons.
66456         * math/w_acosf.c: Likewise.
66457         * math/w_acosh.c: Likewise.
66458         * math/w_acoshf.c: Likewise.
66459         * math/w_acoshl.c: Likewise.
66460         * math/w_acosl.c: Likewise.
66461         * math/w_asin.c: Likewise.
66462         * math/w_asinf.c: Likewise.
66463         * math/w_asinl.c: Likewise.
66464         * math/w_atanh.c: Likewise.
66465         * math/w_atanhf.c: Likewise.
66466         * math/w_atanhl.c: Likewise.
66467         * math/w_exp2.c: Likewise.
66468         * math/w_exp2f.c: Likewise.
66469         * math/w_exp2l.c: Likewise.
66470         * math/w_j0.c: Likewise.
66471         * math/w_j0f.c: Likewise.
66472         * math/w_j0l.c: Likewise.
66473         * math/w_j1.c: Likewise.
66474         * math/w_j1f.c: Likewise.
66475         * math/w_j1l.c: Likewise.
66476         * math/w_jn.c: Likewise.
66477         * math/w_jnf.c: Likewise.
66478         * math/w_log.c: Likewise.
66479         * math/w_log10.c: Likewise.
66480         * math/w_log10f.c: Likewise.
66481         * math/w_log10l.c: Likewise.
66482         * math/w_log2.c: Likewise.
66483         * math/w_log2f.c: Likewise.
66484         * math/w_log2l.c: Likewise.
66485         * math/w_logf.c: Likewise.
66486         * math/w_logl.c: Likewise.
66487         * math/w_sqrt.c: Likewise.
66488         * math/w_sqrtf.c: Likewise.
66489         * math/w_sqrtl.c: Likewise.
66490         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66491         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66492         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66493         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66494         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66496 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66498         [BZ #9739]
66499         * manual/string.texi (strnlen): Use correct parameter name in
66500         equivalent expression.
66502 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66504         [BZ #11174]
66505         * manual/users.texi (seteuid): Consistently use neweuid for
66506         argument name.
66508 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66510         [BZ #13704]
66511         * manual/nss.texi (Services in the NSS configuration): Correct
66512         list of services in example configuration file.
66514 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66516         [BZ #11322]
66517         * manual/arith.texi: Remove statements about negative zero
66518         behaving identically to zero.
66520 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66522         [BZ #5993]
66523         * manual/install.texi: Do not document upgrading from libc5.
66525 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66527         [BZ #4596]
66528         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66530 2012-02-18  David S. Miller  <davem@davemloft.net>
66532         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66533         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66534         %o7 across the call.
66535         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66536         instead.
66537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66538         SETUP_PIC_REG_LEAF.
66539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66540         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66541         * sysdeps/sparc/crtn.S: Likewise.
66543 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66545         * aout/Makefile: Remove.
66547 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66549         [BZ #13058]
66550         * manual/examples/argp-ex1.c (main): Format definition in GNU
66551         style.
66552         * manual/examples/argp-ex2.c (main): Likewise.
66553         * manual/examples/argp-ex3.c (main): Likewise.
66554         * manual/examples/argp-ex4.c (main): Likewise.
66555         * manual/examples/longopt.c (main): Use new-style prototype
66556         definition.
66557         * manual/examples/strncat.c (main): Specify return type and use
66558         (void) for arguments.
66559         * manual/examples/subopt.c (main): Use char **argv argument.
66561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66563         [BZ #5077]
66564         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66565         rounding modes.
66567 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66569         [BZ #6907]
66570         * manual/string.texi (strchr): Change when strchrnul is
66571         recommended.
66573 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66575         [BZ #174]
66576         * manual/locale.texi (setlocale): Document LOCPATH.
66578 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66580         [BZ #10210]
66581         * manual/process.texi (execle): Move @dots{} before last argument.
66583 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66585         [BZ #12047]
66586         * manual/charset.texi (Generic Charset Conversion): Fix typo
66587         (LC_TYPE -> LC_CTYPE).
66589 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66591         [BZ #5805]
66592         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66593         (scalbnf): Likewise.
66594         (scalbnl): Likewise.
66595         (scalbln): Likewise.
66596         (scalblnf): Likewise.
66597         (scalblnl): Likewise.
66598         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66599         (vwarnx): Likewise.
66600         (verr): Likewise.
66601         (verrx): Likewise.
66602         * manual/filesys.texi (telldir): Use braces around return type.
66603         * manual/llio.texi (mmap): Add space after comma.
66604         (mmap64): Likewise.
66605         * manual/math.texi (jn): Use @var{} on parameter names.
66606         (jnf): Likewise.
66607         (jnl): Likewise.
66608         (yn): Likewise.
66609         (ynf): Likewise.
66610         (ynl): Likewise.
66611         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66612         line.
66613         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66614         "...".
66615         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66616         (sched_get_priority_max): Likewise.
66617         * manual/signal.texi (sigvec): Add space after comma.
66618         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66619         names.
66620         (if_indextoname): Likewise.
66621         (if_freenameindex): Likewise.
66622         (sendto): Use ',' instead of '.' in prototype.
66623         * manual/startup.texi (syscall): Use @dots{} instead of literal
66624         "...".
66625         * manual/stdio.texi (__fpending): Separate initial words of
66626         paragraph from @deftypefun line.
66627         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66628         "...".
66629         (vsyslog): Use @var{} on parameter names.
66630         * manual/terminal.texi (stty): Use @var{} on parameter names.
66631         * manual/users.texi (getutmp): Use @var{} on parameter names.
66632         (getutmpx): Likewise.
66634 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66636         [BZ #6884]
66637         * manual/stdio.texi (fopen): Fix typos in description of
66638         ",ccs=STRING".
66640 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66642         [BZ #4026]
66643         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66644         get clock_id definition.
66646 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66648         [BZ #4822]
66649         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66650         (madvise): Cast every argument to void on its own.
66652 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66654         [BZ #9902]
66655         * manual/startup.texi (Exit Status): Fix typo.
66657 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66659         [BZ #10140]
66660         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66661         * manual/examples/argp-ex2.c: Likewise.
66662         * manual/examples/argp-ex3.c: Likewise.
66664 2012-02-16  Richard Henderson  <rth@redhat.com>
66666         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66667         * sysdeps/s390/s390-32/initfini.c: Remove.
66668         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66669         * sysdeps/s390/s390-64/initfini.c: Remove.
66671 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66673         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66674         compiler output for sysdeps/generic/initfini.c.
66675         * sysdeps/sh/elf/initfini.c: Remove file.
66677 2012-02-16  David S. Miller  <davem@davemloft.net>
66679         [BZ #11494]
66680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66682         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66683         * sysdeps/sparc/crti.S: New file.
66684         * sysdeps/sparc/crtn.S: New file.
66685         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66686         * sysdeps/sparc/sparc64/Makefile: Likewise.
66688 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66690         [BZ #3335]
66691         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66693 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66695         [BZ #4822]
66696         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66698         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66699         (write, read, close): Likewise.
66700         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66702 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66704         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66705         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66706         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66707         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66708         <bits/signalfd.h>.
66709         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66711         bits/signalfd.h.
66713 2012-02-14  Marek Polacek  <polacek@redhat.com>
66715         * sysdeps/x86_64/crti.S: New file.
66716         * sysdeps/x86_64/crtn.S: New file.
66717         * sysdeps/x86_64/elf/initfini.c: Remove file.
66719 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66721         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66722         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66724         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66725         <bits/inotify.h>.
66726         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66728         bits/inotify.h.
66730 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66732         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66733         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66734         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66735         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66736         <bits/eventfd.h>.
66737         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66739         bits/eventfd.h.
66741 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
66743         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66744         __feraiseexcept instead of feraiseexcept.
66746         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66747         nanosleep invocations.
66748         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66749         strings, and add error checking for a nanosleep invocations.
66751 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
66753         Replace FSF snail mail address with URLs, as per GNU coding standards.
66754         Most of the snail mail addresses were wrong anyway, and omitting
66755         them makes the source code easier to maintain.  Almost all of the
66756         changes are to license notices and to locale LC_IDENTIFICATION
66757         addresses, except for this one:
66758         * manual/libc.texinfo: In "Published by", give the FSF's URL,
66759         not its snail mail address.
66761 2012-02-09  Richard Henderson  <rth@twiddle.net>
66763         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66764         of kernel-features.h.
66766         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66768 2012-02-08  Marek Polacek  <polacek@redhat.com>
66770         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66771         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66772         * sysdeps/gnu/_G_config.h: Likewise.
66773         * sysdeps/generic/_G_config.h: Likewise.
66775 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
66777         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66778         tests.
66779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66781         * sysdeps/powerpc/powerpc32/crti.S: New file.
66782         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66783         * sysdeps/powerpc/powerpc64/crti.S: New file.
66784         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66786         * Makeconfig (have-initfini): Don't set.
66787         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66788         * configure.in (nopic_initfini): Don't substitute.
66789         * config.h.in (HAVE_INITFINI): Don't #undef.
66790         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66791         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66793 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66795         Support crti.S and crtn.S provided directly by architectures.
66796         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66797         [crti.S in sysdirs] (omit-deps): Likewise.
66798         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66799         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66800         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66801         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66802         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66803         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66804         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66805         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66806         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66807         compiler output for sysdeps/generic/initfini.c.
66808         * sysdeps/i386/elf/Makefile: Remove file.
66809         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66811 2012-02-07  Marek Polacek  <polacek@redhat.com>
66813         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66814         * sysdeps/gnu/_G_config.h: Likewise.
66815         * sysdeps/mach/hurd/_G_config.h: Likewise.
66817 2012-02-07  Marek Polacek  <polacek@redhat.com>
66819         * math/Makefile (tests): Add tst-CMPLX2.
66820         * math/tst-CMPLX2.c: New file.
66822 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66824         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66826         * math/libm-test.inc (jn_test): Add missing L suffix.
66828 2012-02-06  Marek Polacek  <polacek@redhat.com>
66830         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66831         * sysdeps/i386/fpu/e_powf.S: Likewise.
66832         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66833         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66834         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66835         * sysdeps/i386/fpu/e_pow.S: Likewise.
66836         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66837         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66838         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66839         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66840         * sysdeps/i386/fpu/e_log2.S: Likewise.
66841         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66842         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66843         * sysdeps/i386/fpu/e_powl.S: Likewise.
66844         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66845         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66846         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66847         * sysdeps/i386/fpu/e_logl.S: Likewise.
66848         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66849         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66850         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66851         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66852         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66853         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66854         * sysdeps/i386/fpu/e_log.S: Likewise.
66855         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66856         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66857         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66858         * sysdeps/i386/fpu/e_logf.S: Likewise.
66859         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66860         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66861         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66862         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66863         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66864         * sysdeps/i386/fpu/e_log10.S: Likewise.
66865         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66866         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66867         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66868         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66869         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66870         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66871         * sysdeps/i386/asm-syntax.h: Likewise.
66872         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66873         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66874         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66875         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66876         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66877         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66878         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66879         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66880         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66881         * sysdeps/powerpc/sysdep.h: Likewise.
66882         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66883         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66885 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66887         [BZ #411]
66888         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66890 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66892         * sysdeps/i386/sysdep.h: Include <features.h>.
66893         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66894         version.
66896 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66898         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66899         Define.
66900         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66901         LOAD_PIC_REG_STR.
66903 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66905         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66906         (SETUP_PIC_REG): Use GET_PC_THUNK.
66907         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66908         macro.
66910 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66912         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66913         for non-PIC compilation.
66914         (SETUP_PIC_REG): Add .p2align directive.
66915         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66916         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66917         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66918         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66919         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66920         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66921         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66923         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66924         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66925         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66926         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66927         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66928         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66929         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66930         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66931         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66932         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66933         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66934         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66935         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66936         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66937         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66942         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66943         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66944         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66945         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66946         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66947         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66948         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66949         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66950         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66951         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66952         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66953         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66954         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66955         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66957 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66959         * math/tst-CMPLX.c: Include <stdio.h>.
66961 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66963         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66964         float.
66965         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66966         * sysdeps/sparc/bits/mathdef.h: Likewise.
66968 2012-01-31  Marek Polacek  <polacek@redhat.com>
66970         * libio/libio.h: Don't define _PARAMS.
66971         * locale/programs/config.h: Don't define PARAMS.
66972         * stdlib/strtol_l.c: Likewise.
66973         (__strtol_l): Remove PARAMS from the prototype.
66975 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66977         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66978         names.  Just use the correct names.  Remove unnecessary wrapper
66979         functions.
66980         * malloc/arena.c: Likewise.
66981         * malloc/hooks.c: Likewise.
66983         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66984         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66985         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66987 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66989         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66990         into tail calls.
66991         (update_get_addr): New function.
66992         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66993         GET_ADDR_MODULE parameter.
66995 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66997         * crypt/cert.c: Remove __STDC__ conditionals.
66998         * crypt/crypt-entry.c: Likewise.
66999         * crypt/crypt_util.c: Likewise.
67000         * libio/filedoalloc.c: Likewise.
67001         * libio/fileops.c: Likewise.
67002         * libio/genops.c: Likewise.
67003         * libio/iofclose.c: Likewise.
67004         * libio/iofdopen.c: Likewise.
67005         * libio/iofopen.c: Likewise.
67006         * libio/iofopen64.c: Likewise.
67007         * libio/iogetdelim.c: Likewise.
67008         * libio/iopopen.c: Likewise.
67009         * libio/obprintf.c: Likewise.
67010         * libio/oldfileops.c: Likewise.
67011         * libio/oldiofclose.c: Likewise.
67012         * libio/oldiofdopen.c: Likewise.
67013         * libio/oldiofopen.c: Likewise.
67014         * libio/oldiopopen.c: Likewise.
67015         * libio/wfiledoalloc.c: Likewise.
67016         * libio/wgenops.c: Likewise.
67017         * locale/programs/xmalloc.c: Likewise.
67018         * misc/syslog.c: Likewise.
67019         * stdio-common/xbug.c: Likewise.
67020         * string/memchr.c: Likewise.
67021         * string/memcmp.c: Likewise.
67022         * string/memrchr.c: Likewise.
67023         * string/rawmemchr.c: Likewise.
67024         * sysdeps/posix/getcwd.c: Likewise.
67025         * time/strftime_l.c: Likewise.
67027 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67029         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67030         * config.make.in (config-cflags-sse2avx): Define.
67031         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67032         Fix typo.
67034 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67036         * scripts/config.guess: Update from upstream config git repository.
67037         * scripts/config.sub: Likewise.
67039 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67041         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67042         (EM_NUM): Update.
67043         (R_TILEPRO_*, R_TILEGX_*): New macros.
67045         * scripts/firstversions.awk: Fix bug in version range handling.
67047         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67049         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67051         * include/sys/epoll.h: New file.
67052         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67053         libc_hidden_def.
67055 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67057         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67058         Avoid unnecessary __WORDSIZE == 64 test.
67059         (fmaxf): Use VEX format if possible.
67060         (fmax): Likewise.
67061         (fminf): Likewise.
67062         (fmin): Likewise.
67064         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67065         * math/math_private.h: Remove libc_fegetround* and
67066         libc_fesetround*.
67067         * sysdeps/i386/configure.in: Check for -msse2avx.
67068         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67069         also if SSE2AVX is defined.
67070         Remove libc_fegetround* and libc_fesetround*.
67071         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67072         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67073         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67074         of HAS_YMM_USABLE.
67075         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67076         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67077         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67078         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67079         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67081         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67083 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67085         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67086         size is not set.
67087         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67089 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67091         [BZ #13618]
67092         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67093         relocation.
67094         * Makeconfig (libm): Define.
67095         * elf/Makefile: Add rules to build and run tst-relsort1.
67096         * elf/tst-relsort1.c: New file.
67097         * elf/tst-relsort1mod1.c: New file.
67098         * elf/tst-relsort1mod2.c: New file.
67100 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67102         * math/s_ldexp.c: Remove __STDC__ conditionals.
67103         * math/s_ldexpf.c: Likewise.
67104         * math/s_ldexpl.c: Likewise.
67105         * math/s_nextafter.c: Likewise.
67106         * math/s_nexttowardf.c: Likewise.
67107         * math/s_significand.c: Likewise.
67108         * math/s_significandf.c: Likewise.
67109         * math/s_significandl.c: Likewise.
67110         * math/w_jnl.c: Likewise.
67111         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67112         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67113         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67114         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67115         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67116         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67117         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67118         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67119         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67120         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67121         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67122         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67123         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67124         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67125         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67126         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67127         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67128         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67130         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67131         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67132         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67133         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67135         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67136         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67139         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67140         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67141         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67142         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67143         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67144         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67145         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67146         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67147         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67148         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67149         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67150         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67151         * sysdeps/ieee754/k_standard.c: Likewise.
67152         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67153         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67154         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67155         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67156         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67157         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67158         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67159         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67160         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67161         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67162         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67163         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67164         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67165         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67166         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67167         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67168         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67169         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67170         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67171         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67172         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67173         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67174         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67175         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67176         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67177         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67179         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67180         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67181         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67182         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67183         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67184         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67185         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67187         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67188         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67190         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67191         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67192         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67195         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67197         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67200         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67201         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67202         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67205         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67206         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67207         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67208         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67209         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67210         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67212         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67213         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67214         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67215         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67216         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67217         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67218         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67219         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67220         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67222         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67223         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67224         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67225         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67226         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67227         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67228         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67229         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67230         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67231         * sysdeps/ieee754/s_matherr.c: Likewise.
67232         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67233         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67234         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67235         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67237 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67239         * crypt/md5.h: Remove __STDC__ conditionals.
67240         * libio/libioP.h: Likewise.
67241         * locale/programs/config.h: Likewise.
67242         * sysdeps/generic/sysdep.h: Likewise.
67243         * sysdeps/i386/asm-syntax.h: Likewise.
67244         * sysdeps/s390/asm-syntax.h: Likewise.
67245         * sysdeps/unix/sysdep.h: Likewise.
67246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67249 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67251         * libio/libio.h: Remove __STDC__ conditionals.
67252         * malloc/obstack.h: Likewise.
67253         * math/complex.h: Likewise.
67254         * math/math.h: Likewise.
67255         * sysdeps/generic/_G_config.h: Likewise.
67256         * sysdeps/gnu/_G_config.h: Likewise.
67257         * sysdeps/mach/hurd/_G_config.h: Likewise.
67258         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67259         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67260         * sysdeps/sparc/bits/mathdef.h: Likewise.
67262 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67264         [BZ #13583]
67265         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67266         Clean up HAS_* macros.
67267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67268         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67269         possible.
67270         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67271         HAS_AVX.
67272         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67273         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67274         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67275         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67276         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67278 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67280         * elf/tst-unique3.cc (gets): Remove declaration.
67281         * elf/tst-unique3lib.cc (gets): Likewise.
67282         * elf/tst-unique3lib2.cc (gets): Likewise.
67283         * elf/tst-unique4.cc (gets): Likewise.
67285 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67287         * include/stdio.h: Add C++ protection.  Add gets declarations and
67288         definitions.
67289         * debug/tst-chk1.c: Don't declare gets here.
67290         * stdio-common/tst-gets.c: Likewise.
67292 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67294         * posix/glob: Remove directory.
67296 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67298         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67300 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67302         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67303         of the non-standard EPFNOSUPPORT.
67305 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67307         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67308         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67309         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67311 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67313         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67315 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67317         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67318         transient errors.
67319         * nscd/grpcache.c (cache_addgr): Likewise.
67320         * nscd/hstcache.c (cache_addhst): Likewise.
67321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67322         * nscd/pwdcache.c (cache_addpw): Likewise.
67323         * nscd/servicescache.c (cache_addserv): Likewise.
67325 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67327         * malloc/malloc.c: Various cleanups.
67328         * malloc/hooks.c: Likewise.
67330         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67331         * stdlib/bug-fmtmsg1.c: New file.
67333         * stdlib/fmtmsg.c (init): Add missing unlock.
67334         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67336 2012-01-12  Marek Polacek  <polacek@redhat.com>
67338         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67339         and _GNU_SOURCE.
67341 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67343         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67344         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67345         macro to ensure uniqueness of label name.
67346         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67347         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67349 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67351         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67354         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67355         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67358 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67360         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67362         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67363         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67364         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67366         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67368         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67369         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67370         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67371         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67373         * math/bits/math-finite.h: Add ldexp support.
67375 2012-01-10  Marek Polacek  <polacek@redhat.com>
67377         * locale/programs/localedef.h (show_archive_content): Add noreturn
67378         attribute.
67380 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67382         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67384 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67386         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67388         * io/Makefile (headers): Add bits/poll2.h.
67390 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67393         typo #include statement.
67395 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67397         * include/sys/cdefs.h: Define __attribute_alloc_size.
67398         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67399         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67400         * elf/pldd.c: Likewise.
67401         * iconv/iconv_charmap.c: Likewise.
67402         * iconv/iconvconfig.c: Likewise.
67403         * iconv/strtab.c: Likewise.
67404         * locale/programs/locale.c: Likewise.
67405         * locale/programs/localedef.h: Likewise.
67406         * locale/programs/simple-hash.c: Likewise.
67407         * nscd/nscd.h: Likewise.
67408         * nss/makedb.c: Likewise.
67409         * sysdeps/generic/ldconfig.h: Likewise.
67410         * locale/programs/localedef.c: Remove xmalloc prototype.
67411         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67413 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67415         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67416         appropriate.
67418 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67420         * math/Makefile (tests): Add tst-CMPLX.
67421         * math/tst-CMPLX.c: New file.
67423         * math/complex.h (CMPLXL): Fix typo.
67425         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67426         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67427         GLIBC_2.16.
67428         * debug/tst-chk1.c: Add poll and ppoll tests.
67429         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67430         * include/sys/poll.h: Add hidden proto for ppoll.
67431         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67432         * sysdeps/mach/hurd/ppoll.c: Likewise.
67433         * io/ppoll.c: Likewise.
67434         * debug/poll_chk.c: New file.
67435         * debug/ppoll_chk.c: New file.
67436         * include/bits/poll2.h: New file.
67437         * io/bits/poll2.h: New file.
67439         [BZ #1350]
67440         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67442         * configure.in: static is always set to yes.  Remove.
67443         * config.make.in: Don't set build-static.
67444         * Makeconfig: Remove use of build-static.
67445         * dlfcn/Makefile: Likewise.
67446         * elf/Makefile: Likewise.
67447         * math/Makefile: Likewise.
67448         * misc/Makefile: Likewise.
67449         * nptl/Makefile: Likewise.
67450         * sysdeps/mach/hurd/Makefile: Likewise.
67452         * configure.in: PWD_P is not used anymore.
67453         * config.make.in: Remove PWD_P entry.
67455         * configure.in: Remove last remnants of RANLIB.
67456         No need to check for signed size_t anymore.
67457         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67458         and IA-64.
67459         Remove __builtin_expect test because we require at least gcc 3.4.
67460         * aclocal.m4: Likewise.
67462         * wcsmbs/mbrtoc16.c: Implement using towc function.
67463         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67464         * wcsmbs/wcsmbsload.c: Likewise.
67465         * iconv/gconv_simple.c: Likewise.
67466         * iconv/gconv_int.h: Likewise.
67467         * iconv/gconv_builtin.h: Likewise.
67468         * iconv/iconv_prog.c: Remove CHAR16 handling.
67470         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67472         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67474         * configure.in: Remove --with-elf and --enable-bounded options.
67475         Dont set base_machine for ia64.  More non-ELF conditions removed.
67476         Remove testing and setting of leading underscore information.
67477         * config.make.in (build-bounded): Set to no.
67478         * config.h.in: Remove NO_UNDERSCORES entry.
67479         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67480         them.
67481         * csu/start.c: Remove !NO_UNDERSCORE code.
67482         * locale/localeinfo.h: Likewise.
67483         * sysdeps/generic/machine-gmon.h: Likewise.
67484         * sysdeps/generic/sysdep.h: Likewise.
67485         * sysdeps/i386/sysdep.h: Likewise.
67486         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67487         * sysdeps/mach/sysdep.h: Likewise.
67488         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67489         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67490         * sysdeps/sh/sysdep.h: Likewise.
67491         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67492         * sysdeps/unix/i386/sysdep.S: Likewise.
67493         * sysdeps/unix/sparc/start.c: Likewise.
67494         * sysdeps/unix/sparc/sysdep.S: Likewise.
67495         * sysdeps/unix/sparc/sysdep.h: Likewise.
67496         * sysdeps/unix/start.c: Likewise.
67497         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67498         * sysdeps/x86_64/sysdep.h: Likewise.
67500 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67502         [BZ #13553]
67503         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67504         for non-gcc.
67505         * argp/argp-fmtstream.h: Use const instead __const.
67506         * argp/argp.h: Likewise.
67507         * assert/assert.h: Likewise.
67508         * bits/fenv.h: Likewise.
67509         * bits/sched.h: Likewise.
67510         * bits/sigset.h: Likewise.
67511         * bits/sigthread.h: Likewise.
67512         * catgets/nl_types.h: Likewise.
67513         * conform/data/pthread.h-data: Likewise.
67514         * crypt/crypt-private.h: Likewise.
67515         * crypt/crypt.h: Likewise.
67516         * crypt/crypt_util.c: Likewise.
67517         * ctype/ctype.h: Likewise.
67518         * debug/execinfo.h: Likewise.
67519         * debug/mbsnrtowcs_chk.c: Likewise.
67520         * debug/mbsrtowcs_chk.c: Likewise.
67521         * debug/wcsnrtombs_chk.c: Likewise.
67522         * debug/wcsrtombs_chk.c: Likewise.
67523         * debug/wcstombs_chk.c: Likewise.
67524         * dirent/dirent.h: Likewise.
67525         * dlfcn/dlfcn.h: Likewise.
67526         * elf/neededtest4.c: Likewise.
67527         * grp/grp.h: Likewise.
67528         * gshadow/gshadow.h: Likewise.
67529         * iconv/gconv.h: Likewise.
67530         * iconv/gconv_int.h: Likewise.
67531         * iconv/gconv_simple.c: Likewise.
67532         * iconv/iconv.h: Likewise.
67533         * iconv/loop.c: Likewise.
67534         * iconv/skeleton.c: Likewise.
67535         * include/aio.h: Likewise.
67536         * include/aliases.h: Likewise.
67537         * include/argz.h: Likewise.
67538         * include/arpa/inet.h: Likewise.
67539         * include/assert.h: Likewise.
67540         * include/dirent.h: Likewise.
67541         * include/dlfcn.h: Likewise.
67542         * include/execinfo.h: Likewise.
67543         * include/fcntl.h: Likewise.
67544         * include/fenv.h: Likewise.
67545         * include/glob.h: Likewise.
67546         * include/grp.h: Likewise.
67547         * include/libintl.h: Likewise.
67548         * include/mntent.h: Likewise.
67549         * include/netdb.h: Likewise.
67550         * include/pwd.h: Likewise.
67551         * include/rpc/netdb.h: Likewise.
67552         * include/sched.h: Likewise.
67553         * include/search.h: Likewise.
67554         * include/shadow.h: Likewise.
67555         * include/signal.h: Likewise.
67556         * include/stdio.h: Likewise.
67557         * include/stdlib.h: Likewise.
67558         * include/string.h: Likewise.
67559         * include/sys/socket.h: Likewise.
67560         * include/sys/stat.h: Likewise.
67561         * include/sys/statfs.h: Likewise.
67562         * include/sys/statvfs.h: Likewise.
67563         * include/sys/syslog.h: Likewise.
67564         * include/sys/time.h: Likewise.
67565         * include/sys/uio.h: Likewise.
67566         * include/time.h: Likewise.
67567         * include/unistd.h: Likewise.
67568         * include/utmp.h: Likewise.
67569         * include/wchar.h: Likewise.
67570         * include/wctype.h: Likewise.
67571         * inet/aliases.h: Likewise.
67572         * inet/arpa/inet.h: Likewise.
67573         * inet/netinet/ether.h: Likewise.
67574         * inet/netinet/in.h: Likewise.
67575         * intl/libintl.h: Likewise.
67576         * io/bits/fcntl2.h: Likewise.
67577         * io/fcntl.h: Likewise.
67578         * io/ftw.h: Likewise.
67579         * io/sys/poll.h: Likewise.
67580         * io/sys/stat.h: Likewise.
67581         * io/sys/statfs.h: Likewise.
67582         * io/sys/statvfs.h: Likewise.
67583         * io/utime.h: Likewise.
67584         * libio/bits/stdio.h: Likewise.
67585         * libio/bits/stdio2.h: Likewise.
67586         * libio/libio.h: Likewise.
67587         * libio/libioP.h: Likewise.
67588         * libio/stdio.h: Likewise.
67589         * locale/lc-ctype.c: Likewise.
67590         * locale/locale.h: Likewise.
67591         * login/utmp.h: Likewise.
67592         * malloc/arena.c: Likewise.
67593         * malloc/malloc.c: Likewise.
67594         * malloc/malloc.h: Likewise.
67595         * malloc/mcheck.c: Likewise.
67596         * malloc/mtrace.c: Likewise.
67597         * math/bits/mathcalls.h: Likewise.
67598         * math/fenv.h: Likewise.
67599         * math/math_private.h: Likewise.
67600         * misc/bits/error.h: Likewise.
67601         * misc/bits/syslog.h: Likewise.
67602         * misc/err.h: Likewise.
67603         * misc/error.h: Likewise.
67604         * misc/fstab.h: Likewise.
67605         * misc/mntent.h: Likewise.
67606         * misc/regexp.h: Likewise.
67607         * misc/search.h: Likewise.
67608         * misc/sgtty.h: Likewise.
67609         * misc/sys/mman.h: Likewise.
67610         * misc/sys/syslog.h: Likewise.
67611         * misc/sys/uio.h: Likewise.
67612         * misc/sys/xattr.h: Likewise.
67613         * misc/ttyent.h: Likewise.
67614         * nis/rpcsvc/ypclnt.h: Likewise.
67615         * nss/nss.h: Likewise.
67616         * posix/bits/unistd.h: Likewise.
67617         * posix/fnmatch.h: Likewise.
67618         * posix/glob.h: Likewise.
67619         * posix/sched.h: Likewise.
67620         * posix/spawn.h: Likewise.
67621         * posix/sys/wait.h: Likewise.
67622         * posix/unistd.h: Likewise.
67623         * posix/wordexp.h: Likewise.
67624         * pwd/pwd.h: Likewise.
67625         * resolv/netdb.h: Likewise.
67626         * resource/sys/resource.h: Likewise.
67627         * rt/aio.h: Likewise.
67628         * rt/bits/mqueue2.h: Likewise.
67629         * rt/mqueue.h: Likewise.
67630         * shadow/shadow.h: Likewise.
67631         * signal/signal.h: Likewise.
67632         * socket/send.c: Likewise.
67633         * socket/sendto.c: Likewise.
67634         * socket/sys/socket.h: Likewise.
67635         * stdio-common/printf.h: Likewise.
67636         * stdlib/bits/stdlib.h: Likewise.
67637         * stdlib/fmtmsg.h: Likewise.
67638         * stdlib/monetary.h: Likewise.
67639         * stdlib/stdlib.h: Likewise.
67640         * stdlib/ucontext.h: Likewise.
67641         * streams/stropts.h: Likewise.
67642         * string/argz.h: Likewise.
67643         * string/bits/string2.h: Likewise.
67644         * string/string.h: Likewise.
67645         * string/strings.h: Likewise.
67646         * sunrpc/rpc/auth.h: Likewise.
67647         * sunrpc/rpc/auth_des.h: Likewise.
67648         * sunrpc/rpc/clnt.h: Likewise.
67649         * sunrpc/rpc/netdb.h: Likewise.
67650         * sunrpc/rpc/pmap_clnt.h: Likewise.
67651         * sunrpc/rpc/xdr.h: Likewise.
67652         * sysdeps/generic/inttypes.h: Likewise.
67653         * sysdeps/generic/net/if.h: Likewise.
67654         * sysdeps/generic/sys/swap.h: Likewise.
67655         * sysdeps/gnu/net/if.h: Likewise.
67656         * sysdeps/gnu/utmpx.h: Likewise.
67657         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67658         * sysdeps/i386/i486/bits/string.h: Likewise.
67659         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67660         * sysdeps/s390/bits/string.h: Likewise.
67661         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67662         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67663         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67664         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67665         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67666         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67667         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67668         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67669         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67670         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67671         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67672         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67673         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67674         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67675         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67676         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67677         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67679         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67680         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67681         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67682         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67683         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67684         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67685         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67686         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67687         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67688         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67689         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67690         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67691         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67692         * sysvipc/sys/ipc.h: Likewise.
67693         * sysvipc/sys/msg.h: Likewise.
67694         * sysvipc/sys/sem.h: Likewise.
67695         * sysvipc/sys/shm.h: Likewise.
67696         * termios/termios.h: Likewise.
67697         * time/sys/time.h: Likewise.
67698         * time/time.h: Likewise.
67699         * wcsmbs/bits/wchar2.h: Likewise.
67700         * wcsmbs/uchar.h: Likewise.
67701         * wcsmbs/wchar.h: Likewise.
67702         * wctype/wctype.h: Likewise.
67704         [BZ #13551]
67705         * Makeconfig: Remove all but ELF support including AIX support.
67706         * Makerules: Likewise.
67707         * config.h.in: Likewise.
67708         * config.make.in: Likewise.
67709         * configure: Likewise.
67710         * configure.in: Likewise.
67711         * csu/Makefile: Likewise.
67712         * csu/version.c: Likewise.
67713         * debug/Makefile: Likewise.
67714         * dlfcn/Makefile: Likewise.
67715         * elf/Makefile: Likewise.
67716         * extra-lib.mk: Likewise.
67717         * iconv/Makefile: Likewise.
67718         * include/libc-symbols.h: Likewise.
67719         * include/shlib-compat.h: Likewise.
67720         * resolv/Makefile: Likewise.
67721         * resolv/res_libc.c: Likewise.
67722         * rt/Makefile: Likewise.
67723         * sysdeps/i386/asm-syntax.h: Likewise.
67724         * sysdeps/i386/sysdep.h: Likewise.
67725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67726         * sysdeps/mach/sysdep.h: Likewise.
67727         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67728         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67729         * sysdeps/s390/asm-syntax.h: Likewise.
67730         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67731         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67732         * sysdeps/sh/sysdep.h: Likewise.
67733         * sysdeps/unix/sparc/sysdep.h: Likewise.
67734         * sysdeps/wordsize-32/divdi3.c: Likewise.
67735         * sysdeps/x86_64/sysdep.h: Likewise.
67737         * argp/Versions: Remove _argp_unlock_xxx.
67739         [BZ #13559]
67740         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
67741         * abilist/libBrokenLocale.abilist: Likewise.
67742         * abilist/libanl.abilist: Likewise.
67743         * abilist/libc.abilist: Likewise.
67744         * abilist/libcrypt.abilist: Likewise.
67745         * abilist/libdl.abilist: Likewise.
67746         * abilist/libm.abilist: Likewise.
67747         * abilist/libnsl.abilist: Likewise.
67748         * abilist/libpthread.abilist: Likewise.
67749         * abilist/libresolv.abilist: Likewise.
67750         * abilist/librt.abilist: Likewise.
67751         * abilist/libthread_db.abilist: Likewise.
67752         * abilist/libutil.abilist: Likewise.
67753         * abilist/libnss_db.abilist: New file.
67755         * scripts/abilist.awk: Add support for indirect functions.
67757         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67759         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67761         * shlib-versions: Remove entries for ports architectures.
67763         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
67764         files in ports.
67765         * elf/stackguard-macros.h: Remove support for IA-64.
67766         * elf/tst-auditmod1.c: Likewise.
67767         * sysdeps/generic/ldsodefs.h: Likewise.
67769         * sysdeps/unix/sysv/linux/configure.in: Ports should define
67770         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67771         configure files.
67773         [BZ #13552]
67774         * configure.in: Remove --enable-omitfp support.
67775         * FAQ.in: Adjust.
67776         * config.make.in: Likewise.
67777         * Makeconfig: Likewise.
67778         * manual/install.texi: Likewise.
67780         In case anyone cares, the IA-64 architecture could move to ports.
67781         * sysdeps/ia64/*: Removed.
67782         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67783         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67785         [BZ #13555]
67786         * configure.in: Remove entries for unsupported architectures.
67788         [BZ #13533]
67789         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67790         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67791         routines.
67792         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67793         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67794         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67795         fall back to using wcrtomb.
67796         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67797         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67798         renaming.
67799         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67800         * wcsmbs/tst-c16c32-1.c: New file.
67802         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67803         local variable.
67805         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67807         * elf/tst-unique3.cc: Add explicit declaration of gets.
67808         * elf/tst-unique3lib.cc: Likewise.
67809         * elf/tst-unique3lib2.cc: Likewise.
67810         * elf/tst-unique4.cc: Likewise.
67812         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67814 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67816         [BZ #13566]
67817         * assert/assert.h (static_assert): Don't define for C++.
67818         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67819         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67821 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67823         * iconv/loop.c (single loop): Fix assertion in storing of
67824         remaining bytes.
67826         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67828 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67830         * posix/getconf.c: Update copyright year.
67831         * nss/getent.c: Likewise.
67832         * nss/makedb.c: Likewise.
67833         * iconv/iconvconfig.c: Likewise.
67834         * iconv/iconv_prog.c: Likewise.
67835         * elf/ldconfig.c: Likewise.
67836         * elf/pldd.c: Likewise.
67837         * elf/sotruss.ksh: Likewise.
67838         * catgets/gencat.c: Likewise.
67839         * csu/version.c: Likewise.
67840         * elf/ldd.bash.in: Likewise.
67841         * elf/sprof.c (print_version): Likewise.
67842         * locale/programs/locale.c: Likewise.
67843         * locale/programs/localedef.c: Likewise.
67844         * login/programs/pt_chown.c: Likewise.
67845         * nscd/nscd.c (print_version): Likewise.
67846         * debug/xtrace.sh: Likewise.
67847         * malloc/memusage.sh: Likewise.
67848         * malloc/mtrace.pl: Likewise.
67849         * debug/catchsegv.sh: Likewise.
67851 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67853         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67854         pure attribute.
67856 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67858         [BZ #13533]
67859         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67860         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67861         transformations.
67862         * iconv/gconv_int.h: Likewise.
67863         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67864         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67865         from libc for GLIBC_2.16.
67866         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67867         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67868         * wcsmbs/uchar.h: Really define mbstate_t.
67869         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67870         * wcsmbs/c16rtomb.c: New file.
67871         * wcsmbs/mbrtoc16.c: New file.
67872         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67873         for C/POSIX locale.
67874         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67875         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67877         * wcsmbs/wchar.h: Add missing __restrict.
67879 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67881         [BZ #13532]
67882         * time/Makefile (routines): Add timespec_get.
67883         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67884         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67885         timespec for ISO C11.
67886         * time/timespec_get.c: New file.
67887         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67888         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67890         [BZ #13531]
67891         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67892         * stdlib/stdlib.h: Declare aligned_alloc.
67893         * Versions.def: Add GLIBC_2.16 for libc.
67894         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67896         [BZ 13527]
67897         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67898         ISO C11.
67900         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67901         code.
67903         [BZ #13528]
67904         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67906         [BZ #13529]
67907         * assert/assert.h (static_assert): Define.
67909         * version.h: Update for 2.16 development version.
67911         [BZ #13526]
67912         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67913         _ISOC11_SOURCE.
67915         * version.h (RELEASE): Bump for 2.15 release.
67916         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67918         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67919         Patch by Marek Polacek <mpolacek@redhat.com>.
67921         * bits/byteswap.h: Protect long long constants with __extension__.
67922         * sysdeps/i386/bits/byteswap.h: Likewise.
67923         * sysdeps/ia64/bits/byteswap.h: Likewise.
67924         * sysdeps/s390/bits/byteswap.h: Likewise.
67925         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67927 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67929         [BZ #13540]
67930         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67931         destination buffer.
67932         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67934 2011-12-23  Marek Polacek  <polacek@redhat.com>
67936         * elf/dl-addr.c (determine_info): Add inline keyword.
67937         * elf/tst-auditmod4b.c (check_avx): Likewise.
67938         * elf/tst-auditmod6b.c (check_avx): Likewise.
67939         * elf/tst-auditmod6c.c (check_avx): Likewise.
67940         * elf/tst-auditmod7b.c (check_avx): Likewise.
67942 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67944         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67945         !__SSE_MATH__.
67947 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67949         [BZ #13540]
67950         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67951         processing for last bytes.
67953 2011-08-06  Bruno Haible  <bruno@clisp.org>
67955         [BZ #13061]
67956         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67957         U+0385, not to U+1FEE.
67959         [BZ #13062]
67960         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67961         entry for U+00A5 U+0301.
67963 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67965         [BZ #13166]
67966         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67967         buffer for the output is too small.
67969         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67970         optimization.
67972         [BZ #13185]
67973         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67974         SSE flags if possible.
67976 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67978         [BZ #13540]
67979         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67980         processing for last bytes.
67982 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67984         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67985         (syscall-list-default-options, syscall-list-default-condition)
67986         (syscall-list-includes): Define.
67987         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67988         list of ABIs and options and #if conditions for each ABI.  Do not
67989         handle common syscalls between ABIs specially.
67990         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67991         Remove.
67992         (syscall-list-variants, syscall-list-32bit-options)
67993         (syscall-list-32bit-condition, syscall-list-64bit-options)
67994         (syscall-list-64bit-condition): Define.
67995         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67996         (syscall-list-variants, syscall-list-32bit-options)
67997         (syscall-list-32bit-condition, syscall-list-64bit-options)
67998         (syscall-list-64bit-condition): Define.
67999         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68000         Remove.
68001         (syscall-list-variants, syscall-list-32bit-options)
68002         (syscall-list-32bit-condition, syscall-list-64bit-options)
68003         (syscall-list-64bit-condition): Define.
68004         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68005         Remove.
68006         (syscall-list-variants, syscall-list-32bit-options)
68007         (syscall-list-32bit-condition, syscall-list-64bit-options)
68008         (syscall-list-64bit-condition): Define.
68010 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68012         * locale/iso-639.def: Add brx entry.
68014         [BZ #13328]
68015         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68016         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68018         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68019         __feraiseexcept_renamed.
68021 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68023         [BZ #13538]
68024         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68025         EPOLLET with unsigned values.
68026         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68027         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68029         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68030         to large cancellation.
68031         * math/s_cacoshf.c: Likewise.
68032         * math/s_cacoshl.c: Likewise.
68034 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68036         [BZ #13305]
68037         [BZ #12786]
68038         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68039         * math/s_cacoshf.c: Likewise.
68040         * math/s_cacoshl.c: Likewise.
68042 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68044         [BZ #13439]
68045         * iconv/gconv.h: Define __GCONV_SWAP.
68046         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68047         * iconvdata/utf-16.c: Likewise.
68048         * iconvdata/utf-32.c: Likewise.
68050 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68052         [BZ #13524]
68053         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68054         numerator after shifting it by one limb.
68056 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68058         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68059         under [__USE_EXTERN_INLINES].
68061 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68063         [BZ #13446]
68064         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68066 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68068         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68069         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68070         optimized code.
68071         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68072         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68073         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68074         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68075         for strncasecmp/strncasecmp_l compilation.
68076         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68077         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68079 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68081         [BZ #13484]
68082         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68083         of __asm__.
68085 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68087         [BZ #13506]
68088         * time/tzfile.c (__tzfile_read): Check values from file header.
68090 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68092         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68093         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68094         * powerpc/powerpc32/dl-start.S: Likewise.
68095         * powerpc/powerpc32/elf/start.S: Likewise.
68096         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68097         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68098         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68099         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68100         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68101         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68102         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68103         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68104         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68105         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68106         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68107         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68108         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68109         * powerpc/powerpc32/memset.S: Likewise.
68110         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68111         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68112         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68113         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68114         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68115         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68116         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68117         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68118         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68119         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68120         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68121         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68122         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68124 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68126         * math/libm-test.inc: Added more nearbyint tests.
68127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68128         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68132 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68134         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68135         FD_CLOEXEC.
68137 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68139         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68140         Add wcscpy-ssse3 wcscpy-c.
68141         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68142         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68143         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68144         * sysdeps/x86_64/wcschr.S: New file.
68145         * sysdeps/x86_64/wcsrchr.S: New file.
68146         * string/test-strcmp.c: Remove checking of wcscmp function for
68147         wrong alignments.
68148         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68149         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68150         wcsrchr-sse2 wcsrchr-c.
68151         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68152         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68153         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68154         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68155         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68156         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68157         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68158         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68159         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68160         * wcsmbc/wcschr.c (WCSCHR): New macro.
68162 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68164         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68165         * wcsmbs/test-wcsrchr.c: New file.
68166         * string/test-strrchr.c: Add wcsrchr support.
68167         (WIDE): New macro.
68168         * wcsmbs/test-wcscpy.c: New file.
68169         * string/test-strcpy.c: Add wcscpy support.
68170         (WIDE): New macro.
68172 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68174         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68175         the inner loop.
68177 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68179         [BZ #13472]
68180         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68182 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68184         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68185         Minor optimizations.
68187         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68188         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68189         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68191 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68193         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68194         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68195         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68196         for gcc to avoid warnings.
68197         * inet/Makefile (tests): Add tst-checks.
68198         * inet/tst-checks.c: New file.
68200         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68201         warning.
68203         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68204         __wmemcmp_sse2.
68206         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68207         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68209         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68211 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68213         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68214         problem.
68216         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68218 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68220         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68221         conditional on GCC version.
68222         (__arch_compare_and_exchange_val_8_acq)
68223         (__arch_compare_and_exchange_val_16_acq)
68224         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68225         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68226         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68228 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68230         * sysdeps/sh/backtrace.c: New file.
68232 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68234         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68235         parenthesis.
68237 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68239         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68240         falling back to utime.
68242 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68244         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68245         expectations for float.
68247 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68249         * locale/weight.h (findidx): Add parameter len.
68250         * locale/weightwc.h (findidx): Likewise.
68251         * posix/fnmatch_loop.c (FCT): Adjust caller.
68252         * posix/regcomp.c (build_equiv_class): Likewise.
68253         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68254         * posix/regexec.c (check_node_accept_bytes): Likewise.
68255         * string/strcoll_l.c (STRCOLL): Likewise.
68256         * string/strxfrm_l.c (STRXFRM): Likewise.
68258 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68260         * Makefile.in: Remove CVSOPT handling.
68261         * configure.in: Remove use of AC_REVISION.
68262         * iconvdata/Makefile (distribute): No need to filter out CVS.
68263         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68264         handling.
68266 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68268         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68269         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68270         [USE_AS_STRNCASECMP_L]: Likewise.
68271         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68272         NO_TLS_DIRECT_SEG_REFS.
68273         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68274         Fix argument offsets for non-PIC.
68275         [USE_AS_STRNCASECMP_L]: Likewise.
68276         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68277         NO_TLS_DIRECT_SEG_REFS.
68279 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68281         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68282         O_CLOEXEC.
68283         * locale/loadlocale.c (_nl_load_locale): Likewise.
68285 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68287         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68288         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68289         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68290         (SYSCALL_GETTIME): Set errno on error.
68292         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68293         count references to noai6ai_cached.
68295 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68297         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68299         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68300         FD_CLOEXEC for /proc/self/maps.
68302         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68303         FD_CLOEXEC for /proc/meminfo.
68305         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68306         gai.conf.
68308         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68309         FD_CLOEXEC for given file.
68311         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68313         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68314         FD_CLOEXEC for /etc/hosts.
68315         (_gethtent): Likewise.
68317         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68319         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68320         cancellation and set FD_CLOEXEC for /etc/netgroup.
68322         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68323         reading /etc/publickey.
68325         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68326         allow cancellation when reading /etc/group.
68328         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68329         cancellation.
68330         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68332         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68333         when using data file.
68335         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68337         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68338         (write_nis_obj): Use "c" and "e" in fopen.
68340         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68342         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68344         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68346         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68348         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68349         locale.alias.
68351         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68353         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68355         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68357         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68358         file parsing and set FD_CLOEXEC.
68360 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68362         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68364 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68366         * malloc/arena.c (arena_get2): Don't call reused_arena when
68367         _int_new_arena failed.
68369 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68371         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68372         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68373         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68374         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68375         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68376         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68377         to compile strcasecmp and strncasecmp.
68378         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68379         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68383 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68385         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68386         locale-defines.sym to gen-as-const-headers.
68387         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68388         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68389         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68390         to compile strcasecmp and strncasecmp.
68391         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68392         strcasecmp_l and strncasecmp_l.
68393         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68394         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68395         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68396         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68397         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68398         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68399         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68400         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68401         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68402         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68403         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68405 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68407         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68408         result of SYSDEP_GETTIME_CPU to retval.
68409         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68410         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68412         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68413         variable.
68415         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68416         mantissa words.
68417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68419         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68420         from unused variable.
68422         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68423         DWARF definitions.
68424         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68425         for assembling.
68427         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68428         over namespaces.
68430         * sunrpc/rpc_prot.c (rejected): Fix case value.
68432         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68433         unsigned long long int to avoid warnings in shift.
68435         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68436         of use of trans.
68437         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68438         variable tmp.
68440         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68441         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68442         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68444         * nis/nis_table.c (nis_list): Use variable of correct type for
68445         result of __follow_path call.
68447 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68449         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68450         of math functions ceil, trunc, floor, round, and sqrt, when
68451         avaliable on the platform.
68452         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68453         name clash.
68454         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68455         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68456         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68458 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68460         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68461         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68463 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68465         * include/unistd.h: Fix __readlink return type.
68466         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68468 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68470         * stdlib/ucontext.h: Undo last change for makecontext.
68472 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68474         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68476         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68477         * setjmp/setjmp.h: Mark functions as non-leaf.
68478         * setjmp/bits/setjmp2.h: Likewise.
68479         * stdlib/ucontext.h: Likewise.
68481 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68483         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68484         (reused_arena): Don't check arena limit.
68485         (arena_get2): Atomically check arena limit.
68487 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68489         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68490         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68493         instructions.
68495 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68497         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68498         handler when locking.
68500         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68501         Fix size of allocated buffer.
68503 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68505         [BZ #10103]
68506         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68507         declarations for long double functions.
68508         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68510         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68512 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68514         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68515         installed.
68517         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68518         is disabled.
68520 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68522         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68524 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68526         * include/alloca.h (stackinfo_alloca_round): Define.
68527         (extend_alloca): Use it.
68528         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68529         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68530         here.
68532         * scripts/check-local-headers.sh: Ignore libaudit.h.
68534         * nscd/Makefile (extra-objs): Make recursively expanded.
68536 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68538         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68539         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68541         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68542         * posix/tst-rfc3484-2.c: Likewise.
68543         * posix/tst-rfc3484-3.c: Likewise.
68545         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68546         process_vm_writev.
68547         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68548         process_vm_writev.
68549         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68550         process_vm_writev from libc using GLIBC_2.15 version.
68552         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68554 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68556         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68557         stack usage.
68559 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68561         [BZ #13367]
68562         * nss/getent.c (initgroups_keys): Show error message in case no group
68563         names are given.
68565         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68566         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68567         __bump_nl_timestamp.
68568         * nscd/connections (nscd_init): When host database is served open
68569         netlink socket and request notification about configuration changes.
68570         (main_loop_poll): Track netlink file descriptor and bump timestamp
68571         in case data becomes available.
68572         (main_loop_epoll): Likewise.
68573         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68574         (database_pers_head): Add extra_data fileds.
68575         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68576         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68577         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68578         Adjust caller.
68579         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68580         in6ai data, call __free_in6ai.
68581         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68582         Add -DHAVE_NETLINK.
68583         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68584         interface information.  Reuse previous data if netlink timestamp
68585         is not changed.
68586         (__bump_nl_timestamp): New function.
68587         (__free_in6ai): New function.
68589 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68591         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68592         close_not_cancel_no_status here.
68593         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68595 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68597         [BZ #13276]
68598         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68599         return value.
68601         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68602         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68603         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68605 2011-07-03  Andreas Jaeger  <aj@suse.de>
68607         [BZ #10709]
68608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68609         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68610         * math/libm-test.inc (sin_test): Add test case.
68612 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68614         [BZ #13337]
68615         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68616         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68618         * elf/chroot_canon.c (chroot_canon): Cleanups.
68620         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68622         [BZ #13335]
68623         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68624         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68626         * string/test-strchr.c: Make usable for strchrnul testing.
68627         * string/test-strchrnul.c: New file.
68628         * string/Makefile (strop-tests): Add strchrnul.
68630         * po/it.po: Update from translation team.
68631         * po/es.po: Likewise.
68633 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68636         the three constants needed as parameters.  Drop the others.
68637         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68638         __m128i_strloadu_tolower.
68639         Create and initialize variable zero and use it in all the places
68640         where _mm_setzero_si128 was used.
68642         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68643         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68644         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68645         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68646         anymore.
68647         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68648         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68649         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68650         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68651         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68652         __mpranred, __mptan.
68653         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68654         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68655         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68656         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68657         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68658         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68659         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68660         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68661         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68663 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68665         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68666         redefine if SHARED.
68667         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68670         wide char related routines to wcsmbs subdir.
68672 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68674         [BZ #13344]
68675         * misc/sys/cdefs.h (__THROWNL): Define.
68676         * posix/unistd.h: Use __THREADNL instead of __THREAD
68677         for memory synchronization functions.
68679 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68681         [BZ #13349]
68682         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68683         doesn't exist.
68684         * manual/stdio.texi (Obstack Streams): Node removed.
68686 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68688         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68689         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68690         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68692         * math/math_private.h (math_force_eval): Allow non-addressable
68693         arguments.
68694         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68696 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68698         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68699         file is not needed.
68701         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68702         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68704         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68706         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68707         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68708         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68709         Add AVX variants.
68710         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68711         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68712         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68713         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68714         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68715         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68716         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68717         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68718         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68719         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68720         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68721         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68722         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68723         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68724         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68725         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68726         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68727         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68728         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68730         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68731         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
68733         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68734         place.  Use VEX encoding when compiling for AVX.
68736 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68738         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68739         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68741         * string/test-strchr.c (do_test): Don't generate NUL bytes.
68743 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68745         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68746         useless if() expression.
68747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68749         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68752         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68753         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68754         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68755         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68756         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68757         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68758         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68759         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68760         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68761         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68762         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68763         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68765         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68767         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68769 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68771         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68772         condition.
68773         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68775 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68777         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68778         .text section.  Avoid duplicate constants.
68779         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68787         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68788         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68789         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68790         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68791         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68792         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68793         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68794         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68795         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68796         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68797         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68798         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68799         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68800         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68801         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68802         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68803         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68804         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68805         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68806         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68807         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68808         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68809         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68810         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68811         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68812         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68813         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68814         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68815         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68816         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68817         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68818         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68819         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68820         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68821         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68822         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68823         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68825 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68827         * sysdeps/x86_64/dla.h: Move to ...
68828         * sysdeps/x86_64/fpu/dla.h: ...here.
68829         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68830         situations.  Use __builtin_fma only for gcc 4.6 and up.
68832         * config.make.in: Add have-mfma4 entry.
68833         * configure.in: Substitute libc_cv_cc_fma4.
68834         * math/Makefile (dbl-only-routines): Add sincostab.
68835         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68836         Use __sincostab not sincos.
68837         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68838         name is a macro.
68839         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68842         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68843         using __copysign.
68844         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68845         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68846         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68847         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68848         and __inv.
68849         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68850         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68851         __copysign.
68852         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68853         define aliases when function name is a macro.
68854         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68855         sysdeps/ieee754/dbl-64/sincos.tbl.
68856         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68857         fma4-enabled routines.
68858         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68859         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68860         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68861         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68862         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68863         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68864         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68865         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68866         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68867         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68868         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68869         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68870         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68871         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68872         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68873         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68874         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68875         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68876         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68877         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68878         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68879         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68880         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68881         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68882         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68883         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68885         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68886         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68887         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68889         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68890         rename.
68891         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68892         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68893         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68898         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68900 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68902         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68904 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68908         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68909         prediction.
68910         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68912         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68913         Remove unused variable magic_bits.
68914         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68916         * string/strnlen.c: Define and use STRNLEN macro.
68917         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68918         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68919         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68920         * wcsmbs/wcslen.c: Define and use WCSLEN.
68921         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68922         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68923         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68924         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68925         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68926         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68927         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68929 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68932         strnlen-sse2-no-bsf.
68933         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68934         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68935         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68936         Add strnlen support.
68937         (USE_AS_STRNLEN): New macro.
68938         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68939         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68940         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68941         * sysdeps/x86_64/wcslen.S: New file.
68943 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68945         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68946         XMM-moves are used for copying on small sizes.
68948 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68950         * wcsmbs/Makefile (strop-tests): Add wcschr.
68951         * wcsmbs/test-wcschr.c: New file.
68952         * string/test-strchr.c: Update.
68953         Add wcschr support.
68954         (WIDE): New macro.
68956 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68958         * wcsmbs/Makefile (strop-tests): Add wcslen.
68959         * wcsmbs/test-wcslen.c: New file.
68960         * string/test-strlen.c: Update.
68961         Add wcslen support.
68962         (WIDE): New macro.
68964 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68966         * po/it.po: Update from translation team.
68968 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68970         * sysdeps/x86_64/wcscmp.S: Update.
68971         Fix wrong comparison semantics.
68972         wcscmp shall use signed comparison not unsigned.
68973         Don't use substraction to avoid overflow bug.
68974         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68975         * wcsmbc/wcscmp.c: Likewise.
68976         * string/test-strcmp.c: Likewise.
68977         Add new tests to check cases with negative values.
68979 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68981         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68982         * sysdeps/x86_64/dla.h: ...here.  New file.
68983         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68985         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68990         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68991         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68993 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68996         __ynl_finite aliases.
68998 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69002         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69003         define DLA_FMA.
69004         [DLA_FMA] (EMULV): Use DLA_FMA.
69005         [DLA_FMA] (MUL12): Use EMULV.
69006         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69007         that are not needed.
69008         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69016 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69018         * math/s_nan.c: Undef __nan.
69019         * math/s_nanf.c: Undef __nanf.
69020         * math/s_nanl.c: Undef __nanl.
69021         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69022         "math_private.h".
69024 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69026         * math/s_catan.c: Add branch predictions.
69027         * math/s_catanf.c: Likewise.
69028         * math/s_catanh.c: Likewise.
69029         * math/s_catanhf.c: Likewise.
69030         * math/s_catanhl.c: Likewise.
69031         * math/s_catanl.c: Likewise.
69032         * math/s_cexp.c: Likewise.
69033         * math/s_cexpf.c: Likewise.
69034         * math/s_cexpl.c: Likewise.
69035         * math/s_clog.c: Likewise.
69036         * math/s_clog10.c: Likewise.
69037         * math/s_clog10f.c: Likewise.
69038         * math/s_clog10l.c: Likewise.
69039         * math/s_clogf.c: Likewise.
69040         * math/s_clogl.c: Likewise.
69041         * math/s_csqrt.c: Likewise.
69042         * math/s_csqrtf.c: Likewise.
69043         * math/s_csqrtl.c: Likewise.
69044         * math/s_ctanf.c: Likewise.
69045         * math/s_ctanh.c: Likewise.
69046         * math/s_ctanhf.c: Likewise.
69047         * math/s_ctanhl.c: Likewise.
69048         * math/s_ctanl.c: Likewise.
69050         * math/math_private.h: Define __nan, __nanf, __nanl.
69051         * math/s_cacosh.c: Include <math_private.h>.
69052         * math/s_cacoshl.c: Likewise.
69053         * math/s_casinh.c: Likewise.
69054         * math/s_casinhf.c: Likewise.
69055         * math/s_casinhl.c: Likewise.
69056         * math/s_ccos.c: Rely entire on ccosh.
69057         * math/s_ccosf.c: Rely entire on ccoshf.
69058         * math/s_ccosl.c: Rely entirely on ccoshl.
69059         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69060         Remove tests for FE_INVALID.
69061         * math/s_ccoshf.c: Likewise.
69062         * math/s_ccoshl.c: Likewise.
69063         * math/s_csin.c: Likewise.
69064         * math/s_csinf.c: Likewise.
69065         * math/s_csinh.c Likewise.
69066         * math/s_csinhf.c: Likewise.
69067         * math/s_csinhl.c: Likewise.
69068         * math/s_csinl.c: Likewise.
69069         * math/s_ctan.c: Likewise.
69070         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69071         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69072         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69074 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69077         compilation problems.
69079         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69080         __builtin_expect.
69082 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69084         * sysdeps/i386/configure.in: Test for -mfma4 option.
69085         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69086         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69087         COMMON_CPUID_INDEX_80000001.
69088         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69089         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69090         use it if FMA3 is not supported.
69091         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69093         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69094         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69096 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69098         [BZ #12892]
69099         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69100         it would create a cycle with a link time dependency.
69102 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69104         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69105         instruction.
69106         * string/Makefile (strop-tests): Add rawmemchr.
69107         * string/test-rawmemchr.c: New file.
69109         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69110         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69111         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69112         when compiling str{,n}casecmp and when AVX is available.  Hook up
69113         new optimized code in initializers.
69115 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69117         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69118         __feraiseexcept instead of feraiseexcept.
69120 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69122         * math/math_private.h: Define defaults for libc_fetestexcept and
69123         libc_feupdateenv.
69124         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69125         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69126         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69127         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69128         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69129         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69130         libc_fetestexcept and libc_feupdateenv.
69132         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69133         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69134         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69135         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69136         libc_feholdexcept_setround.
69138         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69139         Add s_nearbyint-c and s_nearbyintf-c.
69140         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69141         nearbyintf inlines.
69142         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69143         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69144         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69145         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69147         * math/math_private.h: Define defaults for libc_fegetround,
69148         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69149         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69150         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69151         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69152         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69153         standard functions.
69154         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69155         Remove comments and hacks for old compiler versions.
69156         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69157         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69158         libc_feholdexceptl.
69160 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69162         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69163         (__feraiseexcept_renamed): Add __NTH.
69164         (feraiseexcept): Add __NTH.  Rename local variables to fix
69165         namespace violations.
69167 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69169         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69171         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69173         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69174         recently added interfaces.
69175         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69177         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69178         about macro parameter expansion.
69180         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69181         __NO_MATH_INLINES is defined.  Cleanups.
69183         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69184         and __floorf is target has SSE4.1.
69185         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69186         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69187         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69188         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69190         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69191         name.
69192         (floorf): Likewise.
69194         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69196 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69198         * misc/sys/cdefs.h: Fix last change.
69200         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69201         database lookup.
69203 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69205         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69207         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69209         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69210         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69211         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69212         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69213         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69214         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69215         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69216         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69217         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69218         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69219         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69220         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69221         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69222         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69223         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69224         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69225         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69226         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69227         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69228         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69230         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69231         ceil, ceilf, floor, floorf.
69233         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69234         Perform IRELATIVE relocations last.
69236         * elf/do-rel.h: Add another parameter nrelative, replacing the
69237         local variable with the same name.  Change name of the function
69238         to end in Rel or Rela (uppercase).
69239         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69240         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69241         elf_dynamic_do_##reloc function.
69243 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69245         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69246         is sufficient, at least on modern CPUs.
69248         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69250         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69251         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69253         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69254         __expl_finite.
69255         * math/bits/math-finite.h: Add entries for exp.
69256         * math/e_expl.c: Add __*_finite alias.
69257         * sysdeps/i386/fpu/e_exp.S: Likewise.
69258         * sysdeps/i386/fpu/e_expf.S: Likewise.
69259         * sysdeps/i386/fpu/e_expl.c: Likewise.
69260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69261         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69262         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69263         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69264         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69265         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69266         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69268         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69269         is sufficient, at least on modern CPUs.
69271         * ctype/ctype-info.c (__ctype_init): Define.
69272         * include/ctype.h (__ctype_init): Declare.
69273         (__ctype_b_loc): The variable is always initialized.
69274         (__ctype_toupper_loc): Likewise.
69275         (__ctype_tolower_loc): Likewise.
69276         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69277         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69279 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69281         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69283         * configure.in: Also look in $cxxmachine/include for C++ system
69284         headers.
69286 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69288         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69289         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69290         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69291         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69292         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69293         (USE_AS_WMEMCMP): New macro.
69294         Fixing indents.
69295         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69296         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69297         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69298         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69300         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69301         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69302         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69303         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69304         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69305         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69306         (USE_AS_WMEMCMP): New macro.
69307         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69308         * sysdeps/string/test-memcmp.c: Update.
69309         Fix simple_wmemcmp.
69310         Add new tests.
69311         * wcsmbs/wmemcmp.c: Update.
69312         (WMEMCMP): New macro.
69313         Fix overflow bug.
69315 2011-10-12  Andreas Jaeger  <aj@suse.de>
69317         [BZ #13268]
69318         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69320 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69322         * libio/iofwide.c (do_length): Avoid warning.
69324         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69326 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69328         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69330         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69331         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69332         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69333         * sysdeps/i386/i686/fpu/e_log.S: New file.
69334         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69335         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69337         * ctype/ctype.h: Add support for inlined isXXX functions when
69338         compiling C++ code.
69340 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69342         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69344         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69346 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69348         [BZ #13291]
69349         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69351 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69353         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69354         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69355         feraiseexcept.
69357         * sysdeps/x86_64/memrchr.S: Check for zero size.
69359         * string/stratcliff.c: Add memrchr tests.
69361 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69364         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69365         rawmemchr-sse2 rawmemchr-sse2-bsf.
69366         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69367         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69368         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69369         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69370         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69371         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69372         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69373         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69374         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69375         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69376         * string/memrchr.c (MEMRCHR): New macro.
69378 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69380         Add integration with gcc's -ffinite-math-only and optimize wrapper
69381         functions in libm.
69382         * Versions.def: Define GLIBC_2.15 version for libm.
69383         * math/Makefile (headers): Add bits/math-finite.h.
69384         * math/bits/math-finite.h: New file.
69385         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69386         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69387         * math/e_acoshl.c: Add __*_finite alias.
69388         * math/e_acosl.c: Likewise.
69389         * math/e_asinl.c: Likewise.
69390         * math/e_atan2l.c: Likewise.
69391         * math/e_atanhl.c: Likewise.
69392         * math/e_coshl.c: Likewise.
69393         * math/e_exp10.c: Likewise.
69394         * math/e_exp10f.c: Likewise.
69395         * math/e_exp10l.c: Likewise.
69396         * math/e_exp2l.c: Likewise.
69397         * math/e_fmodl.c: Likewise.
69398         * math/e_gammal_r.c: Likewise.
69399         * math/e_hypotl.c: Likewise.
69400         * math/e_j0l.c: Likewise.
69401         * math/e_j1l.c: Likewise.
69402         * math/e_jnl.c: Likewise.
69403         * math/e_lgammal_r.c: Likewise.
69404         * math/e_log10l.c: Likewise.
69405         * math/e_log2l.c: Likewise.
69406         * math/e_logl.c: Likewise.
69407         * math/e_powl.c: Likewise.
69408         * math/e_sinhl.c: Likewise.
69409         * math/e_sqrtl.c: Likewise.
69410         * math/e_scalb.c: Completely rewritten and optimized.
69411         * math/e_scalbf.c: Likewise.
69412         * math/e_scalbl.c: Likewise.
69413         * math/w_acos.c: Likewise.
69414         * math/w_acosf.c: Likewise.
69415         * math/w_acosl.c: Likewise.
69416         * math/w_acosh.c: Likewise.
69417         * math/w_acoshf.c: Likewise.
69418         * math/w_acoshl.c: Likewise.
69419         * math/w_asin.c: Likewise.
69420         * math/w_asinf.c: Likewise.
69421         * math/w_asinl.c: Likewise.
69422         * math/w_atan2.c: Likewise.
69423         * math/w_atan2f.c: Likewise.
69424         * math/w_atan2l.c: Likewise.
69425         * math/w_atanh.c: Likewise.
69426         * math/w_atanhf.c: Likewise.
69427         * math/w_atanhl.c: Likewise.
69428         * math/w_exp10.c: Likewise.
69429         * math/w_exp10f.c: Likewise.
69430         * math/w_exp10l.c: Likewise.
69431         * math/w_fmod.c: Likewise.
69432         * math/w_fmodf.c: Likewise.
69433         * math/w_fmodl.c: Likewise.
69434         * math/w_j0.c: Likewise.
69435         * math/w_j0f.c: Likewise.
69436         * math/w_j0l.c: Likewise.
69437         * math/w_j1.c: Likewise.
69438         * math/w_j1f.c: Likewise.
69439         * math/w_j1l.c: Likewise.
69440         * math/w_jn.c: Likewise.
69441         * math/w_jnf.c: Likewise.
69442         * math/w_log.c: Likewise.
69443         * math/w_logf.c: Likewise.
69444         * math/w_logl.c: Likewise.
69445         * math/w_log10.c: Likewise.
69446         * math/w_log10f.c: Likewise.
69447         * math/w_log10l.c: Likewise.
69448         * math/w_log2.c: Likewise.
69449         * math/w_log2f.c: Likewise.
69450         * math/w_log2l.c: Likewise.
69451         * math/w_pow.c: Likewise.
69452         * math/w_powf.c: Likewise.
69453         * math/w_powl.c: Likewise.
69454         * math/w_remainder.c: Likewise.
69455         * math/w_remainderf.c: Likewise.
69456         * math/w_remainderl.c: Likewise.
69457         * math/w_scalb.c: Likewise.
69458         * math/w_scalbf.c: Likewise.
69459         * math/w_scalbl.c: Likewise.
69460         * math/w_sqrt.c: Likewise.
69461         * math/w_sqrtf.c: Likewise.
69462         * math/w_sqrtl.c: Likewise.
69463         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69464         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69465         used.
69466         * math/math_private.h: Declare __kernel_standard_f.
69467         * math/w_cosh.c: Remove cruft and optimize a bit.
69468         * math/w_coshf.c: Likewise.
69469         * math/w_coshl.c: Likewise.
69470         * math/w_exp2.c: Likewise.
69471         * math/w_exp2f.c: Likewise.
69472         * math/w_exp2l.c: Likewise.
69473         * math/w_hypot.c: Likewise.
69474         * math/w_hypotf.c: Likewise.
69475         * math/w_hypotl.c: Likewise.
69476         * math/w_lgamma.c: Likewise.
69477         * math/w_lgamma_r.c: Likewise.
69478         * math/w_lgammaf.c: Likewise.
69479         * math/w_lgammaf_r.c: Likewise.
69480         * math/w_lgammal.c: Likewise.
69481         * math/w_lgammal_r.c: Likewise.
69482         * math/w_sinh.c: Likewise.
69483         * math/w_sinhf.c: Likewise.
69484         * math/w_sinhl.c: Likewise.
69485         * math/w_tgamma.c: Likewise.
69486         * math/w_tgammaf.c: Likewise.
69487         * math/w_tgammal.c: Likewise.
69488         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69490         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69491         Minor optimizations.  Pretty printing.  Remove cruft.
69492         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69493         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69494         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69495         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69496         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69497         * sysdeps/i386/fpu/e_asin.S: Likewise.
69498         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69499         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69500         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69501         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69502         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69503         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69504         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69505         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69506         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69507         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69508         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69509         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69510         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69511         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69512         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69513         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69514         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69515         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69516         * sysdeps/i386/fpu/e_log.S: Likewise.
69517         * sysdeps/i386/fpu/e_log10.S: Likewise.
69518         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69519         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69520         * sysdeps/i386/fpu/e_log2.S: Likewise.
69521         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69522         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69523         * sysdeps/i386/fpu/e_logf.S: Likewise.
69524         * sysdeps/i386/fpu/e_logl.S: Likewise.
69525         * sysdeps/i386/fpu/e_pow.S: Likewise.
69526         * sysdeps/i386/fpu/e_powf.S: Likewise.
69527         * sysdeps/i386/fpu/e_powl.S: Likewise.
69528         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69529         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69530         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69531         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69532         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69533         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69534         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69535         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69536         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69537         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69538         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69541         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69543         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69544         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69545         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69546         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69547         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69548         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69550         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69551         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69552         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69557         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69558         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69559         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69560         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69561         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69562         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69563         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69564         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69565         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69566         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69567         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69568         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69569         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69570         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69571         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69572         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69573         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69574         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69575         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69576         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69577         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69578         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69579         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69580         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69581         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69582         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69583         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69584         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69585         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69586         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69587         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69588         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69589         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69590         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69591         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69592         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69593         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69594         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69595         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69596         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69597         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69598         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69601         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69602         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69603         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69604         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69605         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69607         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69608         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69609         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69610         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69611         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69612         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69613         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69615         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69616         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69618         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69619         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69620         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69621         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69622         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69623         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69624         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69625         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69626         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69627         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69628         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69629         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69630         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69631         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69632         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69633         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69634         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69635         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69636         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69637         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69638         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69639         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69640         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69641         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69642         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69643         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69644         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69645         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69646         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69647         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69648         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69649         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69650         (__isnanf): Likewise.
69651         (__isinf_ns): Likewise.
69652         (__isinf_nsf): Likewise.
69653         (__finite): Likewise.
69654         (__finitef): Likewise.
69655         (__ieee754_sqrt): Define as macro.
69656         (__ieee754_sqrtf): Define as macro.
69657         (__ieee754_sqrtl): Define as macro.
69658         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69659         inlined copy.
69660         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69661         __FINITE_MATH_ONLY__ consistent.
69662         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69664 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69666         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69667         of rawmemchr.
69669         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69671 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69673         * po/ja.po: Update from translation team.
69675 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69677         * locale/programs/locarchive.c (prepare_address_space): New function.
69678         (create_archive, enlarge_archive, open_archive): Use it.
69680         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69681         inside [SHARED], where it is used.
69683         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69685         * nss/getent.c (netgroup_keys): Remove unused variable.
69686         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69688 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69690         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69691         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69692         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69693         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69694         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69695         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69696         * math/Makefile (libm-calls): Add s_isinf_ns.
69697         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69698         * math/multc3.c: Likewise.
69699         * math/s_casin.c: Likewise.
69700         * math/s_casinf.c: Likewise.
69701         * math/s_casinl.c: Likewise.
69702         * math/s_ccos.c: Likewise.
69703         * math/s_ccosf.c: Likewise.
69704         * math/s_ccosl.c: Likewise.
69705         * math/s_ctan.c: Likewise.
69706         * math/s_ctanf.c: Likewise.
69707         * math/s_ctanh.c: Likewise.
69708         * math/s_ctanhf.c: Likewise.
69709         * math/s_ctanhl.c: Likewise.
69710         * math/s_ctanl.c: Likewise.
69711         * math/w_fmod.c: Likewise.
69712         * math/w_fmodf.c: Likewise.
69713         * math/w_fmodl.c: Likewise.
69714         * math/w_remainder.c: Likewise.
69715         * math/w_remainderf.c: Likewise.
69716         * math/w_remainderl.c: Likewise.
69717         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69718         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69719         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69720         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69721         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69722         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69723         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69724         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69726         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69727         of the number.
69728         * stdio-common/printf_fphex.c: Likewise.
69729         * stdio-common/printf_size.c: Likewise.
69731         * math/e_exp10.c: Include math_private.h using <...> not "...".
69732         * math/e_exp10f.c: Likewise.
69733         * math/e_exp10l.c: Likewise.
69734         * math/e_exp2l.c: Likewise.
69735         * math/e_j0l.c: Likewise.
69736         * math/e_j1l.c: Likewise.
69737         * math/e_jnl.c: Likewise.
69738         * math/e_lgammal_r.c: Likewise.
69739         * math/e_rem_pio2l.c: Likewise.
69740         * math/e_scalb.c: Likewise.
69741         * math/e_scalbf.c: Likewise.
69742         * math/e_scalbl.c: Likewise.
69743         * math/k_cosl.c: Likewise.
69744         * math/k_sinl.c: Likewise.
69745         * math/k_tanl.c: Likewise.
69746         * math/s_cacoshf.c: Likewise.
69747         * math/s_catan.c: Likewise.
69748         * math/s_catanf.c: Likewise.
69749         * math/s_catanh.c: Likewise.
69750         * math/s_catanhf.c: Likewise.
69751         * math/s_catanhl.c: Likewise.
69752         * math/s_catanl.c: Likewise.
69753         * math/s_ccosh.c: Likewise.
69754         * math/s_ccoshf.c: Likewise.
69755         * math/s_ccoshl.c: Likewise.
69756         * math/s_cexp.c: Likewise.
69757         * math/s_cexpf.c: Likewise.
69758         * math/s_cexpl.c: Likewise.
69759         * math/s_clog.c: Likewise.
69760         * math/s_clog10.c: Likewise.
69761         * math/s_clog10f.c: Likewise.
69762         * math/s_clog10l.c: Likewise.
69763         * math/s_clogf.c: Likewise.
69764         * math/s_clogl.c: Likewise.
69765         * math/s_csin.c: Likewise.
69766         * math/s_csinf.c: Likewise.
69767         * math/s_csinh.c: Likewise.
69768         * math/s_csinhf.c: Likewise.
69769         * math/s_csinhl.c: Likewise.
69770         * math/s_csinl.c: Likewise.
69771         * math/s_csqrt.c: Likewise.
69772         * math/s_csqrtf.c: Likewise.
69773         * math/s_csqrtl.c: Likewise.
69774         * math/s_ctan.c: Likewise.
69775         * math/s_ctanf.c: Likewise.
69776         * math/s_ctanh.c: Likewise.
69777         * math/s_ctanhf.c: Likewise.
69778         * math/s_ctanhl.c: Likewise.
69779         * math/s_ctanl.c: Likewise.
69780         * math/s_ldexp.c: Likewise.
69781         * math/s_ldexpf.c: Likewise.
69782         * math/s_ldexpl.c: Likewise.
69783         * math/s_significand.c: Likewise.
69784         * math/s_significandf.c: Likewise.
69785         * math/s_significandl.c: Likewise.
69786         * math/w_acos.c: Likewise.
69787         * math/w_acosf.c: Likewise.
69788         * math/w_acosh.c: Likewise.
69789         * math/w_acoshf.c: Likewise.
69790         * math/w_acoshl.c: Likewise.
69791         * math/w_acosl.c: Likewise.
69792         * math/w_asin.c: Likewise.
69793         * math/w_asinf.c: Likewise.
69794         * math/w_asinl.c: Likewise.
69795         * math/w_atan2.c: Likewise.
69796         * math/w_atan2f.c: Likewise.
69797         * math/w_atan2l.c: Likewise.
69798         * math/w_atanh.c: Likewise.
69799         * math/w_atanhf.c: Likewise.
69800         * math/w_atanhl.c: Likewise.
69801         * math/w_cosh.c: Likewise.
69802         * math/w_coshf.c: Likewise.
69803         * math/w_coshl.c: Likewise.
69804         * math/w_dremf.c: Likewise.
69805         * math/w_exp10.c: Likewise.
69806         * math/w_exp10f.c: Likewise.
69807         * math/w_exp10l.c: Likewise.
69808         * math/w_exp2.c: Likewise.
69809         * math/w_exp2f.c: Likewise.
69810         * math/w_fmod.c: Likewise.
69811         * math/w_fmodf.c: Likewise.
69812         * math/w_fmodl.c: Likewise.
69813         * math/w_hypot.c: Likewise.
69814         * math/w_hypotf.c: Likewise.
69815         * math/w_hypotl.c: Likewise.
69816         * math/w_j0.c: Likewise.
69817         * math/w_j0f.c: Likewise.
69818         * math/w_j0l.c: Likewise.
69819         * math/w_j1.c: Likewise.
69820         * math/w_j1f.c: Likewise.
69821         * math/w_j1l.c: Likewise.
69822         * math/w_jn.c: Likewise.
69823         * math/w_jnf.c: Likewise.
69824         * math/w_jnl.c: Likewise.
69825         * math/w_lgamma.c: Likewise.
69826         * math/w_lgamma_r.c: Likewise.
69827         * math/w_lgammaf.c: Likewise.
69828         * math/w_lgammaf_r.c: Likewise.
69829         * math/w_lgammal.c: Likewise.
69830         * math/w_lgammal_r.c: Likewise.
69831         * math/w_log.c: Likewise.
69832         * math/w_log10.c: Likewise.
69833         * math/w_log10f.c: Likewise.
69834         * math/w_log10l.c: Likewise.
69835         * math/w_log2.c: Likewise.
69836         * math/w_log2f.c: Likewise.
69837         * math/w_log2l.c: Likewise.
69838         * math/w_logf.c: Likewise.
69839         * math/w_logl.c: Likewise.
69840         * math/w_pow.c: Likewise.
69841         * math/w_powf.c: Likewise.
69842         * math/w_powl.c: Likewise.
69843         * math/w_remainder.c: Likewise.
69844         * math/w_remainderf.c: Likewise.
69845         * math/w_remainderl.c: Likewise.
69846         * math/w_scalb.c: Likewise.
69847         * math/w_scalbf.c: Likewise.
69848         * math/w_scalbl.c: Likewise.
69849         * math/w_sinh.c: Likewise.
69850         * math/w_sinhf.c: Likewise.
69851         * math/w_sinhl.c: Likewise.
69852         * math/w_sqrt.c: Likewise.
69853         * math/w_sqrtf.c: Likewise.
69854         * math/w_sqrtl.c: Likewise.
69855         * math/w_tgamma.c: Likewise.
69856         * math/w_tgammaf.c: Likewise.
69857         * math/w_tgammal.c: Likewise.
69859         * po/ja.po: Update from translation team.
69861 2011-09-29  Andreas Jaeger  <aj@suse.de>
69863         [BZ #13179]
69864         * sunrpc/netname.c (netname2host): Fix logic.
69866         [BZ #6779]
69867         [BZ #6783]
69868         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69869         correctly.
69870         * math/w_remainder.c (__remainder): Likewise.
69871         * math/w_remainderf.c (__remainderf): Likewise.
69872         * math/libm-test.inc (remainder_test): Add test cases.
69874 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69876         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69877         sdiv_qrnnd.
69879 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69881         * string/test-memcmp.c: Avoid unncessary #defines.
69882         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69884 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69886         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69887         Use new sse2 version for core i3 - i7 as it's faster
69888         than sse42 version.
69889         (bit_Prefer_PMINUB_for_stringop): New.
69890         * sysdeps/x86_64/rawmemchr.S: Update.
69891         Replace with faster SSE2 version.
69892         * sysdeps/x86_64/memrchr.S: New file.
69893         * sysdeps/x86_64/memchr.S: Update.
69894         Replace with faster SSE2 version.
69896 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69898         * elf/dl-load.c (lose): Add cast to avoid warning.
69900 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69902         * po/ca.po: Update from translation team.
69904         * inet/getnetgrent_r.c: Hook up nscd.
69905         * nscd/Makefile (routines): Add nscd_netgroup.
69906         (nscd-modules): Add netgroupcache.
69907         (CFLAGS-netgroupcache.c): Define.
69908         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69909         (cache_search): Add const to second parameter.
69910         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69911         INNETGR.
69912         (dbs): Add netgrdb entry.
69913         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69914         (verify_persistent_db): Handle netgrdb.
69915         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69916         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69917         GETFDNETGR.
69918         (netgroup_response_header): Define.
69919         (innetgroup_response_header): Define.
69920         (datahead): Add netgroup_response_header and innetgroup_response_header
69921         elements.
69922         * nscd/nscd.conf: Add entries for netgroup cache.
69923         * nscd/nscd.h (dbtype): Add netgrdb.
69924         (_PATH_NSCD_NETGROUP_DB): Define.
69925         (netgroup_iov_disabled): Declare.
69926         (xmalloc, xcalloc, xrealloc): Move declarations here.
69927         (cache_search): Adjust prototype.
69928         Add netgroup-related prototypes.
69929         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69930         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69931         (__nscd_innetgr): Declare.
69932         * nscd/selinux.c (perms): Use access_vector_t as element type and
69933         add netgroup-related initializers.
69934         * nscd/netgroupcache.c: New file.
69935         * nscd/nscd_netgroup.c: New file.
69936         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69937         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69938         For four parameters use innetgr.
69939         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69940         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69941         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69942         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69944         * nscd/connections.c (register_traced_file): Don't register file
69945         for disabled databases.
69947 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69949         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69951         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69952         from tree and freeing node.
69954 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69956         * nss/nsswitch.c (__nss_database_lookup): Handle
69957         nss_parse_service_list out of memory case.
69959 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69961         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69962         out of memory case.
69964 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69966         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69967         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69968         pass it down.
69969         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69970         elf_machine_rela, elf_machine_lazy_rel.
69971         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69972         (ELF_DYNAMIC_DO_REL): Likewise.
69973         (ELF_DYNAMIC_DO_RELA): Likewise.
69974         (ELF_DYNAMIC_RELOCATE): Likewise.
69975         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69976         to ELF_DYNAMIC_DO_REL.
69977         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69978         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69979         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69980         elf_machine_rela.
69981         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69982         skip_ifunc, don't call ifunc function if non-zero.
69983         (elf_machine_rela): Likewise.
69984         (elf_machine_lazy_rel): Likewise.
69985         (elf_machine_lazy_rela): Likewise.
69986         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69987         (elf_machine_lazy_rel): Likewise.
69988         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69989         Likewise.
69990         (elf_machine_lazy_rel): Likewise.
69991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69992         Likewise.
69993         (elf_machine_lazy_rel): Likewise.
69994         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69995         (elf_machine_lazy_rel): Likewise.
69996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69997         (elf_machine_lazy_rel): Likewise.
69998         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69999         (elf_machine_lazy_rel): Likewise.
70000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70001         (elf_machine_lazy_rel): Likewise.
70002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70003         (elf_machine_lazy_rel): Likewise.
70004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70005         (elf_machine_lazy_rel): Likewise.
70007 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70009         * nss/nss_files/files-init.c (_nss_files_init): Use static
70010         initialization for all the *_traced_file variables.
70012 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70014         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70016 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70018         [BZ #13226]
70019         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70021 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70023         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70024         Reread the line before reparsing it.
70026 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70028         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70030 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70031             Maxim Kuvyrkov  <maxim@codesourcery.com>
70032             Joseph Myers  <joseph@codesourcery.com>
70034         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70035         if needed for __stack_chk_guard.
70037 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70039         * sysdeps/posix/spawni.c (script_execute): Always define it.
70040         It will be optimized away if unused.
70041         (maybe_script_execute): New function.
70042         (__spawni): Call it.
70044         * Makerules: Don't include tls.make.
70045         (config-tls): Always set to thread.
70046         * tls.make.c: File removed.
70048 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70050         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70051         * config.make.in (CPPFLAGS-config): New substituted variable.
70053 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70055         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70057         [BZ #13192]
70058         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70059         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70061 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70063         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70064         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70066         (CALL_FAIL): Likewise.
70067         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70068         (CALL_FAIL): Macro removed.
70069         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70071 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70073         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70074         for __FINITE_MATH_ONLY__ == 1.
70076 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70078         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70079         __ieee754_sqrt instead of sqrt.
70080         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70081         __ieee754_sqrtf instead of sqrtf.
70082         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70083         __floorf instead of floorf.
70084         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70085         __floorf, __truncf instead of floorf, truncf.
70087 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70089         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70091         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70092         __extern_always_inline.
70093         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70094         32-bit.
70096 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70098         * elf/rtld.c (dl_main): Also relocate in dependency order when
70099         doing symbol dependency testing.
70101 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70104         Always define `refsym'.
70106 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70108         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70109         (__FD_ELT): Renamed from __FDELT.
70110         * misc/bits/select2.h (__FD_ELT): Likewise.
70111         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70112         __FD_MASK instead of __FDELT, __FDMASK.
70113         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70114         Likewise.
70115         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70116         Likewise.
70118         * elf/Makefile (gen-ldd): Fix pattern.
70120         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70121         (init_tls): Likewise.
70123 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70127 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70129         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70130         `struct cmsghdr *' instead of `void *'.
70131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70132         Likewise.
70134 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70136         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70137         if non-absolute.
70138         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70139         ldd_rewrite_script.
70141 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70143         * configure.in: Remove --with-tls option.
70144         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70145         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70146         out in case it is missing.
70147         * sysdeps/ia64/elf/configure.in: Likewise.
70148         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70149         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70150         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70151         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70152         * sysdeps/sh/elf/configure.in: Likewise.
70153         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70154         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70155         * sysdeps/x86_64/elf/configure.in: Likewise.
70156         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70157         * sysdeps/mach/hurd/tls.h: Likewise.
70159         [BZ #13067]
70160         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70162         [BZ #13090]
70163         * configure.in: Fix use of AC_INIT.
70165         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70167 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70169         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70170         __set_errno.
70171         * malloc/hooks.c: Likewise.
70173         [BZ #11929]
70174         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70175         variables statically.
70176         (narenas): Initialize.
70177         (list_lock): Initialize.
70178         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70179         initializtion of main_arena and list_lock.  Small cleanups.
70180         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70181         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70182         Add initializers to main_arena and mp_.
70183         (malloc_state): Remove pagesize member.  Change all users to use
70184         GLRO(dl_pagesize).
70186         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70187         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70188         is always initialized.
70190         * malloc/malloc.c: Removed unused configurations and dead code.
70191         * malloc/arena.c: Likewise.
70192         * malloc/hooks.c: Likewise.
70193         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70195         * include/tls.h: Removed.  USE___THREAD must always be defined.
70196         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70197         * elf/dl-libc.c: Likewise.
70198         * elf/dl-tsd.c: Likewise.
70199         * include/errno.h: Likewise.
70200         * include/netdb.h: Likewise.
70201         * include/resolv.h: Likewise.
70202         * inet/herrno-loc.c: Likewise.
70203         * inet/herrno.c: Likewise.
70204         * malloc/arena.c: Likewise.
70205         * malloc/hooks.c: Likewise.
70206         * malloc/malloc.c: Likewise.
70207         * resolv/res-state.c: Likewise.
70208         * resolv/res_libc.c: Likewise.
70209         * sysdeps/i386/dl-machine.h: Likewise.
70210         * sysdeps/ia64/dl-machine.h: Likewise.
70211         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70212         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70213         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70214         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70215         * sysdeps/sh/dl-machine.h: Likewise.
70216         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70217         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70218         * sysdeps/unix/i386/sysdep.S: Likewise.
70219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70220         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70223         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70225         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70229         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70230         * sysdeps/x86_64/dl-machine.h: Likewise.
70231         * tls.make.c: Likewise.
70233         * configure.in: Remove --with-__thread option.  Make tests for
70234         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70235         tls_model attribute fail if no support is available.  Remove
70236         USE_IN_LIBIO.
70237         * Makeconfig: Adjust for dropped configure option.  All features are
70238         now mandatory.
70239         * Makerules: Likewise.
70240         * Versions.def: Likewise.
70241         * argp/argp-fmtstream.c: Likewise.
70242         * argp/argp-fmtstream.h: Likewise.
70243         * argp/argp-help.c: Likewise.
70244         * assert/assert.c: Likewise.
70245         * config.h.in: Likewise.
70246         * config.make.in: Likewise.
70247         * configure: Likewise.
70248         * configure.in: Likewise.
70249         * csu/Versions: Likewise.
70250         * csu/init.c: Likewise.
70251         * elf/tst-audit2.c: Likewise.
70252         * elf/tst-tls10.c: Likewise.
70253         * elf/tst-tls10.h: Likewise.
70254         * elf/tst-tls11.c: Likewise.
70255         * elf/tst-tls12.c: Likewise.
70256         * elf/tst-tls14.c: Likewise.
70257         * elf/tst-tlsmod11.c: Likewise.
70258         * elf/tst-tlsmod12.c: Likewise.
70259         * elf/tst-tlsmod13.c: Likewise.
70260         * elf/tst-tlsmod13a.c: Likewise.
70261         * elf/tst-tlsmod14a.c: Likewise.
70262         * elf/tst-tlsmod15b.c: Likewise.
70263         * elf/tst-tlsmod16a.c: Likewise.
70264         * elf/tst-tlsmod16b.c: Likewise.
70265         * elf/tst-tlsmod7.c: Likewise.
70266         * elf/tst-tlsmod8.c: Likewise.
70267         * elf/tst-tlsmod9.c: Likewise.
70268         * gmon/gmon.c: Likewise.
70269         * grp/fgetgrent_r.c: Likewise.
70270         * grp/putgrent.c: Likewise.
70271         * hurd/fopenport.c: Likewise.
70272         * include/libc-symbols.h: Likewise.
70273         * include/tls.h: Likewise.
70274         * intl/gettextP.h: Likewise.
70275         * intl/loadinfo.h: Likewise.
70276         * locale/global-locale.c: Likewise.
70277         * locale/localeinfo.h: Likewise.
70278         * mach/devstream.c: Likewise.
70279         * malloc/arena.c: Likewise.
70280         * malloc/set-freeres.c: Likewise.
70281         * misc/err.c: Likewise.
70282         * misc/getttyent.c: Likewise.
70283         * misc/mntent_r.c: Likewise.
70284         * posix/getopt.c: Likewise.
70285         * posix/wordexp.c: Likewise.
70286         * pwd/fgetpwent_r.c: Likewise.
70287         * resolv/Versions: Likewise.
70288         * resolv/res_hconf.c: Likewise.
70289         * shadow/fgetspent_r.c: Likewise.
70290         * shadow/putspent.c: Likewise.
70291         * stdio-common/printf_fphex.c: Likewise.
70292         * stdio-common/tmpfile.c: Likewise.
70293         * stdlib/abort.c: Likewise.
70294         * stdlib/fmtmsg.c: Likewise.
70295         * sunrpc/auth_unix.c: Likewise.
70296         * sunrpc/clnt_perr.c: Likewise.
70297         * sunrpc/clnt_tcp.c: Likewise.
70298         * sunrpc/clnt_udp.c: Likewise.
70299         * sunrpc/clnt_unix.c: Likewise.
70300         * sunrpc/openchild.c: Likewise.
70301         * sunrpc/svc_simple.c: Likewise.
70302         * sunrpc/svc_tcp.c: Likewise.
70303         * sunrpc/svc_udp.c: Likewise.
70304         * sunrpc/svc_unix.c: Likewise.
70305         * sunrpc/xdr.c: Likewise.
70306         * sunrpc/xdr_array.c: Likewise.
70307         * sunrpc/xdr_rec.c: Likewise.
70308         * sunrpc/xdr_ref.c: Likewise.
70309         * sunrpc/xdr_stdio.c: Likewise.
70311 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70313         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70315 2011-07-03  Andreas Jaeger  <aj@suse.de>
70317         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70318         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70319         regenerate with gen-libm-tests.pl.
70321 2010-05-12  Petr Baudis  <pasky@suse.cz>
70323         [BZ #11589]
70324         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70325         around j0() zero points by switching to j1().
70326         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70327         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70329         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70331 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70333         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70334         instead of 0.
70335         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70336         instead of 0.
70337         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70338         Patch in part by Pavel Roskin <proski@gnu.org>.
70340         [BZ #13138]
70341         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70342         realloc.
70343         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70344         Free memory block if necessary.
70346         [BZ #12847]
70347         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70348         be NULL.  Don't lock in this case.
70350 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70352         * elf/elf.h (ELFOSABI_GNU): New macro.
70353         (ELFOSABI_LINUX): Define to that.
70355 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70357         * string/strncat.c (strncat): Undef the symbol in case it has been
70358         defined in bits/string.h.
70360 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70362         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70364         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70365         link map.
70367 2011-08-17  Andreas Jaeger  <aj@suse.de>
70369         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70371 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70372             Ian Lance Taylor  <iant@google.com>
70374         * math/libm-test.inc (lround_test): New testcase.
70375         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70377 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70379         * Makefile: Remove support for automatic cvs check-ins.
70380         * Makerules: Likewise.
70381         * config.make.in: Likewise.
70382         * configure.in: Likewise.
70383         * intl/Makefile: Likewise.
70384         * locale/Makefile: Likewise.
70385         * po/Makefile: Likewise.
70386         * posix/Makefile: Likewise.
70387         * sysdeps/gnu/Makefile: Likewise.
70388         * sysdeps/mach/hurd/Makefile: Likewise.
70389         * sysdeps/sparc/sparc32/Makefile: Likewise.
70391         [BZ #13118]
70392         * posix/Makefile (bug-regex32-ENV): Define.
70393         Patch by John Stanley <jpsinthemix@verizon.net>.
70395         * misc/Makefile (headers): Add bits/select2.h.
70396         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70397         * misc/bits/select2.h: New file.
70398         * include/bits/select2.h: New file.
70399         * debug/Makefile (routines): Add fdelt_chk.
70400         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70401         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70402         FD_ISSET.
70403         * debug/fdelt_chk.c: New file.
70405         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70406         * wcsmbs/test-wmemcmp.c: Likewise.
70407         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70408         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70410 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70412         * string/Makefile (strop-tests): Add memcmp.
70413         * string/test-wmemcmp.c: New file.
70414         * string/test-memcmp.c: Add wmemcmp support.
70416 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70418         [BZ #13153]
70419         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70420         2011-07-19 change.
70422         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70423         garbage value in a __mach_port_mod_refs call in the cases of the
70424         task-self and thread-self ports.
70426 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70428         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70430 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70432         * elf/dl-load.c (lose): Check for non-null L.
70434 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70436         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70438         * elf/dl-libc.c (dlerror_run): Pass back error code from
70439         dl_catch_error.
70441         [BZ #13123]
70442         * elf/dl-load.c (lose): Free l_origin if it is valid.
70444         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70445         names.
70446         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70447         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70448         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70449         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70450         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70451         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70453 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70455         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70456         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70457         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70458         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70459         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70460         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70461         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70462         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70463         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70464         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70466 2011-08-15  Alan Modra  <amodra@gmail.com>
70468         [BZ #13092]
70469         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70470         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70471         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70472         ppc_mcount to static-only-routines.
70473         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70474         __mcount_internal.
70475         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70476         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70478 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70480         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70481         for finite and infinity parameters.
70483 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70486         and add nop instructions for throughput optimization.
70487         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70489 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70492         aligned copy for power7 with vector-scalar instructions.
70493         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70495 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70498         AVX check.
70500 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70502         [BZ #13144]
70503         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70504         last change.
70506 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70508         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70509         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70510         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70511         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70512         clock_gettime.
70514 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70516         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70517         Forgot to demangle the pointer.
70519         * sysdeps/i386/sysdep.h: Define atom_text_section.
70520         * sysdeps/x86_64/sysdep.h: Likewise.
70521         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70522         section with atom_text_section.
70523         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70524         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70525         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70526         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70527         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70529         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70530         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70531         already be defined.  Change to take two parameters and don't assign
70532         result to variable.  Adjust all users.
70533         Define INTERNAL_GETTIME if not already defined.
70534         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70535         call.
70536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70537         HAVE_CLOCK_GETTIME_VSYSCALL.
70538         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70540         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70541         gettimeofday vsyscall, just use time.
70543 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70545         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70546         <errno.h>.
70548 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70550         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70551         syscall on x86-64.
70552         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70553         syscall.
70554         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70555         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70556         syscall if possible.
70558 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70560         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70561         e_ident.  Don't pass to find_mapsXX.
70562         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70564 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70567         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70568         * sysdeps/x86_64/multiarch/strchr.S: Update.
70569         Check bit_slow_BSF bit.
70570         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70571         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70572         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70574 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70576         [BZ #13134]
70577         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70578         before glibc 2.15.
70579         (tryshell): Define.
70580         (__spawni): Change last parameter to be flag.  Test
70581         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70582         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70583         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70584         * posix/spawni.c: Likewise.
70585         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70586         * posix/spawnp.c: Likewise.  Change normal version to use
70587         SPAWN_XFLAGS_USE_PATH.
70588         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70589         SPAWN_XFLAGS_TRY_SHELL.
70591         [BZ #13150]
70592         * posix/glob.h: Remove gcc 1.x support.
70594         [BZ #13068]
70595         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70597 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70600         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70601         strrchr-sse2-bsf
70602         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70603         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70604         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70605         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70606         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70607         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70609 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70611         * sysdeps/x86_64/wcscmp.S: New file.
70613         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70614         wcscmp-c wcscmp-sse2
70615         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70616         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70617         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70618         * wcsmbs/wcscmp.c: Allow renaming.
70620 2011-09-05  David S. Miller  <davem@davemloft.net>
70622         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70623         stack slot, rather than the struct return pointer slot.
70624         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70625         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70627         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70629 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70631         * po/ja.po: Update from translation team.
70633         [BZ #13144]
70634         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70635         kernel in 64-bit binaries.
70637 2011-09-01  David S. Miller  <davem@davemloft.net>
70639         * elf/elf.h (HWCAP_SPARC_*): Move to..
70640         * sysdeps/sparc/sysdep.h: this new file and add new values.
70641         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70642         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70643         _DL_HWCAP_COUNT to 24.
70644         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70645         entries.
70646         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70647         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70648         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70649         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70650         instead of magic constants.
70651         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70653 2011-08-31  David S. Miller  <davem@davemloft.net>
70655         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70657         Reimplement to do errno handling inline.
70658         (SYSCALL_ERROR_HANDLER): New macro.
70659         (__SYSCALL_STRING): Do not do errno handling in asm.
70660         (__CLONE_SYSCALL_STRING): Delete.
70661         (__INTERNAL_SYSCALL_STRING): Delete.
70662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70663         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70664         (PSEUDO): Reimplement to do errno handling inline.
70665         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70666         (SYSCALL_ERROR_HANDLER): New macro.
70667         (__SYSCALL_STRING): Do not do errno handling in asm.
70668         (__CLONE_SYSCALL_STRING): Delete.
70669         (__INTERNAL_SYSCALL_STRING): Delete.
70670         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70671         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70672         i386.
70673         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70674         (inline_syscall*): Add 'err' argument.
70675         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70676         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70677         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70678         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70680         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70681         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70683 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70685         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70687 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70689         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70690         directive.
70692 2011-08-24  David S. Miller  <davem@davemloft.net>
70694         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70696 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70698         * elf/Makefile: Add rules to build and run unload8 test.
70699         * elf/unload8.c: New file.
70700         * elf/unload8mod1.c: New file.
70701         * elf/unload8mod1x.c: New file.
70702         * elf/unload8mod2.c: New file.
70703         * elf/unload8mod3.c: New file.
70705         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70706         it wasn't used.
70708 2011-08-23  David S. Miller  <davem@davemloft.net>
70710         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70711         subtract stack bias.
70712         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70713         %sp not %fp in calculations.
70714         (_JMPBUF_UNWINDS_ADJ): Likewise.
70716         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70717         (aio_suspend): Call it to force an exception region around the
70718         AIO_MISC_WAIT() invocation.
70720 2011-08-23  Andreas Schwab  <schwab@redhat.com>
70722         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70723         backslash.
70725 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
70727         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70728         protection macro.
70729         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70730         and <dl-machine.h>.
70731         (Elf64_FuncDesc): Remove.
70733 2011-08-22  David S. Miller  <davem@davemloft.net>
70735         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70736         sigaltstack check, add missing cfi directives.
70737         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70738         missing cfi directives, and sigaltstack handling.
70740 2011-08-16  Andreas Schwab  <schwab@redhat.com>
70742         [BZ #11724]
70743         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70744         object is seen twice.
70745         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70747         * elf/Makefile (distribute): Add tst-initorder2.c.
70748         (tests): Add tst-initorder2.
70749         (modules-names): Add tst-initorder2a tst-initorder2b
70750         tst-initorder2c tst-initorder2d.  Add rules to build them.
70751         ($(objpfx)tst-initorder2.out): New rule.
70752         * elf/tst-initorder2.c: New file.
70753         * elf/tst-initorder2.exp: New file.
70755 2011-08-22  Andreas Schwab  <schwab@redhat.com>
70757         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70759         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70760         dependencies back to end of function.
70762         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70763         $(elfobjdir)/ld.so.
70765 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
70767         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70768         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70769         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70770         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70771         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70772         of __vdso_gettimeofday.
70773         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70774         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
70775         attribute_hidden.
70776         (_libc_vdso_platform_setup): Remove initialization of
70777         __vdso_gettimeofday and __vdso_time.
70779 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70781         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70782         and fgetc_unlocked.
70783         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70784         getc_unlocked.
70786         * elf/dl-open.c (add_to_global): Report additions to the global scope
70787         for LD_DEBUG=scopes.
70788         (dl_open_worker): Also print scope of newly loaded dependencies.
70789         (_dl_show_scope): Indicate if there is no scope.
70791         [BZ #13114]
70792         * stdio-common/Makefile (tests): Add bug24.
70793         * stdio-common/bug24.c: New file.
70795 2011-08-19  Andreas Jaeger  <aj@suse.de>
70797         [BZ #13114]
70798         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70799         non-existant file when using close-on-exec mode.
70801 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70803         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70804         the very first instruction.
70806         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70807         the CFI state in the end.
70808         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70809         inclusion of dl-trampoline.h.
70810         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70812 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70814         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70815         expectations for long double.
70817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70818         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70820 2011-08-14  David S. Miller  <davem@davemloft.net>
70822         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70823         artificual limit depends upon the system page size.
70825 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70827         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70828         * resolv/Makefile: Define CFLAGS-libresolv.
70830 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70832         * nss/makedb.c (compute_tables): Make variables used in nested
70833         function static.
70835 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70837         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70838         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70839         if buffer was too small.
70841         * elf/pldd.c (main): Attach to all threads in the process.
70842         Rewrite /proc handling to use *at functions.
70844 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70846         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70847         specifies first scope to show.
70848         (dl_open_worker): Update callers.  Move printing scope of new
70849         object to before the relocation.
70850         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70851         * sysdeps/generic/ldsodefs.h: Update declaration.
70853         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70854         string for the scope number.
70856 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70858         * nscd/servicescache.c (cache_addserv): Make sure written is always
70859         initialized.
70861 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70863         * sysdeps/i386/i486/bits/atomic.h
70864         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70865         statement expression, so as to suppress "set but not used" warning.
70866         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70868         * string/strncat.c (STRNCAT): Use prototype definition.
70870         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70871         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70872         -Iprograms here.
70873         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70874         (localedef-modules): Add localedef.
70875         (locale-modules): Add locale.
70877         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70878         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70879         to avoid a warning.
70881 2011-08-14  David S. Miller  <davem@davemloft.net>
70883         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70884         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70886 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70888         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70889         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70890         * elf/rtld.c (dl_main): Set l_name of vDSO.
70891         Call _dl_show_scope when DL_DEBUG_SCOPES.
70892         (process_dl_debug): Recognize scopes flag and also set it for all.
70893         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70894         Declare _dl_show_scope.
70896         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70897         (do_dlopen): Pass caller_dlopen to dl_open.
70898         (__libc_dlopen_mode): Initialize caller_dlopen.
70900         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70901         of libc.  Make tolower call locale-independent.  Optimize a bit by
70902         using isdigit instead of isalnum.
70903         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70905 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70907         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70908         was a dependency or dynamically loaded.
70910 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70912         * intl/l10nflist.c: Allow architecture-specific pop function.
70913         * sysdeps/x86_64/l10nflist.c: New file.
70915         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70916         classification.
70918 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70920         * include/dirent.h: Add libc_hidden_proto for scandirat and
70921         scandirat64.  Don't declare __scandirat64.
70922         * dirent/scandirat.c: Add libc_hidden_def.
70923         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70924         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70926 2011-08-10  David S. Miller  <davem@davemloft.net>
70928         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70929         enum.
70930         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70931         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70932         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70934 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70936         * Versions.def [libc]: Add GLIBC_2.15.
70937         * dirent/Makefile (routines): Add scandirat and scandirat64.
70938         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70939         GLIBC_2.15.
70940         * dirent/dirent.h: Declare scandirat and scandirat64.
70941         * dirent/scandirat.c: New file.
70942         * dirent/scandirat64.c: New file.
70943         * sysdeps/wordsize-64/scandirat.c: New file.
70944         * sysdeps/wordsize-64/scandirat64.c: New file.
70945         * dirent/opendir.c: Define opendirat.
70946         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70947         using scandirat.
70948         * dirent/scandir64.c: Adjust for scandir.c change.
70949         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70950         __scandirat64, and __scandir_cancel_handler.
70951         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70952         additional parameter and use openat instead of open (outside of ld.so).
70953         Add new __opendir as wrapper around __opendirat.
70954         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70955         here without requiring old scandirat implementation.
70957 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70959         * dirent/scandir.c (cancel_handler): Renamed to
70960         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70961         defined.  Adjust users.
70962         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70963         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70965 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70967         * string/test-string.h (IMPL): Use __STRING to expand name and then
70968         stringify it.
70970         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70971         of cleanups.
70973 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70975         * string/Makefile: Update.
70976         (strop-tests): Append strncat.
70977         * string/test-wcscmp.c: New file.
70978         New comprehensive test for wcscmp.
70979         * string/test-strcmp.c: Update.
70980         (WIDE): New define.
70982 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70984         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70985         line.
70987 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70990         encoding to ACE if AI_IDN.
70992 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70994         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70995         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70997 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70999         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71000         Fix overflow bug in strncat.
71001         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71003         * string/test-strncat.c: Update.
71004         Add new tests for checking overflow bugs.
71006 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71008         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71009         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71010         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71011         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71012         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71013         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71014         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71015         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71016         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71018         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71019         (USE_AS_STRCAT): Define.
71020         Add strcat and strncat support.
71021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71023 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71025         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71026         __n bigger than INT_MAX+1.
71027         (__strncmp_g): Likewise.
71029 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71031         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71032         * libio/stido.h: Likewise.
71034         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71035         (AF_NFC): Define.
71036         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71037         (AF_NFC): Define.
71039         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71040         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71041         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71042         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71045         [BZ #13021]
71046         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71047         installed.
71049         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71050         typo.
71051         (_dl_x86_64_save_sse): Likewise.
71053 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71056         OSXSAVE.
71057         (_dl_x86_64_save_sse): Likewise.
71059         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71061         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71063 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71066         change.
71067         (_dl_x86_64_save_sse): Use correct AVX check.
71069 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71071         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71072         bug in strncpy/strncat.
71073         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71075 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71077         * string/tester.c (test_strcat): Add tests for different alignments
71078         of source and destination.
71079         (test_strncat): Likewise.
71081 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71083         [BZ #12852]
71084         * posix/glob.c (glob): Check passed in values before using them in
71085         expressions to avoid some overflows.
71086         (glob_in_dir): Likewise.
71088         [BZ #13007]
71089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71090         check for AVX enablement so that we don't crash with old kernels and
71091         new hardware.
71092         * elf/tst-audit4.c: Add same checks here.
71093         * elf/tst-audit6.c: Likewise.
71095         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71097 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71099         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71101 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71103         * po/cs.po: Update from translation team.
71104         * po/bg.po: Likewise.
71106 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71108         * misc/sys/cdefs.h: Add support for const attribute.
71109         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71110         to gnu_dev_{major,minor,makedev} functions.
71112 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71114         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71116 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71118         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71119         strlen results.
71121 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71124         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71125         register in order to avoid conflicts with the soft frame pointer
71126         being held in r11 when necessary.
71127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71128         (INTERNAL_VSYSCALL_NCS): Likewise.
71130 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71132         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71133         * elf/dl-fini.c (_dl_fini): Adjust caller.
71134         * elf/dl-close.c (_dl_close_worker): Likewise.
71135         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71137 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71139         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71140         "aux_cache->nlibs < 0".
71142         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71143         in the reload-count case.
71145 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71148         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71149         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71150         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71151         * sysdeps/x86_64/multiarch/strcat.S: New file.
71152         * sysdeps/x86_64/multiarch/strncat.S: New file.
71153         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71154         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71155         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71156         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71157         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71158         (USE_AS_STRCAT): Define.
71159         Add strcat and strncat support.
71160         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71161         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71162         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71163         * string/strncat.c: Update.
71164         (USE_AS_STRNCAT): Define.
71165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71166         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71167         and i7.
71168         * sysdeps/x86_64/multiarch/init-arch.h
71169         (bit_Prefer_PMINUB_for_stringop): New.
71170         (index_Prefer_PMINUB_for_stringop): Likewise.
71171         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71172         bit_Prefer_PMINUB_for_stringop.
71174 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71176         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71177         buffer64.
71178         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71179         of casting of buffer.
71180         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71181         buffer32 and buffer64.
71182         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71183         writes instead of casting of buffer.
71184         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71185         buffer32.
71186         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71187         casting of buffer.
71189 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71191         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71193 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71195         * nscd/nscd.c (termination_handler): Don't do anything for a database
71196         if it has not yet been initialized.
71198 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71200         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71202 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71204         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71206 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71208         * po/nl.po: Update from translation team.
71209         * po/sv.po: Likewise.
71211 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71213         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71214         now disallowed by GCC.
71216         * configure.in (use-default-link): Default to yes if a test -shared
71217         link meets our qualifications.
71218         * configure: Regenerated.
71220         * config.make.in (output-format): New variable.
71221         * configure.in: Check for ld --print-output-format support.
71222         * configure: Regenerated.
71223         * Makerules ($(common-objpfx)format.lds)
71224         [$(output-format) != unknown]: Just use $(output-format),
71225         instead of the linker-script munging.
71227 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71229         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71230         of $(common-objpfx)shlib.lds.
71231         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71233         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71234         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71236         * configure.in (-z relro check): Adjust test code to add a large
71237         writable data section after it.
71238         * configure: Regenerated.
71240 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71242         * configure.in (-z relro check): Fix test code to make the variable
71243         truly const.
71244         * configure: Regenerated.
71246 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71248         * nscd/nscd.h (struct traced_file): Define.
71249         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71250         elements.  Add traced_files.
71251         (inotify_fd): Declare.
71252         (register_traced_file): Declare.
71253         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71254         (inotify_fd): Export.
71255         (resolv_conf_descr): Remove.
71256         (nscd_init): Move inotify descriptor creation to main.
71257         Don't register files for notification here.
71258         (register_traced_file): New function.
71259         (invalidate_cache): Don't use reset_res to determine whether to call
71260         res_init, go through the list of registered files.
71261         (main_loop_poll): The inotify descriptors are now stored in the
71262         structures for the traced files.
71263         (main_loop_epoll): Likewise.
71264         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71265         to __nss_disable_nscd.
71266         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71267         for a database anymore.  Check the records for all the registered
71268         files instead.
71269         * nss/Makefile (libnss_files-routines): Add files-init.
71270         (libnss_db-routines): Add db-init.
71271         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71272         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71273         * nss/nss_db/db-init.c: New file.
71274         * nss/nss_files/files-init.c: New file.
71275         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71276         __nss_lookup_function.
71277         (__nss_lookup_function): Call nss_load_library.
71278         (nss_load_all_libraries): New function.
71279         (__nss_disable_nscd): Take parameter with callback function for files
71280         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71281         used for the cached services.
71282         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71283         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71284         options for features to all the files in nscd.
71286         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71288 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71290         * csu/elf-init.c (__libc_csu_init): Comment typo.
71292 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71294         * po/pl.po: Update from translation team.
71295         * po/ja.po: Likewise.
71296         * po/ru.po: Likewise.
71297         * po/ko.po: Likewise.
71298         * po/fr.po: Likewise.
71300 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71302         * configure.in (.ctors/.dtors header and trailer check):
71303         Use an empirical test on a built program.
71304         * configure: Regenerated.
71306         * configure.in (-z relro check): Use an empirical test on a built DSO.
71307         Detect, but do not require, on ia64.
71308         * configure: Regenerated.
71310         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71311         Update tests that use readelf to use $READELF instead.
71312         * configure: Regenerated.
71314 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71316         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71317         if the result is not used.
71319 2011-07-05  Andreas Jaeger  <aj@suse.de>
71321         [BZ#9696]
71322         * stdlib/tst-strtod.c: Add testcase.
71324 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71326         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71327         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71328         The latter has a higher limit.  Take additional parameter to pass to
71329         the new function.
71330         (__pathconf): Pass file to __statfs_link_max.
71331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71332         __statfs_link_max.
71333         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71334         __statfs_link_max.
71336         [BZ #12868]
71337         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71338         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71339         Handle Lustre.
71340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71341         (__statfs_filesize_max): Likewise.
71342         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71344 2011-07-05  Andreas Jaeger  <aj@suse.de>
71346         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71348 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71350         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71351         `status' variable.
71352         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71353         Likewise.
71355 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71357         * Makefile (strop-tests): Add strncat.
71358         * string/test-strncat.c: New file.
71360 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71362         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71364 2011-06-21  Andreas Jaeger  <aj@suse.de>
71366         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71367         Copy rule from iconvdata/Makefile.
71369 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71371         [BZ #12922]
71372         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71373         but no long options are defined, just return 'W'.
71375 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71377         [BZ #9696]
71378         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71380 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71382         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71383         netgroups to read.
71384         (innetgr): Likewise.
71386 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71388         * config.make.in (install_root): Default to $(DESTDIR).
71390 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71392         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71394 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71396         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71398         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71399         containing directory rather than embedding absolute directory names.
71401         * scripts/check-local-headers.sh: Rewritten using awk.
71402         Match by word, not by line.  Print error messages for matches.
71403         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71405         * Makerules [shlib-lds-flags empty]:
71406         ($(common-objpfx)libc_pic.opts): New target.
71407         ($(common-objpfx)libc_pic.os.clean): New target.
71408         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71410         * config.make.in (OBJCOPY): New variable.
71411         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71412         * configure: Regenerated.
71414         * config.make.in (use-default-link): New variable.
71415         * configure.in (use_default_link): Grok --with-default-link to set it.
71416         * configure: Regenerated.
71417         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71418         (shlib-lds, shlib-lds-flags): Define to empty.
71420         * Makerules (shlib-lds): New variable.
71421         (shlib-lds-flags): New variable.
71422         (build-shlib, build-moduile, build-module-asneeded): Use it.
71423         ($(common-objpfx)libc.so): Use $(shlib-lds).
71424         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71425         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71427         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71428         DT_FLAGS/DT_FLAGS_1 with zero flags.
71430         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71431         linker script munging.
71433 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71435         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71436         as 128-bit value.
71437         * crypt/sha512.c (sha512_process_block): Perform total addition using
71438         128-bit if possible.
71439         (__sha512_finish_ctx): Likewise.
71440         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71441         as 64-bit value.
71442         * crypt/sha256.c (SWAP64): Define.
71443         (sha256_process_block): Perform total addition using 64-bit if
71444         possible.
71445         (__sha256_finish_ctx): Likewise.
71447 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71449         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71451         * nscd/hstcache.c (cache_addhst): Likewise.
71452         * nscd/grpcache.c (cache_addgr): Likewise.
71453         * nscd/aicache.c (addhstaiX): Likewise.
71454         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71456 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71458         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71459         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71460         * nscd/hstcache.c (cache_addhst): Likewise.
71461         * nscd/grpcache.c (cache_addgr): Likewise.
71462         * nscd/aicache.c (addhstaiX): Likewise.
71464 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71466         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71467         domain only when needed.
71469 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71472         is always restored.
71474 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71476         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71477         are re-adding the entry.
71478         * nscd/servicescache.c (cache_addserv): Likewise.
71480 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71482         * sysdeps/generic/dl-irel.h: fix protection against multiple
71483         inclusions.
71484         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71486 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71488         [BZ #12935]
71489         * malloc/memusage.sh: Fix quoting in message.
71490         * debug/xtrace.sh: Likewise.
71492         * configure.in: Remove support for --experimental-malloc option, make
71493         it the default.
71494         * config.make.in: Likewise.
71495         * malloc/Makefile: Likewise.
71497 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71499         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71500         two-byte characters.
71502 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71504         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71505         AC_CACHE_CHECK invocation.
71506         * configure: Regenerated.
71508         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71510 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71512         [BZ #12350]
71513         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71514         bit from old_res_options.
71516         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71518         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71519         value type for setfct.
71521 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71524         __gettimeofday instead of gettimeofday.
71526 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71528         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71530 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71534         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71535         info.
71537 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71540         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71541         strcpy-sse2-unaligned strncpy-sse2-unaligned
71542         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71543         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71544         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71545         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71546         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71547         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71548         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71549         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71550         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71551         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71552         (STRCPY): Support SSE2 and SSSE3 versions.
71554 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71556         [BZ #12874]
71557         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71558         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71559         kernels which artificially limit size of requests.
71561 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71564         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71565         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71566         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71567         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71568         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71569         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71570         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71571         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71572         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71573         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71574         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71575         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71576         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71577         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71579         Enable unaligned load optimization for Intel Core i3, i5 and i7
71580         processors.
71581         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71582         Define.
71583         (index_Fast_Unaligned_Load): Define.
71584         (HAS_FAST_UNALIGNED_LOAD): Define.
71586 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71588         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71590 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71592         [BZ #12907]
71593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71594         until it is clear that the information is realy needed.
71595         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71597 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71601 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71603         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71604         /sys/devices/system/cpu/online if it is usable.
71606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71607         reading the information from the /proc filesystem to once a second.
71609 2011-06-21  Andreas Jaeger  <aj@suse.de>
71611         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71612         NULL after inclusion of kernel headers.
71614 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71616         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71617         calls to internal_setent.
71619         [BZ #12885]
71620         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71621         addresses using gethostbyname4_r ignore IPv4 addresses.
71623         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71624         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71626         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71628 2011-06-20  David S. Miller  <davem@davemloft.net>
71630         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71631         inclusions.
71632         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71634         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71635         (elf_irel): Use it.
71636         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71637         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71638         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71639         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71640         * sysdeps/x86_64/dl-irel.h: Likewise.
71642         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71643         * elf/dl-sym.c: Likewise.
71645 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71647         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71648         need to dereference resplen2.
71650 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71652         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71654 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71656         * Makeconfig: Define vardbdir and inst_vardbdir.
71657         * nss/Makefile: Add rules to install db-Makefile.
71659         * nss/nss_db/db-XXX.c: Cleanup.
71661         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71662         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71663         GLIBC_PRIVATE.
71664         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71665         * nss/makedb.c: Implement -g option to specify that value strings
71666         are generated and should not be added to table iterated over for
71667         get*ent calls.
71668         * nss/nss_db/db-initgroups.c: New file.
71670         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71671         interface.
71673         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71674         (internal_getgrouplist): Adjust to name change.
71675         Update use_initgroups_entry if this is not the first call.
71676         * nss/databases.def: Add initgroups entry.
71678         * nss/makedb.c (compute_tables): Check result of multiple hash table
71679         sizes to minimize maximum chain length.
71681 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71683         * Versions.def: Add entry for libnss_db.
71684         * shlib-versions: Likewise.
71685         * nss/Makefile: Add rules to build libnss_db.
71686         * nss/Versions: Add libnss_db information.  Organize libnss_files
71687         entries better.
71688         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71689         makedb progra.  Some minor improvements to generate smaller files.
71690         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71691         here from...
71692         * nss/makedb.c: ...here.
71693         Improve database format to be smaller and require less memory at
71694         runtime.
71695         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71696         db anymore.
71697         * nss/nss_db/db-netgrp.c: Likewise.
71698         * nss/nss_db/db-open.c: Likewise.
71699         * nss/nss_files/flies-XXX.x: Adjust comments.
71700         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71701         * nss/nss_files/files-grp.c: Likewise.
71702         * nss/nss_files/files-hosts.c: Likewise.
71703         * nss/nss_files/files-network.c: Likewise.
71704         * nss/nss_files/files-proto.c: Likewise.
71705         * nss/nss_files/files-pwd.c: Likewise.
71706         * nss/nss_files/files-rpc.c: Likewise.
71707         * nss/nss_files/files-service.c: Likewise.
71708         * nss/nss_files/files-sgrp.c: Likewise.
71709         * nss/nss_files/files-spwd.c: Likewise.
71710         * nss/nss_db/db-alias.c: Removed.
71711         * nss/nss_db/dummy-db.h: Removed.
71713 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
71715         * nss/makedb.c: Rewritten to not use database library.
71716         * nss/Makefile: Update to build new makedb program.
71718 2011-06-14  Andreas Jaeger  <aj@suse.de>
71720         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71721         memset declaration.
71723 2011-06-10  Andreas Schwab  <schwab@redhat.com>
71725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71726         tmpbuf.
71728 2011-06-10  Roland McGrath  <roland@hack.frob.com>
71730         * Makerules (shlib.lds): Fail if the linker script comes out empty.
71731         * elf/Makefile ($(objpfx)ld.so): Likewise.
71733         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71734         Don't list ld.so twice in dependencies.
71736         * posix/bug-regex31.c: Include <stdlib.h>.
71738         * nscd/hstcache.c (cache_addhst): Remove unused variable.
71740         * nis/nss_compat/compat-spwd.c
71741         (getspent_next_nss_netgr): Remove unused variable.
71742         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71744         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71745         nonmembers" output to use the right array.
71747         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71749         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71751         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71752         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71753         * catgets/gencat.c (read_input_file): Likewise.
71754         * locale/programs/locarchive.c (enlarge_archive): Likewise.
71756         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71757         variable definition inside #if's controlling its use.
71759         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71761         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71763         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71765         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71766         unreachable code.
71768         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71770         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71771         * configure: Regenerated.
71773         * Makerules: Revert last change.
71774         * elf/Makefile: Likewise.
71776 2011-06-09  Roland McGrath  <roland@hack.frob.com>
71778         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71779         * elf/Makefile ($(objpfx)librtld.os): Likewise.
71780         (reloc-link): Likewise.
71782 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71784         * elf/Makefile: Add rules to build pldd.
71785         * elf/pldd.c: New file.
71786         * elf/pldd-xx.c: New file.
71788 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71790         * version.h: Update for 2.15 development version.
71792 2011-06-07  David S. Miller  <davem@davemloft.net>
71794         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71795         ifuncs.
71796         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71797         elf_machine_lazy_rel): Likewise.
71798         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71799         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71800         elf_machine_lazy_rel): Likewise.
71801         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71802         dl_hwcap via passed in argument.
71803         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71804         Likewise.
71806 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71808         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71810 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71812         [BZ #12849]
71813         * manual/fdl-1.1.texi: New file, verbatim from:
71814         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71815         * manual/lgpl-2.1.texi: New file, verbatim from:
71816         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71817         * manual/Makefile (licenses): New variable, list those new file names.
71818         (texis): Use it.
71819         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71821         * manual/fdl.texi: File removed.
71822         * manual/lesser.texi: File removed.
71823         * manual/libc.texinfo (Copying, Documentation License):
71824         Use new @include file names, put @appendix directive before @include.
71826 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71828         [BZ #12841]
71829         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71830         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71831         (mq_open): Add __NTH.
71833 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71836         Assume Intel Core i3/i5/i7 processor if AVX is available.
71838 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71840         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71841         typo.
71843 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71845         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71846         memory.  Use alloca_account.  Fix memory leak when retrying.
71848 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71850         * version.h (RELEASE): Bump for 2.14 release.
71851         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71853         * config.make.in (RANLIB): Remove entry.
71855 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71857         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71858         (libc.pot): Work around missing support for .ksh extension in xgettext.
71860         [BZ #12684]
71861         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71862         if both request failed.
71863         (send_dg): In case of server errors clear resplen or *resplen2.
71865         [BZ #12454]
71866         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71867         when there are multiple maps.
71868         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71869         (_dl_fini): Remove test here.
71871         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71873 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71875         [BZ #12350]
71876         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71877         bit from old_res_options.
71878         (gaih_inet): Likewise.
71880         [BZ #11099]
71881         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71882         as signed.
71884         * resolv/res_init.c (res_setoptions): Make the code more compact.
71886         [BZ #11558]
71887         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71888         set RES_USEVC.
71890         [BZ #11634]
71891         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71893         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71895         [BZ #11781]
71896         * malloc/malloc.h: Declare malloc hook variables as volatile.
71898         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71899         in last patch.
71901         [BZ #11799]
71902         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71903         raise in the comment.
71904         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71905         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71906         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71908 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71910         [BZ #12811]
71911         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71912         grow the buffers more if it already has to be sufficient.
71913         (build_wcs_upper_buffer): Likewise.
71914         * posix/regexec.c (check_matching): Likewise.
71915         (clean_state_log_if_needed): Likewise.
71916         (extend_buffers): Don't enlarge buffers beyond size of the input
71917         buffer.
71918         Patches mostly by Emil Wojak <emil@wojak.eu>.
71919         * posix/bug-regex32.c: New file.
71920         * posix/Makefile (tests): Add bug-regex32.
71922         * locale/findlocale.c (_nl_find_locale): Return right away if
71923         _nl_explode_name failed.
71924         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71926         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71928         * debug/xtrace.sh: Unify messages.
71929         * malloc/memusage.sh: Likewise.
71931         [BZ #12813]
71932         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71933         time symbol from vDSO.  Substitute with vsyscall if not available.
71934         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71935         __vdso_time.
71937         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71938         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71939         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71940         Add sendmmsg and internal_sendmmsg.
71941         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71942         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71943         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71945         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71946         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71947         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71949 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71951         [BZ #12813]
71952         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71953         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71954         available.
71955         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71956         __vdso_getcpu.
71958         [BZ #12814]
71959         * iconvdata/Makefile (tests): Add bug-iconv9.
71960         * iconvdata/bug-iconv9.c: New file.
71962 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71964         [BZ #12814]
71965         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71967 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71969         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71970         (struct user_regs_struct): Change intcs field back to cs.
71972 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71974         * po/ja.po: Update from translation team.
71976 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71978         [BZ #12795]
71979         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71980         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71982 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71984         * stdlib/longlong.h: Update from GCC.
71986 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71988         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71989         parameter name.
71990         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71991         Add parameter name.
71992         (__sysconf): Pass it down.
71994 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71996         [BZ #12671]
71997         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71998         some situations.
71999         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72000         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72001         add in in __libc_use_alloca calls.  Adjust callers.
72002         (glob): Use malloc in some situations.
72004         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72005         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72006         pltexit.
72008 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72010         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72011         and CLOCK_BOOTTIME_ALARM.
72013         [BZ #12782]
72014         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72015         is returned.
72017         * string/_strerror.c (__strerror_r): Print negative errors as signed
72018         numbers.
72020         [BZ #12777]
72021         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72022         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72023         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72025         * configure.in: Fix typo in redirection and correct removal of test
72026         files in two cases.
72028         [BZ #12788]
72029         * locale/setlocale.c (new_composite_name): Fix test to check for
72030         identical name of all categories.
72032         [BZ #12792]
72033         * libio/filedoalloc.c (local_isatty): New function.
72034         (_IO_file_doallocate): Use local_isatty.
72035         * stdio-common/perror.c (perror): In case a new stream is used
72036         forward the stream error.
72037         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72038         error flag.
72040 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72042         [BZ #11884]
72043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72044         alloca.
72045         * include/alloca.h (extend_alloca_account): Define.
72047         [BZ #11857]
72048         * posix/regex.h: Fix comments with documentation of user-accessible
72049         fields after compilation and describe correct free'ing of pattern
72050         after re_compile_pattern.
72051         Patch by Reuben Thomas <rrt@sc3d.org>.
72053 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72055         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72056         and -mno-altivec to prevent the compiler from using Altivec and/or
72057         VSX instructions when the corresponding registers are not available.
72059 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72061         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72063 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72065         * libio/freopen.c (freopen): Use __dup2, not dup2.
72066         * libio/freopen64.c (freopen64): Likewise.
72068 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72070         [BZ #12775]
72071         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72072         * math/Makefile (tests): Add test-powl.
72073         (CFLAGS-test-powl.c): Define.
72074         * math/test-powl.c: New file.
72076 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72078         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72080 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72082         [BZ #11837]
72083         * iconvdata/gb18030.c: Update to GB18020-2005.
72085 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72087         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72088         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72089         Patch by Aharon Robbins <arnold@skeeve.com>.
72091         [BZ #11892]
72092         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72093         on the stack.
72095         [BZ #11895]
72096         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72097         through underflows.
72099         [BZ #12766]
72100         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72101         point to strings before performing equality test for error_one_per_line
72102         mode.
72104         [BZ #11697]
72105         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72107         [BZ #11820]
72108         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72109         (struct user_fpregs_struct): Avoid __uint*_t types.
72111         [BZ #6420]
72112         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72113         symbol info.  Use it instead of calling _dl_addr locally.
72114         (lock_and_info): New function.
72115         (tr_freehook): Call lock_and_info and pass symbol info as additional
72116         parameter to tr_where.
72117         (tr_mallochook): Likewise.
72118         (tr_reallochook): Likewise.
72119         (tr_memalignhook): Likewise.
72121         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72122         used and couldn't be at all thread-safe.
72124 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72126         * libio/freopen.c (freopen): Don't close old file descriptor
72127         before the new one is opened.  Instead dup the new file descriptor
72128         to the old one after the new stream is created.
72129         * libio/freopen64.c (freopen64): Likewise.
72130         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72131         * libio/fileops.c (_IO_new_file_close_it): Handle new
72132         _IO_FLAGS2_NOCLOSE flag.
72133         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72134         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72135         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72136         _IO_FLAGS2_NOCLOSE flag.
72137         * include/unistd.h: Add hidden_proto for dup3.
72138         Define __have_dup3.
72139         * io/dup3.c: Define hidden symbol.
72140         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72142         [BZ #7101]
72143         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72144         when an incomplete long option is used.
72145         * posix/tst-getopt_long1.c: New file.
72146         * posix/Makefile (tests): Add tst-getopt_long1.
72148         [BZ #10138]
72149         * scripts/config.guess: Update from autoconf-2.68.
72150         * scripts/config.sub: Likewise.
72152         [BZ #10157]
72153         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72154         tests into ...
72155         (has_cpuclock): ...this.  New function.
72156         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72157         macro here based on has_cpuclock code.
72159         [BZ #10149]
72160         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72161         First byte (not low byte) is now always NUL.
72162         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72165         Use non-cancelable interfaces.
72167         [BZ #9809]
72168         * locale/iso-639.def: Add entry for Sorani.
72170         [BZ #11901]
72171         * include/stdlib.h: Move include protection to the right place.
72172         Define abort_msg_s.  Declare __abort_msg with it.
72173         * stdlib/abort.c (__abort_msg): Adjust type.
72174         * assert/assert.c (__assert_fail_base): New function.  Majority
72175         of code from __assert_fail.  Allocate memory for __abort_msg with
72176         mmap.
72177         (__assert_fail): Now call __assert_fail_base.
72178         * assert/assert-perr.c: Remove bulk of implementation.  Use
72179         __assert_fail_base.
72180         * include/assert.hL Declare __assert_fail_base.
72181         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72182         mmap.
72183         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72185 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72187         [BZ #11952]
72188         [BZ #12453]
72189         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72190         until all modules are registered in the DTV.
72191         * elf/Makefile: Add rules to build and run tst-tls19.
72192         * elf/tst-tls19.c: New file.
72193         * elf/tst-tls19mod1.c: New file.
72194         * elf/tst-tls19mod2.c: New file.
72195         * elf/tst-tls19mod3.c: New file.
72196         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72198         [BZ #12083]
72199         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72200         correctly.
72202         [BZ #12601]
72203         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72204         two-byte sequence errors.
72205         * iconvdata/Makefile (tests): Add bug-iconv8.
72206         * iconvdata/bug-iconv8.c: New file.
72208         [BZ #12626]
72209         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72210         buf2 definition.
72212         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72214         [BZ #12432]
72215         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72216         (dummy_getcfa): New function.
72217         (init): Get _Unwind_GetCFA address, use dummy if not found.
72218         (backtrace_helper): In recursion check, also check whether CFA changes.
72219         (__backtrace): Completely initialize arg.
72221         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72222         storing incomplete byte sequence in state object.  Avoid testing for
72223         guaranteed too small input if we know there is enough data available.
72225 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72227         * Makeconfig (+link-pie): Indent.
72228         * Rules (binaries-pie): Define if $(have-fpie) and
72229         $(build-shared).
72230         (binaries-shared): Also filter out $(binaries-pie).
72231         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72232         * nscd/Makefile (others-pie): Add nscd.
72233         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72234         ($(objpfx)nscd): Remove command override.
72235         * login/Makefile (others-pie): Add pt_chown.
72236         ($(objpfx)pt_chown): Remove command override.
72237         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72238         remove command overrides.
72240 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72242         * libio/tst_putwc.c: Fix error messages.
72244         [BZ #12724]
72245         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72246         currently writing and seek to current position when not.
72247         * libio/Makefile (tests): Add bug-fclose1.
72248         * libio/bug-fclose1.c: New file.
72250 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72252         [BZ #12511]
72253         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72254         don't set DF_1_NODELETE here.
72255         (do_lookup_x): When entering new entry test for copy relocation
72256         and if necessary set DF_1_NODELETE flag.
72257         * elf/tst-unique4.cc: New file.
72258         * elf/tst-unique4.h: New file.
72259         * elf/tst-unique4lib.cc: New file.
72260         * elf/Makefile: Add rules to build and run tst-unique4.
72261         Patch by Piotr Bury <pbury@goahead.com>.
72263 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72265         [BZ #12052]
72266         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72268         [BZ #12625]
72269         * misc/mntent_r.c (addmntent): Flush the stream after the output
72271         [BZ #12393]
72272         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72273         (is_trusted_path_normalize): Skip initial colon.  Append slash
72274         to empty buffer.  Duplicate is_trusted_path code but allow
72275         constructed patch to be prefix.
72276         (is_dst): Allow $ORIGIN followed by /.
72277         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72278         Correct testing of result of is_trusted_path_normalize
72279         (decompose_rpath): Fix warning.
72281 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72283         [BZ #11257]
72284         * grp/initgroups.c (internal_getgrouplist): When we found the service
72285         list through the initgroups entry in nsswitch.conf do not always
72286         continue on a successful lookup.  Don't always use the
72287         __nss_group_database value if it is set.
72288         * nss/nsswitch.conf (initgroups): Change action for successful db
72289         lookup to continue for compatibility.
72291 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72293         [BZ #11532]
72294         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72295         and CP774 modules.
72296         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72297         and CP774 modules.
72298         * iconvdata/tst-tables.sh: Likewise.
72299         * iconvdata/cp770.c: New file.
72300         * iconvdata/cp771.c: New file.
72301         * iconvdata/cp772.c: New file.
72302         * iconvdata/cp773.c: New file.
72303         * iconvdata/cp774.c: New file.
72304         * iconvdata/testdata/CP770: New file.
72305         * iconvdata/testdata/CP770..UTF8: New file.
72306         * iconvdata/testdata/CP771: New file.
72307         * iconvdata/testdata/CP771..UTF8: New file.
72308         * iconvdata/testdata/CP772: New file.
72309         * iconvdata/testdata/CP772..UTF8: New file.
72310         * iconvdata/testdata/CP773: New file.
72311         * iconvdata/testdata/CP773..UTF8: New file.
72312         * iconvdata/testdata/CP774: New file.
72313         * iconvdata/testdata/CP774..UTF8: New file.
72315         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72316         END CHARMAP line.
72317         * iconvdata/gen-8bit-gap.sh: Likewise.
72318         * iconvdata/gen-8bit.sh: Likewise.
72320         * locale/iso-639.def: Add ary entry.
72322         [BZ #11258]
72323         * locale/C-translit.h.in: Add U20A1 transliteration.
72325         [BZ #12178]
72326         * locale/iso-639.def: Add wae entry.
72327         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72329         [BZ #12545]
72330         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72331         for n.
72333         [BZ #12711]
72334         * locale/C-translit.h.in: Add entry for U20B9.
72335         Patch by pravin.d.s@gmail.com.
72337 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72339         [BZ #12713]
72340         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72341         ENAMETOOLONG use generic getcwd.
72342         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72343         in rtld.  Use *stat64.
72344         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72345         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72346         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72347         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72348         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72349         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72350         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72351         __fstatat64 macros.
72352         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72353         * dirent/rewinddir.c: Add libc_hidden_def.
72354         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72355         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72357         * include/dirent.h (__alloc_dir): Add flags parameter.
72358         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72359         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72360         __alloc_dir.
72361         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72362         from fdopendir if O_CLOEXEC is already set.
72364 2011-03-15  Alan Modra  <amodra@gmail.com>
72366         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72367         l_tls_firstbyte_offset non-zero.  Save padding offset in
72368         l_tls_firstbyte_offset for later use.
72369         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72370         freeing static tls block.
72372 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72374         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72375         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72376         being defined by the kernel headers.
72378 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72380         [BZ #12734]
72381         * resolv/resolv.h: Define RES_NOTLDQUERY.
72382         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72383         no-tld-query and set RES_NOTLDQUERY.
72384         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72385         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72386         modern BIND to search name as TLD unless forbidden.
72388 2011-05-07  Petr Baudis  <pasky@suse.cz>
72389             Ulrich Drepper  <drepper@gmail.com>
72391         [BZ #12393]
72392         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72393         (is_trusted_path): ...to here.
72394         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72395         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72396         using is_trusted_path_normalize() in setuid scripts.
72398 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72400         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72401         __BEGIN/__END_DECLS.
72403 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72405         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72406         NSS_STATUS_NOTFOUND if no record was found.
72408 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72410         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72411         (headers-not-in-tirpc): Remove rpc/netdb.h
72412         * resolv/netdb.h: Revert last change.
72414 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72416         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72417         circular dependency between libgcc.a and libc.a.
72419 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72421         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72422         * nis/Makefile: Don't install rpcsvc/*.
72423         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72424         instead of <rpc/types.h>.
72425         (MAXHOSTNAMELEN): Define.
72427 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72429         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72431 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72433         [BZ #12714]
72434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72435         gethostbyname4_r when IPv6 results are possible.
72437 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72439         [BZ #12723]
72440         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72441         _PC_PIPE_BUF handling.
72443 2011-04-30  Bruno Haible  <bruno@clisp.org>
72445         [BZ #12717]
72446         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72447         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72448         to 'int'.
72449         * inet/getnameinfo.c (getnameinfo): Likewise.
72451 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72453         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72454         to groups setting in database lookup.
72455         * nss/nsswitch.conf: Add initgroups entry.
72457 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72459         [BZ #12685]
72460         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72461         mode string.
72462         Patch by Eric Blake <eblake@redhat.com>.
72464 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72466         * sunrpc/Makefile (need-export-routines): Add svc_run.
72467         (routines): Remove svc_run.
72468         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72469         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72470         * sunrpc/svc_run.c (svc_run): Likewise.
72471         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72473 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72475         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72476         problem in reallocation in last patch.
72478 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72480         * sunrpc/Makefile: Move inclusion of Rules.
72482 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72484         * nss/nss_files/files-initgroups.c: New file.
72485         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72486         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72487         _nss_files_initgroups_dyn.
72489 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72491         * elf/elf.h (R_ARM_IRELATIVE): Define.
72493 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72495         * po/ru.po: Update from translation team.
72497 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72499         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72500         dependencies.
72502 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72504         [BZ #12653]
72505         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72506         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72507         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72509         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72511 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72513         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72514         differing bytes.
72515         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72517         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72519 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72521         [BZ #12420]
72522         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72523         storing it.
72524         * stdlib/bug-getcontext.c: New file.
72525         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72527 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72529         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72530         instructions into .machine "z9-109".
72531         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72532         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72534 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72536         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72537         between environment variables and auxiliary vector.
72539 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72541         * Makefile: Add rules to build linkobj/libc.so.
72542         * include/libc-symbols.h: Define libc_hidden_nolink.
72543         * include/rpc/auth.h: Mark functions which are to be hidden.
72544         * include/rpc/auth_des.h: Likewise.
72545         * include/rpc/auth_unix.h: Likewise.
72546         * include/rpc/clnt.h: Likewise.
72547         * include/rpc/des_crypt.h: Likewise.
72548         * include/rpc/key_prot.h: Likewise.
72549         * include/rpc/pmap_clnt.h: Likewise.
72550         * include/rpc/pmap_prot.h: Likewise.
72551         * include/rpc/pmap_rmt.h: Likewise.
72552         * include/rpc/rpc_msg.h: Likewise.
72553         * include/rpc/svc.h: Likewise.
72554         * include/rpc/svc_auth.h: Likewise.
72555         * include/rpc/xdr.h: Likewise.
72556         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72557         * nss/Makefile: Likewise.
72558         * sunrpc/Makefile: Don't install headers.  Build library with normal
72559         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72560         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72561         for the compat linking library.  Remove use of INTDEF/INTUSE.
72562         * sunrpc/auth_none.c: Likewise.
72563         * sunrpc/auth_unix.c: Likewise.
72564         * sunrpc/authdes_prot.c: Likewise.
72565         * sunrpc/authuxprot.c: Likewise.
72566         * sunrpc/clnt_gen.c: Likewise.
72567         * sunrpc/clnt_perr.c: Likewise.
72568         * sunrpc/clnt_raw.c: Likewise.
72569         * sunrpc/clnt_simp.c: Likewise.
72570         * sunrpc/clnt_tcp.c: Likewise.
72571         * sunrpc/clnt_udp.c: Likewise.
72572         * sunrpc/clnt_unix.c: Likewise.
72573         * sunrpc/des_crypt.c: Likewise.
72574         * sunrpc/des_soft.c: Likewise.
72575         * sunrpc/get_myaddr.c: Likewise.
72576         * sunrpc/key_call.c: Likewise.
72577         * sunrpc/key_prot.c: Likewise.
72578         * sunrpc/netname.c: Likewise.
72579         * sunrpc/pm_getmaps.c: Likewise.
72580         * sunrpc/pm_getport.c: Likewise.
72581         * sunrpc/pmap_clnt.c: Likewise.
72582         * sunrpc/pmap_prot.c: Likewise.
72583         * sunrpc/pmap_prot2.c: Likewise.
72584         * sunrpc/pmap_rmt.c: Likewise.
72585         * sunrpc/publickey.c: Likewise.
72586         * sunrpc/rpc_cmsg.c: Likewise.
72587         * sunrpc/rpc_common.c: Likewise.
72588         * sunrpc/rpc_dtable.c: Likewise.
72589         * sunrpc/rpc_prot.c: Likewise.
72590         * sunrpc/rpc_thread.c: Likewise.
72591         * sunrpc/rtime.c: Likewise.
72592         * sunrpc/svc.c: Likewise.
72593         * sunrpc/svc_auth.c: Likewise.
72594         * sunrpc/svc_authux.c: Likewise.
72595         * sunrpc/svc_raw.c: Likewise.
72596         * sunrpc/svc_run.c: Likewise.
72597         * sunrpc/svc_simple.c: Likewise.
72598         * sunrpc/svc_tcp.c: Likewise.
72599         * sunrpc/svc_udp.c: Likewise.
72600         * sunrpc/svc_unix.c: Likewise.
72601         * sunrpc/svcauth_des.c: Likewise.
72602         * sunrpc/xcrypt.c: Likewise.
72603         * sunrpc/xdr.c: Likewise.
72604         * sunrpc/xdr_array.c: Likewise.
72605         * sunrpc/xdr_float.c: Likewise.
72606         * sunrpc/xdr_intXX_t.c: Likewise.
72607         * sunrpc/xdr_mem.c: Likewise.
72608         * sunrpc/xdr_rec.c: Likewise.
72609         * sunrpc/xdr_ref.c: Likewise.
72610         * sunrpc/xdr_sizeof.c: Likewise.
72611         * sunrpc/xdr_stdio.c: Likewise.
72613 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72615         [BZ #12650]
72616         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72617         * sysdeps/ia64/dl-tls.h: Likewise.
72618         * sysdeps/powerpc/dl-tls.h: Likewise.
72619         * sysdeps/s390/dl-tls.h: Likewise.
72620         * sysdeps/sh/dl-tls.h: Likewise.
72621         * sysdeps/sparc/dl-tls.h: Likewise.
72622         * sysdeps/x86_64/dl-tls.h: Likewise.
72623         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72625 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72627         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72628         rpath element also skip the following colon.
72629         (expand_dynamic_string_token): Add is_path parameter and pass
72630         down to DL_DST_REQUIRED and _dl_dst_substitute.
72631         (decompose_rpath): Call expand_dynamic_string_token with
72632         non-zero is_path.  Ignore empty rpaths.
72633         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72634         with zero is_path.
72636 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72639         Make cancelable.
72641 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72643         [BZ #12655]
72644         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72645         Patch by Filipe David Manana <fdmanana@apache.org>.
72647 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72650         Maintain aligned stack.
72651         (CHECK_RSP): Remove unused macro.
72653 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72655         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72656         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72658 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72660         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72662         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72664 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72666         [BZ #12518]
72667         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72668         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72669         * sysdeps/x86_64/memmove.c: New file.
72670         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72671         (memcpy): Renamed to ...
72672         (__new_memcpy): This.
72673         (memcpy): Provide GLIBC_2_14 memcpy.
72674         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72675         (memcpy): Provide GLIBC_2_2_5 memcpy.
72677 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72679         [BZ #12631]
72680         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72682 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72684         * misc/syncfs.c: New file.
72685         * misc/Makefile (routines): Add syncfs.
72686         * posix/unistd.h: Declare syncfs.
72687         * sysdeps/unix/syscalls.list: Add syncfs.
72689 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72691         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72692         open_by_handle_at.
72693         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72694         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72696         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72697         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72698         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72699         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72701 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72704         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72705         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72707         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72709         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72711         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72712         sync_file_range.c with -fexceptions.
72713         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72714         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72715         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72716         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72717         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72718         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72720         sync_file_range as cancellation point
72721         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
72722         now a wrapper around __call_sync_file_range with cancellation handling.
72723         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72724         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
72725         function name to __call_sync_file_range.
72726         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72727         Add call_sync_file_range.
72729 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72732         bits/timex.h.
72734 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72736         * iconv/iconv.h: Fix typo in comment.
72737         * io/fcntl.h: Likewise.
72738         * libio/stdio.h: Likewise.
72739         * posix/spawn.h: Likewise.
72740         * posix/unistd.h: Likewise.
72741         * stdlib/stdlib.h: Likewise.
72742         * time/time.h: Likewise.
72743         * wcsmbs/wchar.h: Likewise.
72745         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72746         open_by_handle): Add.
72747         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72748         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
72749         Augment a few comments.
72750         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72752         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72755         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72756         open_by_handle.
72758         * io/fcntl.h (AT_EMPTY_PATH): Define.
72760 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
72762         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72763         * sysdeps/unix/sysv/linux/bits/time.h: New file.
72764         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72765         to...
72766         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
72767         * Versions.def: Add GLIBC_2.14.
72768         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72769         Export.
72771 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
72773         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72774         round counter.
72775         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72777 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72779         [BZ #12597]
72780         * string/test-strncmp.c (do_page_test): New function.
72781         (check2): Likewise.
72782         (test_main): Call check2.
72783         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72785 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72787         [BZ #12587]
72788         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72789         Handle cache information in CPU leaf 4.
72790         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72792 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72794         [BZ #12583]
72795         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72796         character representation.
72797         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72799 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72801         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72802         END(__isnan) to END(__isnanf) to match function entry point/label
72803         EALIGN(__isnanf,...).
72805 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72807         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72809 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72811         [BZ #12510]
72812         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72813         copy from the symbol referenced in the relocation to initialize the
72814         used variable.
72815         Patch by Piotr Bury <pbury@goahead.com>.
72816         * elf/Makefile: Add rules to build and tst-unique3.
72817         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72818         * elf/tst-unique3.cc: New file.
72819         * elf/tst-unique3.h: New file.
72820         * elf/tst-unique3lib.cc: New file.
72821         * elf/tst-unique3lib2.cc: New file.
72823         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72825 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72827         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72828         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72829         to _start.
72831 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72833         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72834         to-be-loaded object along a path to loader is ld.so.
72836 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72837             Ulrich Drepper  <drepper@gmail.com>
72839         * sysdeps/x86_64/memset.S: After aligning destination, code
72840         branches to different locations depending on the value of
72841         misalignment, when multiarch is enabled. Fix this.
72843 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72845         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72846         Set _x86_64_preferred_memory_instruction for AMD processsors.
72847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72848         Set bit_Prefer_SSE_for_memop for AMD processors.
72850 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72852         * libio/fmemopen.c (fmemopen): Optimize a bit.
72854 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72856         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72858 2011-03-03  Roland McGrath  <roland@redhat.com>
72860         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72862 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72864         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72865         __bzero_ultra1 instead of __memset_ultra1.
72867 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72868             Ulrich Drepper  <drepper@gmail.com>
72870         [BZ #12509]
72871         * include/link.h (struct link_map): Add l_orig_initfini.
72872         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72873         returning unsuccessfully.
72874         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72875         close of a file loaded at startup, restore the original l_initfini
72876         list.
72877         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72878         list, store the pointer.
72879         * elf/Makefile ($(objpfx)noload-mem): New rule.
72880         (noload-ENV): Define.
72881         (tests): Add $(objpfx)noload-mem.
72882         * elf/noload.c: Include <memcheck.h>.
72883         (main): Call mtrace.  Close all opened handles.
72885 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72887         [BZ #12454]
72888         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72889         dependencies are missing.
72891 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72893         Fix __if_freereq crash: Unlike the generic version which uses free,
72894         Hurd needs munmap.
72895         * sysdeps/mach/hurd/ifreq.h: New file.
72897 2011-01-27  Petr Baudis  <pasky@suse.cz>
72898             Ulrich Drepper  <drepper@gmail.com>
72900         [BZ 12445]#
72901         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72902         to extend_alloca().
72903         * stdio-common/bug23.c: New file.
72904         * stdio-common/Makefile (tests): Add bug23.
72906 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72907             Ulrich Drepper  <drepper@gmail.com>
72909         [BZ #12489]
72910         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72911         before performing relro protection.  At old place add assertion
72912         to make sure nothing changed.
72914 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72915             Glauber de Oliveira Costa  <glommer@gmail.com>
72917         * elf/elf.h: Add new ARM TLS relocs.
72919 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72922         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72923         cast from r3.
72924         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72925         'tests' variable.
72926         * sysdeps/wordsize-64/tst-writev.c: New file.
72928 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72930         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72931         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72932         insns in _dl_start to prevent a TOC reference before relocs are
72933         resolved.
72935 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72937         [BZ #12469]
72938         * Makeconfig: Remove RANLIB definition.
72939         * Makerules: Don't use RANLIB.
72940         * aclocal.m4: Remove ranlib test.
72941         * configure.in: No need to check for ranlib.
72942         * elf/rtld-Rules: Don't use RANLIB.
72944 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72946         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72947         protection macro.
72948         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72949         inclusion protection macro.
72951         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72952         SIGRTMIN and SIGRTMAX and print information in that case only when
72953         SIGRTMIN is defined.
72955 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72957         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72958         arginfo fn returning -1.
72960         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72961         and thousands string is zero terminated.
72963 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72966         sysdeps/unix/sysv/linux/bits/socket.h.
72968 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72970         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72971         (__CPU_COUNT): Remove old macros.
72972         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72973         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72974         (__CPU_ALLOC, __CPU_FREE): Add macros.
72975         (__sched_cpualloc, __sched_cpufree): Add declarations.
72977 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72979         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72980         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72981         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72982         (readdhstai): Return value of addhstaiX call.
72983         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72984         (addgrbyX): Return value returned by cache_addgr.
72985         (readdgrbyname): Return value returned by addgrbyX.
72986         (readdgrbygid): Likewise.
72987         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72988         (addpwbyX): Return value returned by cache_addpw.
72989         (readdpwbyname): Return value returned by addhstbyX.
72990         (readdpwbyuid): Likewise.
72991         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72992         (addservbyX): Return value returned by cache_addserv.
72993         (readdservbyname): Return value returned by addservbyX:
72994         (readdservbyport): Likewise.
72995         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72996         (addhstbyX): Return value returned by cache_addhst.
72997         (readdhstbyname): Return value returned by addhstbyX.
72998         (readdhstbyaddr): Likewise.
72999         (readdhstbynamev6): Likewise.
73000         (readdhstbyaddrv6): Likewise.
73001         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73002         (readdinitgroups): Return value returned by addinitgroupsX.
73003         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73004         (prune_cache): Keep track of timeout value of re-added entries.
73005         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73006         * nscd/nscd.h: Adjust prototypes of readd* functions.
73008 2011-02-04  Roland McGrath  <roland@redhat.com>
73010         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73011         (nis_stats): Likewise.
73012         * nis/nis_modify.c (nis_modify): Likewise.
73013         * nis/nis_remove.c (nis_remove): Likewise.
73014         * nis/nis_add.c (nis_add): Likewise.
73016         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73018         * posix/fnmatch_loop.c: Add some consts.
73020         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73022 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73024         [BZ #12460]
73025         * config.make.in (config-cflags-novzeroupper): Define.
73026         * configure.in: Substitute libc_cv_cc_novzeroupper.
73027         * elf/Makefile (AVX-CFLAGS): Define.
73028         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73029         (CFLAGS-tst-auditmod4a.c): Likewise.
73030         (CFLAGS-tst-auditmod4b.c): Likewise.
73031         (CFLAGS-tst-auditmod6b.c): Likewise.
73032         (CFLAGS-tst-auditmod6c.c): Likewise.
73033         (CFLAGS-tst-auditmod7b.c): Likewise.
73034         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73036 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73038         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73039         function to the callback.
73040         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73042 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73044         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73045         of errno.
73047 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73049         [BZ #11724]
73050         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73051         of constructors.
73052         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73053         of destructors.
73054         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73056         [BZ #11724]
73057         * elf/Makefile: Add rules to build and run new test.
73058         * elf/tst-initorder.c: New file.
73059         * elf/tst-initorder.exp: New file.
73060         * elf/tst-initordera1.c: New file.
73061         * elf/tst-initordera2.c: New file.
73062         * elf/tst-initordera3.c: New file.
73063         * elf/tst-initordera4.c: New file.
73064         * elf/tst-initorderb1.c: New file.
73065         * elf/tst-initorderb2.c: New file.
73066         * elf/tst-order-a1.c: New file.
73067         * elf/tst-order-a2.c: New file.
73068         * elf/tst-order-a3.c: New file.
73069         * elf/tst-order-a4.c: New file.
73070         * elf/tst-order-b1.c: New file.
73071         * elf/tst-order-b2.c: New file.
73072         * elf/tst-order-main.c: New file.
73073         New test case by George Gensure <werkt0@gmail.com>.
73075 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73078         decoding ACE if AI_CANONIDN.
73080 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73082         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73084 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73086         * version.h (RELEASE): Bump for 2.13 release.
73087         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73089         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73091         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73092         MADV_NOHUGEPAGE.
73093         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73094         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73095         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73096         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73100         * posix/getconf.c: Update copyright year.
73101         * catgets/gencat.c: Likewise.
73102         * csu/version.c: Likewise.
73103         * debug/catchsegv.sh: Likewise.
73104         * debug/xtrace.sh: Likewise.
73105         * elf/ldconfig.c: Likewise.
73106         * elf/ldd.bash.in: Likewise.
73107         * elf/sprof.c (print_version): Likewise.
73108         * iconv/iconv_prog.c: Likewise.
73109         * iconv/iconvconfig.c: Likewise.
73110         * locale/programs/locale.c: Likewise.
73111         * locale/programs/localedef.c: Likewise.
73112         * malloc/memusage.sh: Likewise.
73113         * malloc/mtrace.pl: Likewise.
73114         * nscd/nscd.c (print_version): Likewise.
73115         * nss/getent.c: Likewise.
73117         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73118         PF_CAIF, and PF_ALG.
73119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73121 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73123         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73124         (modules-names): Use them.
73125         (ifunc-test-modules, ifunc-pie-tests): Define.
73126         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73127         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73128         (test-extras): Likewise.
73129         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73130         $(compile-command.c).
73131         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73132         (all-built-dso): Define.
73133         (check-textrel.out, check-execstack.out): Depend on it.
73135         * configure.in: Don't override --enable-multi-arch.
73137 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73139         [BZ #6812]
73140         * nscd/hstcache.c (tryagain): Define.
73141         (cache_addhst): Return tryagain not notfound for temporary errors.
73142         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73143         failed.
73145 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73147         [BZ #10563]
73148         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73149         to make the syscall.
73150         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73152         [BZ #12378]
73153         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73154         and fall back to matching as normal character if the string ends before
73155         the matching ']' is found.  This is what POSIX requires.
73156         * posix/testfnm.c: Adjust test result.
73157         * posix/globtest.sh: Adjust test result.  Add new test.
73158         * posix/tst-fnmatch.input: Likewise.
73159         * posix/tst-fnmatch2.c: Add new test.
73161 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73163         * elf/Makefile (check-execstack): Revert last change.  Depend on
73164         check-execstack.h.
73165         (check-execstack.h): New target.
73166         (generated): Add check-execstack.h.
73167         * elf/check-execstack.c: Include "check-execstack.h".
73168         (main): Revert last change.
73169         (handle_file): Return zero if GNU_STACK is absent and
73170         DEFAULT_STACK_PERMS doesn't include PF_X.
73172 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73174         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73175         in child fails because the descriptor is already closed.
73176         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73177         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73178         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73180         [BZ #12397]
73181         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73182         syscall.
73184         [BZ #10484]
73185         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73186         temporary buffer used to handle multi lookups locally.
73187         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73189 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73191         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73192         loader is ld.so.
73194 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73196         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73197         alignment for SSE2.
73199 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73201         [BZ #12394]
73202         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73203         characters.  When rounding increased number of integer digits recompute
73204         number of groups.
73205         * stdio-common/tst-grouping.c: New file.
73206         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73208 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73210         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73211         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73213         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73214         void.
73215         * bits/select.h: Likewise.
73217 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73219         * po/ja.po: Update from translation team.
73221 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73223         [BZ #11155]
73224         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73225         implementation just like for lxstat, fxstatat, et al.
73227 2010-12-27  Jim Meyering  <meyering@redhat.com>
73229         [BZ #12348]
73230         * posix/regexec.c (build_trtable): Return failure indication upon
73231         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73233 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73235         [BZ #12201]
73236         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73237         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73238         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73239         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73241         [BZ #12207]
73242         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73244         [BZ #12204]
73245         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73246         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73248 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73250         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73251         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73252         script has SORT_BY_INIT_PRIORITY.
73253         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73254         NO_CTORS_DTORS_SECTIONS is defined.
73255         * elf/soinit.c: Likewise.
73256         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73257         NO_CTORS_DTORS_SECTIONS is defined.
73258         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73259         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73260         * sysdeps/sh/init-first.c: Likewise.
73261         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73263 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73265         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73266         always use the slow path.
73268 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73270         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73271         similar rule which adds the sysdep directories to the header search in
73272         order to pick up the correct platform stackinfo.h.
73273         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73274         perform test if it is, otherwise return successfully without testing.
73275         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73276         DEFAULT_STACK_PERMS define in stackinfo.h.
73277         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73278         defined in stackinfo.h.
73279         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73280         DEFAULT_STACK_PERMS defined in stackinfo.h.
73281         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73282         * sysdeps/ia64/stackinfo.h: Likewise.
73283         * sysdeps/s390/stackinfo.h: Likewise.
73284         * sysdeps/sh/stackinfo.h: Likewise.
73285         * sysdeps/sparc/stackinfo.h: Likewise.
73286         * sysdeps/x86_64/stackinfo.h: Likewise.
73287         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73288         PF_X for powerpc64.  Retain PF_X for powerpc32.
73290 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73292         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73293         accurately.
73294         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73295         GETDENTS_64BIT_ALIGNED.
73297 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73299         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73301 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73303         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73304         _GNU_SOURCE.
73306         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73307         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73308         Remove __restrict.
73309         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73310         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73312 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73314         [BZ #11655]
73315         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73316         are initialized.
73318 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73320         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73322 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73324         * po/it.po: Update from translation team.
73326 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73328         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73329         unused codes.
73331 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73333         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73335 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73337         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73338         specially.
73339         (gaih_getanswer_slice): Likewise.
73341 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73345 2010-05-31  Petr Baudis  <pasky@suse.cz>
73347         [BZ #11149]
73348         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73349         silently even in the chroot mode.
73351 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73353         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73354         last patch a bit.  Pretty printing
73356 2010-05-31  Petr Baudis <pasky@suse.cz>
73358         [BZ #10085]
73359         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73360         initialization of skip_initgroups_dyn.
73362 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73364         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73365         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73367 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73369         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73371 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73373         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73374         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73375         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73376         ($(objpfx)tst-fnmatch-mem): New rule.
73377         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73378         * posix/tst-fnmatch.c (main): Call mtrace.
73380 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73383         Support Intel processor model 6 and model 0x2c.
73385 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73387         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73388           signed comparison.
73390 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73392         [BZ #12205]
73393         * string/test-strncasecmp.c (check_result): New function.
73394         (do_one_test): Use it.
73395         (check1): New function.
73396         (test_main): Use it.
73397         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73398         Support strcasecmp and strncasecmp.
73400 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73402         [BZ #12194]
73403         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73404         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73406 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73408         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73409         IFUNC support.
73410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73411         memset-x86-64.
73412         * sysdeps/x86_64/multiarch/bzero.S: New file.
73413         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73414         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73415         * sysdeps/x86_64/multiarch/memset.S: New file.
73416         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73418         Set bit_Prefer_SSE_for_memop for Intel processors.
73419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73420         Define.
73421         (index_Prefer_SSE_for_memop): Define.
73422         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73424 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73426         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73427         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73429 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73431         [BZ #12191]
73432         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73433         (__x86_64_raw_data_cache_size_half): Likewise.
73434         (__x86_64_raw_shared_cache_size): Likewise.
73435         (__x86_64_raw_shared_cache_size_half): Likewise.
73437         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73438         (__x86_64_raw_data_cache_size_half): Likewise.
73439         (__x86_64_raw_shared_cache_size): Likewise.
73440         (__x86_64_raw_shared_cache_size_half): Likewise.
73441         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73442         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73443         and __x86_64_raw_shared_cache_size_half.  Round
73444         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73445         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73446         to multiple of 256 bytes.
73448 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73450         [BZ #12167]
73451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73452         of inacessible symlinks.  Verify result of symlink before returning it.
73453         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73454         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73456 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73458         * math/math.h (isinf): Fix typo in comment.
73460 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73462         * po/da.po: Update from translation team.
73464 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73466         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73467         is added to the list.
73469 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73470             Ulrich Drepper  <drepper@gmail.com>
73472         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73473         the global list here.  Move code to...
73474         (_dl_add_to_namespace_list): ...here.  New function.
73475         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73476         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73477         * elf/dl-load.c (lose): Don't remove the element from the list.
73478         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73479         (_dl_map_object): Likewise.
73481 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73483         [BZ #12159]
73484         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73485         into all bytes of SSE register.
73486         Patch by Richard Li <richardpku@gmail.com>.
73488 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73490         [BZ #12140]
73491         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73492         perturbing.
73494 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73496         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73497         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73498         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73499         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73501         submachine.
73502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73504 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73506         * include/dlfcn.h (__RTLD_SECURE): Define.
73507         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73508         mode & __RTLD_SECURE instead.
73509         (open_path): Rename preloaded parameter to secure.
73510         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73511         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73512         * elf/dl-deps.c (openaux): Likewise.
73513         * elf/rtld.c (struct map_args): Remove is_preloaded.
73514         (map_doit): Don't use it.
73515         (dl_main): Likewise.
73516         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73517         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73519 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73521         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73522         (sysd-rules-targets): Remove duplicates.
73523         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73524         rtld-%.$o dependency.
73526 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73528         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73529         _dl_map_object do it.
73531 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73533         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73534         fast fma builtins, define the macros in the C99 standard.
73535         (FP_FAST_FMAF): Likewise.
73536         (FP_FAST_FMAL): Likewise.
73537         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73539         * bits/mathdef.h: Update copyright year.
73540         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73542 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73544         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73545         builtins, define the macros in the C99 standard.
73546         (FP_FAST_FMAF): Likewise.
73547         (FP_FAST_FMAL): Likewise.
73548         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73549         multiply/add.
73550         (FP_FAST_FMAF): Likewise.
73552 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73554         [BZ #3268]
73555         * math/libm-test.inc (fma_test): Some new testcases.
73556         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73557         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73558         y and infinite z.  Do multiplication by C already in long double.
73559         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73561         y and infinite z.  Do bitwise or of inexact bit into u.d.
73562         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73563         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73564         * sysdeps/i386/fpu/s_fma.S: Removed.
73565         * sysdeps/i386/fpu/s_fmal.S: Removed.
73567 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73569         [BZ #3268]
73570         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73572         computation is not scheduled after fetestexcept.  Fix value
73573         of minimum denormal long double.
73575 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73577         [BZ #3268]
73578         * math/libm-test.inc (fma_test): Add some more tests.
73579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73580         correctly.
73582 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73584         * scripts/data/localplt-s390-linux-gnu.data: New file.
73585         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73587 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73589         [BZ #3268]
73590         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73591         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73592         instead of dbl-64.
73593         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73594         inlines.
73595         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73597         if one of x and y is very large and the other is subnormal.
73598         * sysdeps/s390/fpu/s_fmaf.c: New file.
73599         * sysdeps/s390/fpu/s_fma.c: New file.
73600         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73601         * sysdeps/powerpc/fpu/s_fma.S: New file.
73602         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73603         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73604         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73606 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73608         [BZ #3268]
73609         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73610         fma tests.
73611         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73612         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73613         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73614         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73615         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73616         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73617         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73619 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73621         [BZ #12078]
73622         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73623         * posix/bug-regex31.input: Add test case.
73625 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73627         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73628         * posix/bug-regex31.input: New file.
73630         [BZ #12078]
73631         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73632         (parse_sub_exp): Fix last change, use postorder.
73634         * posix/bug-regex31.c: New file.
73635         * posix/Makefile: Add rules to build and run bug-regex31.
73637         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73639         [BZ #12078]
73640         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73642         [BZ #12108]
73643         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73644         to have entries in sys_siglist.
73646         [BZ #12093]
73647         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73648         be NULL.
73650 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73652         [BZ #3268]
73653         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73654         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73655         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73656         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73657         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73658         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73659         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73660         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73661         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73662         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73663         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73664         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73665         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73666         * math/ftestexcept.c (fetestexcept): Likewise.
73667         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73668         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73669         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73670         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73671         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73672         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73673         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73675 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73677         [BZ #12107]
73678         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73679         newline.
73681 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73683         * string/bug-strstr1.c: New file.
73684         * string/Makefile: Add rules to build and run bug-strstr1.
73686 2010-10-05  Eric Blake  <eblake@redhat.com>
73688         [BZ #12092]
73689         * string/str-two-way.h (two_way_long_needle): Always clear memory
73690         when skipping input due to the shift table.
73692 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73694         [BZ #12005]
73695         * malloc/mcheck.c: Handle large requests.
73697         [BZ #12077]
73698         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73699         for strncmp and strncasecmp.
73700         * string/stratcliff.c: Add tests for strcmp and strncmp.
73701         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73703 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73705         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73706         __set_fpscr.
73708 2010-09-30  Andreas Jaeger  <aj@suse.de>
73710         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73711         (CGROUP_SUPER_MAGIC): Define.
73712         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73713         Handle btrfs and cgroup file systems.
73714         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73715         Likewise.
73717 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
73719         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73720         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73722 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73724         [BZ #12067]
73725         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73726         trying to locate the ELF header.
73728 2010-09-27  Andreas Schwab  <schwab@redhat.com>
73730         [BZ #11611]
73731         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73732         Mask out sign-bit copies when constructing f_fsid.
73734 2010-09-24  Petr Baudis <pasky@suse.cz>
73736         * debug/stack_chk_fail_local.c: Add missing licence exception.
73737         * debug/warning-nop.c: Likewise.
73739 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
73741         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73742         implementing getdents64 using getdents syscall, set d_type if
73743         __ASSUME_GETDENTS32_D_TYPE.
73745 2010-09-16  Andreas Schwab  <schwab@redhat.com>
73747         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73748         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73750 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
73752         [BZ #12037]
73753         * posix/unistd.h: Undo change of feature selection for ftruncate from
73754         2010-01-11.
73756 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
73758         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73759         detection.
73761 2010-09-20  Andreas Schwab  <schwab@redhat.com>
73763         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73764         fanotify_mark.
73765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73767 2010-09-14  Andreas Schwab  <schwab@redhat.com>
73769         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73770         variables after CHECK_SP call.
73771         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73773 2010-09-13  Andreas Schwab  <schwab@redhat.com>
73774             Ulrich Drepper  <drepper@redhat.com>
73776         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73777         re-relocationg ld.so.
73778         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73779         _dl_init_paths call.
73780         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
73781         here anymore.
73783 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73785         * resolv/res_init.c (__res_vinit): Count the default server we added.
73787 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73788             Ulrich Drepper  <drepper@redhat.com>
73790         [BZ #11968]
73791         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73792         (____longjmp_chk): Use %ebx for saving value across system call.
73793         Add unwind info.
73795 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73797         * manual/Makefile: Don't mix pattern rules with normal rules.
73799 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73801         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73802         operation.
73803         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73804         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73805         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73806         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73808         Likewise.
73810 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73812         [BZ #11979]
73813         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73814         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73816 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73818         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73819         * sysdeps/x86_64/addmul_1.S: Likewise.
73820         * sysdeps/x86_64/lshift.S: Likewise.
73821         * sysdeps/x86_64/mul_1.S: Likewise.
73822         * sysdeps/x86_64/rshift.S: Likewise.
73823         * sysdeps/x86_64/sub_n.S: Likewise.
73824         * sysdeps/x86_64/submul_1.S: Likewise.
73826 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73828         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73829         Define __sched_param instead of SCHED_* and sched_param when
73830         <bits/sched.h> is included with __need_schedparam defined.
73831         * bits/sched.h [__need_schedparam]
73832         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73833         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73834         (__defined_schedparam): Define to 1.
73835         (__sched_param): New structure, identical to sched_param.
73836         (__need_schedparam): Undefine.
73838 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73840         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73841         (epoll_create1): Declare.
73843         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73845 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73847         [BZ #7066]
73848         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73849         shifting retval into place.
73851 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73853         * nis/rpcsvc/nis.h: Update copyright notice.
73854         * nis/rpcsvc/nis.x: Likewise.
73855         * nis/rpcsvc/nis_callback.h: Likewise.
73856         * nis/rpcsvc/nis_callback.x: Likewise.
73857         * nis/rpcsvc/nis_object.x: Likewise.
73858         * nis/rpcsvc/nis_tags.h: Likewise.
73859         * nis/rpcsvc/yp.h: Likewise.
73860         * nis/rpcsvc/yp.x: Likewise.
73861         * nis/rpcsvc/ypupd.h: Likewise.
73862         * nis/yp_xdr.c: Likewise.
73863         * nis/ypupdate_xdr.c: Likewise.
73865         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73866         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73867         (pmap_getport): Use __libc_rpc_getport.
73868         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73869         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73870         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73872 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73875         fanotify_mark.
73877 2010-08-27  Roland McGrath  <roland@redhat.com>
73879         * sysdeps/i386/i686/multiarch/Makefile
73880         (CFLAGS-varshift.c): New variable.
73882 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73884         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73885         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73889         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73891 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73893         * sysdeps/x86_64/strlen.S: Unroll the loop.
73894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73895         strlen-sse2 strlen-sse2-bsf.
73896         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73897         __strlen_no_bsf if bit_Slow_BSF is set.
73898         (__strlen_sse42): Removed.
73899         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73900         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73902 2010-08-25  Roland McGrath  <roland@redhat.com>
73904         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73905         * sysdeps/x86_64/multiarch/varshift.c: New file.
73906         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73907         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73908         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73909         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73911 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73914         strlen-sse2 strlen-sse2-bsf.
73915         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73916         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73917         (__strlen_sse2): Removed.
73918         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73919         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73921         bit_Slow_BSF for Atom.
73922         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73923         (index_Slow_BSF): Define.
73924         (HAS_SLOW_BSF): Define.
73926 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73928         [BZ #10851]
73929         * resolv/res_init.c (__res_vinit): When no server address at all
73930         is given default to loopback.
73932 2010-08-24  Roland McGrath  <roland@redhat.com>
73934         * configure.in: Remove config-name.h generation.
73935         * configure: Regenerated.
73936         * config-name.in: File removed.
73937         * scripts/config-uname.sh: New file.
73938         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73939         ($(objdir)config-name.h): New target.
73941         * sunrpc/rpc_parse.h: Avoid nested comment.
73943 2010-08-24  Richard Henderson  <rth@redhat.com>
73944             Ulrich Drepper  <drepper@redhat.com>
73945             H.J. Lu  <hongjiu.lu@intel.com>
73947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73949         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73950         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73951         _mm_alignr_epi8 with _mm_loadu_si128.
73952         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73953         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73954         (__m128i_shift_right): Removed.
73955         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73956         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73957         * sysdeps/x86_64/multiarch/varshift.h: New file.
73958         * sysdeps/x86_64/multiarch/varshift.S: New file.
73960 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73962         * configure.in: Move assembler checks to before sysdep dir checking.
73964 2010-08-20  Petr Baudis  <pasky@suse.cz>
73966         * LICENSES: Sync the sunrpc license.
73968 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73970         * sunrpc/auth_des.c: Update copyright notice once again.
73971         * sunrpc/auth_none.c: Likewise.
73972         * sunrpc/auth_unix.c: Likewise.
73973         * sunrpc/authdes_prot.c: Likewise.
73974         * sunrpc/authuxprot.c: Likewise.
73975         * sunrpc/bindrsvprt.c: Likewise.
73976         * sunrpc/clnt_gen.c: Likewise.
73977         * sunrpc/clnt_perr.c: Likewise.
73978         * sunrpc/clnt_raw.c: Likewise.
73979         * sunrpc/clnt_simp.c: Likewise.
73980         * sunrpc/clnt_tcp.c: Likewise.
73981         * sunrpc/clnt_udp.c: Likewise.
73982         * sunrpc/clnt_unix.c: Likewise.
73983         * sunrpc/des_crypt.c: Likewise.
73984         * sunrpc/des_soft.c: Likewise.
73985         * sunrpc/get_myaddr.c: Likewise.
73986         * sunrpc/getrpcport.c: Likewise.
73987         * sunrpc/key_call.c: Likewise.
73988         * sunrpc/key_prot.c: Likewise.
73989         * sunrpc/openchild.c: Likewise.
73990         * sunrpc/pm_getmaps.c: Likewise.
73991         * sunrpc/pm_getport.c: Likewise.
73992         * sunrpc/pmap_clnt.c: Likewise.
73993         * sunrpc/pmap_prot.c: Likewise.
73994         * sunrpc/pmap_prot2.c: Likewise.
73995         * sunrpc/pmap_rmt.c: Likewise.
73996         * sunrpc/rpc/auth.h: Likewise.
73997         * sunrpc/rpc/auth_unix.h: Likewise.
73998         * sunrpc/rpc/clnt.h: Likewise.
73999         * sunrpc/rpc/des_crypt.h: Likewise.
74000         * sunrpc/rpc/key_prot.h: Likewise.
74001         * sunrpc/rpc/netdb.h: Likewise.
74002         * sunrpc/rpc/pmap_clnt.h: Likewise.
74003         * sunrpc/rpc/pmap_prot.h: Likewise.
74004         * sunrpc/rpc/pmap_rmt.h: Likewise.
74005         * sunrpc/rpc/rpc.h: Likewise.
74006         * sunrpc/rpc/rpc_des.h: Likewise.
74007         * sunrpc/rpc/rpc_msg.h: Likewise.
74008         * sunrpc/rpc/svc.h: Likewise.
74009         * sunrpc/rpc/svc_auth.h: Likewise.
74010         * sunrpc/rpc/types.h: Likewise.
74011         * sunrpc/rpc/xdr.h: Likewise.
74012         * sunrpc/rpc_clntout.c: Likewise.
74013         * sunrpc/rpc_cmsg.c: Likewise.
74014         * sunrpc/rpc_common.c: Likewise.
74015         * sunrpc/rpc_cout.c: Likewise.
74016         * sunrpc/rpc_dtable.c: Likewise.
74017         * sunrpc/rpc_hout.c: Likewise.
74018         * sunrpc/rpc_main.c: Likewise.
74019         * sunrpc/rpc_parse.c: Likewise.
74020         * sunrpc/rpc_parse.h: Likewise.
74021         * sunrpc/rpc_prot.c: Likewise.
74022         * sunrpc/rpc_sample.c: Likewise.
74023         * sunrpc/rpc_scan.c: Likewise.
74024         * sunrpc/rpc_scan.h: Likewise.
74025         * sunrpc/rpc_svcout.c: Likewise.
74026         * sunrpc/rpc_tblout.c: Likewise.
74027         * sunrpc/rpc_util.c: Likewise.
74028         * sunrpc/rpc_util.h: Likewise.
74029         * sunrpc/rpcinfo.c: Likewise.
74030         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74031         * sunrpc/rpcsvc/key_prot.x: Likewise.
74032         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74033         * sunrpc/rpcsvc/mount.x: Likewise.
74034         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74035         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74036         * sunrpc/rpcsvc/rex.x: Likewise.
74037         * sunrpc/rpcsvc/rstat.x: Likewise.
74038         * sunrpc/rpcsvc/rusers.x: Likewise.
74039         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74040         * sunrpc/rpcsvc/spray.x: Likewise.
74041         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74042         * sunrpc/rtime.c: Likewise.
74043         * sunrpc/svc.c: Likewise.
74044         * sunrpc/svc_auth.c: Likewise.
74045         * sunrpc/svc_authux.c: Likewise.
74046         * sunrpc/svc_raw.c: Likewise.
74047         * sunrpc/svc_run.c: Likewise.
74048         * sunrpc/svc_simple.c: Likewise.
74049         * sunrpc/svc_tcp.c: Likewise.
74050         * sunrpc/svc_udp.c: Likewise.
74051         * sunrpc/svc_unix.c: Likewise.
74052         * sunrpc/svcauth_des.c: Likewise.
74053         * sunrpc/xcrypt.c: Likewise.
74054         * sunrpc/xdr.c: Likewise.
74055         * sunrpc/xdr_array.c: Likewise.
74056         * sunrpc/xdr_float.c: Likewise.
74057         * sunrpc/xdr_mem.c: Likewise.
74058         * sunrpc/xdr_rec.c: Likewise.
74059         * sunrpc/xdr_ref.c: Likewise.
74060         * sunrpc/xdr_sizeof.c: Likewise.
74061         * sunrpc/xdr_stdio.c: Likewise.
74063         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74064         handling.
74066 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74068         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74070 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74072         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74073         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74074         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74075         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74076         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74077         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74078         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74079         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74080         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74081         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74082         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74083         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74084         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74085         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74087 2010-07-26  Anton Blanchard  <anton@samba.org>
74089         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74090         * malloc/arena.c (heap_trim): Likewise.
74092 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74094         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74095         here.  Not...
74096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74097         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74099 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74101         * sysdeps/i386/elf/Makefile: New file.
74103 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74105         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74106         from fanotify_init.
74107         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74110 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74112         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74113         of strncasecmp_l.
74114         * sysdeps/multiarch/strcmp.S: Likewise.
74116 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74118         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74119         strncase_l-nonascii.
74120         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74121         Add strncase_l-ssse3.
74122         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74123         * sysdeps/x86_64/strcmp.S: Likewise.
74124         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74125         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74126         * sysdeps/x86_64/strncase.S: New file.
74127         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74128         * sysdeps/x86_64/strncase_l.S: New file.
74129         * string/Makefile (strop-tests): Add strncasecmp.
74130         * string/test-strncasecmp.c: New file.
74132         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74133         warning.
74135         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74136         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74138 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74140         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74142 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74144         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74145         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74146         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74148 2010-05-01  Alan Modra  <amodra@gmail.com>
74150         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74151         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74152         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74153         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74154         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74155         tidying.  Don't tail-call __sigjmp_save for static lib.
74156         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74157         save location.
74158         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74159         (CALL_MCOUNT): Add eh info, and nop after bl.
74160         (TAIL_CALL_SYSCALL_ERROR): New macro.
74161         (PSEUDO_RET): Use it.
74162         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74163         Correct save location of integer regs and cr.
74164         (_dl_profile_resolve): Correct cr save location.  Delete nops
74165         after bl when SHARED.  Reduce cfi size a little by better
74166         placement of cfi directives.
74167         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74168         make a stack frame.  Instead use parm save area as a temp.
74169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74170         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74172         Don't make a stack frame for parent, use parm save area.
74173         Increase child stack frame to 112 bytes.  Don't save unused reg,
74174         and adjust reg usage.  Set up cfi on error recovery and
74175         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74177         (__makecontext): Add dummy nop after jump to exit.
74178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74179         Use correct parm save area and cr save, reduce stack frame.
74180         Correct cfi for possible PSEUDO_RET frame setup.
74181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74182         Branch to local label emitted by PSEUDO_RET rather than
74183         __syscall_error.
74185 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74187         [BZ #11904]
74188         * locale/programs/locale.c (print_assignment): New function.
74189         (show_locale_vars): Use it.
74191 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74193         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74194         field.
74195         (struct statfs64): Likewise.
74196         (_STATFS_F_FLAGS): Define.
74197         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74198         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74199         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74200         (ST_VALID): Define locally.
74201         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74202         __statvfs_getflags, use the provided value.
74203         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74204         __ASSUME_STATFS_F_FLAGS.
74206         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74208         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74209         Add sys/fanotify.h.
74210         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74211         fanotify_mask for GLIBC_2.13.
74212         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74213         fanotify_init and fanotify_mark.
74214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74215         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74217         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74218         Add prlimit.
74219         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74220         prlimit64 for GLIBC_2.13.
74221         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74222         prlimit64.
74223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74224         syscall.
74225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74226         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74227         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74228         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74229         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74230         add prlimit alias.
74231         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74233         [BZ #11903]
74234         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74235         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74237         * nss/Makefile: Add rules to build and run tst-nss-test1.
74238         * shlib-versions: Add entry for libnss_test1.
74239         * nss/nss_test1.c: New file.
74240         * nss/tst-nss-test1.c: New file.
74242         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74243         (__nss_configure_lookup): Set appropriate entry in
74244         __nss_configure_lookup to true.
74245         * nss/nsswitch.h: Define enum with indeces of databases in
74246         databases and __nss_database_custom arrays.  Declare
74247         __nss_database_custom.
74248         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74249         to avoid using nscd when custom rules are installed.
74250         * nss/getXXbyYY_r.c: Likewise.
74251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74253         * nss/nss_files/files-parse.c: Whitespace fixes.
74255 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74257         [BZ #11883]
74258         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74259         * posix/fnmatch_loop.c: Likewise.
74261 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74263         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74264         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74265         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74266         * Versions.def [GLIBC_2.13]: Add.
74268 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74270         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74271         Also fail if tpwd after pwuid call is NULL.
74273 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74275         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74276         when converting to ms.
74278 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74280         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74281         EOPNOTSUPP errors with ENOTTY.
74282         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74283         EOPNOTSUPP errors with ENOTTY.
74285 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74287         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74288         Add strcasecmp_l-ssse3.
74289         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74290         strcasecmp.
74291         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74292         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74293         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74295 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74297         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74299         * string/Makefile (strop-tests): Add strcasecmp.
74300         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74301         strcasecmp_l-nonascii.
74302         (gen-as-const-headers): Add locale-defines.sym.
74303         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74304         * sysdeps/x86_64/strcasecmp.S: New file.
74305         * sysdeps/x86_64/strcasecmp_l.S: New file.
74306         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74307         * sysdeps/x86_64/locale-defines.sym: New file.
74308         * string/test-strcasecmp.c: New file.
74310         * string/test-strcasestr.c: Test both ends of the range of characters.
74311         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74313 2010-07-29  Roland McGrath  <roland@redhat.com>
74315         [BZ #11856]
74316         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74318 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74320         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74321         for ld.so.
74323 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74325         * manual/memory.texi (Malloc Tunable Parameters): Document
74326         M_PERTURB.
74328 2010-07-26  Roland McGrath  <roland@redhat.com>
74330         [BZ #11840]
74331         * configure.in (-fgnu89-inline check): Set and substitute
74332         gnu89_inline, not libc_cv_gnu89_inline.
74333         * configure: Regenerated.
74334         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74336 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74338         * string/test-strnlen.c: New file.
74339         * string/Makefile (strop-tests): Add strnlen.
74340         * string/tester.c (test_strnlen): Add a few more test cases.
74341         * string/tst-strlen.c: Better error reporting.
74343         * sysdeps/x86_64/strnlen.S: New file.
74345 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74347         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74348         lower-latency instructions.
74350 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74352         * string/test-strcasestr.c: New file.
74353         * string/test-strstr.c: New file.
74354         * string/Makefile (strop-tests): Add strstr and strcasestr.
74355         * string/str-two-way.h: Don't undefine MAX.
74356         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74358 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74360         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74361         strcasestr-nonascii.
74362         (CFLAGS-strcasestr-nonascii.c): Define.
74363         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74364         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74365         Remove unused attribute.
74367 2010-07-20  Roland McGrath  <roland@redhat.com>
74369         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74370         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74371         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74372         like LD_HWCAP_MASK can disable hwcaps.
74374 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74376         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74378 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74380         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74381         call in strcasestr.
74382         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74383         __strcasestr_sse42_nonascii.
74384         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74385         strcasestr-nonascii.c.
74386         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74388 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74390         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74391         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74392         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74393         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74395 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74397         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74398         fcntl.
74400 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74402         [BZ #11577]
74403         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74404         dl_signal_cerror.
74406 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74408         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74409         _PC_PIPE_BUF using F_GETPIPE_SZ.
74411 2010-07-05  Roland McGrath  <roland@redhat.com>
74413         * manual/arith.texi (Rounding Functions): Fix rint description
74414         implicit in round description.
74416 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74418         * elf/Makefile: Fix linking for a few tests to make recent linker
74419         happy.
74421 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74423         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74424         $(common-objpfx)libc_nonshared.a.
74426 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74428         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74429         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74430         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74431         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74432         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74433         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74434         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74435         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74450         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74451         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74452         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74453         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74454         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74455         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74456         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74457         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74458         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74459         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74460         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74461         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74477 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74479         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74480         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74481         * string/memmove.c (memmove): Renamed to ...
74482         (MEMMOVE): ...this.  Default to memmove.
74483         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74484         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74485         (END_CHK): Define.
74486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74487         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74488         mempcpy-ssse3-back memmove-ssse3-back.
74489         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74490         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74492         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74493         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74494         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74495         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74496         * sysdeps/x86_64/multiarch/memmove.c: New file.
74497         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74498         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74499         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74500         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74501         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74502         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74503         Define.
74504         (index_Fast_Copy_Backward): Define.
74505         (HAS_ARCH_FEATURE): Define.
74506         (HAS_FAST_REP_STRING): Define.
74507         (HAS_FAST_COPY_BACKWARD): Define.
74509 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74511         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74512         Restore proper fallback handling.
74514 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74516         [BZ #11701]
74517         * posix/group_member.c (__group_member): Correct checking loop.
74519         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74520         OOM in getpwuid_r correctly.  Return error number when the caller
74521         should return, otherwise -1.
74522         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74523         call returning > 0 value.
74524         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74526 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74528         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74529         libc_nonshared.a from targets in modules-names.
74531 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74533         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74534         requires it.
74536 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74538         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74539         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74540         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74541         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74543 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74545         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74547 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74549         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74550         and F_GETPIPE_SZ.
74551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74555         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74556         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74558 2010-06-14  Roland McGrath  <roland@redhat.com>
74560         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74562 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74564         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74565         __REDIRECT followed by __THROW.
74566         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74567         * posix/getopt.h (getopt): Likewise.
74569 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74571         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74572         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74573         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74574         in AT_FLAGS.
74575         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74576         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74578 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74580         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74582 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74584         [BZ #11640]
74585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74586         Properly check family and model.
74588 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74590         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74592 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74594         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74596 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74598         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74599         symbol reference.
74601 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74603         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74604         symbol reference.
74606 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74608         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74609         and internal_recvmmsg.
74610         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74611         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74612         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74613         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74615         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74616         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74617         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74619 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74621         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74623 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74625         POWER7 optimizations.
74626         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74627         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74629 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74631         * version.h: Update for 2.13 development version.
74633 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74635         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74636         exceptions.  Return 0.
74638 2010-05-07  Roland McGrath  <roland@redhat.com>
74640         * elf/ldconfig.c (main): Add a const.
74642 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74644         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74645         (args_options): Add no-idn option.
74646         (ahosts_keys_int): Add idn_flags to ai_flags.
74647         (parse_option): Handle 'i' option to clear idn_flags.
74649         * malloc/malloc.c (_int_free): Possible race in the most recently
74650         added check.  Only act on the data if no current modification
74651         happened.
74653 See ChangeLog.17 for earlier changes.