S/390: Get rid of warning: the comparision will always evaluate as false.
[glibc.git] / ChangeLog
bloba6711e194b0e10065ddf5be9f410a81272d14985
1 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4         Check for unwind_backtrace ==  NULL only in SHARED case.
5         (__backchain_backtrace): Compile only in SHARED case.
6         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7         Likewise.
8         (__backchain_backtrace): Declare as static.
10 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13         (__libc_multiple_threads_ptr): Variable moved ...
14         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18         * conform/GlibcConform.pm: New file.
19         * conform/conformtest.pl: Use GlibcConform module.
20         * conform/linknamespace.pl: New file.
21         * conform/list-header-symbols.pl: Likewise.
22         * conform/Makefile (linknamespace-symlists-base): New variable.
23         (linknamespace-symlists-tests): Likewise.
24         (linknamespace-header-base): Likewise.
25         (linknamespace-header-tests): Likewise.
26         (tests-special): Add new tests.
27         ($(linknamespace-symlists-tests)): New rule.
28         (linknamespace-libs): New variable.
29         ($(objpfx)symlist-stdlibs): New rule.
30         ($(linknamespace-header-tests)): Likewise.
31         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
34         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38         (test-xfail-ISO/math.h/linknamespace): Likewise.
39         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41         (test-xfail-ISO/time.h/linknamespace): Likewise.
42         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44         (test-xfail-ISO99/math.h/linknamespace): Likewise.
45         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
46         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
47         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
48         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
49         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
50         (test-xfail-ISO11/math.h/linknamespace): Likewise.
51         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
52         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
53         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
54         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
55         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
56         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
57         (test-xfail-XPG3/math.h/linknamespace): Likewise.
58         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
59         (test-xfail-XPG3/search.h/linknamespace): Likewise.
60         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
61         (test-xfail-XPG3/time.h/linknamespace): Likewise.
62         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
63         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
64         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
65         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
66         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
67         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
68         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
69         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
70         (test-xfail-XPG4/math.h/linknamespace): Likewise.
71         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
72         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
73         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
74         (test-xfail-XPG4/search.h/linknamespace): Likewise.
75         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
76         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
77         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
78         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
79         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
80         (test-xfail-XPG4/time.h/linknamespace): Likewise.
81         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
82         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
83         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
84         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
85         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
86         (test-xfail-POSIX/math.h/linknamespace): Likewise.
87         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
88         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
89         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
90         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
91         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
92         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
93         (test-xfail-POSIX/time.h/linknamespace): Likewise.
94         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
95         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
96         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
97         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
98         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
99         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
100         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
101         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
102         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
103         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
104         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
105         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
106         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
107         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
108         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
109         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
110         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
111         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
112         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
113         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
114         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
115         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
116         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
117         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
118         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
119         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
120         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
121         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
122         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
123         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
124         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
125         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
126         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
127         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
128         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
129         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
130         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
131         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
132         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
133         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
134         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
135         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
136         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
137         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
138         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
139         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
140         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
141         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
142         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
143         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
144         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
145         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
146         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
147         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
148         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
149         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
150         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
151         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
152         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
153         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
154         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
155         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
156         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
157         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
158         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
159         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
160         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
161         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
162         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
163         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
164         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
165         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
166         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
167         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
168         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
169         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
170         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
171         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
172         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
173         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
174         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
175         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
176         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
177         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
178         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
179         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
180         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
181         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
182         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
183         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
184         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
185         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
186         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
187         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
188         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
189         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
190         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
191         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
193         [BZ #17589]
194         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
195         of fgets_unlocked.
197         [BZ #17585]
198         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
199         (memmem): Rename to __memmem and define as weak alias of
200         __memmem.  Use libc_hidden_weak.
201         (__memmem): Use libc_hidden_def.
202         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
203         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
204         memmem.
206         [BZ #17582]
207         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
208         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
209         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
210         and define as weak alias of __fgets_unlocked.  Use
211         libc_hidden_weak.
212         (__fgets_unlocked): Use libc_hidden_def.
213         * include/stdio.h (__fgets_unlocked): Declare.  Use
214         libc_hidden_proto.
215         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
216         __fgets_unlocked instead of fgets_unlocked.
217         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
218         (GET_NPROCS_CONF_PARSER): Likewise.
219         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
220         (GET_NPROCS_CONF_PARSER): Likewise.
222         [BZ #17574]
223         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
224         weak alias of __wmemset.  Use libc_hidden_weak.
225         (__wmemset): Use libc_hidden_def.
226         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
227         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
228         of wmemset.
230         [BZ #17573]
231         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
232         with asm name __mempcpy.
233         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
235         [BZ #17572]
236         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
237         and define as weak alias of __rawmemchr.
238         (__rawmemchr): Do not define as strong alias of rawmemchr.
240         [BZ #17571]
241         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
242         alias of __qsort_r.
243         (qsort): Call __qsort_r instead of qsort_r.
244         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
245         (__qsort_r): Declare.  Call libc_hidden_proto.
246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
247         instead of qsort_r.
248         * nscd/gai.c (__qsort_r): Define to qsort_r.
249         * posix/tst-rfc3484.c (__qsort_r): Likewise.
250         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
251         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
253         [BZ #17570]
254         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
255         define as weak alias of __malloc_info.
257         [BZ #17584]
258         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
259         as weak alias of __rewinddir.  Don't use libc_hidden_def.
260         (__rewinddir): Use libc_hidden_def.
261         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
262         as weak alias of __rewinddir.  Don't use libc_hidden_def.
263         (__rewinddir): Use libc_hidden_def.
264         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
265         weak alias of __rewinddir.  Don't use libc_hidden_def.
266         (__rewinddir): Use libc_hidden_def.
267         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
268         (__rewinddir): Use libc_hidden_proto.
269         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
270         rewinddir.
271         (__getcwd): Use __rewinddir instead of rewinddir.
273         [BZ #17583]
274         * libio/fileno.c (fileno): Rename to __fileno and define as weak
275         alias of __fileno.  Use libc_hidden_weak.
276         (__fileno): Use libc_hidden_def.
277         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
278         * libio/ftello.c (ftello): Rename to __ftello and define as weak
279         alias of __ftello.
280         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
281         __ftello.
282         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
283         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
284         libc_hidden_def.
285         (fread_unlocked): Don't use libc_hidden_ver.
286         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
287         and define as weak alias of __fread_unlocked.  Don't use
288         libc_hidden_def.
289         (__fread_unlocked): Use libc_hidden_def.
290         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
291         (ftello): Don't use libc_hidden_proto.
292         (__ftello): Declare.  Use libc_hidden_proto.
293         (fread_unlocked): Don't use libc_hidden_proto.
294         (__fread_unlocked): Declare.  Use libc_hidden_proto.
295         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
296         and __ftello instead of fileno, fread_unlocked and ftello.
298 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
300         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
301         GOT12.
302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
303         Likewise.
304         (_dl_start_user): Likewise.
305         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
307 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
308             Siddhesh Poyarekar  <siddhesh@redhat.com>
310         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
311         Move argv and envp down instead of moving argc up.
312         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
314 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
316         [BZ #17506]
317         * test-skeleton.c (main): Return successful if one of
318         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
319         * string/tst-strcoll-overflow.c: Define expected status.
321 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
323         [BZ #17475]
324         * locale/iso-639.def: Define Bhili and Tulu language codes.
326 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
328         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
330 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
332         [BZ #17555]
333         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
335 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
337         * configure.ac: Updated check of minimal required version to
338         2.22.
339         * manual/install.texi (Tools for Compilation): Updated version
340         number.
341         * configure: Regenerated.
342         * INSTALL: Likewise.
344 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
346         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
347         __tls_get_addr.
349 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
351         * include/sys/wait.h (__libc_waitpid): Remove declaration.
352         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
353         (__waitpid): Don't define as alias.  Use libc_hidden_def not
354         libc_hidden_weak.
355         (waitpid): Define as alias of __waitpid.
356         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
357         __waitpid.
358         (__waitpid): Don't define as alias.  Use libc_hidden_def not
359         libc_hidden_weak.
360         (waitpid): Define as alias of __waitpid.
361         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
362         __libc_waitpid alias.
363         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
364         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
365         Likewise.
366         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
367         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
368         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
369         alias.
370         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
371         __waitpid.
372         (__waitpid): Don't define as alias.  Use libc_hidden_def not
373         libc_hidden_weak.
374         (waitpid): Define as alias of __waitpid.
376 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
378         * manual/llio.texi: Add comment that write safety has been
379         fixed in Linux.
381         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
382         (localplt-build-dso): Add elf/ld.so.
383         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
384         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
385         and free for ld.so.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
387         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
389         Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
391         Likewise.
392         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
393         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
394         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
395         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
396         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
397         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
398         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
399         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
400         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
401         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
402         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
404 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
406         [BZ #14132]
407         * include/libc-symbols.h (INTUSE): Remove macro.
408         (INTDEF): Likewise.
409         (INTVARDEF): Likewise.
410         (_INTVARDEF): Likewise.
411         (INTDEF2): Likewise.
412         (INTVARDEF2): Likewise.
413         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
414         rtld_hidden_def instead of INTVARDEF.
415         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
416         (_dl_starting_up_internal): Remove declaration.
417         (_dl_starting_up): Use rtld_hidden_proto.
418         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
419         declaration.
420         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
421         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
422         _dl_starting_up.
423         * elf/dl-writev.h (_dl_writev): Likewise.
424         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
425         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
426         _dl_starting_up_internal.
428 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
430         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
431         test-skeleton.c.
433 2014-11-05  Will Newton  <will.newton@linaro.org>
435         * benchtests/Makefile: (bench-malloc): Add malloc thread
436         scalability benchmark.
437         * benchtests/bench-malloc-threads.c: New file.
439 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
441         * sysdeps/aarch64/strchrnul.S: New file.
443 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
446         definition.
447         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
448         Likwise.
449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
450         Likewise.
451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
452         Likewise.
453         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
454         Likewise.
455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
456         Likewise.
458 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
460         * catgets/test-gencat.c: Use test-skeleton.c.
461         * catgets/tst-catgets.c: Likewise.
462         * csu/tst-empty.c: Likewise.
463         * elf/tst-audit2.c: Likewise.
464         * elf/tst-global1.c: Likewise.
465         * elf/tst-pathopt.c: Likewise.
466         * elf/tst-piemod1.c: Likewise.
467         * elf/tst-tls10.c: Likewise.
468         * elf/tst-tls11.c: Likewise.
469         * elf/tst-tls12.c: Likewise.
470         * gnulib/tst-gcc.c: Likewise.
471         * iconvdata/tst-e2big.c: Likewise.
472         * iconvdata/tst-loading.c: Likewise.
473         * iconv/tst-iconv1.c: Likewise.
474         * iconv/tst-iconv2.c: Likewise.
475         * inet/test-inet6_opt.c: Likewise.
476         * inet/tst-gethnm.c: Likewise.
477         * inet/tst-network.c: Likewise.
478         * inet/tst-ntoa.c: Likewise.
479         * intl/tst-codeset.c: Likewise.
480         * intl/tst-gettext2.c: Likewise.
481         * intl/tst-gettext3.c: Likewise.
482         * intl/tst-ngettext.c: Likewise.
483         * intl/tst-translit.c: Likewise.
484         * io/test-stat.c: Likewise.
485         * libio/test-fmemopen.c: Likewise.
486         * libio/tst-freopen.c: Likewise.
487         * libio/tst-sscanf.c: Likewise.
488         * libio/tst-ungetwc1.c: Likewise.
489         * libio/tst-ungetwc2.c: Likewise.
490         * libio/tst-widetext.c: Likewise.
491         * localedata/tst-ctype.c: Likewise.
492         * localedata/tst-digits.c: Likewise.
493         * localedata/tst-leaks.c: Likewise.
494         * localedata/tst-mbswcs1.c: Likewise.
495         * localedata/tst-mbswcs2.c: Likewise.
496         * localedata/tst-mbswcs3.c: Likewise.
497         * localedata/tst-mbswcs4.c: Likewise.
498         * localedata/tst-mbswcs5.c: Likewise.
499         * localedata/tst-setlocale.c: Likewise.
500         * localedata/tst-trans.c: Likewise.
501         * localedata/tst-wctype.c: Likewise.
502         * localedata/tst-xlocale1.c: Likewise.
503         * login/tst-grantpt.c: Likewise.
504         * malloc/tst-calloc.c: Likewise.
505         * malloc/tst-malloc.c: Likewise.
506         * malloc/tst-mallocstate.c: Likewise.
507         * malloc/tst-mcheck.c: Likewise.
508         * malloc/tst-mtrace.c: Likewise.
509         * malloc/tst-obstack.c: Likewise.
510         * math/atest-exp2.c: Likewise.
511         * math/atest-exp.c: Likewise.
512         * math/atest-sincos.c: Likewise.
513         * math/test-matherr.c: Likewise.
514         * math/test-misc.c: Likewise.
515         * math/test-powl.c: Likewise.
516         * math/tst-definitions.c: Likewise.
517         * misc/tst-dirname.c: Likewise.
518         * misc/tst-efgcvt.c: Likewise.
519         * misc/tst-fdset.c: Likewise.
520         * misc/tst-hsearch.c: Likewise.
521         * misc/tst-mntent2.c: Likewise.
522         * nptl/tst-sem7.c: Likewise.
523         * nptl/tst-sem8.c: Likewise.
524         * nptl/tst-sem9.c: Likewise.
525         * nss/test-netdb.c: Likewise.
526         * posix/tst-fnmatch.c: Likewise.
527         * posix/tst-getlogin.c: Likewise.
528         * posix/tst-gnuglob.c: Likewise.
529         * posix/tst-mmap.c: Likewise.
530         * pwd/tst-getpw.c: Likewise.
531         * resolv/tst-inet_ntop.c: Likewise.
532         * rt/tst-timer.c: Likewise.
533         * stdio-common/test-fseek.c: Likewise.
534         * stdio-common/test-popen.c: Likewise.
535         * stdio-common/test-vfprintf.c: Likewise.
536         * stdio-common/tst-cookie.c: Likewise.
537         * stdio-common/tst-fileno.c: Likewise.
538         * stdio-common/tst-gets.c: Likewise.
539         * stdio-common/tst-obprintf.c: Likewise.
540         * stdio-common/tst-perror.c: Likewise.
541         * stdio-common/tst-sprintf2.c: Likewise.
542         * stdio-common/tst-sprintf3.c: Likewise.
543         * stdio-common/tst-sprintf.c: Likewise.
544         * stdio-common/tst-swprintf.c: Likewise.
545         * stdio-common/tst-tmpnam.c: Likewise.
546         * stdio-common/tst-unbputc.c: Likewise.
547         * stdio-common/tst-wc-printf.c: Likewise.
548         * stdlib/tst-environ.c: Likewise.
549         * stdlib/tst-fmtmsg.c: Likewise.
550         * stdlib/tst-limits.c: Likewise.
551         * stdlib/tst-rand48-2.c: Likewise.
552         * stdlib/tst-rand48.c: Likewise.
553         * stdlib/tst-random2.c: Likewise.
554         * stdlib/tst-random.c: Likewise.
555         * stdlib/tst-strtol.c: Likewise.
556         * stdlib/tst-strtoll.c: Likewise.
557         * stdlib/tst-tls-atexit.c: Likewise.
558         * stdlib/tst-xpg-basename.c: Likewise.
559         * string/test-ffs.c: Likewise.
560         * string/tst-bswap.c: Likewise.
561         * string/tst-inlcall.c: Likewise.
562         * string/tst-strtok.c: Likewise.
563         * string/tst-strxfrm.c: Likewise.
564         * sysdeps/x86_64/tst-audit10.c: Likewise.
565         * sysdeps/x86_64/tst-audit3.c: Likewise.
566         * sysdeps/x86_64/tst-audit4.c: Likewise.
567         * sysdeps/x86_64/tst-audit5.c: Likewise.
568         * time/tst-ftime_l.c: Likewise.
569         * time/tst-getdate.c: Likewise.
570         * time/tst-mktime3.c: Likewise.
571         * time/tst-mktime.c: Likewise.
572         * time/tst-posixtz.c: Likewise.
573         * time/tst-strptime2.c: Likewise.
574         * time/tst-strptime3.c: Likewise.
575         * wcsmbs/tst-btowc.c: Likewise.
576         * wcsmbs/tst-mbrtowc.c: Likewise.
577         * wcsmbs/tst-mbsrtowcs.c: Likewise.
578         * wcsmbs/tst-wchar-h.c: Likewise.
579         * wcsmbs/tst-wcpncpy.c: Likewise.
580         * wcsmbs/tst-wcrtomb.c: Likewise.
581         * wcsmbs/tst-wcsnlen.c: Likewise.
582         * wcsmbs/tst-wcstof.c: Likewise.
584 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
586         [BZ #14132]
587         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
588         INTDEF.
589         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
590         declaration.
591         (_dl_mcount): Use rtld_hidden_proto.
592         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
593         _dl_mcount.
594         * elf/rtld.c (_rtld_global_ro): Likewise.
596         [BZ #14132]
597         * elf/dl-init.c (_dl_init): Don't use INTDEF.
598         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
599         of _dl_init_internal.
600         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
601         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
602         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
603         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
604         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
605         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
606         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
607         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
608         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
609         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
610         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
611         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
612         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
613         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
614         * sysdeps/tile/dl-start.S (_start): Likewise.
615         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
616         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
618         [BZ #14132]
619         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
620         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
621         (rtld_progname): Make macro definition unconditional.
622         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
623         INTDEF.
624         (dlmopen_doit): Do not use INTUSE with _dl_argv.
625         (dl_main): Likewise.
626         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
627         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
628         instead of _dl_argv_internal.
629         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
630         __GI__dl_argv instead of INTUSE(_dl_argv).
631         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
632         __GI__dl_argv instead of _dl_argv_internal.
634         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
635         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
636         macro.
637         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
638         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
639         New macro.
640         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
641         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
642         macro.
643         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
644         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
646 2014-11-04  Andreas Schwab  <schwab@suse.de>
648         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
650 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
652         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
653         mtvsrd instruction in binary form.
655 2014-11-03  Andreas Schwab  <schwab@suse.de>
657         [BZ #17522]
658         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
659         for less than MB_LEN_MAX use a local buffer of that size.
660         * libio/tst-fputws.c: New file.
661         * libio/Makefile (tests): Add tst-fputws.
663 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
665         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
666         the size of the fpu_fr.fpu_dregs[] array.
668 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
670         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
671         (__nanosleep): Do not define as alias.
672         (nanosleep): Define as alias of __nanosleep.
673         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
674         __libc_nanosleep name.
676 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
678         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
679         install.texi in comment.
681 2014-10-31  Torvald Riegel  <triegel@redhat.com>
683         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
684         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
685         ... add here and use lwsync or sync ...
686         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
687         ... and add here using lwsync.
689 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
691         * elf/dl-machine-reject-phdr.h: New file.
692         * elf/dl-load.c: #include that.
693         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
694         if that returned true.
696 2014-10-31  Roland McGrath  <roland@hack.frob.com>
698         [BZ #17496]
699         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
700         gen-as-const-headers chunk.  Add a big scare comment after the last
701         safe place to touch before-compile.
703 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
705         * manual/install.texi (Tools for Compilation): Update autoconf
706         version requirements.
707         * INSTALL: Regenerated.
709         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
710         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
711         (__libc_pselect): Likewise.
713         [BZ #14138]
714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
719 2014-10-31  Torvald Riegel  <triegel@redhat.com>
721         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
722         correct barrier instruction.
723         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
724         Likewise.
725         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
726         Likewise.
728 2014-10-30  Roland McGrath  <roland@hack.frob.com>
730         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
731         after defining inlines.  Instead, just use parens to defeat macro
732         expansion of __isctype in its declaration.
734 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
736         * include/sys/uio.h (__libc_readv): Remove declaration.
737         (__libc_writev): Likewise.
738         * misc/readv.c (__libc_readv): Rename to __readv.
739         (__readv): Do not define as alias.
740         (readv): Define as alias of __readv.
741         * misc/writev.c (__libc_writev): Rename to __writev.
742         (__writev): Do not define as alias.
743         (writev): Define as alias of __writev.
744         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
745         (__readv): Do not define as alias.
746         (readv): Define unconditionally as alias of __readv.
747         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
748         (__writev): Do not define as alias.
749         (writev): Define unconditionally as alias of __writev.
750         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
751         name.
752         (writev): Do not define __libc_writev name.
754 2014-10-30  Roland McGrath  <roland@hack.frob.com>
756         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
757         (convert_charseq): New function, broken out of ...
758         (use_from_charmap): ... here.  Call it.
759         (use_to_charmap): Use convert_charseq and free instead of duplicating
760         its code with a variable-length stack struct.
762 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
764         * include/fcntl.h (__libc_creat): Remove declaration.
765         * io/creat.c (__libc_creat): Rename to creat.
766         (creat): Do not define as alias.
767         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
768         of creat instead of __libc_creat.
769         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
770         to creat.
771         (creat): Do not define as alias.
772         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
773         __libc_creat.
774         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
775         __libc_creat name.
776         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
777         Likewise.
779 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
781         * manual/llio.texi: Add comments discussing why write() may be
782         considered MT-unsafe on Linux.
784 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
786         * dl-load.c (local_strdup): Remove.
787         (expand_dynamic_string_token): Use __strdup.
788         (decompose_rpath): Likewise.
789         (_dl_map_object): Likewise.
791 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
793         [BZ #14132]
794         * sysdeps/generic/unwind-dw2-fde.c
795         (__register_frame_info_bases_internal): Do not declare.
796         (__register_frame_info_table_bases_internal): Likewise.
797         (__deregister_frame_info_bases_internal): Likewise.
798         (__register_frame_info_bases): Declare and use hidden_proto before
799         definition.  Use hidden_def instead of INTDEF.
800         (__register_frame_info_table_bases): Likewise.
801         (__deregister_frame_info_bases): Likewise.
802         (__register_frame_info): Do not use INTUSE.
803         (__register_frame): Likewise.
804         (__register_frame_info_table): Likewise.
805         (__register_frame_table): Likewise.
806         (__deregister_frame_info): Likewise.
807         (__deregister_frame): Likewise.
809 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
811         * sysdeps/unix/sysv/linux/arm/kernel-features.h
812         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
813         not undefine.
814         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
815         Likewise.
816         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
817         Likewise.
819 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #14138]
822         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
823         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
824         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
825         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
826         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
827         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
828         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
829         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
830         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
831         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
832         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
833         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
834         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
835         syscall.
836         (setfsuid): Likewise.
837         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
838         (setfsuid): Likewise.
839         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
840         (setfsuid): Likewise.
841         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
842         Likewise.
843         (setfsuid): Likewise.
844         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
845         (setfsuid): Likewise.
846         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
847         Likewise.
848         (setfsuid): Likewise.
850 2014-10-27  Andreas Schwab  <schwab@suse.de>
852         [BZ #17501]
853         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
854         check for Slow_SSE4_2 feature bit.
855         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
856         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
857         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
858         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
860 2014-10-24  Roland McGrath  <roland@hack.frob.com>
862         * configure.ac: Validate compiler version with a empirical test of
863         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
864         $CC -v output.
865         * configure: Regenerated.
867         * inet/htons.c (htons): Prototypify.
868         * inet/htonl.c (htonl): Likewise.
870 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
872         * string/strncat.c (strncat): Improve performance by using strlen.
874 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
876         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
878 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
880         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
881         Call libc_fetestexcept_aarch64.
883 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
885         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
886         Call libc_feholdexcept_aarch64.
888 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
890         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
891         Call get_rounding_mode.
893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
895         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
896         Simplify logic.
898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
900         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
901         Simplify logic.
903 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
905         [BZ #14138]
906         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
907         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
908         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
909         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
910         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
911         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
912         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
913         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
914         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
915         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
916         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
917         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
918         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
919         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
920         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
921         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
922         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
923         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
924         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
925         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
926         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
927         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
928         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
929         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
930         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
931         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
932         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
933         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
934         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
935         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
936         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
937         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
938         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
939         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
940         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
941         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
942         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
943         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
944         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
945         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
946         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
947         syscall.
948         (geteuid): Likewise.
949         (getgid): Likewise.
950         (getuid): Likewise.
951         (getresgid): Likewise.
952         (getresuid): Likewise.
953         (getgroups): Likewise.
954         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
955         (geteuid): Likewise.
956         (getgid): Likewise.
957         (getuid): Likewise.
958         (getresgid): Likewise.
959         (getresuid): Likewise.
960         (getgroups): Likewise.
961         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
962         (geteuid): Likewise.
963         (getgid): Likewise.
964         (getuid): Likewise.
965         (getresgid): Likewise.
966         (getresuid): Likewise.
967         (getgroups): Likewise.
968         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
969         Likewise.
970         (geteuid): Likewise.
971         (getgid): Likewise.
972         (getuid): Likewise.
973         (getresgid): Likewise.
974         (getresuid): Likewise.
975         (getgroups): Likewise.
976         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
977         (geteuid): Likewise.
978         (getgid): Likewise.
979         (getuid): Likewise.
980         (getresgid): Likewise.
981         (getresuid): Likewise.
982         (getgroups): Likewise.
983         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
984         Likewise.
985         (geteuid): Likewise.
986         (getgid): Likewise.
987         (getuid): Likewise.
988         (getgroups): Likewise.
990         [BZ #14138]
991         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
992         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
993         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
994         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
995         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
996         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
997         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
998         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
999         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1000         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1001         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1002         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1003         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1004         __chown.
1005         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1006         (lchown): Likewise.
1007         (fchown): Likewise.
1008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1009         Likewise.
1010         (lchown): Likewise.
1011         (fchown): Likewise.
1012         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1013         (lchown): Likewise.
1014         (fchown): Likewise.
1015         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1016         Likewise.
1017         (lchown): Likewise.
1018         (fchown): Likewise.
1020 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1022         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1023         Simplify logic.
1025 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1027         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1028         Cleanup logic.
1030 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1032         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1033         Remove unused include.
1035 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1037         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1038         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1039         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1040         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1042 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1043             Helge Deller <deller@gmx.de>
1045         [BZ #17508]
1046         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1047         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1048         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1050 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1052         [BZ #14132]
1053         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1054         Remove macro definition.
1055         (__ashrdi3_v_glibc20): Likewise.
1056         (__lshrdi3_v_glibc20): Likewise.
1057         (__cmpdi2_v_glibc20): Likewise.
1058         (__ucmpdi2_v_glibc20): Likewise.
1059         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1060         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1061         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1062         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1063         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1064         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1066 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1068         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1069         old GNU extension [0] syntax.
1070         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1071         alloca rather than an array member with variable length.
1072         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1073         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1074         (parse_opt): ... here.  Likewise use alloca there.
1075         Validate the -i argument before checking for rootness.
1076         (send_shutdown): New function, broken out of ...
1077         (parse_opt): ... here.
1079 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1081         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1082         macro to get at the _rt_local_ro field.
1083         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1084         ([PIC] case) or _dl_hwcap ([!PIC] case).
1085         * sysdeps/arm/setjmp.S: Likewise.
1087         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1088         * sysdeps/arm/configure.ac: New check to define it.
1089         * sysdeps/arm/configure: Regenerated.
1090         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1091         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1092         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1093         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1094         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1095         Use move/movt pair instead of a load.
1096         (LDST_GLOBAL): Macro removed.
1097         (LDR_GLOBAL): New macro replaces it.
1098         (LDR_HIDDEN): New macro.
1099         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1100         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1102         * setjmp/tst-setjmp-static.c: New file.
1103         * setjmp/Makefile (tests): Add it.
1104         (tests-static): New variable.
1106 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1108         [BZ #17485]
1109         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1111 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1113         [BZ #14132]
1114         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1116 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1118         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1120 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1122         * io/fts.c (dirent_not_directory): New function.
1123         (fts_build): Call it.
1125 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1127         * nptl/version.c (__nptl_main): Use normal __write rather than
1128         INTERNAL_SYSCALL.
1129         (banner): Update copyright years.
1131         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1132         gettimeofday.
1133         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1134         * nptl/pthread_cond_timedwait.c: Likewise.
1135         * nptl/pthread_mutex_timedlock.c: Likewise.
1136         * nptl/sem_timedwait.c: Likewise.
1138         * sysdeps/nptl/bits/libc-lock.h
1139         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1140         (__libc_lock_init_recursive): Return void, not 0.
1141         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1142         (__libc_rwlock_init): Likewise.
1143         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1145 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1147         [BZ #15215]
1148         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1149         (__pthread_once_slow): ... here.
1150         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1151         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1153 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1155         [BZ #15215]
1156         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1157         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1158         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1159         * nptl/pthread_once.c (__pthread_once): Likewise.
1160         Update comments.
1162 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1164         [BZ #14138]
1165         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1166         name.
1167         (writev): Use __libc_writev as strong name.
1168         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1169         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1171 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1173         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1175         * sysdeps/i386/nptl/tls.h
1176         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1177         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1178         New macros.
1179         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1180         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1181         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1182         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1183         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1184         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1186         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1187         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1188         on [__NR_futex].
1189         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1190         broken out of ...
1191         (__pthread_mutex_init): ... here.  Call it.
1192         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1193         Conditionalize PI cases on [__NR_futex].
1194         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1195         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1196         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1198         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1199         conditional on [SIGSETXID].
1200         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1201         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1202         is defined.  Likewise for SIGSETXID.
1203         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1204         Conditionalize definitions on [SIGSETXID].
1205         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1206         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1207         unblocking on [SIGCANCEL].
1209         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1210         [__NR_set_robust_list].
1212 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1214         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1215         (do_compare): Likewise.
1217 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1219         [BZ #15884]
1220         * string/strcoll_l.c: Don't include stdio.h.
1221         (coll_seq): Remove members idxarr and rulearr.
1222         (get_next_seq_cached): Remove function.
1223         (get_next_seq): Likewise.
1224         (get_next_seq_nocache): Rename to get_next_seq.
1225         (do_compare): Remove function.
1226         (do_compare_nocache): Rename to do_compare.
1227         (STRCOLL): Remove weight and rules cache.
1229 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1231         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1232         * sysdeps/arm/sfp-machine.h: ... to here.
1233         * sysdeps/arm/Implies: Remove arm/soft-fp.
1235 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1237         * conform/data/sys/utsname.h-data (*_t): Allow.
1238         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1239         [POSIX] (WEXITED): Do not expect constant.
1240         [POSIX] (WSTOPPED): Likewise.
1241         [POSIX] (WNOHANG): Likewise.
1242         [POSIX] (WNOWAIT): Likewise.
1243         [POSIX] (siginfo_t): Do not expect type or elements.
1244         [POSIX] (pid_t): Do not expect type.
1245         [POSIX] (signal.h): Do not allow header.
1246         [POSIX] (sys/resource.h): Likewise.
1247         [POSIX] (si_*): Do not allow pattern.
1248         [POSIX] (W*): Likewise.
1249         [POSIX] (P_*): Likewise.
1250         [POSIX] (BUS_*): Likewise.
1251         [POSIX] (CLD_*): Likewise.
1252         [POSIX] (FPE_*): Likewise.
1253         [POSIX] (ILL_*): Likewise.
1254         [POSIX] (POLL_*): Likewise.
1255         [POSIX] (SEGV_*): Likewise.
1256         [POSIX] (SI_*): Likewise.
1257         [POSIX] (TRAP_*): Likewise.
1258         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1259         variable.
1261 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1263         [BZ #12926]
1264         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1265         infinite loop when __recvmsg returns 0.
1267 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1269         * CANCEL-FCT-WAIVE: Remove file.
1270         * CANCEL-FILE-WAIVE: Likewise.
1272         [BZ #14132]
1273         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1274         instead of INTVARDEF.
1275         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1276         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1277         rtld_hidden_data_def instead of INTVARDEF.
1278         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1279         * elf/dl-deps.c (expand_dst): Likewise.
1280         * elf/dl-load.c (_dl_dst_count): Likewise.
1281         (_dl_dst_substitute): Likewise.
1282         (decompose_rpath): Likewise.
1283         (_dl_init_paths): Likewise.
1284         (open_path): Likewise.
1285         (_dl_map_object): Likewise.
1286         * elf/rtld.c (dl_main): Likewise.
1287         (process_dl_audit): Likewise.
1288         (process_envvars): Likewise.
1289         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1290         Remove declaration.
1291         (__libc_enable_secure): Use rtld_hidden_proto.
1293 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1295         * elf/dl-load.c
1296         (add_path): New function broken out of _dl_rtld_di_serinfo.
1297         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1299 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1301         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1302         parentheses around macro arguments.
1303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1306         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1310         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1314         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1315         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1316         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1317         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1318         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1319         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1324         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1328         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1332         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1333         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1334         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1335         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1336         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1337         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1338         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1339         Likewise.
1340         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1347         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1348         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1349         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1350         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1351         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1352         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1361         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1365         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1366         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1367         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1368         (_FP_FRAC_SRS_1): Likewise.
1369         (_FP_FRAC_CLZ_1): Likewise.
1370         (_FP_MUL_MEAT_1_imm): Likewise.
1371         (_FP_MUL_MEAT_1_wide): Likewise.
1372         (_FP_MUL_MEAT_1_hard): Likewise.
1373         (_FP_SQRT_MEAT_1): Likewise.
1374         (_FP_FRAC_ASSEMBLE_1): Likewise.
1375         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1376         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1377         (__FP_CLZ_2): Likewise.
1378         (_FP_MUL_MEAT_2_wide): Likewise.
1379         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1380         (_FP_MUL_MEAT_2_gmp): Likewise.
1381         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1382         (_FP_SQRT_MEAT_2): Likewise.
1383         (_FP_FRAC_ASSEMBLE_2): Likewise.
1384         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1385         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1386         (_FP_FRAC_CLZ_4): Likewise.
1387         (_FP_MUL_MEAT_4_wide): Likewise.
1388         (_FP_MUL_MEAT_4_gmp): Likewise.
1389         (_FP_SQRT_MEAT_4): Likewise.
1390         (_FP_FRAC_ASSEMBLE_4): Likewise.
1391         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1392         * soft-fp/op-common.h (_FP_CMP): Likewise.
1393         (_FP_CMP_EQ): Likewise.
1394         (_FP_CMP_UNORD): Likewise.
1395         (_FP_TO_INT): Likewise.
1396         (_FP_FROM_INT): Likewise.
1397         [!__FP_CLZ] (__FP_CLZ): Likewise.
1398         (_FP_DIV_HELP_imm): Likewise.
1399         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1400         Likewise.
1401         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1404         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1412         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1413         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1416         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1417         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1430         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1431         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1434         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1435         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1436         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1437         (FP_UNPACK_RAW_SP): Likewise.
1438         (FP_PACK_RAW_S): Likewise.
1439         (FP_PACK_RAW_SP): Likewise.
1440         (FP_UNPACK_S): Likewise.
1441         (FP_UNPACK_SP): Likewise.
1442         (FP_UNPACK_SEMIRAW_S): Likewise.
1443         (FP_UNPACK_SEMIRAW_SP): Likewise.
1444         (FP_PACK_S): Likewise.
1445         (FP_PACK_SP): Likewise.
1446         (FP_PACK_SEMIRAW_S): Likewise.
1447         (FP_PACK_SEMIRAW_SP): Likewise.
1448         (_FP_SQRT_MEAT_S): Likewise.
1449         (FP_CMP_S): Likewise.
1450         (FP_CMP_EQ_S): Likewise.
1451         (FP_CMP_UNORD_S): Likewise.
1452         (FP_TO_INT_S): Likewise.
1453         (FP_FROM_INT_S): Likewise.
1455         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1457         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1458         (FP_EX_INVALID_IMZ): Likewise.
1459         (FP_EX_INVALID_IMZ_FMA): Likewise.
1460         (FP_EX_INVALID_ISI): Likewise.
1461         (FP_EX_INVALID_ZDZ): Likewise.
1462         (FP_EX_INVALID_IDI): Likewise.
1463         (FP_EX_INVALID_SQRT): Likewise.
1464         (FP_EX_INVALID_CVI): Likewise.
1465         (FP_EX_INVALID_VC): Likewise.
1466         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1467         "invalid" exceptions.
1468         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1469         (_FP_ADD_INTERNAL): Likewise.
1470         (_FP_MUL): Likewise.
1471         (_FP_FMA): Likewise.
1472         (_FP_DIV): Likewise.
1473         (_FP_CMP_CHECK_NAN): Likewise.
1474         (_FP_SQRT): Likewise.
1475         (_FP_TO_INT): Likewise.
1476         (FP_EXTEND): Likewise.
1478 2014-10-09  Allan McRae  <allan@archlinux.org>
1480         * po/fr.po: Update French translation from translation project.
1482 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1484         [BZ #14132]
1485         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1486         of INTDEF.
1487         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1488         (__cxa_atexit): Use libc_hidden_proto.
1489         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1491         [BZ #14132]
1492         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1493         declaration.
1494         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1495         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1496         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1497         [!_ISOMAC] (__iswctype_internal): Likewise.
1498         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1499         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1500         alias.
1501         (fcntl): Remove __fcntl_internal alias.
1502         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1503         __connect_internal alias.
1504         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1505         Likewise.
1507         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1508         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1509         FP_DENORM_ZERO.
1510         (_FP_CHECK_FLUSH_ZERO): New macro.
1511         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1512         (_FP_CMP): Likewise.
1513         (_FP_CMP_EQ): Likewise.
1514         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1515         FP_DENORM_ZERO.
1516         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1517         (FP_TRUNC): Likewise.
1519         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1520         treated as invalid conversion, not as normal exponent.
1522         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1523         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1524         (_FP_CMP_EQ): Likewise.
1525         (_FP_CMP_UNORD): Likewise.
1526         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1527         (FP_CMP_EQ_D): Likewise.
1528         (FP_CMP_UNORD_D): Likewise.
1529         * soft-fp/extended.h (FP_CMP_E): Likewise.
1530         (FP_CMP_EQ_E): Likewise.
1531         (FP_CMP_UNORD_E): Likewise.
1532         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1533         (FP_CMP_EQ_Q): Likewise.
1534         (FP_CMP_UNORD_Q): Likewise.
1535         * soft-fp/single.h (FP_CMP_S): Likewise.
1536         (FP_CMP_EQ_S): Likewise.
1537         (FP_CMP_UNORD_S): Likewise.
1538         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1539         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1540         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1541         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1542         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1543         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1544         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1545         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1546         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1547         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1548         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1549         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1550         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1551         to FP_CMP_Q.
1552         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1553         FP_CMP_Q.
1554         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1555         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1556         FP_CMP_EQ_Q.
1557         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1558         FP_CMP_Q.
1559         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1560         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1561         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1562         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1563         FP_CMP_EQ_Q.
1564         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1565         FP_CMP_Q.
1566         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1567         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1568         FP_CMP_EQ_Q.
1569         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1570         FP_CMP_Q.
1571         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1572         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1573         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1574         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1575         FP_CMP_EQ_Q.
1577         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1578         a subnormal result, set the underflow exception if trapping on
1579         underflow is enabled.
1580         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1581         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1582         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1583         redefine to 0.
1584         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1585         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1586         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1587         * soft-fp/extendxftf2.c (__extendxftf2): Use
1588         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1590         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1591         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1592         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1593         FP_HANDLE_EXCEPTIONS.
1594         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1595         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1596         FP_HANDLE_EXCEPTIONS.
1597         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1598         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1599         FP_HANDLE_EXCEPTIONS.
1600         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1601         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1602         FP_HANDLE_EXCEPTIONS.
1604 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1606         [BZ #14132]
1607         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1608         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1609         use INTUSE.
1610         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1611         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1612         Remove alias.
1613         (__adjtimex): Define using libc_hidden_ver.
1614         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1615         Remove declaration.
1616         (ntp_gettime): Call __adjtimex directly.
1617         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1618         Remove declaration.
1619         (ntp_gettimex): Call __adjtimex directly.
1620         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1621         __adjtimex_internal alias.
1623 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1625         [BZ #17460]
1626         * nscd/nscd.c (more_help): Rewrite list of tables collection
1627         using xstrdup and asprintf.
1629         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1631 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1632             Roland McGrath  <roland@hack.frob.com>
1634         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1635         (do_lookup_unique): ... local function 'enter' here; update callers.
1637 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1639         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1640         compat_symbol calls on [SHARED].
1641         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1642         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1643         Remove.
1644         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1645         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1646         (oldsetrlimit): Remove.
1647         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1649         (lchown): New syscall entry.
1650         (oldsetrlimit): Remove.
1651         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1653         (oldsetrlimit): Remove.
1654         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1656         [BZ #14138]
1657         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1658         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1659         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1660         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1661         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1662         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1663         (fchown): Likewise.
1664         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1665         (fchown): Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1667         Likewise.
1669 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1671         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1672         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1673         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1674         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1675         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1676         Likewise.
1677         (__old_sem_post): Likewise.
1679 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1681         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1682         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1683         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1684         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1685         Use INLINE_VSYSCALL macro.
1686         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1687         __vdso_clock_gettime.
1688         * sysdeps/unix/sysv/linux/tile/init-first.c
1689         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1690         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1691         __vdso_clock_gettime.
1693         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1694         to set up frame more cleanly.
1696         * sysdeps/tile/memcmp.c: New file.
1698         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1700         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1701         * sysdeps/tile/tilegx/strcasestr.c: New file.
1702         * sysdeps/tile/tilegx/strnlen.c: New file.
1703         * sysdeps/tile/tilegx/strstr.c: New file.
1705         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1707 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1709         * nptl/tst-setuid3.c: Write errors to stdout.
1711 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1713         * elf/dl-deps.c
1714         (preload): New functions broken out of _dl_map_object_deps.
1715         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1717 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1719         [BZ #14138]
1720         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1721         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1723 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1725         * sysdeps/mips/strcmp.S: New.
1727 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1729         [BZ #14138]
1730         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1731         (linkat): Likewise.
1732         (mkdirat): Likewise.
1733         (readlinkat): Likewise.
1734         (renameat): Likewise.
1735         (symlinkat): Likewise.
1736         (unlinkat): Likewise.
1737         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1738         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1739         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1740         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1741         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1742         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1743         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1745 2014-09-30  Will Newton  <will.newton@linaro.org>
1747         * math/math.h: Define long double math functions if
1748         _LIBC_TEST is defined.
1749         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1751         * localedata/Makefile: Move assignment to tests-special
1752         into an ifdef testing run-built-tests.
1753         * timezone/Makefile: Likewise.
1755 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1757         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1758         with $(BASH) not $(SHELL).
1760 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1761             Matthew LeGendre  <legendre1@llnl.gov>
1763         [BZ #17411]
1764         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1765         l_reloc_result.
1767 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1769         * stdio-common/printf_fp.c
1770         (hack_digit): New function, broken out of ...
1771         (__printf_fp): ... local function here.  Update call sites.
1772         hack_digit now takes an additional parameter that is a pointer
1773         to a struct of the referenced locals.  Those locals moved inside
1774         the struct and references updated.
1776 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1778         * aclocal.m4: Require autoconf 2.69.
1779         * configure: Regenerated.
1780         * sysdeps/aarch64/configure: Likewise.
1781         * sysdeps/alpha/configure: Likewise.
1782         * sysdeps/arm/armv7/configure: Likewise.
1783         * sysdeps/arm/configure: Likewise.
1784         * sysdeps/ia64/configure: Likewise.
1785         * sysdeps/mach/configure: Likewise.
1786         * sysdeps/mips/configure: Likewise.
1787         * sysdeps/s390/configure: Likewise.
1788         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1791         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1792         file.
1793         * sysdeps/ia64/configure.ac: Likewise.
1795 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1798         specify symbol version for ld.so.  Do not include entry for
1799         libpthread.
1800         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1801         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1802         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1804         [BZ #14171]
1805         * Makeconfig [$(build-shared) = yes]
1806         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1807         makefiles.
1808         [$(build-shared) = yes && $(soversions.mk-done) = t]
1809         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1810         [$(build-shared) = yes && $(soversions.mk-done) = t]
1811         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1812         to Makerules.
1813         [$(build-shared) = yes && $(soversions.mk-done) = t]
1814         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1815         here.
1816         [$(build-shared) = yes && $(soversions.mk-done) = t]
1817         (common-generated): Don't append gnu/lib-names.h and
1818         gnu/lib-names.stmp here.
1819         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1820         (lib-names-h-abi): New variable.
1821         [$(build-shared) = yes && $(soversions.mk-done) = t]
1822         (lib-names-stmp-abi): Likewise.
1823         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1824         abi-variants] (before-compile): Append
1825         $(common-objpfx)$(lib-names-h-abi).
1826         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1827         abi-variants] (common-generated): Append gnu/lib-names.h.
1828         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1829         abi-variants] (install-others-nosubdir): Depend on
1830         $(inst_includedir)/$(lib-names-h-abi).
1831         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1832         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1833         [$(build-shared) = yes && $(soversions.mk-done) = t]
1834         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1835         [$(build-shared) = yes && $(soversions.mk-done) = t]
1836         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1837         [$(build-shared) = yes && $(soversions.mk-done) = t]
1838         (common-generated): Append $(lib-names-h-abi) and
1839         $(lib-names-stmp-abi).
1840         * scripts/lib-names.awk: Do not handle multi being set.
1841         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1842         Remove variable.
1843         (abi-lp64_be-ld-soname): Likewise.
1844         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1845         Likewise.
1846         (abi-hard-ld-soname): Likewise.
1847         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1848         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1849         Remove variable.
1850         (abi-o32_hard-ld-soname): Likewise.
1851         (abi-o32_soft_2008-ld-soname): Likewise.
1852         (abi-o32_hard_2008-ld-soname): Likewise.
1853         (abi-n32_soft-ld-soname): Likewise.
1854         (abi-n32_hard-ld-soname): Likewise.
1855         (abi-n32_soft_2008-ld-soname): Likewise.
1856         (abi-n32_hard_2008-ld-soname): Likewise.
1857         (abi-n64_soft-ld-soname): Likewise.
1858         (abi-n64_hard-ld-soname): Likewise.
1859         (abi-n64_soft_2008-ld-soname): Likewise.
1860         (abi-n64_hard_2008-ld-soname): Likewise.
1861         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1862         Likewise.
1863         (abi-64-v2-ld-soname): Likewise.
1864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1865         ld.so entries.
1866         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1867         variable.
1868         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1869         entry.
1870         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1871         variable.
1872         (abi-64-ld-soname): Likewise.
1873         (abi-x32-ld-soname): Likewise.
1874         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1875         entry.
1876         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1878 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1880         [BZ #14138]
1881         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1882         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1883         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1884         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1885         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1886         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1887         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1888         syscall entry for GLIBC_2.2 symbol version.
1889         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1892         (setrlimit): Likewise.
1893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1894         Likewise.
1896 2014-09-23  Will Newton  <will.newton@linaro.org>
1898         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1899         _LINUX_ARM_SYSDEP_H include guard too.
1900         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1901         define.
1903 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1905         * sysdeps/unix/sysv/linux/eventfd.c:
1906         Make first argument unsigned.
1907         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1908         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1910 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1912         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1913         * socket/sys/socket.h: Likewise
1914         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1916 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1918         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1920 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1922         * time/tst-ftime.c: New test.
1923         * time/Makefile (tests): Add tst-ftime.
1925 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1927         * soft-fp/extended.h: Fix comment formatting.
1928         * soft-fp/op-1.h: Likewise.
1929         * soft-fp/op-2.h: Likewise.
1930         * soft-fp/op-4.h: Likewise.
1931         * soft-fp/op-8.h: Likewise.
1932         * soft-fp/op-common.h: Likewise.
1933         * soft-fp/soft-fp.h: Likewise.
1935         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1937 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1939         [BZ #6652]
1940         * Makeconfig (soversions-default-setname): Remove variable.
1941         ($(common-objpfx)soversions.i): Don't pass default_setname to
1942         soversions.awk.
1943         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1944         oldest_abi to abi-versions.awk.
1945         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1946         * config.make.in (oldest-abi): Remove variable.
1947         * configure.ac (--enable-oldest-abi): Remove configure option.
1948         * configure: Regenerated.
1949         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1950         text.
1951         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1952         * scripts/soversions.awk: Do not handle default_setname variable.
1953         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1954         variable.
1955         * sysdeps/mach/hurd/configure: Regenerated.
1956         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1957         variable.
1958         * sysdeps/unix/sysv/linux/configure: Regenerated.
1960 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1962         * elf/Makefile (CFLAGS-interp.c): Remove.
1963         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1964         path string.
1965         * elf/interp.c: Include generated runtime-linker.h
1967         * Makerules (lib%.so): Don't include $(+interp) in
1968         prerequisites.
1969         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1970         * dlfcn/eval.c: Remove file.
1972         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1973         macros.
1975         [BZ #17266]
1976         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1977         4.2 and newer.
1979         [BZ #17370]
1980         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1982 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1983             Jakub Jelinek  <jakub@redhat.com>
1985         [BZ #17266]
1986         * libio/stdio.h: Check definition of __fortify_function
1987         instead of __extern_always_inline to include bits/stdio2.h.
1988         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1989         check if __extern_always_inline is defined.
1990         [__USE_MISC || __USE_XOPEN]: Likewise.
1991         [__USE_ISOC99] Likewise.
1992         * misc/sys/cdefs.h (__fortify_function): Define only if
1993         __extern_always_inline is defined.
1994         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1995         __extern_always_inline and __extern_inline only for g++-4.3
1996         and newer or a compatible gcc.
1998 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2000         [BZ #17371]
2001         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2002         last change to handle zero prefix length.
2004 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2006         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2007         _SC_REGEX_VERSION.
2009         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2010         _POSIX_RAW_SOCKETS.
2012 2014-09-13  Allan McRae  <allan@archlinux.org>
2014         * po/ru.po: Update Russian translation from translation project.
2016 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2018         * locale/programs/locale.c (show_locale_vars): Inline local function
2019         into its sole call site.  Clean up some style nits.
2020         (print_item): New function, broken out of ...
2021         (show_info): ... local function here.  Clean up style nits.
2023         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2024         out of ...
2025         (set_class_defaults): ... local function set_default here.
2026         Define set_default as a macro locally to pass constant parameters.
2027         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2028         rather than a shared local.
2030         * stdlib/rpmatch.c (try): New function, broken out of ...
2031         (rpmatch): ... local function here.  Also, prototypify definition.
2033 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2035         * scripts/soversions.awk: Do not handle configuration names.
2036         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2037         vendor and os variables to soversions.awk.
2038         * configure.ac: Do not modify gnu-* host_os.
2039         * configure: Regenerated
2040         * shlib-versions: Remove first column with configuration names.
2041         * nptl/shlib-versions: Likewise.
2042         * nptl_db/shlib-versions: Likewise.
2043         * sysdeps/hppa/shlib-versions: Likewise.
2044         * sysdeps/m68k/shlib-versions: Likewise.
2045         * sysdeps/mach/hurd/shlib-versions: Likewise.
2046         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2047         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2048         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2049         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2050         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2051         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2052         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2053         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2057         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2058         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2059         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2061         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2062         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2063         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2066         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2068         Regenerated.
2069         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2071         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2073         * shlib-versions: Remove OS-specific entries.  Moved to files in
2074         sysdeps.
2075         * sysdeps/mach/hurd/shlib-versions: New file.
2076         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2078         * nptl/shlib-versions: Remove architecture-specific entries.
2079         Moved to files in sysdeps.
2080         * shlib-versions: Likewise.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2082         file.
2083         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2085         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2088         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2089         (UDP_NO_CHECK6_RX): Likewise.
2091 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2093         * sysdeps/posix/sysconf.c (__sysconf): Spell
2094         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2096 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2098         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2099         loading.
2100         * iconv/Versions (__gconv_transliterate): Export for use from
2101         gconv modules.
2102         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2103         (struct __gconv_trans_data, __gconv_trans_fct,
2104         __gconv_trans_context_fct, __gconv_trans_query_fct,
2105         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2106         definitions.
2107         (struct __gconv_step_data): Remove __trans member.
2108         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2109         longer hidden.  Remove unused trans_data argument.
2110         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2111         (__gconv_translit_find): Remove declaration.
2112         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2113         prototype.
2114         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2115         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2116         trans_data argument.  Add hidden definition.
2117         (__gconv_translit_find): Remove.
2118         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2119         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2120         * iconv/skeleton.c: Remove transliteration initialization.
2121         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2122         __gconv_step_data initialization.
2123         * libio/iofwide.c (__libio_translit_): Remove.
2124         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2125         * wcsmbs/btowc.c (__btowc): Likewise.
2126         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2127         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2128         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2129         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2130         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2131         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2132         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2133         * wcsmbs/wctob.c (wctob): Likewise.
2135 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2137         [BZ #16194]
2138         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2139         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2140         register usage.
2141         * sysdeps/x86/Makefile: Adjust.
2143 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2144             Roland McGrath  <roland@hack.frob.com>
2146         * locale/weight.h: Add include guard.
2147         (findidx): Make static rather than auto; take new parameters
2148         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2149         * locale/weightwc.h: Likewise.
2150         * posix/fnmatch_loop.c
2151         (FCT): Change type of EXTRA from int32_t to wint_t.
2152         Don't include either header inside the function.
2153         Call FINDIDX rather than findidx, and pass new arguments.
2154         #undef FINDIDX at the end of the file.
2155         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2156         FINDIDX before including fnmatch_loop.c for the non-wide version.
2157         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2158         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2159         for the wide version.
2160         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2161         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2162         Pass new arguments to findidx.
2163         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2164         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2165         Don't #include it inside the function.  Pass new arguments to findidx.
2166         * posix/regex_internal.h
2167         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2168         (re_string_elem_size_at): Don't #include it inside the function.
2169         Pass new arguments to findidx.
2170         * string/strcoll_l.c: #include WEIGHT_H at top level.
2171         (get_next_seq): Don't #include it inside the function.
2172         Pass new arguments to findidx.
2173         (get_next_seq_nocache): Likewise.
2174         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2175         (STRXFRM): Don't #include it inside the function.
2176         Pass new arguments to findidx.
2178 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2180         [BZ #17344]
2181         * malloc/malloc.c (unlink): Turn asserts into a call to
2182         malloc_printerr.
2184 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2186         [BZ #17370]
2187         * libio/wfileops (do_ftell_wide): Free OUT.
2189 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2191         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2193 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195         [BZ #17363]
2196         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2197         group if the current group is empty.
2199 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2201         * benchtests/bench-memset.c (test_main): Add more test from size
2202         from 32 to 512 bytes.
2203         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2204         Add POWER8 memset object.
2205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2206         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2207         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2208         implementation.
2209         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2210         Likewise.
2211         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2212         multiarch POWER8 memset optimization.
2213         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2214         POWER8 memset optimization.
2216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2217         Remove bzero multiarch objects.
2218         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2219         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2220         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2221         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2222         Remove define.
2223         [__bzero]: Redefine to specific name.
2224         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2225         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2226         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2227         define.
2228         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2229         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2231 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2233         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2234         warnings into errors.
2236         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2237         __cxa_thread_atexit_impl prototype.
2239 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2241         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2242         Fix capitalization of error message.
2244 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2246         * sysdeps/mips/preconfigure: Modify ABI tests.
2248 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2250         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2252 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2253             Carlos O'Donell  <carlos@systemhalted.org>
2255         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2256         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2257         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2258         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2259         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2260         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2261         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2262         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2263         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2264         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2266         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2268         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2270         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2272         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2274         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2276         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2277         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2278         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2279         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2280         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2281         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2282         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2283         Deconditionalize the code that was previously under [RESET_PID].
2284         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2285         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2286         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2287         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2288         include sysdep.h.
2290 2014-09-08  Allan McRae  <allan@archlinux.org>
2292         * version.h (RELEASE): Set to "development".
2293         (VERSION): Set to "2.20.90"
2295 2014-09-07  Allan McRae  <allan@archlinux.org
2297         * version.h (RELEASE): Set to "stable".
2298         (VERSION): Set to "2.20"
2299         * include/features.h (__GLIBC_MINOR__): Set to 20.
2301         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2302         Liebler.
2304         * po/ko.po: Update Korean translation from translation project.
2306 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2308         [BZ #17354]
2309         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2310         macro for handling signed relocations.
2312 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2314         [BZ #17325]
2315         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2316         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2317         assert.
2318         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2319         * iconvdata/ibm935.c (BODY): Likewise.
2320         * iconvdata/ibm937.c (BODY): Likewise.
2321         * iconvdata/ibm939.c (BODY): Likewise.
2322         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2323         assert.
2324         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2325         script.
2326         * iconvdata/run-iconv-test.sh: New test loop for checking for
2327         decoder crashers.
2329 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2331         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2332         libm_hidden_ver.
2334 2014-09-01  Allan McRae  <allan@archlinux.org>
2336         * po/eo.po: Update Esperanto translation from translation project.
2338         * po/ca.po: Update Catalan translation from translation project.
2340 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2342         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2343         __proc_dostop call.
2345 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2347         [BZ #17319]
2348         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2349         to call set_thread_area instead of hand written asm.
2350         (__NR_set_thread_area): Removed define.
2351         (TLS_FLAG_WRITABLE): Likewise.
2352         (__ASSUME_SET_THREAD_AREA): Remove check.
2353         (TLS_EBX_ARG): Remove define.
2354         (TLS_LOAD_EBX): Likewise.
2356 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2358         Simplify atomicity of socket creation in bind.
2360         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2361         looking up the name after linking the file.
2363 2014-08-27  Allan McRae  <allan@archlinux.org>
2365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2367 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2369         [BZ #17187]
2370         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2371         trans_compare, open_translit, __gconv_translit_find):
2372         Remove module loading code.
2374 2014-08-26  Allan McRae  <allan@archlinux.org>
2376         * po/vi.po: Update Vietnamese translation from translation project.
2378         * po/uk.po: Update Ukrainian translation from translation project.
2380         * po/fr.po: Update French translation from translation project.
2382         * po/ru.po: Update Russian translation from translation project.
2384         * po/pl.po: Update Polish translation from translation project.
2386         * po/cs.po: Update Czech translation from translation project.
2388         * po/de.po: Update German translation from translation project.
2390         * po/bg.po: Update Bulgarian translation from translation project.
2392         * po/sv.po: Update Sweedish translation from translation project.
2394         * po/nl.po: Update Dutch translation from translation project.
2396         * po/es.po: Update Spanish translation from translation project.
2398 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2400         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2402         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2403         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2404         (CPPFLAGS-iconvconfig): Likewise.
2405         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2407         * include/libc-symbols.h: Remove unnecessary check for
2408         NOT_IN_libc.
2409         * nptl/pthreadP.h: Likewise.
2410         * sysdeps/aarch64/setjmp.S: Likewise.
2411         * sysdeps/alpha/setjmp.S: Likewise.
2412         * sysdeps/arm/sysdep.h: Likewise.
2413         * sysdeps/i386/setjmp.S: Likewise.
2414         * sysdeps/m68k/setjmp.c: Likewise.
2415         * sysdeps/posix/getcwd.c: Likewise.
2416         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2417         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2418         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2419         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2420         * sysdeps/sh/sh3/setjmp.S: Likewise.
2421         * sysdeps/sh/sh4/setjmp.S: Likewise.
2422         * sysdeps/unix/alpha/sysdep.h: Likewise.
2423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2424         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2425         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2426         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2431         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2434         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2436         * sysdeps/x86_64/setjmp.S: Likewise.
2438 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #17263]
2441         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2442         <stdint.h>.
2443         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2444         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2446 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2448         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2450         [BZ #17262]
2451         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2452         and __x86_64__ when disabling x87 inline functions.
2454 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2456         [BZ #17259]
2457         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2458         asm statement with __cpuid_count.
2460 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2462         * configure.ac: Change __ehdr_start code to dereference the struct.
2463         Run readelf on the output to look for relocations.
2464         * configure: Regenerated.
2466 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2468         [BZ #17261]
2469         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2470         value to 0.
2471         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2473 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2475         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2477 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2479         [BZ #16892]
2480         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2481         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2483 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2485         * malloc/malloc.c: Fix typo in comment.
2487 2014-08-09  Allan McRae  <allan@archlinux.org>
2489         * Regenerate libc.po.
2491 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2493         * intl/tst-gettext2.sh: Check every lang file for creation.
2495 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2497         * sysdeps/aarch64/fpu/math_private.h
2498         (libc_feholdsetround_noex_aarch64_ctx): New function.
2500 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2502         * sysdeps/arm/armv6/strcpy.S (strcpy):
2503         Fix performance issue in misaligned cases.
2505 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2507         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2508         Move definition from termios.h.
2509         (struct termio): Likewise.
2510         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2511         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2512         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2513         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2514         Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2516         Move definition to ioctl-types.h
2517         (struct termio): Likewise.
2518         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2519         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2520         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2521         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2522         Likewise.
2524 2014-08-05  Richard Henderson  <rth@redhat.com>
2526         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2527         exceptions.
2528         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2529         Add fraiseexcpt.
2530         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2531         Use __feraiseexcept.
2532         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2533         Protect libm symbols with IS_IN_libm.
2535         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2537 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2539         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2541 2014-08-04  Will Newton  <will.newton@linaro.org>
2543         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2544         file.
2546 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2548         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2549         variants for each function.
2551 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2553         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2554         appended ...
2555         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2556         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2557         appended ...
2558         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2559         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2560         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2561         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2562         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2563         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2564         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2565         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2566         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2567         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2568         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2569         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2570         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2571         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2572         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2574         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2575         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2576         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2577         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2578         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2579         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2580         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2581         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2582         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2583         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2584         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2585         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2586         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2587         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2588         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2589         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2590         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2591         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2592         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2593         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2594         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2595         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2596         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2597         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2598         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2600         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2602         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2604         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2606         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2608         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2609         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2610         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2611         Update #include.
2612         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2613         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2615 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2617         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2618         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2619         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2620         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2622         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2626         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2627         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2628         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2629         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2633         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2634         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2635         (__libc_vfork): Define function under this name.
2636         (__vfork): Define as an alias.
2637         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2638         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2642         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2643         that was previously under [RESET_PID].
2644         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2646 2014-08-04  Andreas Schwab  <schwab@suse.de>
2648         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2650 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2652         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2653         (main): Likewise.
2655 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2657         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2659 2014-08-01  Richard Henderon  <rth@redhat.com>
2661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2662         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2663         typo in exact zero test.
2664         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2668 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2670         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2671         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2672         * sysdeps/arm/sysdep.h: ... here.
2673         [!__ASSEMBLER__]: Include <stdint.h>.
2675 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2677         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2678         (HAVE_WCTYPE_H): Likewise.
2679         (HAVE_ISWCTYPE): Likewise.
2680         (ENABLE_NLS): Likewise.
2681         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2682         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2684         * posix/regex_internal.c: Check if DEBUG is defined and is
2685         set.
2687         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2688         (HAVE_MBSRTOWCS): Likewise.
2689         * posix/fnmatch.c: Include string.h unconditionally.
2691 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2693         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2694         reversal.
2696 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2698         * sysdeps/generic/safe-fatal.h: New file.
2699         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2700         * nptl/forward.c: Include it.
2701         (__pthread_unwind): Use __safe_fatal as default action, rather
2702         than a bogus use of INTERNAL_SYSCALL that could never work.
2704         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2705         * configure.ac (libc_cv_builtin_trap): New test.
2706         * configure: Regenerated.
2707         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2708         (ABORT_INSTRUCTION): Define using __builtin_trap.
2710         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2711         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2712         * sysdeps/nptl/nptl-signals.h: New file.
2713         * nptl/pthreadP.h: Include <nptl-signals.h>.
2715 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2717         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2718         (ONE_DIRECTION): Define.
2719         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2720         (ONE_DIRECTION): Define.
2721         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2722         (ONE_DIRECTION): Define.
2724 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2726         * sysdeps/s390/Makefile: Delete file.
2727         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2728         * sysdeps/s390/__longjmp.c: Delete file.
2729         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2730         Remove fields __flags and __reserved.
2731         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2732         and add versioning.
2733         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2734         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2735         * sysdeps/s390/rtld-setjmp.S: Likewise.
2736         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2737         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2738         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2739         * sysdeps/s390/s390-32/setjmp.S: ... here.
2740         Add versioning.
2741         (__sigsetjmp): Remove setting __flags field.
2742         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2743         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2744         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2745         * sysdeps/s390/s390-64/setjmp.S: ... here.
2746         Add versioning.
2747         (__sigsetjmp): Remove setting __flags field.
2748         * sysdeps/s390/setjmp.S: Delete file.
2749         * sysdeps/s390/sigjmp.c: Likewise.
2750         * sysdeps/s390/v1-longjmp.c: Likewise.
2751         * sysdeps/s390/v1-setjmp.h: Likewise.
2752         * sysdeps/s390/v1-sigjmp.c: Likewise.
2753         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2754         Remove v1-longjmp_chk.
2755         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2756         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2757         Include debug/longjmp_chk.c and add versioning.
2758         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2759         Include nptl/pt-longjmp.c and add versioning.
2760         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2761         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2762         Include __longjmp.c.
2763         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2764         Move to ...
2765         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2766         (__getcontext): Remove setting __flags field.
2767         Add versioning.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2769         Don't restore upper high grps.
2770         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2771         Likewise.
2772         (__swapcontext): Remove setting uc_flags field.
2773         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2774         Delete file.
2775         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2776         Include __longjmp.c.
2777         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2778         Move to ...
2779         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2780         (__getcontext): Remove setting __flags field.
2781         Add versioning.
2782         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2783         (__swapcontext): Remove setting uc_flags field.
2784         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2785         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2786         Remove fields uc_high_gprs and __reserved.
2787         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2788         New file with reverted content.
2789         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2790         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2791         Regenerated.
2792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2793         Regenerated.
2795 2014-07-31  Andreas Schwab  <schwab@suse.de>
2797         * config.h.in (HAVE_IFUNC): Define to 0.
2798         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2799         definedness.
2801 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2804         memmove-avx-unaligned, memcpy-avx-unaligned and
2805         mempcpy-avx-unaligned.
2806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2807         Add tests for AVX memcpy functions.
2808         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2809         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2810         memcpy_chk.
2811         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2812         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2813         memmove_chk.
2814         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2815         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2816         mempcpy_chk.
2817         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2818         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2819         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2821 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2823         [BZ #17213]
2824         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2825         powerpc64le.
2827 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2829         [BZ #16839]
2830         * manual/llio.texi: Add section about open file description locks.
2831         * manual/examples/ofdlocks.c: Example of open file description
2832         lock usage.
2833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2834         F_OFD_SETLK, and F_OFD_SETLKW.
2836 2014-07-23  Allan McRae  <allan@archlinux.org>
2838         * po/es.po: Update Spanish translation from translation project.
2840 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2842         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2844 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2846         [BZ #17078]
2847         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2848         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2849         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2851 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2853         [BZ #17088]
2854         * math/fesetenv.c (__fesetenv)
2855         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2856         * math/feupdateenv.c (__feupdateenv)
2857         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2859         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2860         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2861         (__ASSUME_SOCKETCALL): Do not define.
2863         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2864         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2865         (__ASSUME_SOCKETCALL): Do not define.
2866         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2867         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2868         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2869         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2871         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2873         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2876         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2877         (__ASSUME_SOCKETCALL): Do not define.
2878         (__ASSUME_IPC64): Define unconditionally.
2879         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2880         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2881         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2883         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2884         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2885         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2886         Likewise.
2888         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2889         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2890         (__ASSUME_SOCKETCALL): Do not define.
2891         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2892         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2893         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2894         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2895         (__ASSUME_REQUEUE_PI): Define unconditionally.
2896         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2897         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2898         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2899         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2901         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2903         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2904         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2905         (__ASSUME_SOCKETCALL): Do not define.
2906         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2907         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2908         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2909         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2910         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2911         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2913         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2914         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2915         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2916         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2917         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2918         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2920         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2921         (__ASSUME_GETCPU_SYSCALL): Likewise.
2923         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2924         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2925         cases for individual architectures.
2926         * sysdeps/gnu/configure: Regenerated.
2927         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2928         LIBC_SLIBDIR_RTLDDIR.
2929         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2930         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2931         LIBC_SLIBDIR_RTLDDIR.
2932         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2934         LIBC_SLIBDIR_RTLDDIR.
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2936         Regenerated.
2937         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2938         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2939         file.
2940         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2941         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2942         file.
2943         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2944         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2945         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2946         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2948         * sysdeps/aarch64/shlib-versions: Move to ...
2949         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2950         * sysdeps/alpha/shlib-versions: Move to ...
2951         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2952         * sysdeps/arm/shlib-versions: Move to ...
2953         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2954         * sysdeps/hppa/shlib-versions: Move all contents except for
2955         libgcc_s entry to ...
2956         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2957         entry from ...
2958         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2959         * sysdeps/ia64/shlib-versions: Move to ...
2960         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2961         entry from ...
2962         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2963         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2964         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2965         * sysdeps/microblaze/shlib-versions: Move to ...
2966         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2967         * sysdeps/mips/shlib-versions: Move to ...
2968         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2969         entry from ...
2970         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2971         * sysdeps/tile/shlib-versions: Move to ...
2972         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2973         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2974         from ...
2975         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2976         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2977         entry from ...
2978         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2980 2014-07-17  Will Newton  <will.newton@linaro.org>
2982         * sysdeps/arm/bits/atomic.h
2983         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2984         (__arch_compare_and_exchange_bool_16_int): Likewise.
2985         (__arch_compare_and_exchange_bool_64_int): Likewise.
2987         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2988         into an #else block.
2990 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2992         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2993         just Linux configurations.  Test empirically that the compiler sets
2994         __ARM_EABI__, rather than using the tuple to decide.
2995         * sysdeps/arm/preconfigure: Regenerated.
2996         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2997         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2998         contents appended ...
2999         * sysdeps/arm/configure.ac: ... here.
3000         * sysdeps/arm/configure: Regenerated.
3002 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3004         * nptl/pthread_kill.c: New file.
3005         * nptl/pthread_sigmask.c: New file.
3006         * nptl/pthread_sigqueue.c: New file.
3008         * sysdeps/nptl/lowlevellock.h: New file.
3009         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3010         * sysdeps/nptl/lowlevellock-futex.h: New file.
3012         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3013         Remove dead declarations.
3015 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3017         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3018         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3019         config-cflags-avx2.
3020         * sysdeps/x86_64/configure.ac: Likewise.
3021         * sysdeps/i386/configure: Regenerated.
3022         * sysdeps/x86_64/configure: Likewise.
3023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3024         memset-avx2 only if config-cflags-avx2 is yes.
3025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3026         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3027         defined.
3028         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3029         only if HAVE_AVX2_SUPPORT is defined.
3030         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3032 2014-07-14  Alan Modra  <amodra@gmail.com>
3034         [BZ #17153]
3035         * elf/elf.h (DT_PPC64_NUM): Correct value.
3036         * NEWS: Add to fixed bug list.
3038 2014-07-13  Jim Meyering  <meyering@fb.com>
3040         [BZ 17150]
3041         regex: don't deref NULL upon heap allocation failure
3042         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3043         failure in one more place.
3044         To trigger the segfault, configure grep -with-included-regex,
3045         build it, and run these commands:
3046         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3048 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3050         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3052 2014-07-11  Richard Henderson  <rth@redhat.com>
3054         * sysdeps/aarch64/libm-test-ulps: Update.
3056 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3058         [BZ #17135]
3059         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3060         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3061         (__nptl_setxid): Initialize error member.  Call
3062         __nptl_setxid_error.
3063         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3064         * nptl/descr.h (struct xid_command): Add error member.
3065         * nptl/tst-setuid3.c: New file.
3066         * nptl/Makefile (tests): Add it.
3068 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3070         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3071         New define.
3072         (__lll_trylock): Use __lll_base_trylock.
3073         (__lll_cond_trylock): Likewise.
3075 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3077         * nptl/pthread_create.c (start_thread): Use atomic_or and
3078         lll_futex_wake directly rather than lll_robust_dead.
3079         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3080         (lll_robust_dead): Macro removed.
3081         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3082         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3083         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3084         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3086         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3087         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3088         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3089         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3091         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3093         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3094         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3095         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3097         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3098         Use atomic_compare_and_exchange_val_acq directly rather than
3099         lll_robust_trylock.
3100         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3101         (__lll_robust_trylock, lll_robust_trylock): Removed.
3102         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3103         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3106         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3107         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3108         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3109         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3111         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3112         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3114         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3117 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3119         * manual/locale.texi (Locale Names): New section documenting
3120         locale name syntax.  Adjust menu and node chaining accordingly.
3121         (Choosing Locale): Reference Locale Names, Locale Categories.
3122         Mention setting LC_ALL=C.  Reflect that name syntax is now
3123         documented.
3124         (Locale Categories): New section title.  Reference Locale Names.
3125         LC_ALL is an environment variable, but not a category.
3126         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3127         description, now in Locale Name.  Reference that section.  Locale
3128         name syntax is now documented.
3130 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3132         [BZ #17137]
3133         * locale/findlocale.c (name_present, valid_locale_name): New
3134         functions.
3135         (_nl_find_locale): Use the loc_name variable to store name
3136         candidates.  Call name_present and valid_locale_name to check and
3137         validate locale names.  Return an error if the locale is invalid.
3139 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3141         * locale/setlocale.c (setlocale): Use strdup for allocating
3142         composite name copy.
3144 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3146         Sync up with gnulib.
3147         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3148         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3149         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3150         and _GL_ARG_NONNULL.
3151         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3152         [!_LIBC]: Include code for Windows and Cygwin.
3153         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3154         Include prototype for int strerror_r.
3155         [!_LIBC] (is_open): New function.
3156         (flush_stdout): New function.
3157         (print_errno_message): Use it.
3158         (error): Likewise.
3159         (error_at_line): Likewise.
3160         (error_tail) Add function attribute macros.  Use
3161         __builtin_expect.
3163         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3165         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3167         * io/ftw.c: Include sys/param.h unconditionally.
3169         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3171         [BZ #17125]
3172         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3173         libc_freeres_ptr.
3174         (freecache): New function to free CACHE on exit.
3176         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3177         initialization.
3179 2014-07-09  David S. Miller  <davem@davemloft.net>
3181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3183         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3184         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3185         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3186         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3187         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3188         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3189         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3190         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3191         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3192         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3193         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3194         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3195         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3197 2014-07-09  Andreas Schwab  <schwab@suse.de>
3199         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3200         output.
3201         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3202         (do_test): Likewise.
3204         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3206 2014-07-09  Will Newton  <will.newton@linaro.org>
3208         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3209         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3210         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3211         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3212         * sysdeps/hppa/start.S (_start): Likewise.
3214 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3216         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3218         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3219         defined.
3221 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3223         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3224         after checking that it is non-NULL.
3226         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3228 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3230         * sysdeps/powerpc/memmove.c: Remove file.
3231         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3232         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3233         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3234         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3236         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3237         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3238         string memmove instead of removed powerpc one.
3240         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3241         [weak_alias]: Fix compiler warning due trailing data.
3242         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3243         [weak_alias]: Likewise.
3244         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3245         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3248         (__libc_ifunc_impl_list): Add memmove functions.
3250 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3252         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3253         Remove code.
3254         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3255         Likewise
3256         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3257         Likewise
3258         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3259         Likewise
3260         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3261         Likewise
3262         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3263         Likewise
3264         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3265         Likewise
3266         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3267         Likewise
3268         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3269         Likewise
3270         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3271         Likewise
3272         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3273         Likewise
3274         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3275         Likewise
3276         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3277         Likewise
3278         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3279         Likewise
3280         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3281         Likewise
3282         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3283         Likewise
3284         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3285         Likewise
3287 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3289         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3290         to avoid alignment traps in non-cacheable memory.
3291         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3294         multiarch objects.
3295         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3296         file: multiarch power7 memmove.
3297         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3298         multiarch default memmove.
3299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3300         multiarch memove for powerpc32/power4.
3302         * string/bcopy.c: Use full path to include memmove.c.
3303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3304         multiarch objects.
3305         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3306         bcopy for powerpc64.
3307         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3308         bcopy for powerpc64.
3309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3310         and memmove implementations.
3311         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3312         optimized multiarch memmove for POWER7/powerpc64.
3313         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3314         default multiarch memmove for powerpc64.
3315         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3316         multiarch for powerpc64.
3317         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3318         for POWER7/powerpc64.
3319         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3320         memmove for POWER7/powerpc64.
3322         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3323         glibc default one.
3325         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3326         __ELF_NATIVE_CLASS equal to 64.
3328 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3330         * sysdeps/nptl/lowlevellock.h: File removed.
3332         * NEWS: NPTL is no longer an add-on!
3333         * nptl/internaltypes.h: Moved ...
3334         * sysdeps/nptl/internaltypes.h: ... here.
3335         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3336         * sysdeps/nptl/fork.c: Likewise.
3337         * sysdeps/nptl/gai_misc.h: Likewise.
3338         * sysdeps/nptl/librt-cancellation.c: Likewise.
3339         * sysdeps/nptl/jmp-unwind.c: Likewise.
3340         * sysdeps/nptl/setxid.h: Likewise.
3341         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3342         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3343         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3344         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3345         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3346         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3347         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3348         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3349         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3350         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3351         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3352         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3353         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3354         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3355         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3356         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3357         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3358         * nptl/Makeconfig: Moved ...
3359         * sysdeps/nptl/Makeconfig: ... here.
3360         * nptl/configure: File removed.
3361         * nptl/ANNOUNCE: File removed.
3362         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3363         * sysdeps/unix/sysv/linux/configure: Regenerated.
3365         * nptl/Makefile (routines): Add libc_pthread_init,
3366         libc_multiple_threads, register-atfork and unregister-atfork.
3367         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3368         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3369         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3370         pthread-pi-defines.sym, structsem.sym.
3371         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3372         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3373         [$(subdir) = nptl] (tests): Add tst-setgetname.
3374         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3375         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3376         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3377         [!LIBC_SIGACTION]: Remove aliases.
3378         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3379         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3380         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3381         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3382         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3383         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3384         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3386         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3387         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3388         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3389         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3390         __libc_allocate_rtsig_private.
3391         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3392         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3393         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3394         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3395         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3396         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3397         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3398         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3399         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3400         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3401         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3402         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3403         * nptl/internaltypes.h: ... here.
3404         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3405         * sysdeps/nptl/jmp-unwind.c: ... here.
3406         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3407         * nptl/libc-lowlevellock.c: ... here.
3408         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3409         * nptl/libc_multiple_threads.c: ... here.
3410         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3411         * nptl/libc_pthread_init.c: ... here.
3412         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3413         * nptl/lowlevelbarrier.sym: ... here.
3414         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3415         * nptl/lowlevelcond.sym: ... here.
3416         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3417         * nptl/lowlevellock.c: ... here.
3418         * nptl/lowlevellock.h: Moved ...
3419         * sysdeps/nptl/lowlevellock.h: ... here.
3420         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3421         * nptl/lowlevelrobustlock.c: ... here.
3422         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3423         * nptl/lowlevelrobustlock.sym: ... here.
3424         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3425         * nptl/lowlevelrwlock.sym: ... here.
3426         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3427         * nptl/pt-fork.c: ... here.
3428         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3429         * nptl/pthread-pi-defines.sym: ... here.
3430         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3431         * nptl/pthread_attr_getaffinity.c: ... here.
3432         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3433         * nptl/pthread_attr_setaffinity.c: ... here.
3434         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3435         * nptl/pthread_mutex_cond_lock.c: ... here.
3436         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3437         Update #include.
3438         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3439         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3440         * nptl/pthread_once.c: ... here, replacing old file.
3441         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3442         * nptl/pthread_yield.c: ... here.
3443         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3444         * nptl/register-atfork.c: ... here.
3445         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3446         * nptl/sem_post.c: ... here.
3447         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3448         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3449         * nptl/sem_timedwait.c: ... here.
3450         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3451         * nptl/sem_trywait.c: ... here.
3452         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3453         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3454         * nptl/sem_wait.c: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3456         * nptl/structsem.sym: ... here.
3457         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3458         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3459         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3460         * nptl/unregister-atfork.c: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3462         * nptl/unwindbuf.sym: ... here.
3463         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3464         * sysdeps/nptl/fork.c: ... here.
3465         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3466         * sysdeps/nptl/fork.h: ... here.
3467         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3468         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3469         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3470         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3471         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3473         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3474         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3475         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3476         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3477         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3479         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3481         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3483         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3485         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3486         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3487         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3488         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3489         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3491         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3492         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3493         * sysdeps/unix/sysv/linux/raise.c: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3495         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3497         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3499         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3501         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3503         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3505         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3507         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3508         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3510 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3512         * sysdeps/generic/memcopy.h: Add comment for
3513         MEMCPY_OK_FOR_FWD_MEMMOVE.
3515 2014-07-04  Will Newton  <will.newton@linaro.org>
3517         * string/memchr.c: Merge from gnulib.
3518         [_LIBC]: Remove conditionals.
3519         (__ptr_t): Remove define.
3520         (LONG_MAX_32_BITS): Likewise.
3521         (LONG_MAX): Likewise.
3522         (MEMCHR): Use ANSI prototype and optimize algorithm.
3524         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3526 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3528         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3529         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3531         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3532         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3533         in a bare environment with no <stdlib.h> installed.
3534         * sysdeps/nptl/configure: Regenerated.
3536         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3538         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3539         AC_EGREP_CPP for kernel header checks, so they only succeed if
3540         including <linux/version.h> actually works right.
3541         * sysdeps/unix/sysv/linux/configure: Regenerated.
3543         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3544         value so it's not diagnosed as unused.
3546         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3547         thing) with "ifeq ($(subdir),rt)".
3549 2014-07-03  Richard Henderson  <rth@redhat.com>
3551         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3552         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3553         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3555         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3556         (math_force_eval): New.
3558         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3559         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3561         * sysdeps/alpha/fpu/s_round.c: Remove file.
3562         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3564         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3565         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3566         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3567         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3568         (_dl_start, print_statistics): Likewise.
3569         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3570         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3572         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3573         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3574         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3575         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3576         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3577         (HP_SMALL_TIMING_AVAIL): Define.
3578         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3579         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3580         (HP_SMALL_TIMING_AVAIL): Define.
3581         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3582         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3584         * sysdeps/aarch64/hp-timing.h: New file.
3586         * sysdeps/generic/hp-timing.h: Remove dead comment.
3587         * sysdeps/generic/hp-timing-common.h: New file.
3588         * sysdeps/alpha/hp-timing.h: Include it.
3589         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3590         * sysdeps/i386/i686/hp-timing.h: Likewise.
3591         * sysdeps/ia64/hp-timing.h: Likewise.
3592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3593         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3595         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3596         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3597         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3598         (hp_timing_t): New.
3600         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3601         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3602         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3603         * elf/rtld.c (_dl_start_final): Likewise.
3604         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3605         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3606         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3607         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3608         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3610         (HP_TIMING_DIFF_INIT): Remove.
3611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3613         (HP_TIMING_DIFF_INIT): Remove.
3614         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3615         * sysdeps/i386/i686/hp-timing.c: Remove file.
3616         * sysdeps/x86_64/hp-timing.c: Remove file.
3617         * sysdeps/ia64/hp-timing.c: Remove file.
3618         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3619         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3620         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3621         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3623         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3624         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3625         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3626         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3628         (HP_TIMING_ACCUM): Remove.
3629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3631         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3633         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3634         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3635         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3636         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3637         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3638         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3640         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3642         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3644 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3646         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3648 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3650         Sync up with gettext.
3651         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3652         [_MSC_VER]: Include malloc.h
3653         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3654         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3655         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3656         TEMP_FAILURE_RETRY.  Cast return of alloca.
3657         [!_LIBC] Call gl_rwlock_init.
3658         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3660 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3662         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3663         before checking its value.
3665 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3667         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3669         * debug/memcpy_chk.c: Don't include pagecopy.h.
3670         * debug/mempcpy_chk.c: Likewise.
3671         * string/memcpy.c: Likewise.
3672         * string/memmove.c: Likewise.
3673         * sysdeps/powerpc/memmove.c: Likewise.
3674         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3675         definition of PAGE_COPY_FWD_MAYBE here...
3676         * sysdeps/generic/pagecopy.h: ... from here.
3677         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3679 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3680             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3682         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3684         optimizations.
3685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3686         (__libc_ifunc_impl_list): Likewise.
3687         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3688         multiarch strcat for PPC64.
3689         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3690         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3692 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3694         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3696 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3698         * intl/loadmsgcat.c: Remove declaration of
3699         get_sysdep_segment_value.
3700         (get_sysdep_segment_value): Use ISO C style.
3701         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3702         semicolon.  Fix typo and formatting in comment.
3703         (_nl_unload_domain): Use ISO C style.
3705         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3707 2014-07-02  Will Newton  <will.newton@linaro.org>
3709         * malloc/obstack.c: Merge from gnulib master.
3710         [HAVE_CONFIG_H]: Remove conditional code.
3711         [!_LIBC]: Include config.h.
3712         [!ELIDE_CODE]: Don't include inttypes.h, include
3713         stdint.h unconditionally.
3714         (print_and_abort): Mark as _Noreturn.
3715         (_obstack_allocated_p): Mark as __attribute_pure__.
3716         (obstack_free): Rename to __obstack_free.
3717         [!__attribute__]: Remove conditional code.
3718         * malloc/obstack.h: Merge from gnulib master.
3719         [__cplusplus]: Move conditional down.
3720         [!__attribute_pure__]: Define __attribute_pure__ here
3721         if it is not already defined.
3722         (_obstack_memory_used): Mark as __attribute_pure__.
3723         [!__obstack_free]: Define as obstack_free.
3724         [__GNUC__]: Remove check for ancient NeXT gcc.
3726 2014-07-02  Will Newton  <will.newton@linaro.org>
3727             Paul Eggert  <eggert@cs.ucla.edu>
3729         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3731 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3733         * resolv/gethnamaddr.c: Add comment warning that the file is
3734         not maintained.
3736 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3738         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3739         entries.
3741         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3742         entry for aio_cancel and aio_cancel64.
3743         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3744         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3745         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3746         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3747         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3748         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3749         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3750         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3751         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3752         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3753         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3754         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3755         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3757 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3759         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3760         * nptl/pthread_mutex_lock.c: Likewise.
3761         * nptl/pthread_mutex_timedlock.c: Likewise.
3762         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3764 2014-07-01  Richard henderson  <rth@redhat.com>
3766         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3767         (__isnan, __isnanl): Remove.
3768         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3770         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3772 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3774         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3776 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3778         * resolv/nss_dns/dns-host.c (getanswer_r)
3779         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3781 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3784         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3785         undefine.
3786         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3787         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3789 2014-07-01  Roland McGrath <roland@hack.frob.com>
3791         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3792         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3794         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3795         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3797         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3798         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3799         ... here.
3800         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3801         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3803         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3804         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3805         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3806         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3808         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3809         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3810         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3811         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3812         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3813         Moved ...
3814         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3815         ... here.
3816         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3817         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3818         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3819         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3820         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3821         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3822         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3823         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3824         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3825         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3826         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3827         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3829         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3830         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3831         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3832         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3833         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3835         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3836         ... here.
3837         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3838         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3839         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3840         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3841         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3842         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3843         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3844         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3846 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3848         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3849         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3850         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3851         Add sysdep.
3853 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3857 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3859         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3860         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3862         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3864         * sysdeps/arm/libm-test-ulps: Regenerated.
3866 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3867             Roland McGrath <roland@hack.frob.com>
3869         * test-skeleton.c (signal_handler): Kill the whole process group
3870         before killing the child individually.
3871         (main): Report any failure on `setpgid'.
3873 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3875         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3876         from _TLS_H to _ARM_NPTL_TLS_H.
3877         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3878         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3880 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3882         [BZ #16539]
3883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3884         (__expm1l): Return argument unchanged when small but not
3885         subnormal.
3887         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3888         include macro name.
3889         (_FP_UNPACK_RAW_1_P): Likewise.
3890         (_FP_PACK_RAW_1): Likewise.
3891         (_FP_PACK_RAW_1_P): Likewise.
3892         (_FP_MUL_MEAT_1_wide): Likewise.
3893         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3894         (_FP_MUL_MEAT_1_hard): Likewise.
3895         (_FP_DIV_MEAT_1_imm): Likewise.
3896         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3897         (_FP_DIV_MEAT_1_udiv): Likewise.
3898         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3899         (_FP_UNPACK_RAW_2): Likewise.
3900         (_FP_UNPACK_RAW_2_P): Likewise.
3901         (_FP_PACK_RAW_2): Likewise.
3902         (_FP_PACK_RAW_2_P): Likewise.
3903         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3904         (_FP_MUL_MEAT_2_wide): Likewise.
3905         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3906         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3907         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3908         (_FP_MUL_MEAT_2_gmp): Likewise.
3909         (_FP_DIV_MEAT_2_udiv): Likewise.
3910         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3911         (_FP_FRAC_SRL_4): Likewise.
3912         (_FP_FRAC_SRST_4): Likewise.
3913         (_FP_FRAC_SRS_4): Likewise.
3914         (_FP_UNPACK_RAW_4): Likewise.
3915         (_FP_UNPACK_RAW_4_P): Likewise.
3916         (_FP_PACK_RAW_4): Likewise.
3917         (_FP_PACK_RAW_4_P): Likewise.
3918         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3919         (_FP_MUL_MEAT_4_wide): Likewise.
3920         (_FP_MUL_MEAT_4_gmp): Likewise.
3921         (umul_ppppmnnn): Likewise.
3922         (_FP_DIV_MEAT_4_udiv): Likewise.
3923         (__FP_FRAC_ADD_4): Likewise.
3924         (__FP_FRAC_SUB_3): Likewise.
3925         (__FP_FRAC_SUB_4): Likewise.
3926         (__FP_FRAC_DEC_3): Likewise.
3927         (__FP_FRAC_DEC_4): Likewise.
3928         (__FP_FRAC_ADDI_4): Likewise.
3929         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3930         (_FP_FRAC_SRL_8): Likewise.
3931         (_FP_FRAC_SRS_8): Likewise.
3933         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3934         include macro name.
3935         (FP_UNPACK_RAW_EP): Likewise.
3936         (FP_PACK_RAW_E): Likewise.
3937         (FP_PACK_RAW_EP): Likewise.
3938         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3939         (_FP_ISSIGNAN): Likewise.
3940         (_FP_ADD_INTERNAL): Likewise.
3941         (_FP_FMA): Likewise.
3942         (_FP_CMP): Likewise.
3943         (_FP_SQRT): Likewise.
3944         (_FP_TO_INT): Likewise.
3945         (_FP_FROM_INT): Likewise.
3946         (FP_EXTEND): Likewise.
3947         (_FP_DIV_MEAT_N_loop): Likewise.
3949 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3951         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3952         throughout.
3954 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3956         [BZ #17097]
3957         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3958         result with correct sign in case of exponents that produce
3959         overflow except for X very close to 1.
3961 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3963         mktime: merge #if/#ifdef usage from glibc
3964         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3965         as that works with both Glibc's and Gnulib's style.
3966         See thread starting at Siddhesh Poyarekar's bug report at:
3967         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3969 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3971         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3972         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3973         * sysdeps/tile/tilegx/memmove.c: Remove file.
3975 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3977         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3978         abi-name definition.
3979         * scripts/soversions.awk: Do not handle or generate ABI lines.
3980         * shlib-versions: Remove ABI entries.
3981         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3982         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3984 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3987         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3988         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3989         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3991         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3993         Moved ...
3994         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3995         ... here.
3996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3997         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3999         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4001         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4003         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4005         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4007         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4009         Moved ...
4010         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4012         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4016         Moved ...
4017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4019         Moved ...
4020         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4024         Moved ...
4025         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4027         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4029         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4031         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4033         Moved ...
4034         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4036         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4037         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4038         Moved ...
4039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4041         Moved ...
4042         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4044         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4046         Moved ...
4047         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4048         ... here.
4049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4050         Identical file removed.
4051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4052         Moved ...
4053         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4055         Identical file removed.
4056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4057         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4059         Moved ...
4060         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4062         Identical file removed.
4063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4064         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4066         Identical file removed.
4067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4068         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4070         Identical file removed.
4071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4072         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4074         Identical file removed.
4075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4076         Moved ...
4077         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4079         Identical file removed.
4080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4081         Moved ...
4082         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4084         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4086         Identical file removed.
4087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4088         Moved ...
4089         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4090         ... here.
4091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4092         Identical file removed.
4093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4097         Identical file removed.
4098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4109         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4111         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4112         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4113         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4114         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4115         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4117 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4119         [BZ #17092]
4120         * nscd/nscd.c (monitor_child): Return exit status of child
4121         instead of return value from wait syscall.
4123 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4125         * configure.ac (libc_commonpagesize): Remove variable.
4126         (libc_relro_required): Likewise.
4127         (libc_cv_z_relro): Remove configure test.
4128         * configure: Regenerated.
4129         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4130         variable.
4131         (libc_relro_required): Likewise.
4132         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4133         (libc_relro_required): Likewise.
4134         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4135         (libc_relro_required): Likewise.
4136         * sysdeps/arm/preconfigure: Regenerated.
4137         * sysdeps/ia64/preconfigure: Remove file.
4138         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4139         variable.
4140         (libc_relro_required): Likewise.
4142         [BZ #16561]
4143         [BZ #16562]
4144         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4145         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4146         recompute overflowing results in original rounding mode.
4147         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4148         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4149         recompute overflowing results in original rounding mode.
4150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4151         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4152         recompute overflowing results in original rounding mode.
4153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4154         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4155         recompute overflowing results in original rounding mode.
4156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4157         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4158         recompute overflowing results in original rounding mode.
4159         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4160         (libc_feholdsetround_ctx): New macro.
4161         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4162         * sysdeps/i386/fpu/libm-test-ulps: Update.
4163         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4165 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4167         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4168         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4169         corresponding .cpsetup call.
4171 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4173         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4174         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4175         * sysdeps/arm/Makefile [$(subdir) = csu]
4176         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4177         (static-only-routines): Add aeabi_read_tp here.
4178         (shared-only-routines): Add libc-aeabi_read_tp here.
4179         (CFLAGS-libc-start.c): Add -fexceptions here.
4180         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4181         (sysdep_routines, static-only-routines, shared-only-routines):
4182         Don't add to these here.
4183         (CFLAGS-libc-start.c): Likewise.
4185         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4186         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4187         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4188         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4189         * sysdeps/arm/Makefile [$(subdir) = rt]
4190         (librt-sysdep_routines, librt-shared-only-routines):
4191         Append rt-aeabi_unwind_cpp_pr1 here.
4192         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4193         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4194         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4195         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4196         Append nptl-aeabi_unwind_cpp_pr1 here.
4197         (tests): Filter out tst-cleanupx4 here.
4198         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4199         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4200         Don't do those here.
4202 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4204         * scripts/list-sources.sh: Do not handle ports specially.
4206 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4208         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4209         * sysdeps/arm/feupdateenv.c: Likewise.
4211         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4215         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4216         trailing whitespace removed.
4217         * scripts/config.guess: Update to version 2014-03-23.
4218         * scripts/config.sub: Update to version 2014-05-01
4219         * scripts/install-sh: Update to version 2013-12-25.23.
4220         * scripts/move-if-change: Update from gnulib.
4222 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4224         * debug/memmove_chk.c: Remove pagecopy.h include.
4226 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4228         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4229         identical to gnulib mktime.
4231 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4233         * configure.ac: Do not test for machine being rs6000.  Do not test
4234         for powerpc*-*soft.
4235         * configure: Regenerated.
4237         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4238         test.
4239         * configure: Regenerated.
4240         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4241         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4242         Remove configure test.
4243         * sysdeps/arm/configure: Regenerated.
4244         * sysdeps/nptl/configure.ac: Do not check
4245         libc_cv_asm_cfi_directives.
4246         * sysdeps/nptl/configure: Regenerated.
4247         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4248         * sysdeps/x86_64/nptl/configure: Remove generated file.
4249         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4250         unconditional.
4251         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4253 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4255         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4256         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4257         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4258         it is defined.
4260         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4261         instead of whether it is defined.
4262         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4263         * sysdeps/hppa/dl-machine.h: Likewise.
4264         * sysdeps/ia64/dl-machine.h: Likewise.
4265         * sysdeps/m68k/dl-machine.h: Likewise.
4266         * sysdeps/microblaze/dl-machine.h: Likewise.
4267         * sysdeps/mips/dl-machine.: Likewise.
4268         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4269         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4270         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4271         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4272         * sysdeps/sh/dl-machine.h: Likewise.
4273         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4274         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4275         * sysdeps/tile/dl-machine.h: Likewise.
4276         * sysdeps/x86_64/dl-machine.h: Likewise.
4278         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4279         code.
4280         (verify_persistent_db): Likewise.
4282 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4285         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4287         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4289         Moved ...
4290         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4291         ... here.
4292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4293         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4295         Identical file removed.
4296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4297         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4299         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4301         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4303         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4305         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4307         Moved ...
4308         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4310         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4312         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4314         Moved ...
4315         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4317         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4319         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4321         Identical file removed.
4322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4323         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4325         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4327         Moved ...
4328         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4329         ... here.
4330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4331         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4333         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4335         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4337         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4339         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4341         Moved ...
4342         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4344         Moved ...
4345         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4347         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4349         Moved ...
4350         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4352         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4354         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4355         folded into ...
4356         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4357         * sysdeps/unix/sysv/linux/s390/Versions
4358         (libpthread: GLIBC_2.19): New version set.
4359         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4360         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4361         (librt: GLIBC_2.3.3): New version set.
4362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4363         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4364         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4365         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4366         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4368         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4370         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4371         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4372         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4373         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4374         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4375         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4376         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4377         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4378         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4379         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4380         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4382         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4383         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4384         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4385         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4386         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4388         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4390         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4392         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4393         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4398         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4400         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4402         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4404         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4406         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4408         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4409         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4410         (__libc_vfork): Define the function under this name.
4411         [!NOT_IN_libc] (__vfork): Make this an alias.
4412         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4414         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4415         (__libc_vfork): Define the function under this name.
4416         [!NOT_IN_libc] (__vfork): Make this an alias.
4417         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4418         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4419         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4421         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4422         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4424         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4425         code that was previously under [RESET_PID].
4426         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4427         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4430         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4431         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4432         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4433         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4434         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4435         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4436         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4437         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4438         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4439         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4440         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4441         Moved ...
4442         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4443         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4444         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4445         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4446         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4447         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4448         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4449         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4450         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4451         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4453         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4454         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4455         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4456         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4458         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4459         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4460         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4461         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4462         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4463         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4464         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4466         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4467         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4468         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4469         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4470         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4472 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4474         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4475         that was previously under [RESET_PID].
4476         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4478 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4480         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4481         not undefine and redefine.
4482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4483         [O_CLOEXEC]: Make code unconditional.
4484         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4485         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4486         <kernel-features.h>.
4487         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4488         conditional variable definition.
4489         (shm_open) [O_CLOEXEC]: Make code unconditional.
4490         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4491         code.
4493         * configure.ac (USE_REGPARMS): Don't define here.
4494         * configure: Regenerated.
4495         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4496         * sysdeps/i386/configure: Regenerated.
4498         * nptl/createthread.c: Don't include kernel-features.h.
4499         * nptl/pthread_cancel.c: Likewise.
4500         * nptl/pthread_condattr_setclock.c: Likewise.
4501         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4502         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4503         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4504         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4505         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4506         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4507         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4510         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4511         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4512         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4513         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4514         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4515         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4516         * nscd/gai.c: Likewise.
4517         * nss/nss_db/db-open.c: Likewise.
4518         * sysdeps/generic/ldsodefs.h: Likewise.
4519         * sysdeps/sh/nptl/tls.h: Likewise.
4520         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4521         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4522         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4523         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4524         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4525         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4526         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4527         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4528         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4529         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4530         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4531         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4532         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4533         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4534         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4535         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4536         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4537         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4538         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4539         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4542         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4543         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4548         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4549         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4550         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4551         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4552         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4553         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4554         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4555         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4556         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4557         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4558         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4559         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4560         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4561         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4562         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4563         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4564         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4565         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4566         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4567         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4568         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4569         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4570         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4571         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4572         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4573         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4574         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4575         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4576         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4577         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4600         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4601         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4602         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4603         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4604         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4605         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4606         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4607         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4608         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4609         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4610         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4611         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4612         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4613         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4614         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4615         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4616         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4617         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4618         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4619         * sysdeps/unix/sysv/linux/system.c: Likewise.
4620         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4621         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4622         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4623         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4624         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4625         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4626         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4628         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4629         * configure: Regenerated.
4630         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4632         * configure.ac (base_machine): Do not set specially for particular
4633         machines here.
4634         * configure: Regenerated.
4635         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4636         settings from configure.ac.
4637         * sysdeps/i386/preconfigure: New file.
4638         * sysdeps/s390/preconfigure: Likewise.
4639         * sysdeps/sh/preconfigure: Likewise.
4640         * sysdeps/sparc/preconfigure: Likewise.
4642 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4644         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4645         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4646         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4647         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4648         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4649         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4650         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4651         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4652         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4653         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4654         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4655         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4656         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4657         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4658         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4659         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4661         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4662         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4664         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4665         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4666         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4667         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4668         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4669         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4670         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4671         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4672         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4673         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4674         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4675         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4676         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4677         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4678         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4679         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4680         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4681         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4682         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4683         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4684         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4685         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4687         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4688         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4689         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4690         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4691         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4693         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4694         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4695         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4696         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4697         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4698         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4699         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4700         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4701         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4704         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4706         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4708         Moved ...
4709         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4710         ... here.
4711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4712         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4714         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4716         Moved ...
4717         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4719         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4721         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4723         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4725         Moved ...
4726         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4728         Moved ...
4729         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4731         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4733         Moved ...
4734         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4736         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4738         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4740         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4742         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4744         Moved ...
4745         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4746         ... here.
4747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4748         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4750         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4752         Moved ...
4753         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4757         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4759         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4761         Moved ...
4762         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4764         Moved ...
4765         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4767         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4769         Moved ...
4770         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4772         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4774         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4776 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4778         * timezone/checktab.awk: Update from tzcode 2014e.
4779         * timezone/private.h: Likewise.
4780         * timezone/tzfile.h: Likewise.
4781         * timezone/zdump.c: Likewise.
4782         * timezone/zic.c: Likewise.
4784         * sysdeps/unix/sysv/linux/kernel-features.h
4785         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4786         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4787         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4788         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4789         Remove conditional code.
4791 2014-06-25  Will Newton  <will.newton@linaro.org>
4793         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4794         (_dl_arm_cap_flags): Add HWCAP2 values.
4795         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4796         (_DL_HWCAP_COUNT): Increase to 37.
4797         (_DL_HWCAP_LAST): New define.
4798         (_DL_HWCAP2_LAST): New define.
4799         (_dl_procinfo): Add support for printing
4800         AT_HWCAP2 entries.
4801         (_dl_string_hwcap): Use _dl_hwcap_string.
4803 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4807 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4809         * README: Do not mention ports directory.
4811         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4812         Remove macro.
4813         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4814         <kernel-features.h>.
4815         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4816         conditional variable definition.
4817         (__futimes): Update comment.
4818         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4819         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4821         [BZ #16560]
4822         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4823         arguments close to 0.
4824         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4825         Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4827         Likewise.
4828         * math/auto-libm-test-in: Add more tests of exp10.
4829         * math/auto-libm-test-out: Regenerated.
4830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4832         * sysdeps/unix/sysv/linux/kernel-features.h
4833         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4834         * sysdeps/unix/sysv/linux/readv.c: Do not include
4835         <kernel-features.h>.
4836         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4837         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4838         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4839         unconditional.
4840         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4841         conditional code.
4842         * sysdeps/unix/sysv/linux/writev.c: Do not include
4843         <kernel-features.h>.
4844         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4845         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4846         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4847         unconditional.
4848         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4849         conditional code.
4851 2014-06-25  Will Newton  <will.newton@linaro.org>
4853         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4854         comment changes throughout the file.  Remove checks
4855         for HAVE_*_H definitions that are not required.
4856         (__gen_tempname): Call abort if an unknown kind value is
4857         passed.
4859 2014-06-25  Andreas Schwab  <schwab@suse.de>
4861         [BZ #17086]
4862         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4863         scalbln, scalblnf, scalblnl in libc.
4865 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4867         [BZ #17086]
4868         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4869         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4870         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4872 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4874         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4875         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4876         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4877         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4878         Update #include.
4879         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4880         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4881         Update #include.
4882         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4883         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4884         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4885         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4886         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4887         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4888         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4889         * sysdeps/x86/bits/semaphore.h: ... here.
4890         * sysdeps/x86/nptl/elide.h: Moved ...
4891         * sysdeps/x86/elide.h: ... here.
4892         * sysdeps/x86_64/nptl/Implies: File removed.
4893         * sysdeps/i386/nptl/Implies: File removed.
4895 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4897         [BZ #16539]
4898         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4899         return the argument for normal arguments with exponent below -64.
4900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4901         Likewise.
4902         * math/auto-libm-test-in: Add another test of expm1.
4903         * math/auto-libm-test-out: Regenerated.
4905         [BZ #16287]
4906         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4907         calling __erfcl for arguments at least 16.
4908         * math/auto-libm-test-in: Add more tests of erf.
4909         * math/auto-libm-test-out: Regenerated.
4911         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4912         individual architectures.
4913         * sysdeps/unix/sysv/linux/configure: Regenerated.
4914         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4915         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4916         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4917         (ldd_rewrite_script): Define variable.
4918         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4920         file.
4921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4922         generated file.
4923         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4924         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4925         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4926         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4927         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4928         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4929         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4930         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4932 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934         [BZ #17084]
4935         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4936         Rename member __data.d to __data.__elision_data.
4938 2014-06-24  Wilco  <wdijkstr@arm.com>
4940         * NEWS: Add 16918 to fixed bug list.
4942 2014-06-24  Wilco  <wdijkstr@arm.com>
4944         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4946 2014-06-24  Wilco  <wdijkstr@arm.com>
4948         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4949         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4950         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4951         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4952         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4953         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4954         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4955         Use _FPU_MASK_RM.
4957 2014-06-24  Wilco  <wdijkstr@arm.com>
4959         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4961 2014-06-24  Wilco  <wdijkstr@arm.com>
4963         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4964         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4965         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4966         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4968 2014-06-24  Wilco  <wdijkstr@arm.com>
4970         [BZ #16918]
4971         * sysdeps/arm/feupdateenv.c (feupdateenv):
4972         Rewrite to reduce FPSCR accesses and fix return value.
4974 2014-06-24  Wilco  <wdijkstr@arm.com>
4976         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4977         Optimize to avoid unnecessary FPSCR writes.
4978         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4979         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4980         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4981         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4983 2014-06-24  Wilco  <wdijkstr@arm.com>
4985         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4986         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4987         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4988         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4989         Call libc_fetestexcept_vfp.
4990         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4991         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4992         __SOFTFP__ ifdef so that they can be built for softfp.
4994 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4996         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4997         argument type signed char.
4999         * Makerules (check-abi): Dump diff of symlist if the test
5000         fails.
5002 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5004         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5005         using abort.
5007         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5008         Remove unused variable ST.
5010 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5012         [BZ #16354]
5013         [BZ #17061]
5014         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5015         small arguments before calling __expm1.
5016         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5017         small arguments before calling __expm1f.
5018         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5019         small arguments before calling __expm1l.
5020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5021         Likewise.
5022         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5023         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5024         spurious underflow for some cosh tests.
5025         * math/auto-libm-test-out: Regenerated.
5026         * sysdeps/i386/fpu/libm-test-ulps: Update.
5028         [BZ #17050]
5029         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5030         (__ieee754_y1): Set errno if return value overflows.
5031         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5032         (__ieee754_y1f): Set errno if return value overflows.
5033         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5034         (__ieee754_y1l): Set errno if return value overflows.
5035         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5036         (__ieee754_y1l): Set errno if return value overflows.
5037         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5038         * math/auto-libm-test-out: Regenerated.
5040         * math/gen-auto-libm-tests.c: Document use of
5041         ignore-zero-inf-sign.
5042         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5043         (input_flags): Add ignore-zero-inf-sign.
5044         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5045         * math/gen-libm-test.pl (generate_testfile): Handle
5046         ignore-zero-inf-sign.
5047         * math/auto-libm-test-in: Mark some cpow tests with
5048         ignore-zero-inf-sign and some with xfail-rounding.
5049         * math/auto-libm-test-out: Regenerated.
5050         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5051         * sysdeps/i386/fpu/libm-test-ulps: Update.
5052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5054         [BZ #16315]
5055         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5056         overflowing or underflowing operations take place with sign of
5057         result.
5058         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5059         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5060         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5061         (__ieee754_pow): Recompute overflowing and underflowing results in
5062         original rounding mode.
5063         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5064         (__powl_helper): Allow negative argument X and scale negated value
5065         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5066         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5067         overflowing or underflowing operations take place with sign of
5068         result.
5069         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5070         Include <math.h>.
5071         * math/auto-libm-test-in: Add more tests of pow.
5072         * math/auto-libm-test-out: Regenerated.
5073         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5074         (pow_tonearest_test_data): Remove.
5075         (pow_test_tonearest): Likewise.
5076         (pow_towardzero_test_data): Likewise.
5077         (pow_test_towardzero): Likewise.
5078         (pow_downward_test_data): Likewise.
5079         (pow_test_downward): Likewise.
5080         (pow_upward_test_data): Likewise.
5081         (pow_test_upward): Likewise.
5082         (main): Don't call removed functions.
5083         * sysdeps/i386/fpu/libm-test-ulps: Update.
5084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5086 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5089         Moved ...
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5092         Moved ...
5093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5095         Moved ...
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5098         Moved ...
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5101         File removed.
5102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5103         File removed.
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5105         File removed.
5106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5107         File removed.
5108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5109         File removed.
5110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5111         File removed.
5112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5113         File removed.
5114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5115         File removed.
5116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5117         File removed.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5119         File removed.
5120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5121         File removed.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5123         File removed.
5124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5125         Moved ...
5126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5128         Moved ...
5129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5130         ... here.
5131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5132         Moved ...
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5135         Moved ...
5136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5138         Moved ...
5139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5141         Moved ...
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5144         Moved ...
5145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5147         Moved ...
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5150         Moved ...
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5154         ... here.
5155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5156         Moved ...
5157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5159         Moved ...
5160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5161         ... here.
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5163         Moved ...
5164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5165         ... here.
5166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5167         Moved ...
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5169         ... here.
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5171         Moved ...
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5174         Moved ...
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5179         Moved ...
5180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5181         ... here.
5182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5183         Moved ...
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5185         ... here.
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5187         Moved ...
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5190         Moved ...
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5193         Moved ...
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5196         Moved ...
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5199         Moved ...
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5201         ... here.
5202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5203         Moved ...
5204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5206         Moved ...
5207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5209         Moved ...
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5217         Moved ...
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5223         Moved ...
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5225         ... here.
5226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5229         ... here.
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5231         Moved ...
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5233         ... here.
5234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5235         Moved ...
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5238         Moved ...
5239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5241         Moved ...
5242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5244         Moved ...
5245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5246         ... here.
5247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5248         Moved ...
5249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5250         ... here.
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5252         Moved ...
5253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5254         ... here.
5255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5256         Moved ...
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5259         Moved ...
5260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5262 2014-06-23  Will Newton  <will.newton@linaro.org>
5263             Wilco  <wdijkstr@arm.com>
5265         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5266         implementation.  Include get-rounding-mode.h.
5267         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5268         [!libc_feholdsetround_noex_ctx]: Define
5269         libc_feholdsetround_noex_ctx.
5270         [!libc_feholdsetround_noexf_ctx]: Define
5271         libc_feholdsetround_noexf_ctx.
5272         [!libc_feholdsetround_noexl_ctx]: Define
5273         libc_feholdsetround_noexl_ctx.
5274         (libc_feholdsetround_ctx): New function.
5275         (libc_feresetround_ctx): New function.
5276         (libc_feholdsetround_noex_ctx): New function.
5277         (libc_feresetround_noex_ctx): New function.
5279 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5281         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5282         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5283         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5284         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5285         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5286         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5288         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5289         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5290         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5291         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5292         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5293         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5295         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5299         Moved ...
5300         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5301         ... here.
5302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5307         Moved ...
5308         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5310         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5312         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5314         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5316         Moved ...
5317         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5319         Moved ...
5320         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5322         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5324         Moved ...
5325         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5327         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5328         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5329         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5330         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5331         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5333         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5335         Moved ...
5336         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5337         ... here.
5338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5339         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5341         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5343         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5345         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5347         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5349         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5351         Moved ...
5352         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5354         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5356         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5358         Moved ...
5359         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5361         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5362         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5363         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5365         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5366         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5367         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5368         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5369         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5370         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5371         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5372         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5373         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5374         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5375         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5376         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5377         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5378         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5379         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5380         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5381         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5382         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5383         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5384         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5385         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5386         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5387         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5388         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5389         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5390         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5391         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5392         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5394 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5396         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5397         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5398         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5399         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5400         (IPV6_PMTUDISC_INTERFACE): Likewise.
5401         (IPV6_PMTUDISC_OMIT): Likewise.
5403 2014-06-23  Andreas Schwab  <schwab@suse.de>
5405         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5406         Remove unused errout label.
5408 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5411         macro: hardware supports Vector Crypto instructions.
5413 2014-06-23  Will Newton  <will.newton@linaro.org>
5415         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5416         rather than __builtin_expect.
5418         * elf/dl-lookup.c (undefined_msg): Remove variable.
5419         (_dl_lookup_symbol_x): Replace undefined_msg with string
5420         literal.
5422         * elf/dl-lookup.c (do_lookup_unique): New function.
5423         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5424         to a separate function.
5426 2014-06-23  Andreas Schwab  <schwab@suse.de>
5428         [BZ #17079]
5429         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5430         before reading the next line.
5432 2014-06-23  Will Newton  <will.newton@linaro.org>
5434         * test-skeleton.c (signal_handler): Use printf and %m
5435         rather than perror.  Use printf rather than fprintf to
5436         stderr.  Use puts rather than fputs to stderr.
5437         (main): Likewise.
5439 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5441         * nscd/nscd.c (thread_info_t): Remove typedef.
5442         (thread_info): Remove variable.
5444 2014-06-21  Allan McRae  <allan@archlinux.org>
5446         * NEWS: Mention CVE-2014-4043.
5448 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5450         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5451         * nptl/smp.h: ... here.
5453         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5455         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5456         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5457         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5458         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5460         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5461         * nptl/stack-aliasing.h: New file.
5462         * sysdeps/i386/i686/stack-aliasing.h: New file.
5463         * sysdeps/i386/i686/nptl/Makefile: File removed.
5464         * sysdeps/x86_64/stack-aliasing.h: New file.
5465         * sysdeps/x86_64/nptl/Makefile
5466         (CFLAGS-pthread_create.c): Variable removed.
5468         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5469         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5470         old file.
5471         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5472         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5473         old file.
5475 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5477         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5478         (__ASSUME_SIGFRAME_V2): Remove macro.
5479         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5480         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5481         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5482         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5483         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5484         Declare as function.  Remove conditional macro definitions.
5485         (__default_rt_sa_restorer): Likewise.
5486         (__default_sa_restorer_v1): Remove declaration.
5487         (__default_sa_restorer_v2): Likewise.
5488         (__default_rt_sa_restorer_v1): Likewise.
5489         (__default_rt_sa_restorer_v2): Likewise.
5490         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5491         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5492         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5494 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5496         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5497         (libpthread-routines): Add sysdep.
5498         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5499         * sysdeps/unix/sysv/linux/sparc/Versions
5500         (libpthread: GLIBC_2.3.3): New version set.
5501         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5502         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5503         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5504         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5505         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5506         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5507         Moved ...
5508         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5510         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5511         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5512         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5513         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5514         * sysdeps/sparc/nptl/sem_init.c: ... here.
5515         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5516         * sysdeps/sparc/nptl/sem_post.c: ... here.
5517         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5518         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5519         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5520         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5521         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5522         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5523         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5524         (libpthread-routines): Add cpu_relax.
5525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5526         File removed.
5527         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5528         (librt: GLIBC_2.3.3): New version set.
5529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5530         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5531         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5532         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5535         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5537         Moved ...
5538         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5540         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5542         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5544         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5546         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5548         Moved ...
5549         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5550         Update #include.
5551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5552         Moved ...
5553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5554         Update #include.
5555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5556         Moved ...
5557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5558         Update #include.
5559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5560         Moved ...
5561         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5562         Update #include.
5563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5564         Moved ...
5565         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5566         Update #include.
5567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5568         Moved ...
5569         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5570         Update #include.
5571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5572         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5578         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5580         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5582         Moved ...
5583         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5585         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5587         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5589 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5591         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5592         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5593         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5594         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5595         * nscd/nscd.c: Likewise.
5596         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5597         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5598         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5599         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5601         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5602         <kernel-features.h>.
5603         (init_mq_netlink): Remove conditional have_sock_cloexec
5604         definitions.  Remove code conditional on have_sock_cloexec < 0.
5605         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5606         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5607         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5608         <kernel-features.h>.
5609         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5610         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5612 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5615         Add tests for memset_chk and memset.
5617         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5618         with AVX2_Usable.
5620 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5622         [BZ #16046]
5623         * elf/tst-dl-iter-static.c: New file.
5624         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5626         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5627         error.
5629 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5631         * sysdeps/unix/sysv/linux/kernel-features.h
5632         (__ASSUME_F_GETOWN_EX): Remove macro.
5633         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5634         <kernel-features.h>.
5635         (miss_F_GETOWN_EX): Remove variable or macro.
5636         (do_fcntl): Do not check miss_F_GETOWN_EX.
5637         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5640         Remove macro.
5641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5642         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5643         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5645         * sysdeps/unix/sysv/linux/kernel-features.h
5646         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5647         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5648         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5649         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5651 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5653         [BZ #17075]
5654         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5655         Fix calculation of the symbol's value.
5656         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5657         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5658         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5659         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5660         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5661         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5662         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5663         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5664         (modules-names): Add `tst-armtlsdescmod',
5665         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5666         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5667         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5668         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5669         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5670         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5671         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5672         ($(objpfx)tst-armtlsdescloc): New dependency.
5673         ($(objpfx)tst-armtlsdescextnow): Likewise.
5674         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5675         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5676         TLS scheme support.
5677         * sysdeps/arm/configure: Regenerate.
5679 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5681         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5682         (__atfct_seterrno_2): Likewise.
5683         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5684         <kernel-features.h>.
5685         (__ASSUME_ATFCTS): Do not undefine and redefine.
5686         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5687         (__have_atfcts): Remove conditional definition.
5688         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5689         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5690         unreachable if [__ASSUME_ATFCTS].
5691         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5692         not undefine and redefine.
5693         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5694         <kernel-features.h>.
5695         (faccessat) [__NR_faccessat]: Make code unconditional.
5696         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5697         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5698         <kernel-features.h>.
5699         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5700         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5701         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5702         <kernel-features.h>.
5703         (fchownat) [__NR_fchownat]: Make code unconditional.
5704         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5705         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5706         <kernel-features.h>.
5707         (futimesat) [__NR_futimesat]: Make code unconditional.
5708         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5709         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5710         <kernel-features.h>.
5711         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5712         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5713         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5714         <kernel-features.h>.
5715         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5716         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5717         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5718         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5719         <kernel-features.h>.
5720         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5721         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5722         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5723         <kernel-features.h>.
5724         (linkat) [__NR_linkat]: Make code unconditional.
5725         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5726         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5727         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5728         <kernel-features.h>.
5729         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5730         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5731         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5732         <kernel-features.h>.
5733         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5734         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5735         * sysdeps/unix/sysv/linux/openat.c: Do not include
5736         <kernel-features.h>.
5737         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5738         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5739         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5740         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5741         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5742         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5743         <kernel-features.h>.
5744         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5745         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5746         result of INLINE_SYSCALL directly, not via int variable.
5747         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5748         <kernel-features.h>.
5749         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5750         (renameat) [__NR_renameat]: Make code unconditional.
5751         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5752         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5753         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5754         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5755         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5756         (__ASSUME_ATFCTS): Do not undefine and redefine.
5757         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5758         <kernel-features.h>.
5759         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5760         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5761         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5762         <kernel-features.h>.
5763         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5764         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5765         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5766         (__ASSUME_ATFCTS): Do not undefine and redefine.
5767         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5768         <kernel-features.h>.
5769         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5770         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5771         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5772         <kernel-features.h>.
5773         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5774         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5776 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5778         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5780 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5782         [BZ #17069]
5783         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5784         constructed tree before returning error.
5785         * posix/bug-regexp36.c: Expand test case.
5787 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5789         [BZ #6803]
5790         * math/libm-test.inc (scalbln_test_date):
5791         Add errno expectations.
5792         * math/w_scalblnf.c: New File.
5793         Add wrapper which checks for setting errno to ERANGE.
5794         Add weak_alias for corresponding scalbln function.
5795         * math/w_scalbln.c: Likewise.
5796         * math/w_scalblnl.c: Likewise.
5797         * math/Makefile (libm-calls): Add w_scalbln.
5798         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5799         Remove weak_alias for corresponding scalbln function.
5800         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5802         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5803         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5804         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5805         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5806         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5807         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5808         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5809         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5810         Remove long_double_symbol for scalblnl function in libm, libc.
5811         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5812         Add wrapper which checks for setting errno to ERANGE.
5813         Add long_double_symbol for scalblnl function in libm, libc.
5814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5815         Remove long_double_symbol for scalblnl in libm.
5816         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5817         Add wrapper which checks for setting errno to ERANGE.
5818         Add long_double_symbol for scalblnl function in libm.
5819         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5820         Do not use wrapper because of own implementation.
5822 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5824         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5825         3 bytes for __pad1 for x32.
5826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5828 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5829             H.J. Lu  <hongjiu.lu@intel.com>
5831         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5832         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5833         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5834         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5835         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5837 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5839         [BZ #17069]
5840         * posix/regcomp.c (parse_expression): Deallocate partially
5841         constructed tree before returning error.
5842         * posix/Makefile.c (tests): Add bug-regex36.
5843         (generated): Add bug-regex36.mtrace.
5844         (tests-special): Add $(objpfx)bug-regex36-mem.out
5845         (bug-regex36-ENV): New variable.
5846         ($(objpfx)bug-regex36-mem.out): New rule.
5847         * posix/bug-regex36.c: New file.
5849 2014-06-19  Will Newton  <will.newton@linaro.org>
5851         * malloc/malloc.c (systrim): If extra is zero then return
5852         early.
5854 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5856         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5858 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5860         * sysdeps/aarch64/strchr.S: New file.
5862 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5864         [BZ #17022]
5865         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5866         from arguments -2 or below.
5867         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5868         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5870 2014-06-18  Andreas Schwab  <schwab@suse.de>
5872         [BZ #17062]
5873         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5874         of a bracket expr not to run off the end of the string.
5875         * posix/Makefile (tests): Add tst-fnmatch3.
5876         * posix/tst-fnmatch3.c: New file.
5878 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5880         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5881         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5882         [$(cross-compiling) = no]: Likewise.
5883         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5884         [$(cross-compiling) = no]: Likewise.
5886 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5888         [BZ #17031]
5889         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5890         double, adjusted for any remainder from the high double.
5891         * math/libm-test.inc (nearbyint): Add tests.
5892         (rint): Likewise.
5894 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5896         * nptl/sysdeps/powerpc/Makefile: Moved ...
5897         * sysdeps/powerpc/nptl/Makefile: ... here.
5898         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5899         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5900         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5901         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5902         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5903         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5904         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5905         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5906         * nptl/sysdeps/powerpc/tls.h: Moved ...
5907         * sysdeps/powerpc/nptl/tls.h: ... here.
5909 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5911         [BZ #16681]
5912         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5913         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5914         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5915         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5916         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5917         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5918         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5919         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5920         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5922 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5924         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5926 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5928         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5929         defined operator.
5931         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5932         $TIMEOUTFACTOR.
5934 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5936         [BZ #17058]
5937         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5938         non-executed part of the test.
5940 2014-06-16  Andreas Schwab  <schwab@suse.de>
5942         * string/bits/string2.h (strdup, strndup): Update feature guard.
5944 2014-06-14  David S. Miller  <davem@davemloft.net>
5946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5948 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5950         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5951         that was previously under [RESET_PID].
5952         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5954         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5955         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5956         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5957         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5958         (__libc_vfork): New strong alias.
5959         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5961 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5963         * sysdeps/generic/elide.h: New file.
5965 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5967         * Makefile (installed-headers): Adjust path of pthread.h header.
5969 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5971         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5972         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5974         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5976         * nptl/sysdeps/s390/Makefile: Moved ...
5977         * sysdeps/s390/nptl/Makefile: ... here.
5978         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5979         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5980         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5981         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5982         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5983         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5984         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5985         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5986         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5987         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5988         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5989         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5990         * nptl/sysdeps/s390/tls.h: Moved ...
5991         * sysdeps/s390/nptl/tls.h: ... here.
5993         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5994         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5996 2014-06-13  David S. Miller  <davem@davemloft.net>
5998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6001         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6005         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6006         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6007         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6008         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6009         Remove RESET_PID cpp guards.
6010         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6011         Remove RESET_PID cpp guards.
6012         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6014 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6016         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6017         __sp to uintptr_t.
6019 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6022         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6025         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6028         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6029         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6031         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6033         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6038         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6042         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6043         (pthread_rwlock_rdlock): Add elision.
6044         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6045         (pthread_rwlock_wrlock): Add elision.
6046         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6047         (pthread_rwlock_trywrlock): Add elision.
6048         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6049         (pthread_rwlock_tryrdlock): Add elision.
6050         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6051         (pthread_rwlock_tryrdlock): Add elision unlock.
6052         * nptl/sysdeps/pthread/pthread.h:
6053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6054         (PTHREAD_RWLOCK_INITIALIZER,
6055         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6056         Handle new elision field.
6057         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6058         * sysdeps/arm/nptl/bits/pthreadtypes.h
6059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6060         * sysdeps/sh/nptl/bits/pthreadtypes.h
6061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6062         * sysdeps/tile/nptl/bits/pthreadtypes.h
6063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6064         * sysdeps/a/nptl/bits/pthreadtypes.h
6065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6066         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6068         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6070         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6072         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6074         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6076         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6078         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6080         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6082         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6083         (elision_init): Set try_xbegin to zero when no RTM.
6084         * sysdeps/x86/nptl/bits/pthreadtypes.h
6085         (pthread_rwlock_t): Change __pad1 to __rwelision.
6086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6088 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6090         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6091         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6092         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6093         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6095 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6097         [BZ #16996]
6098         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6099         that the cached result has been set before returning it.
6101 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6103         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6104         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6105         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6106         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6107         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6108         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6110         * nptl/sysdeps/sparc/Makefile: Moved ...
6111         * sysdeps/sparc/nptl/Makefile: ... here.
6112         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6113         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6114         * nptl/sysdeps/sparc/tls.h: Moved ...
6115         * sysdeps/sparc/nptl/tls.h: ... here.
6116         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6117         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6118         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6119         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6120         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6121         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6122         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6123         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6124         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6125         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6126         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6127         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6128         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6129         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6130         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6131         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6132         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6134         Update #include.
6135         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6137         Update #include.
6138         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6140         Update #include.
6141         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6143         Update #include.
6145         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6147         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6148         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6150         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6151         (struct list_links): Type removed.
6152         (struct thread_node, struct timer_node): Replace struct list_links
6153         with struct list_head.
6154         (list_unlink_ip): Likewise.
6155         * sysdeps/pthread/timer_routines.c
6156         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6157         (list_append, list_insbefore): Likewise.
6158         (list_init): Function removed.
6159         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6160         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6161         * sysdeps/pthread/Makefile: ... here, new file.
6163         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6164         * sysdeps/nptl/Implies: ... here.
6165         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6166         * nptl/sysdeps/pthread/list.h: Moved ...
6167         * include/list.h: ... here.
6168         * nptl/sysdeps/pthread/createthread.c: Moved ...
6169         * nptl/createthread.c: ... here.
6170         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6171         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6172         * nptl/pt-longjmp.c: ... here.
6173         * nptl/sysdeps/pthread/Makefile: Moved ...
6174         * sysdeps/nptl/Makefile: ... here.
6175         * nptl/sysdeps/pthread/Subdirs: Moved ...
6176         * sysdeps/nptl/Subdirs: ... here.
6177         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6178         * sysdeps/nptl/aio_misc.h: ... here.
6179         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6180         * sysdeps/nptl/bits/libc-lock.h: ... here.
6181         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6182         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6183         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6184         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6185         * nptl/sysdeps/pthread/configure: Moved ...
6186         * sysdeps/nptl/configure: ... here.
6187         * nptl/sysdeps/pthread/configure.ac: Moved ...
6188         * sysdeps/nptl/configure.ac: ... here.
6189         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6190         * sysdeps/nptl/gai_misc.h: ... here.
6191         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6192         * sysdeps/nptl/librt-cancellation.c: ... here.
6193         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6194         * sysdeps/nptl/malloc-machine.h: ... here.
6195         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6196         * sysdeps/nptl/pthread-functions.h: ... here.
6197         * nptl/sysdeps/pthread/pthread.h: Moved ...
6198         * sysdeps/nptl/pthread.h: ... here.
6199         * nptl/sysdeps/pthread/setxid.h: Moved ...
6200         * sysdeps/nptl/setxid.h: ... here.
6201         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6202         * sysdeps/nptl/sigfillset.c: ... here.
6203         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6204         * sysdeps/nptl/tcb-offsets.h: ... here.
6205         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6206         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6207         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6208         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6209         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6210         * sysdeps/pthread/allocalim.h: ... here.
6211         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6212         * sysdeps/pthread/bits/sigthread.h: ... here.
6213         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6214         * sysdeps/pthread/flockfile.c: ... here.
6215         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6216         * sysdeps/pthread/ftrylockfile.c: ... here.
6217         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6218         * sysdeps/pthread/funlockfile.c: ... here.
6219         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6220         * sysdeps/pthread/posix-timer.h: ... here.
6221         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6222         * sysdeps/pthread/timer_create.c: ... here.
6223         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6224         * sysdeps/pthread/timer_delete.c: ... here.
6225         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6226         * sysdeps/pthread/timer_getoverr.c: ... here.
6227         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6228         * sysdeps/pthread/timer_gettime.c: ... here.
6229         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6230         * sysdeps/pthread/timer_routines.c: ... here.
6231         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6232         * sysdeps/pthread/timer_settime.c: ... here.
6233         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6234         * sysdeps/pthread/tst-timer.c: ... here.
6235         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6236         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6238         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6239         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6241         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6242         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6243         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6244         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6245         Update #include target.
6246         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6247         * sysdeps/i386/i686/nptl/Makefile: ... here.
6248         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6249         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6250         Update #include target.
6251         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6252         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6253         * nptl/sysdeps/i386/Makefile: Moved ...
6254         * sysdeps/i386/nptl/Makefile: ... here.
6255         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6256         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6257         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6258         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6259         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6260         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6261         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6262         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6263         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6264         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6265         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6266         * nptl/sysdeps/i386/tls.h: Moved ...
6267         * sysdeps/i386/nptl/tls.h: ... here.
6269         * sysdeps/sh/Makefile [$(subdir) = csu]
6270         (gen-as-const-headers): Add tcb-offsets.sym.
6271         * nptl/sysdeps/sh/Makefile: File removed.
6272         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6273         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6274         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6275         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6276         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6277         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6278         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6279         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6280         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6281         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6282         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6283         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6284         * nptl/sysdeps/sh/tls.h: Moved ...
6285         * sysdeps/sh/nptl/tls.h: ... here.
6286         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6287         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6288         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6289         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6290         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6291         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6292         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6293         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6294         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6295         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6296         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6297         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6298         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6299         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6300         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6301         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6303         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6305         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6307         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6309         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6311         Moved ...
6312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6314         Moved ...
6315         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6317         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6319         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6321         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6323         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6325         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6326         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6327         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6328         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6329         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6330         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6331         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6332         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6333         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6335 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6337         * posix/spawn_faction_addopen.c: Include string.h.
6339 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6341         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6342         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6343         * nptl/sysdeps/x86_64/Makefile: Moved ...
6344         * sysdeps/x86_64/nptl/Makefile: ... here.
6345         * nptl/sysdeps/x86_64/configure: Moved ...
6346         * sysdeps/x86_64/nptl/configure: ... here.
6347         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6348         * sysdeps/x86_64/nptl/configure.ac: ... here.
6349         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6350         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6351         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6352         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6353         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6354         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6355         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6356         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6357         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6358         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6359         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6360         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6361         * nptl/sysdeps/x86_64/tls.h: Moved ...
6362         * sysdeps/x86_64/nptl/tls.h: ... here.
6363         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6364         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6365         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6366         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6368         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6370 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6374 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6376         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6377         type.
6378         [POSIX] (off_t): Likewise.
6379         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6380         [POSIX] (S_ISBLK): Require macro.
6381         [POSIX] (S_ISCHR): Likewise.
6382         [POSIX] (S_ISDIR): Likewise.
6383         [POSIX] (S_ISFIFO): Likewise.
6384         [POSIX] (S_ISREG): Likewise.
6385         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6386         optional-macro.
6387         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6388         type.
6389         [POSIX] (time_t): Likewise.
6390         [POSIX] (timer_t): Likewise.
6392 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6394         [BZ #17048]
6395         * posix/spawn_int.h (struct __spawn_action): Make the path string
6396         non-const to support deallocation.
6397         * posix/spawn_faction_addopen.c
6398         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6399         * posix/spawn_faction_destroy.c
6400         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6401         path in all spawn_do_open actions.
6402         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6403         posix_spawn_file_actions_addopen.
6405 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6407         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6408         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6409         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6410         conditional code always true.
6411         (__libc_vfork): New alias.
6413 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6415         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6416         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6418         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6420         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6421         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6423         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6424         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6426         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6427         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6429 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6431         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6432         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6433         multiarch strcmp for PPC64.
6434         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6435         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6437         multiarch optimizations.
6438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6439         (__libc_ifunc_impl_list): Likewise.
6441 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6443         * benchtests/scripts/validate_benchout.py: New script.
6444         * benchtests/Makefile (bench-func): Call it.
6445         * benchtests/scripts/benchout.schema.json: New file.
6447 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6449         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6450         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6451         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6452         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6453         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6454         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6455         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6456         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6457         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6458         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6459         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6460         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6461         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6462         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6463         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6464         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6466         Moved ...
6467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6468         ... here.
6469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6473         Moved ...
6474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6475         ... here.
6476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6477         Moved ...
6478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6479         ... here.
6480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6481         Moved ...
6482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6484         Moved ...
6485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6486         ... here.
6487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6488         Moved ...
6489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6490         ... here.
6491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6492         Moved ...
6493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6495         Moved ...
6496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6497         ... here.
6498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6499         Moved ...
6500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6501         ... here.
6502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6503         Moved ...
6504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6505         ... here.
6506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6507         Moved ...
6508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6510         Moved ...
6511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6512         ... here.
6513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6514         Moved ...
6515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6516         ... here.
6517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6518         Moved ...
6519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6520         ... here.
6521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6522         Moved ...
6523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6525         Moved ...
6526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6527         ... here.
6528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6529         Moved ...
6530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6531         ... here.
6532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6533         Moved ...
6534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6536         Moved ...
6537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6538         ... here.
6539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6540         Moved ...
6541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6543         Moved ...
6544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6546         Moved ...
6547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6548         ... here.
6549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6550         Moved ...
6551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6552         ... here.
6553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6554         Moved ...
6555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6556         ... here.
6557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6558         Moved ...
6559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6561         Moved ...
6562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6563         ... here.
6564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6565         Moved ...
6566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6567         ... here.
6568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6569         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6571         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6573         Moved ...
6574         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6575         ... here.
6576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6577         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6581         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6583         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6585         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6587         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6589         Moved ...
6590         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6592         Moved ...
6593         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6595         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6597         Moved ...
6598         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6600         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6601         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6602         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6603         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6604         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6606 2014-06-10  Wilco  <wdijkstr@arm.com>
6608         * math/test-fenv-return.c: New file.
6609         * math/Makefile: Add new test test-fenv-return.
6611 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6613         [BZ #17042]
6614         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6615         when x - 1 is zero.
6616         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6617         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6618         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6619         0.0L for an argument of 1.0L.
6620         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6621         Likewise.
6622         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6623         value when x - 1 is zero.
6624         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6625         * sysdeps/i386/fpu/libm-test-ulps: Update.
6626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6628 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6630         [BZ #15119]
6631         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6633 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6635         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6636         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6638 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6640         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6641         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6643         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6644         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6646         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6647         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6649         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6650         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6652         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6653         if not already defined.
6654         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6655         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6656         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6657         (TLS_INIT_TP): Use it.
6658         (TLS_DEFINE_INIT_TP): New macro.
6659         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6661 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6663         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6664         constant.
6665         [POSIX] (IXANY): Likewise.
6666         [POSIX] (OLCUC): Likewise.
6667         [POSIX || POSIX2008] (CBAUD): Do not allow.
6668         [POSIX || POSIX2008] (DEFECHO): Likewise.
6669         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6670         [POSIX || POSIX2008] (ECHOKE): Likewise.
6671         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6672         [POSIX || POSIX2008] (EXTA): Likewise.
6673         [POSIX || POSIX2008] (EXTB): Likewise.
6674         [POSIX || POSIX2008] (FLUSHO): Likewise.
6675         [POSIX || POSIX2008] (LOBLK): Likewise.
6676         [POSIX || POSIX2008] (PENDIN): Likewise.
6677         [POSIX || POSIX2008] (SWTCH): Likewise.
6678         [POSIX || POSIX2008] (VDISCARD): Likewise.
6679         [POSIX || POSIX2008] (VDSUSP): Likewise.
6680         [POSIX || POSIX2008] (VLNEXT): Likewise.
6681         [POSIX || POSIX2008] (VREPRINT): Likewise.
6682         [POSIX || POSIX2008] (VSTATUS): Likewise.
6683         [POSIX || POSIX2008] (VWERASE): Likewise.
6684         (B*): Change to B[0123456789]*.
6685         * conform/data/time.h-data [POSIX || UNIX98]
6686         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6687         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6688         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6689         [POSIX] (tm_*): Do not allow.
6691 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6693         * Makefile (install): Don't set LANGUAGE.
6694         * Makefile.in (install): Likewise.
6695         * assert/Makefile (test-assert-ENV): Remove variable.
6696         (test-assert-perr-ENV): Likewise.
6697         * elf/Makefile (neededtest4-ENV): Likewise.
6698         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6699         [$(cross-compiling) = no]: Don't set LANGUAGE.
6700         * io/ftwtest-sh (LANG): Remove variable.
6701         * libio/Makefile (tst-widetext-ENV): Likewise.
6702         * manual/install.texi (Running make install): Don't refer to
6703         environment settings for make install.
6704         * INSTALL: Regenerated.
6705         * nptl/tst-tls6.sh: Don't set LANG.
6706         * posix/globtest.sh (LANG): Remove variable.
6707         * string/Makefile (tester-ENV): Likewise.
6708         (inl-tester-ENV): Likewise.
6709         (noinl-tester-ENV): Likewise.
6710         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6711         [$(cross-compiling) = no]: Don't set LANGUAGE.
6712         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6713         without explicit environment settings.
6715 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6717         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6718         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6719         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6720         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6722 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6724         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6725         other files in the crypt directory.
6726         * crypt/crypt.c: Remove duplicate includes.
6727         * crypt/crypt-entry.c: Likewise.
6728         * crypt/crypt_util.c: Likewise.
6730 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6732         * Makeconfig (run-program-env): New variable.
6733         (run-program-prefix-before-env): Likewise.
6734         (run-program-prefix-after-env): Likewise.
6735         (run-program-prefix): Define in terms of new variables.
6736         (built-program-cmd-before-env): New variable.
6737         (built-program-cmd-after-env): Likewise.
6738         (built-program-cmd): Define in terms of new variables.
6739         (test-program-prefix-before-env): New variable.
6740         (test-program-prefix-after-env): Likewise.
6741         (test-program-prefix): Define in terms of new variables.
6742         (test-program-cmd-before-env): New variable.
6743         (test-program-cmd-after-env): Likewise.
6744         (test-program-cmd): Define in terms of new variables.
6745         * Rules (make-test-out): Use $(run-program-env).
6746         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6747         (help): Do not mention environment variables.  Mention
6748         --timeoutfactor option.
6749         (timeoutfactor): New variable.
6750         (blacklist_exports): Remove function.
6751         (exports): Remove variable.
6752         (command): Do not include ${exports}.
6753         * manual/install.texi (Configuring and compiling): Do not mention
6754         test wrappers preserving environment variables.  Mention that last
6755         assignment to a variable must take precedence.
6756         * INSTALL: Regenerated.
6757         * benchtests/Makefile (run-bench): Use $(run-program-env).
6758         * catgets/Makefile ($(objpfx)test1.cat): Use
6759         $(built-program-cmd-before-env), $(run-program-env) and
6760         $(built-program-cmd-after-env).
6761         ($(objpfx)test2.cat): Do not specify environment variables
6762         explicitly.
6763         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6764         $(run-program-env) and $(built-program-cmd-after-env).
6765         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6766         $(run-program-env) and $(test-program-cmd-after-env).
6767         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6768         explicitly.
6769         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6770         run_program_env and test_program_cmd_after_env arguments.
6771         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6772         * elf/tst-pathopt.sh: Use run_program_env argument.
6773         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6774         $(test-wrapper-env) and $(run-program-env).
6775         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6776         run_program_env arguments.
6777         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6778         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6779         $(test-program-prefix-before-env), $(run-program-env) and
6780         $(test-program-prefix-after-env).
6781         ($(objpfx)tst-gettext2.out): Likewise.
6782         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6783         run_program_env and test_program_prefix_after_env arguments.
6784         * intl/tst-gettext2.sh: Likewise.
6785         * intl/tst-gettext4.sh: Do not set environment variables
6786         explicitly.
6787         * intl/tst-gettext6.sh: Likewise.
6788         * intl/tst-translit.sh: Likewise.
6789         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6790         $(test-program-prefix-before-env), $(run-program-env) and
6791         $(test-program-prefix-after-env).
6792         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6793         run_program_env and test_program_prefix_after_env arguments.
6794         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6795         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6796         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6797         explicitly with each use of ${test_wrapper_env}.
6798         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6799         $(test-program-prefix-before-env), $(run-program-env) and
6800         $(test-program-prefix-after-env).
6801         * posix/tst-getconf.sh: Do not set environment variables
6802         explicitly.
6803         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6804         run_program_env and test_program_prefix_after_env arguments.
6805         * stdio-common/tst-printf.sh: Do not set environment variables
6806         explicitly.
6807         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6808         $(test-program-prefix-before-env), $(run-program-env) and
6809         $(test-program-prefix-after-env).
6810         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6811         run_program_env and test_program_prefix_after_env arguments.
6812         Split $test calls into $test_pre and $test.
6813         * timezone/Makefile (build-testdata): Use
6814         $(built-program-cmd-before-env), $(run-program-env) and
6815         $(built-program-cmd-after-env).
6817 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6819         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6820         strlen for non SHARED builds.
6822 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6824         * nptl/allocatestack.c (check_list): Inlined function...
6825         (__reclaim_stacks): ... here.
6827 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6829         [BZ #15698]
6830         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6831         memory overrun.
6833 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6835         * Rules (make-test-out): Include
6836         LOCPATH=$(common-objpfx)localedata in default environment.
6837         * debug/Makefile (tst-chk1-ENV): Remove variable.
6838         (tst-chk2-ENV): Likewise.
6839         (tst-chk3-ENV): Likewise.
6840         (tst-chk4-ENV): Likewise.
6841         (tst-chk5-ENV): Likewise.
6842         (tst-chk6-ENV): Likewise.
6843         (tst-lfschk1-ENV): Likewise.
6844         (tst-lfschk2-ENV): Likewise.
6845         (tst-lfschk3-ENV): Likewise.
6846         (tst-lfschk4-ENV): Likewise.
6847         (tst-lfschk5-ENV): Likewise.
6848         (tst-lfschk6-ENV): Likewise.
6849         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6850         (tst-iconv7-ENV): Likewise.
6851         * intl/Makefile (LOCPATH-ENV): Likewise.
6852         (tst-codeset-ENV): Likewise.
6853         (tst-gettext3-ENV): Likewise.
6854         (tst-gettext5-ENV): Likewise.
6855         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6856         (tst-fopenloc-ENV): Likewise.
6857         (tst-fgetws-ENV): Remove variable.
6858         (tst-ungetwc1-ENV): Likewise.
6859         (tst-ungetwc2-ENV): Likewise.
6860         (bug-ungetwc2-ENV): Likewise.
6861         (tst-swscanf-ENV): Likewise.
6862         (bug-ftell-ENV): Likewise.
6863         (tst-fgetwc-ENV): Likewise.
6864         (tst-fseek-ENV): Likewise.
6865         (tst-ftell-partial-wide-ENV): Likewise.
6866         (tst-ftell-active-handler-ENV): Likewise.
6867         (tst-ftell-append-ENV): Likewise.
6868         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6869         (tst-regexloc-ENV): Likewise.
6870         (bug-regex1-ENV): Likewise.
6871         (tst-regex-ENV): Likewise.
6872         (tst-regex2-ENV): Likewise.
6873         (bug-regex5-ENV): Likewise.
6874         (bug-regex6-ENV): Likewise.
6875         (bug-regex17-ENV): Likewise.
6876         (bug-regex18-ENV): Likewise.
6877         (bug-regex19-ENV): Likewise.
6878         (bug-regex20-ENV): Likewise.
6879         (bug-regex22-ENV): Likewise.
6880         (bug-regex23-ENV): Likewise.
6881         (bug-regex25-ENV): Likewise.
6882         (bug-regex26-ENV): Likewise.
6883         (bug-regex30-ENV): Likewise.
6884         (bug-regex32-ENV): Likewise.
6885         (bug-regex33-ENV): Likewise.
6886         (bug-regex34-ENV): Likewise.
6887         (bug-regex35-ENV): Likewise.
6888         (tst-rxspencer-ENV): Likewise.
6889         (tst-rxspencer-no-utf8-ENV): Likewise.
6890         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6891         (tst-sscanf-ENV): Likewise.
6892         (tst-swprintf-ENV): Likewise.
6893         (tst-swscanf-ENV): Likewise.
6894         (test-vfprintf-ENV): Likewise.
6895         (scanf13-ENV): Likewise.
6896         (bug14-ENV): Likewise.
6897         (tst-grouping-ENV): Likewise.
6898         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6899         (tst-strtod3-ENV): Likewise.
6900         (tst-strtod4-ENV): Likewise.
6901         (tst-strtod5-ENV): Likewise.
6902         (testmb2-ENV): Likewise./
6903         * string/Makefile (tst-strxfrm-ENV): Likewise.
6904         (tst-strxfrm2-ENV): Likewise.
6905         (bug-strcoll1-ENV): Likewise.
6906         (test-strcasecmp-ENV): Likewise.
6907         (test-strncasecmp-ENV): Likewise.
6908         * time/Makefile (tst-strptime-ENV): Likewise.
6909         (tst-ftime_l-ENV): Likewise.
6910         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6911         (tst-mbrtowc-ENV): Likewise.
6912         (tst-wcrtomb-ENV): Likewise.
6913         (tst-mbrtowc2-ENV): Likewise.
6914         (tst-c16c32-1-ENV): Likewise.
6915         (tst-mbsnrtowcs-ENV): Likewise.
6917 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6919         * manual/resource.texi (How to get information about the memory
6920         subsystem?): Fix typo.
6921         Reported by Peon de la Parra Ivan <peon@keba.com>
6923 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6925         [BZ #16882]
6926         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6927         (pthread_spin_lock): Branch out of spin loop to proper location.
6928         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6929         (pthread_spin_lock): Likewise.
6931         * nptl/tst-spin4.c: New test.
6932         * nptl/Makefile (tests): Add tst-spin4.
6934 2014-06-03  Andreas Schwab  <schwab@suse.de>
6936         [BZ #15946]
6937         * resolv/res_send.c (send_dg): Reload file descriptor after
6938         calling reopen.
6940 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6942         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6944 2014-06-03  Richard Henderson  <rth@redhat.com>
6946         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6947         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6948         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6949         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6950         in the SAVE_PID block.
6951         (__libc_vfork): New alias.
6952         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6954         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6955         child in registers, not on the stack.  Remove RESET_PID conditionals.
6956         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6958 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6960         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6962 2014-06-03  Wilco  <wdijkstr@arm.com>
6964         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6965         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6966         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6967         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6968         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6969         Likewise.
6971 2014-06-03  Wilco  <wdijkstr@arm.com>
6973         * sysdeps/aarch64/fpu/math_private.h
6974         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6975         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6976         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6977         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6978         Fix declarations.
6980 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6982         * crypt/crypt-private.h: Include ufc-crypt.h.
6983         (__b64_from_24bit): Declare extern.
6984         * crypt/crypt_util.c(__b64_from_24bit): New function.
6985         (b64t): New static const variable.
6986         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6987         (b64t): Remove variable.
6988         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6989         * crypt/sha256-crypt.c: Include crypt-private.h.
6990         (b64t): Remove variable.
6991         (__sha256_crypt_r): Remove b64_from_24bit and replace
6992         with __b64_from_24bit.
6993         * crypt/sha512-crypt.c: Likewise.
6995 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6997         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6998         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6999         Label the code __libc_vfork rather than __vfork.
7000         [!NOT_IN_libc] (vfork): Define as weak alias.
7001         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7002         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7003         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7005 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7007         * malloc/malloc.c (malloc_info): Fix format specifier for
7008         n_mmaps.
7010 2014-06-02  Wilco  <wdijkstr@arm.com>
7012         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7013         FPCR write.
7015 2014-06-02  Wilco  <wdijkstr@arm.com>
7017         [BZ #17009]
7018         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7019         Rewrite to reduce FPCR/FPSR accesses.
7021 2014-06-01  David S. Miller  <davem@davemloft.net>
7023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7025 2014-05-31  David S. Miller  <davem@davemloft.net>
7027         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7028         to occur in round to nearest mode when |x| >= 2.0
7030 2014-05-30  Richard Henderson  <rth@twiddle.net>
7032         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7033         (PSEUDO_RET_NOERRNO): Remove.
7034         (ret): Don't redefine.
7035         (ret_NOERRNO): Define in terms of ret.
7036         (ret_ERRVAL): Likewise.
7038         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7039         use of PSEUDO_RET; perform the error check directly.
7041 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7043         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7044         with __int128_t.
7046 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7048         * malloc/malloc (malloc_info): Fix formatting.
7050 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7051             Roland McGrath  <roland@hack.frob.com>
7053         * malloc/malloc (malloc_info): Also print mmapped statistics.
7055 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7057         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7058         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7060 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7062         * malloc/malloc.c (malloc_info): Inline mi_arena.
7064 2014-05-29  Richard Henderson  <rth@twiddle.net>
7066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7067         Remove comma before expanding ASM_ARGS_##nr.
7068         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7069         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7070         of ASM_ARGS_##nr.
7071         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7072         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7073         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7074         (ASM_ARGS_1): Add leading comma.
7076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7077         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7078         to __errno_location.
7079         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7080         Remove the expected plt for __errno_location.
7082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7083         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7084         call to __read_tp.
7086         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7087         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7088         it and break it down.
7089         (DOCARGS_0, DOCARGS_1): Do nothing.
7090         (DOCARGS_2): Update to store into the new stack frame.
7091         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7092         (UNDOCARGS_1): Update to restore from the new stack frame.
7093         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7094         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7097         (SINGLE_THREAD_P): New parameter for result regno.
7098         (PSEUDO): Update to match; use cbz instead of beq.
7100         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7101         Use ENTRY to define the _nocancel entry point.  Share the syscall
7102         and syscall error check paths with the cancel path.
7103         (PSEUDO_END): New.
7105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7106         whitespace; tabs before and after asm mnemonics.
7108 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7110         [BZ #15132]
7111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7112         Call fstat64 or stat64 internally, depending on arguments passed.
7113         Replace stat buffer argument with file descriptor argument.
7114         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7115         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7116         Pass fd to __internal_statvfs instead of calling fstat64.
7117         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7118         Pass fd to __internal_statvfs64 instead of calling fstat64.
7119         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7120         Pass -1 to __internal_statvfs instead of calling stat64.
7121         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7122         Pass -1 to __internal_statvfs64 instead of calling stat64.
7124 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7126         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7127         that was previously under [RESET_PID].
7128         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7130         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7131         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7133 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7135         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7137         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7138         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7140 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7142         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7144 2014-05-27  Andreas Schwab  <schwab@suse.de>
7146         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7147         TLS_INIT_TP macro.
7148         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7149         * elf/rtld.c (init_tls, dl_main): Likewise.
7150         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7151         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7152         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7153         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7154         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7155         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7156         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7157         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7158         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7159         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7160         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7161         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7162         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7163         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7164         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7165         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7166         * sysdeps/generic/tls.h: Update description.
7168 2014-05-27  Will Newton  <will.newton@linaro.org>
7170         [BZ #16990]
7171         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7172         and restore r2 rather than just restoring.
7174 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7176         [BZ #16724]
7177         * libio/tst-ftell-append.c: New test case.
7178         * libio/Makefile (tests): Add test case.
7179         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7180         append mode.
7181         * libio/wfileops.c (do_ftell_wide): Likewise.
7183 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7187         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7188         ...
7189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7191         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7192         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7193         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7194         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7195         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7198         Moved ...
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7201         Moved ...
7202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7203         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7204         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7205         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7206         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7207         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7208         ...
7209         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7210         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7211         Moved ...
7212         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7213         here.
7214         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7215         ...
7216         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7218         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7220         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7221         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7222         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7223         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7226         merge into ...
7227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7229         ...
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7232         ...
7233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7235         Moved ...
7236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7237         here.
7238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7239         Moved ...
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7242         Moved ...
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7246         conditional [RESET_PID].
7247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7249         removed.
7250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7251         removed.
7253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7254         <tcb-offsets.h>.
7255         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7256         (__libc_vfork): New strong alias.
7257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7258         removed.
7259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7260         Removed.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7263         <tcb-offsets.h>.
7264         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7265         (__libc_vfork): New strong alias.
7266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7267         removed.
7268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7269         removed.
7271 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7273         * malloc/malloc.c (mi_arena): New function.
7274         (malloc_info): Remove nested function mi_arena. Call non-nosted
7275         function mi_arena.
7277 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7279         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7280         by insrwi.
7281         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7282         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7283         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7284         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7285         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7286         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7287         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7289 2014-05-26  Andreas Schwab  <schwab@suse.de>
7291         [BZ #16984]
7292         * locale/programs/repertoire.c (repertoire_read): Add slash
7293         between I18NPATH element and file name.
7294         * locale/programs/locfile.c (locfile_read): Likewise.
7296 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7298         * nptl/pthread_mutexattr_settype.c
7299         (__pthread_mutexattr_settype):
7300         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7302 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7304         * nptl/tst-mutex5 (do_test):
7305         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7307 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7309         * benchtests/README: Document 'init' directive.
7310         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7311         BENCH_INIT.
7312         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7313         (parse_file): Recognize 'init' directive.
7315 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7317         [BZ #16796]
7318         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7319         alignment of struct pthread.
7321 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7323         [BZ #16878]
7324         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7325         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7326         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7327         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7329 2014-05-25  Richard Henderson  <rth@twiddle.net>
7331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7332         (SINGLE_THREAD_P_PIC): Remove.
7333         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7334         (SINGLE_THREAD_P_PIC): Remove.
7336         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7337         branch to syscall error ...
7338         (PSEUDO): ... here.
7339         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7340         from __local_syscall_error to .Lsyscall_error.
7341         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7342         (SYSCALL_ERROR): Update label name.
7344         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7345         Do not use DOARGS/UNDOARGS.
7346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7347         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7348         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7349         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7350         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7353         block comment.
7355         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7356         define if !NOT_IN_libc.
7357         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7358         define with non-default symbol versions.
7360 2014-05-23  Richard Henderson  <rth@twiddle.net>
7362         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7363         (vfork, __vfork): Define via compat_symbol.
7365         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7366         [!HAVE_IFUNC] (vfork_compat): Remove.
7367         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7369 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7371         [BZ #16978]
7372         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7373         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7374         variable.
7376 2014-05-23  Richard Henderson  <rth@twiddle.net>
7378         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7379         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7380         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7381         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7383         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7384         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7385         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7386         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7387         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7388         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7389         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7390         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7391         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7392         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7393         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7394         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7395         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7396         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7397         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7398         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7399         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7400         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7401         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7402         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7404         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7405         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7406         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7407         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7408         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7409         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7410         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7411         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7412         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7414         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7415         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7416         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7417         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7418         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7419         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7420         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7421         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7422         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7423         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7424         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7425         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7426         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7427         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7428         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7429         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7430         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7432         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7434         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7436         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7438         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7440         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7441         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7442         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7443         before exiting on error.
7444         (__libc_vfork): New strong alias.
7445         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7446         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7448         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7449         that was previously under [RESET_PID].
7450         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7452         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7454 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #16977]
7457         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7458         value when x - 1 is zero.
7459         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7460         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7461         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7462         0.0L for an argument of 1.0L.
7463         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7464         Likewise.
7465         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7466         value when x - 1 is zero.
7467         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7468         * sysdeps/i386/fpu/libm-test-ulps: Update.
7469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7473         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7474         alphasort and versionsort.
7476 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7478         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7479         macro.
7480         [copysignf]: Likewise.
7482 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7484         * crypt/md5-crypt.c: Fix formatting.
7486 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7488         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7489         (b64_from_24bit): New function.
7491 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7493         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7494         libc_hidden_builtin_def to ifunc.
7495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7496         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7498 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7500         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7501         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7503 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7505         * nscd/Depend (linuxthreads): Remove.
7506         (nptl): Add.
7507         * resolv/Depend (linuxthreads): Remove.
7508         * rt/Depend (linuxthreads): Remove.
7510         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7511         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7512         $(common-objpfx)elf/.
7513         (link-libc-before-gnulib): Likewise.
7514         (elfobjdir): Remove variable.
7515         * Makefile (install): Use $(elf-objpfx) instead of
7516         $(common-objpfx)elf/.
7517         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7518         $(elfobjdir)/.
7519         (link-libc-deps): Likewise.
7520         ($(common-objpfx)libc.so): Likewise.
7521         ($(common-objpfx)linkobj/libc.so): Likewise.
7522         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7523         instead of $(common-objpfx)elf/.
7524         (symbolic-link-list): Likewise.
7525         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7526         [$(cross-compiling) = no]: Likewise.
7527         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7528         $(elfobjdir)/.
7529         (static-gnulib-arch): Likewise.
7530         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7531         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7532         $(common-objpfx)elf/.
7534 2014-05-21  Richard Henderson  <rth@redhat.com>
7536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7537         (SINGLE_THREAD_P): Use the correct width load.  Fold
7538         into the ldr offset.
7540         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7541         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7543 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7545         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7546         (libgcc_s_resume): Use __attribute_used__.
7547         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7548         Likewise.
7550 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7552         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7553         optimization when used with float constants.
7555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7557 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7559         [BZ #16915]
7560         * locale/nl_langinfo_l.c: Make direct reference to every
7561         _nl_current_CATEGORY symbol.
7562         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7563         (tests-static): Add tst-langinfo-static.
7564         (tests-special): Add tst-langinfo-static.out.
7565         ($(objpfx)tst-langinfo.out): Redirect output.
7566         ($(objpfx)tst-langinfo-static.out): New.
7567         * localedata/tst-langinfo.sh: Send output to stdout.
7568         * localedata/tst-langinfo-static.c: New file.
7570         [BZ #16965]
7571         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7572         when the shift amount is modulo the limb size.
7574 2014-05-20  Richard Henderson  <rth@redhat.com>
7576         [BZ #16967]
7577         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7578         Change type of sa_flags from unsigned int to int.
7580         [BZ #16966]
7581         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7583         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7585 2014-05-20  Will Newton  <will.newton@linaro.org>
7587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7588         Test the return value of the system call in the nocancel case.
7590 2014-05-20  Will Newton  <will.newton@linaro.org>
7591             Yvan Roux  <yvan.roux@linaro.org>
7593         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7594         #include of asm/ptrace.h.
7595         (PTRACE_GET_THREAD_AREA): Remove #undef.
7596         (PTRACE_GETHBPREGS): Likewise.
7597         (PTRACE_SETHBPREGS): Likewise.
7598         (struct user_regs_struct): New structure.
7599         (struct user_fpsimd_struct): New structure.
7600         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7601         #include of asm/ptrace.h and second #include of sys/user.h.
7602         (PTRACE_GET_THREAD_AREA): Remove #undef.
7603         (PTRACE_GETHBPREGS): Likewise.
7604         (PTRACE_SETHBPREGS): Likewise.
7605         (ELF_NGREG): Use new struct user_regs_struct.
7606         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7608 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7610         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7611         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7613 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7615         [BZ #16958]
7616         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7617         membar to avoid block loads/stores to overlap previous stores.
7619 2014-05-17  Richard Henderson  <rth@redhat.com>
7621         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7622         Create the __##syscall_name##_nocancel entry point.
7623         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7624         Remove; let the sysdep-cancel.h code create it.
7626 2014-05-17  David S. Miller  <davem@davemloft.net>
7628         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7629         Protect with __USE_GNU.
7630         (TIOCSET_TEMPT): Likewise.
7631         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7632         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7633         these are already provided in bits/ioctl-types.h
7635 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7637         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7638         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7640         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7641         Use wait4 regardless of [__NR_waitpid].
7643 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7645         PR libgcc/60166
7646         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7647         (_FP_NANSIGN_Q): Set the quiet bit.
7649 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7651         * benchtests/Makefile
7652         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7653         not $(common-objpfx)math/libm.so.
7654         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7655         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7656         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7657         $(common-objpfx)dlfcn/libdl.so.
7658         ($(objpfx)tst-audit8): Depend on $(libm), not
7659         $(common-objpfx)math/libm.so.
7660         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7661         not $(common-objpfx)dlfcn/libdl.so.
7662         * math/Makefile
7663         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7664         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7665         [$(build-shared) = yes].
7666         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7667         $(common-objpfx)nptl/libpthread.so.
7668         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7669         $(common-objpfx)math/libm.so$(libm.so-version) or
7670         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7671         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7672         $(common-objpfx)dlfcn/libdl.so.
7673         * setjmp/Makefile (link-libm): Remove variable.
7674         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7675         * stdio-common/Makefile (link-libm): Remove variable.
7676         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7677         * stdlib/Makefile (link-libm): Remove variable.
7678         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7679         ($(objpfx)tst-strtod-round): Likewise.
7680         ($(objpfx)tst-tininess): Likewise.
7681         ($(objpfx)tst-strtod-underflow): Likewise.
7682         ($(objpfx)tst-strtod6): Likewise.
7683         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7684         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7685         $(common-objpfx)dlfcn/libdl.so.
7687 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7689         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7690         BSD terminal modes definitions.
7692 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7694         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7695         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7697         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7698         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7699         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7700         Don't do #include_next.
7701         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7702         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7703         Don't do #include_next.
7704         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7705         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7706         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7707         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7709 2014-05-16  Allan McRae  <allan@archlinux.org>
7711         * po/sv.po: Update Swedish translation from translation project.
7713         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7714         in sed expression.
7716 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7718         [BZ #16917]
7719         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7720         errno if the TIOCGPTN ioctl fails with an error different than
7721         EINVAL.
7722         * login/tst-ptsname.c: New file.
7723         * login/Makefile (tests): Add tst-ptsname.
7725         [BZ #16943]
7726         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7727         and prlimit64.
7729 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7731         [BZ #16849]
7732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7733         herrno to return EAI_AGAIN.
7735 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7737         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7738         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7739         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7740         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7741         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7742         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7743         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7744         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7745         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7746         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7748         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7749         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7750         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7751         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7752         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7753         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7754         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7755         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7756         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7757         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7758         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7759         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7760         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7761         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7762         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7763         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7764         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7765         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7766         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7768         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7770         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7772         Moved ...
7773         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7775         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7777         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7779         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7781         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7783         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7785         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7787         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7789         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7791         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7793         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7795         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7797         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7801         Moved ...
7802         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7804         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7806         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7808         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7810         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7812         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7814         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7816         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7818         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7820         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7822         Moved ...
7823         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7825         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7827         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7828         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7829         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7830         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7831         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7832         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7833         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7834         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7835         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7836         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7837         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7838         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7839         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7840         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7841         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7842         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7843         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7844         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7845         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7846         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7847         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7848         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7849         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7850         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7851         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7852         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7853         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7854         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7855         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7856         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7857         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7859         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7860         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7862         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7863         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7864         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7865         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7866         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7871         Moved ...
7872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7874         Moved ...
7875         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7877         Moved ...
7878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7879         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7880         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7882         Moved ...
7883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7885         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7887         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7889         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7891         Moved ...
7892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7894         Moved ...
7895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7896         ... here.
7897         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7898         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7899         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7900         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7902         Moved ...
7903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7904         ... here.
7905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7906         Moved ...
7907         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7908         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7909         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7910         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7911         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7913         Moved ...
7914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7916         Moved ...
7917         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7919         Moved ...
7920         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7922         Moved ...
7923         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7924         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7925         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7927         Moved ...
7928         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7930         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7932         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7934         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7936         Moved ...
7937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7939         Moved ...
7940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7941         ... here.
7942         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7943         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7944         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7945         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7947         Moved ...
7948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7949         ... here.
7950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7951         Moved ...
7952         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7953         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7954         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7955         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7956         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7957         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7959         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7960         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7961         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7962         Moved ...
7963         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7965         Moved ...
7966         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7968         Moved ...
7969         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7971         Moved ...
7972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7973         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7974         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7975         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7976         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7978         Moved ...
7979         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7980         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7981         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7984         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7985         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7987         Moved ...
7988         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7990         Moved ...
7991         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7992         ... here.
7993         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7994         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7995         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7996         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7997         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7998         Moved ...
7999         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8000         ... here.
8001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8002         Moved ...
8003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8004         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8005         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8006         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8007         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8008         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8009         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8011         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8012         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8013         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8015         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8016         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8018         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8019         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8021         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8022         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8023         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8024         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8025         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8026         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8027         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8029         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8033         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8034         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8035         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8037         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8039         Moved ...
8040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8044         Moved ...
8045         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8047         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8049         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8050         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8051         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8053         Moved ...
8054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8056         Moved ...
8057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8063         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8064         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8065         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8067         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8068         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8069         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8070         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8071         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8072         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8073         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8076         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8077         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8078         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8079         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8081         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8082         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8083         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8084         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8085         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8086         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8087         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8088         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8089         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8090         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8095         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8096         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8097         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8098         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8099         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8100         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8101         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8102         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8103         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8104         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8105         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8106         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8107         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8108         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8110         Update #include.
8111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8112         Likewise.
8113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8114         Likewise.
8115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8116         Likewise.
8117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8118         Likewise.
8119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8120         Likewise.
8121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8122         Likewise.
8123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8124         Likewise.
8125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8126         Likewise.
8127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8128         Likewise.
8129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8134         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8135         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8136         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8137         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8138         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8139         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8140         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8141         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8142         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8145         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8146         that was previously under [RESET_PID].
8147         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8148         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8149         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8151         * sysdeps/i386/nptl/Implies: New file.
8152         * sysdeps/x86_64/nptl/Implies: New file.
8153         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8154         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8155         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8156         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8158         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8159         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8160         (__libc_vfork): New strong alias.
8161         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8162         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8164         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8165         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8166         (__libc_vfork): New strong alias.
8167         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8168         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8170         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8172         (__libc_vfork): New strong alias.
8173         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8174         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8175         * nptl/pt-vfork.c: New file.
8176         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8177         (libpthread: GLIBC_2.20): New version set (empty).
8179 2014-05-14  Will Newton  <will.newton@linaro.org>
8181         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8182         rather than #if.
8184 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8186         [BZ #16564]
8187         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8188         arguments with exponent 65 or above.
8189         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8190         arguments 0x1p113L or above.
8191         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8192         to arguments 0x1p107L or above.
8193         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8194         positive arguments with exponent 65 or above.
8195         * math/auto-libm-test-in: Add more tests of log1p.
8196         * math/auto-libm-test-out: Regenerated.
8198         [BZ #16928]
8199         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8200         non-finite arguments is +0.
8201         * math/s_cacosf.c (__cacosf): Likewise.
8202         * math/s_cacosl.c (__cacosl): Likewise.
8203         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8204         * sysdeps/i386/fpu/libm-test-ulps: Update.
8205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8207         [BZ #16927]
8208         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8209         value.
8210         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8211         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8212         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8213         for explicit high bit of mantissa when testing for argument equal
8214         to 1.
8215         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8216         * sysdeps/i386/fpu/libm-test-ulps: Update.
8217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8219         [BZ #16516]
8220         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8221         (__erf): Scale by 16 instead of 8 in potentially underflowing
8222         case.  Ensure exception if result actually underflows.
8223         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8224         (__erff): Scale by 16 instead of 8 in potentially underflowing
8225         case.  Ensure exception if result actually underflows.
8226         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8227         (efx8): Remove variable.
8228         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8229         case.  Ensure exception if result actually underflows.
8230         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8231         (efx8): Remove variable.
8232         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8233         case.  Ensure exception if result actually underflows.
8234         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8235         (efx8): Remove variable.
8236         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8237         case.  Ensure exception if result actually underflows.
8238         * math/auto-libm-test-in: Add more tests of erf.
8239         * math/auto-libm-test-out: Regenerated.
8241 2014-05-14  Andreas Schwab  <schwab@suse.de>
8243         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8244         Remove code conditionalized on USE___THREAD.
8246         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8247         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8248         not definedness.
8250 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8253         Define unconditionally.
8254         (__ASSUME_O_CLOEXEC): Likewise.
8255         (__ASSUME_SOCK_CLOEXEC): Likewise.
8256         (__ASSUME_IN_NONBLOCK): Likewise.
8257         (__ASSUME_PIPE2): Likewise.
8258         (__ASSUME_EVENTFD2): Likewise.
8259         (__ASSUME_SIGNALFD4): Likewise.
8260         (__ASSUME_DUP3): Likewise.
8261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8262         (__ASSUME_DUP3): Do not define.
8263         (__ASSUME_EVENTFD2): Likewise.
8264         (__ASSUME_IN_NONBLOCK): Likewise.
8265         (__ASSUME_O_CLOEXEC): Likewise.
8266         (__ASSUME_PIPE2): Likewise.
8267         (__ASSUME_SIGNALFD4): Likewise.
8268         (__ASSUME_SOCK_CLOEXEC): Likewise.
8269         (__ASSUME_UTIMES): Undefine.
8270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8271         (__ASSUME_UTIMES): Do not define.
8272         (__ASSUME_O_CLOEXEC): Likewise.
8273         (__ASSUME_SOCK_CLOEXEC): Likewise.
8274         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8275         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8276         0x020621].
8277         (__ASSUME_PIPE2): Likewise.
8278         (__ASSUME_EVENTFD2): Likewise.
8279         (__ASSUME_SIGNALFD4): Likewise.
8280         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8281         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8282         Do not define.
8283         (__ASSUME_EVENTFD2): Likewise.
8284         (__ASSUME_SIGNALFD4): Likewise.
8285         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8286         (__ASSUME_32BITUIDS): Likewise.
8287         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8288         (__ASSUME_IPC64): Likewise.
8289         (__ASSUME_ST_INO_64_BIT): Likewise.
8290         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8291         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8292         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8293         (__ASSUME_UTIMES): Do not define.
8294         (__ASSUME_PSELECT): Likewise.
8295         (__ASSUME_PPOLL): Likewise.
8296         (__ASSUME_O_CLOEXEC): Likewise.
8297         (__ASSUME_SOCK_CLOEXEC): Likewise.
8298         (__ASSUME_IN_NONBLOCK): Likewise.
8299         (__ASSUME_PIPE2): Likewise.
8300         (__ASSUME_EVENTFD2): Likewise.
8301         (__ASSUME_SIGNALFD4): Likewise.
8302         (__ASSUME_DUP3): Likewise.
8303         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8304         (__ASSUME_UTIMES): Likewise.
8305         (__ASSUME_O_CLOEXEC): Likewise.
8306         (__ASSUME_SOCK_CLOEXEC): Likewise.
8307         (__ASSUME_IN_NONBLOCK): Likewise.
8308         (__ASSUME_PIPE2): Likewise.
8309         (__ASSUME_EVENTFD2): Likewise.
8310         (__ASSUME_SIGNALFD4): Likewise.
8311         (__ASSUME_DUP3): Likewise.
8312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8313         (__ASSUME_UTIMES): Likewise.
8314         (__ASSUME_O_CLOEXEC): Likewise.
8315         (__ASSUME_SOCK_CLOEXEC): Likewise.
8316         (__ASSUME_IN_NONBLOCK): Likewise.
8317         (__ASSUME_PIPE2): Likewise.
8318         (__ASSUME_EVENTFD2): Likewise.
8319         (__ASSUME_SIGNALFD4): Likewise.
8320         (__ASSUME_DUP3): Likewise.
8321         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8322         Likewise.
8323         (__ASSUME_UTIMES): Likewise.
8324         (__ASSUME_EVENTFD2): Likewise.
8325         (__ASSUME_SIGNALFD4): Likewise.
8326         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8327         (__ASSUME_O_CLOEXEC): Likewise.
8328         (__ASSUME_SOCK_CLOEXEC): Likewise.
8329         (__ASSUME_IN_NONBLOCK): Likewise.
8330         (__ASSUME_PIPE2): Likewise.
8331         (__ASSUME_EVENTFD2): Likewise.
8332         (__ASSUME_SIGNALFD4): Likewise.
8333         (__ASSUME_DUP3): Likewise.
8334         (__ASSUME_UTIMES): Undefine.
8336         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8337         feclearexcept.  Remove symbol versioning code.
8338         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8339         symbol versioning code.
8340         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8341         symbol versioning code.
8342         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8343         feupdateenv.  Remove symbol versioning code.
8344         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8345         fegetexceptflag.  Remove symbol versioning code.
8346         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8347         fesetexceptflag.  Remove symbol versioning code.
8348         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8349         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8350         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8351         (__posix_fadvise64_l32): Remove prototype.
8352         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8353         code.
8355 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8357         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8358         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8359         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8360         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8362 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8364         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8365         current working directory
8367 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8369         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8370         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8371         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8372         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8373         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8374         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8375         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8376         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8377         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8378         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8379         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8380         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8381         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8382         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8383         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8384         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8385         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8386         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8387         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8390         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8392         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8393         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8394         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8395         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8396         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8397         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8398         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8399         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8400         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8401         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8402         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8403         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8404         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8405         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8406         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8407         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8408         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8409         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8410         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8412         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8413         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8415         * sysdeps/unix/sysv/linux/arm/Makefile
8416         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8417         Add rt-aeabi_unwind_cpp_pr1.
8418         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8419         Add nptl-aeabi_unwind_cpp_pr1.
8420         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8421         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8422         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8423         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8424         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8425         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8427         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8428         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8429         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8430         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8432         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8433         Deconditionalize the code that was previously under [RESET_PID].
8434         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8436         * sysdeps/generic/exit-thread.h: New file.
8437         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8438         * include/unistd.h (__exit_thread): Remove declaration.
8439         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8440         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8441         * csu/libc-start.c: Include <exit-thread.h>.
8442         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8443         * nptl/pthread_create.c: Include <exit-thread.h>.
8444         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8445         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8446         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8447         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8448         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8449         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8450         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8451         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8452         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8453         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8454         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8455         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8456         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8457         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8458         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8459         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8460         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8462 2014-05-13  Andreas Schwab  <schwab@suse.de>
8464         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8466 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8468         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8469         (__ASSUME_UTIMES): Do not condition on kernel version.
8470         (__ASSUME_PSELECT): Define unconditionally.
8471         (__ASSUME_PPOLL): Likewise.
8472         (__ASSUME_ATFCTS): Likewise.
8473         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8474         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8475         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8476         (__ASSUME_UTIMENSAT): Define unconditionally.
8477         (__ASSUME_PRIVATE_FUTEX): Likewise.
8478         (__ASSUME_FALLOCATE): Likewise.
8479         (__ASSUME_O_CLOEXEC): Likewise.
8480         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8481         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8482         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8483         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8484         (__ASSUME_IN_NONBLOCK): Likewise.
8485         (__ASSUME_PIPE2): Likewise.
8486         (__ASSUME_EVENTFD2): Likewise.
8487         (__ASSUME_SIGNALFD4): Likewise.
8488         (__ASSUME_DUP3): Likewise.
8489         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8490         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8491         (__ASSUME_AT_RANDOM): Likewise.
8492         (__ASSUME_PREADV): Likewise.
8493         (__ASSUME_PWRITEV): Likewise.
8494         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8495         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8496         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8497         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8498         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8499         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8500         (__ASSUME_O_CLOEXEC): Define unconditionally.
8501         (__ASSUME_PSELECT): Do not undefine conditionally.
8502         (__ASSUME_PPOLL): Likewise.
8503         (__ASSUME_ATFCTS): Likewise.
8504         (__ASSUME_SET_ROBUST_LIST): Likewise.
8505         (__ASSUME_UTIMENSAT): Likewise.
8506         (__ASSUME_FDATASYNC): Define unconditionally.
8507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8508         (__ASSUME_SIGFRAME_V2): Likewise.
8509         )__ASSUME_EVENTFD2): Likewise.
8510         (__ASSUME_SIGNALFD4): Likewise.
8511         (__ASSUME_PSELECT): Do not undefine conditionally.
8512         (__ASSUME_PPOLL): Likewise.
8513         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8514         (__ASSUME_PSELECT): Define unconditionally.
8515         (__ASSUME_PPOLL): Likewise.
8516         (__ASSUME_O_CLOEXEC): Likewise.
8517         (__ASSUME_SOCK_CLOEXEC): Likewise.
8518         (__ASSUME_IN_NONBLOCK): Likewise.
8519         (__ASSUME_PIPE2): Likewise.
8520         (__ASSUME_EVENTFD2): Likewise.
8521         (__ASSUME_SIGNALFD4): Likewise.
8522         (__ASSUME_DUP3): Likewise.
8523         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8524         (__ASSUME_O_CLOEXEC): Likewise.
8525         (__ASSUME_SOCK_CLOEXEC): Likewise.
8526         (__ASSUME_IN_NONBLOCK): Likewise.
8527         (__ASSUME_PIPE2): Likewise.
8528         (__ASSUME_EVENTFD2): Likewise.
8529         (__ASSUME_SIGNALFD4): Likewise.
8530         (__ASSUME_DUP3): Likewise.
8531         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8532         (__ASSUME_EVENTFD2): Likewise.
8533         (__ASSUME_SIGNALFD4): Likewise.
8534         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8536 2014-05-12  Andreas Schwab  <schwab@suse.de>
8538         [BZ #16932]
8539         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8540         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8541         than maximum RPC packet size.
8542         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8543         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8544         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8545         (_nss_nis_getservbyport_r): Likewise.
8547 2014-05-12  Will Newton  <will.newton@linaro.org>
8549         * malloc/Makefile (tests): Add tst-mallopt.
8550         * malloc/tst-mallopt.c: New file.
8552 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8554         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8555         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8557 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8559         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8560         (tst-tlsmod6.so): Likewise.
8562 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8564         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8566 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8568         [BZ #16064]
8569         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8570         and <dl-procinfo.h>.
8571         (__fegetenv): Save SSE state in envp->__eip if supported.
8572         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8573         envp->__eip if supported.
8574         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8575         and <dl-procinfo.h>.
8576         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8577         __data_offset and __data_selector in environment to 0.  Set SSE
8578         state if supported.
8579         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8580         test-fenv-sse.
8581         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8582         -mfpmath=sse.
8583         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8585 2014-05-09  Will Newton  <will.newton@linaro.org>
8587         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8588         and libc_relro_required for ARM.
8589         * sysdeps/arm/preconfigure: Regenerate.
8591 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8592             Stefan Liebler  <stli@linux.vnet.ibm.com>
8594         * config.make.in (enable-lock-elision): New Makefile variable.
8595         * configure.ac: Likewise.
8596         * configure: Regenerate.
8597         * sysdeps/s390/configure.ac:
8598         Add check for gcc transactions support.
8599         * sysdeps/s390/configure: Regenerate.
8600         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8601         Build elision files if enabled.
8602         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8603         Add lock elision support for s390.
8604         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8605         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8606         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8607         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8608         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8609         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8610         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8611         Likewise.
8612         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8613         Likewise.
8614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8615         Likewise.
8616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8617         Likewise.
8618         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8619         (__lll_timedlock_elision, __lll_lock_elision)
8620         (__lll_unlock_elision, __lll_trylock_elision)
8621         (lll_timedlock_elision, lll_lock_elision)
8622         (lll_unlock_elision, lll_trylock_elision): Add.
8623         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8624         (pthread_mutex_t): Add lock elision support for s390.
8626 2014-05-14  Wilco  <wdijkstr@arm.com>
8628         * sysdeps/arm/fclrexcpt.c: Cleanup.
8629         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8630         * sysdeps/arm/feenablxcpt.c: Cleanup.
8631         * sysdeps/arm/fegetenv.c: Cleanup.
8632         * sysdeps/arm/fegetexcept.c: Cleanup.
8633         * sysdeps/arm/fegetround.c: Cleanup.
8634         * sysdeps/arm/feholdexcpt.c: Cleanup.
8635         * sysdeps/arm/fesetenv.c: Cleanup.
8636         * sysdeps/arm/fesetround.c: Cleanup.
8637         * sysdeps/arm/feupdateenv.c: Cleanup.
8638         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8639         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8640         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8641         * sysdeps/arm/ftestexcept.c: Cleanup.
8642         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8643         * sysdeps/arm/setfpucw.c: Cleanup.
8645 2014-05-09  Will Newton  <will.newton@linaro.org>
8647         * sysdeps/arm/armv7/strcmp.S: New file.
8648         * NEWS: Mention addition of ARMv7 optimized strcmp.
8650 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8652         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8653         look for %.ac rather than %.in.
8655         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8656         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8657         * sysdeps/mach/hurd/configure: Regenerated.
8658         * sysdeps/unix/sysv/linux/configure: Regenerated.
8660         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8662 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8664         [BZ# 16922]
8665         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8666         (LONG_SUB): Ditto.
8667         (PTR_SUB): Ditto.
8669 2014-05-07  Andreas Schwab  <schwab@suse.de>
8671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8672         when skipping over non-matching result from nscd.
8674 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8676         [BZ #16876]
8677         * nptl/sockperf.c (client): Check socket return value.
8679         [BZ #16877]
8680         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8681         nscd security class.
8683 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8685         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8686         * sysdeps/arm/unwind.h: ... here.
8688 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8690         [BZ# 16916]
8691         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8692         Define.
8694 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8696         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8697         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8698         multiarch strncpy for PPC64.
8699         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8700         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8702         multiarch optimizations.
8703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8704         (__libc_ifunc_impl_list): Likewise.
8705         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8706         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8707         multiarch stpncpy for PPC64.
8708         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8711 2014-05-06  Andreas Schwab  <schwab@suse.de>
8713         [BZ #16912]
8714         * gmon/mcount.c (_MCOUNT_DECL): Use
8715         atomic_compare_and_exchange_bool_acq instead of
8716         catomic_compare_and_exchange_bool_acq.
8718 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8720         * elf/Makefile (others, install-bin): Remove pldd.
8721         (pldd-modules): Variable removed.
8722         ($(objpfx)pldd): Target removed.
8723         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8724         (others, install-bin): Append pldd here.
8725         ($(objpfx)pldd): New target.
8727         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8728         to 0, so the first #if test emitted later doesn't see it undefined.
8729         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8730         * sysdeps/gnu/errlist.c: Regenerated.
8732 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8734         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8735         [libc_hidden_builtin_def]: Define to empty value.
8736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8737         [libc_hidden_builtin_def]: Likewise.
8738         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8739         [libc_hidden_builtin_def]: Likewise.
8740         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8741         [libc_hidden_builtin_def]: Likewise.
8742         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8743         __redirect_memcpy and define ifunc as default hidden symbol.
8744         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8745         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8747 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8749         * locale/iso-4217.def: Reintroduce XDR currency.
8751 2014-05-04  Allan McRae  <allan@archlinux.org>
8753         * po/eo.po: Update Esperanto translation from translation project.
8755 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8757         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8758         and FEATURE_INDEX_MAX to 1.
8759         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8761 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8763         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8764         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8765         * iconvdata/big5.c (ONE_DIRECTION): Define.
8766         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8767         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8768         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8769         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8770         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8771         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8772         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8773         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8774         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8775         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8776         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8777         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8778         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8779         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8780         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8781         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8782         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8783         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8784         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8785         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8786         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8787         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8788         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8789         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8790         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8791         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8792         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8793         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8794         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8795         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8796         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8797         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8798         * iconvdata/johab.c (ONE_DIRECTION): Define.
8799         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8800         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8801         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8802         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8803         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8804         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8805         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8806         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8807         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8808         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8810 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8812         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8813         (_IO_JUMPS_OFFSET): Define to 0.
8815         * nptl/sysdeps/pthread/bits/libc-lock.h
8816         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8817         (__libc_lock_define_initialized_recursive): Always define using
8818         initializer.  Modern compilers treat uninitialized (implicit zero) and
8819         explicit zero initializers the same (i.e. put the datum in bss).
8821 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8823         * nscd/nscd-client.h: Include <string.h>.
8825 2014-05-01  David S. Miller  <davem@davemloft.net>
8827         [BZ #16885]
8828         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8829         multiple zero bytes exist at the end of a string.
8830         Reported by Aurelien Jarno <aurelien@aurel32.net>
8832         * string/test-strcmp.c (check): Add explicit test for situations where
8833         there are multiple zero bytes after the first.
8835 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8837         [BZ #16890]
8838         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8839         when compiling wprintf.
8840         * stdio-common/tstdiomisc.c (t3): New function.
8841         (main): Call it.
8843 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8845         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8846         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8847         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8848         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8850 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8852         * stdlib/longlong.h: Updated from GCC.
8854 2014-05-01  Will Newton  <will.newton@linaro.org>
8855             Bernard Ogden  <bernie.ogden@linaro.org>
8857         * NEWS: Update fixed bug list.
8859         [BZ #15119]
8860         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8862 2014-04-30  David S. Miller  <davem@davemloft.net>
8864         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8865         (libc_feholdexcept_setround_sparc_ctx): New function.
8866         (libc_fesetenv_sparc_ctx): Likewise.
8867         (libc_feupdateenv_sparc_ctx): Likewise.
8868         (libc_feholdsetround_sparc_ctx): Likewise.
8869         (libc_feholdexcept_setround_ctx): Define.
8870         (libc_feholdexcept_setroundf_ctx): Likewise.
8871         (libc_feholdexcept_setroundl_ctx): Likewise.
8872         (libc_fesetenv_ctx): Likewise.
8873         (libc_fesetenvf_ctx): Likewise.
8874         (libc_fesetenvl_ctx): Likewise.
8875         (libc_feupdateenv_ctx): Likewise.
8876         (libc_feupdateenvf_ctx): Likewise.
8877         (libc_feupdateenvl_ctx): Likewise.
8878         (libc_feresetround_ctx): Likewise.
8879         (libc_feresetroundf_ctx): Likewise.
8880         (libc_feresetroundl_ctx): Likewise.
8881         (libc_feholdsetround_ctx): Likewise.
8882         (libc_feholdsetroundf_ctx): Likewise.
8883         (libc_feholdsetroundl_ctx): Likewise.
8885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8886         with __USE_GNU instead of XOPEN cpp guards.
8888         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8889         0.
8891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8892         with XOPEN cpp guards.
8894 2014-04-30  Julian Brown  <julian@codesourcery.com>
8896         [BZ #16888]
8897         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8898         handling.
8900 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8902         [BZ #9894]
8903         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8904         Change to 2.6.32.
8905         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8906         * sysdeps/unix/sysv/linux/configure: Regenerated.
8907         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8908         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8909         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8910         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8911         * README: Update reference to required Linux kernel version.
8912         * manual/install.texi (Linux): Update reference to required Linux
8913         kernel headers version.
8914         * INSTALL: Regenerated.
8916         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8917         header inclusion.
8918         [POSIX] (limits.h): Likewise.
8919         [POSIX] (math.h): Likewise.
8920         [POSIX] (sys/wait.h): Likewise.
8921         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8922         function.
8923         [POSIX] (stddef.h): Do not allow header inclusion.
8925 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8927         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8929 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8931         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8932         Return immediately after lll_futex_wake.
8934 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8936         [BZ #16791]
8937         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8938         structure.
8939         (datahead_init_pos): Call datahead_init_common early.
8940         (datahead_init_neg): Likewise.
8942         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8943         datahead_init_neg): New functions.
8944         * nscd/aicache.c (addhstaiX): Use them.
8945         * nscd/grpcache.c (cache_addgr): Likewise.
8946         * nscd/hstcache.c (cache_addhst): Likewise.
8947         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8948         * nscd/netgroupcache.c (do_notfound): Likewise.
8949         (addgetnetgrentX): Likewise.
8950         (addinnetgrX): Likewise.
8951         * nscd/pwdcache.c (cache_addpw): Likewise.
8952         * nscd/servicescache.c (cache_addserv): Likewise.
8954 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8955             Atsushi Onoe  <atsushi@onoe.org>
8957         [BZ #14308]
8958         [BZ #12994]
8959         [BZ #13651]
8960         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8961         one response is valid.
8962         * resolv/res_send.c (send_dg): Check for validity of other
8963         response if the current response is a referral.
8965 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8967         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8969 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8971         [BZ #16823]
8972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8973         Always divide by positive zero when computing -Inf result.
8974         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8975         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8977 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8979         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8980         FPSCR if value do not change.
8981         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8982         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8983         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8984         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8985         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8986         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8987         function.
8989 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8991         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8992         * sysdeps/unix/sysv/linux/hppa: Move directory from
8993         ports/systeps/unix/sysv/linux/hppa.
8994         * README: Update listing for hppa-*-linux-gnu.
8996 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8998         [BZ #16754]
8999         * manual/stdio.texi (Hook functions): Fix types of stream hook
9000         functions.
9001         [BZ #16854]
9002         * socket/sys/socket.h: Fix typo in comment.
9004 2014-04-28  Wilco  <wdijkstr@arm.com>
9006         * sysdeps/arm/fenv_private.h: New file.
9007         * sysdeps/arm/math_private.h: New file.
9008         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9010 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9012         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9013         with __int128_t.
9014         (La_x86_64_retval): Likewise.
9016 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9018         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9019         fpsr if value didn't change.
9020         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9021         to fpcr if value didn't change.
9022         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9023         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9024         fpsr or fpcr if value didn't change.
9025         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9026         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9027         fpcr if value didn't change.
9028         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9029         to fpsr if value didn't change.
9031 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9033         * nptl/tst-sem3.c: Use test-skeleton.c
9034         (main): Rename to do_test.  Use return instead of
9035         exit.
9036         * nptl/tst-sem4.c: Use test-skeleton.c
9037         (main): Rename to do_test.
9039 2014-04-22  David S. Miller  <davem@davemloft.net>
9041         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9042         (struct sigaction): New struct member __glibc_reserved0, change
9043         type of sa_flags to int.
9045 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9047         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9048         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9050 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9052         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9053         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9055 2014-04-22  Will Newton  <will.newton@linaro.org>
9056             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9058         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9059         (__longjmp): Add longjmp and longjmp_target SystemTap
9060         probes.
9061         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9062         (__sigsetjmp): Add setjmp SystemTap probe.
9064 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9066         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9067         match manual order.
9069 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9073         * sysdeps/powerpc/fpu/fenv_private.h
9074         (libc_feholdexcept_setroundl_ctx): Define to
9075         libc_feholdexcept_setround_ppc_ctx.
9076         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9077         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9078         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9079         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9081 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9083         * sysdeps/aarch64/math-tests.h: New file.
9085 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9087         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9088         New.
9089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9090         Check and set bit_AVX2_Usable.
9091         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9092         macro.
9093         (bit_AVX2): Likewise.
9094         (index_AVX2_Usable): Likewise.
9095         (CPUID_AVX2): Likewise.
9096         (HAS_AVX2): Likewise.
9098 2014-04-17  Will Newton  <will.newton@linaro.org>
9100         * manual/setjmp.texi (System V contexts): Add note that
9101         calling setcontext on a context created by a call to a
9102         signal handler is undefined.  Update text to note that
9103         setcontext from a signal handler is possible but not
9104         recommended.
9106         [BZ #16629]
9107         * stdlib/tst-setcontext.c: Include signal.h.
9108         (main): Check that the signal stack before and
9109         after swapcontext is the same.
9111         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9112         Re-implement to restore registers in user code and avoid
9113         rt_sigreturn system call.
9115 2014-04-17  Wilco  <wdijkstr@arm.com>
9117         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9118         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9119         * math/test-fenv.c: Skip exception trap tests on targets which only
9120         support non-stop mode.
9122 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9123             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9125         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9126         (libc_feholdsetround_aarch64_ctx)
9127         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9128         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9129         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9130         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9131         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9132         (libc_feresetround_noexl_ctx): Define.
9134 2014-04-16  Richard Henderson  <rth@redhat.com>
9136         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9138         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9139         unwind tables.
9141         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9142         const from the non-libc, non-ldso copy.
9144         * sysdeps/alpha/libm-test-ulps: Regenerate.
9146 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9147             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9149         * sysdeps/aarch64/fpu/math_private.h: New file.
9151 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9153         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9155 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9157         [BZ #16275]
9158         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9159         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9160         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9161         Intel MPX bound registers before _dl_profile_fixup.
9162         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9163         registers after _dl_profile_fixup.  Save and restore bound
9164         registers bnd0/bnd1 when calling _dl_call_pltexit.
9165         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9166         (LR_BND_OFFSET): Likewise.
9167         (LRV_BND0_OFFSET): Likewise.
9168         (LRV_BND1_OFFSET): Likewise.
9170 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9172         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9173         to...
9174         * sysdeps/mach/hurd/i386/tls.h: ... here.
9175         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9176         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9177         fields.
9179 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9181         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9183 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9185         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9187 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9189         [BZ #14770]
9190         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9191         * sysdeps/s390/configure: Regenerate.
9193         [BZ #16824]
9194         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9195         Set round-to-nearest internally to reduce error accumulation.
9197 2014-04-16  Alan Modra  <amodra@gmail.com>
9199         [BZ #16740]
9200         [BZ #16619]
9201         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9202         * math/libm-test.inc (frexp_test_data): Add tests.
9203         * NEWS: Update fixed bug list.
9205 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9207         * benchtests/Makefile: Depend on libraries in build directory.
9208         (bench-math): Separate out math tests.
9209         (bench-pthread): Separate out pthread tests.
9210         (bench): Include math and pthread tests.
9212 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9214         [BZ #16831]
9215         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9216         _dl_debug_initialize.
9218         * configure.ac: Remove SELinux header check.
9219         * configure: Regenerate.
9220         * nscd/selinux.c (perms): Array of const char* to permission names.
9221         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9222         default policy. Call string_to_security_class and string_to_av_perm to
9223         translate strings. Enforce default policy and call avs_has_perm with
9224         results of translated strings.
9226 2014-04-13  David S. Miller  <davem@davemloft.net>
9228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9230 2014-04-12  Allan McRae  <allan@archlinux.org>
9232         [BZ #16838]
9233         * manual/string.texi (Collation Functions): Fix qsort argument
9234         order in example.
9235         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9237 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9239         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9240         Make the test a no-op if there are no exceptions defined.
9242 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9244         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9245         enable-hardcoded-path-in-tests
9247 2014-04-11  Will Newton  <will.newton@linaro.org>
9249         * benchtests/Makefile (extra-objs): Add json-lib.o.
9250         (bench-func): Tidy up JSON output.
9251         * benchtests/bench-skeleton.c: Include json-lib.h.
9252         (main): Use JSON library functions to do output of
9253         benchmark results.
9254         * benchtests/bench-timing-type.c (main): Output the
9255         timing type simply, leaving formatting to the user.
9256         * benchtests/json-lib.c: New file.
9257         * benchtests/json-lib.h: Likewise.
9259 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9261         [BZ #15215]
9262         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9263         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9264         memory barriers.  Add comments.
9265         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9266         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9267         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9268         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9269         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9270         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9272 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9274         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9275         * sysdeps/s390/s390-64/configure.ac: ... this ...
9276         * sysdeps/s390/configure.ac: ... to here.
9277         * sysdeps/s390/s390-32/configure: Delete file.
9278         * sysdeps/s390/s390-64/configure: Delete file.
9279         * sysdeps/s390/configure: Regenerate.
9281 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9283         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9285 2014-04-11  Will Newton  <will.newton@linaro.org>
9287         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9288         to zero if it is not defined elsewhere.  (mtrim): Test
9289         the value of MALLOC_DEBUG with #if rather than #ifdef.
9291 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9293         * benchtests/pthread_once-inputs: New file.
9294         * benchtests/pthread_once-source.c: New file.
9295         * benchtests/README: Update documentation.
9297 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9298             H.J. Lu  <hongjiu.lu@intel.com>
9300         [BZ #16275]
9301         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9302         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9303         * sysdeps/x86_64/configure: Regenerated.
9304         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9305         macro.
9306         (REGISTER_SAVE_RAX): Likewise.
9307         (REGISTER_SAVE_RCX): Likewise.
9308         (REGISTER_SAVE_RDX): Likewise.
9309         (REGISTER_SAVE_RSI): Likewise.
9310         (REGISTER_SAVE_RDI): Likewise.
9311         (REGISTER_SAVE_R8): Likewise.
9312         (REGISTER_SAVE_R9): Likewise.
9313         (REGISTER_SAVE_BND0): Likewise.
9314         (REGISTER_SAVE_BND1): Likewise.
9315         (REGISTER_SAVE_BND2): Likewise.
9316         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9317         bound registers when calling _dl_fixup.
9319 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9321         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9322         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9323         of its definition.
9324         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9325         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9326         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9327         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9328         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9329         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9330         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9332 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9334         [BZ #15514]
9335         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9336         pathconf(_PC_NAME_MAX).
9338 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9340         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9341         Remove macro usage.
9342         (__PTHREAD_SPINS): Move definition to ...
9343         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9344         (__PTHREAD_SPINS): ... here.
9345         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9346         (__PTHREAD_SPIN): Likewise.
9347         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9348         (__PTHREAD_SPIN): Likewise.
9349         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9350         (__PTHREAD_SPIN): Likewise.
9351         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9352         (__PTHREAD_SPIN): Likewise.
9353         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9354         (__PTHREAD_SPIN): Likewise.
9355         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9356         (__PTHREAD_SPIN): Likewise.
9357         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9358         (__PTHREAD_SPIN): Likewise.
9359         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9360         (__PTHREAD_SPIN): Likewise.
9361         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9362         (__PTHREAD_SPIN): Likewise.
9363         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9364         (__PTHREAD_SPIN): Likewise.
9365         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9366         (__PTHREAD_SPIN): Likewise.
9367         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9368         (__PTHREAD_SPIN): Likewise.
9370         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9371         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9372         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9373         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9374         imply folder.
9375         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9376         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9377         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9378         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9379         correct imply path.
9380         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9381         strlen symbol for non multi-arch builds.
9382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9383         missing hidden_def and weak_alias.
9385 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9387         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9389 2014-04-07  Will Newton  <will.newton@linaro.org>
9391         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9392         and contents.  [!_LIBC] Remove #ifndef and contents.
9393         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9394         * string/memccpy.c (__memccpy): Use ANSI prototype.
9395         * string/memfrob.c (memfrob): Likewise.
9396         * string/strcoll.c (STRCOLL): Likewise.
9397         * string/strlen.c (strlen): Likewise.
9398         * string/strtok.c (STRTOK): Likewise.
9399         * string/strcat.c: Remove unused #include of memcopy.h.
9400         (strcat): Use ANSI prototype.
9401         * string/strchr.c: Remove unused #include of memcopy.h.
9402         (strchr): Use ANSI prototype.
9403         * string/strcmp.c: Remove unused #include of memcopy.h.
9404         (strcmp): Use ANSI prototype.
9405         * string/strcpy.c: Remove unused #include of memcopy.h.
9406         (strcpy): Use ANSI prototype.
9408 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9410         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9411         * config.make.in (config-extra-cppflags): Set it from
9412         libc_extra_cppflags.
9413         * configure.ac (libc_extra_cflags): Make it accumulate over
9414         configure fragments.
9415         (libc_extra_cppflags): New flag.
9416         * configure. Regenerate.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9418         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9419         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9422         [BZ #16815]
9423         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9424         result for FE_DOWNWARD rounding mode.
9425         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9426         Likewise.
9427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9429 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9431         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9432         in function argument name.
9434 2014-04-03  David Svoboda  <svoboda@cert.org>
9436         [BZ #5666]
9437         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9438         explicitly.
9440 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9442         * elf/dl-unmap-segments.h: New file.
9443         * sysdeps/generic/ldsodefs.h
9444         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9445         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9446         * elf/dl-fptr.c: Likewise.
9447         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9448         * sysdeps/aarch64/tlsdesc.c: Likewise.
9449         * sysdeps/arm/tlsdesc.c: Likewise.
9450         * sysdeps/i386/tlsdesc.c: Likewise.
9451         * sysdeps/tile/dl-runtime.c: Likewise.
9452         * sysdeps/x86_64/tlsdesc.c: Likewise.
9453         * elf/dl-load.h: New file.
9454         * elf/dl-load.c: Include it.
9455         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9456         Macros moved to dl-load.h.
9457         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9458         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9459         Use _dl_unmap_segments in place of __munmap.
9460         Break out segment-mapping loop into ...
9461         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9463 2014-04-03  Will Newton  <will.newton@linaro.org>
9465         * elf/dl-lookup.c (do_lookup_x): Remove comment
9466         referring to nested function and move variable
9467         declarations down to before first use.
9469 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9471         [BZ #16799]
9472         [BZ #16800]
9473         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9474         with 0 numerator.
9475         * math/s_catanf.c (__catanf): Likewise.
9476         * math/s_catanh.c (__catanh): Likewise.
9477         * math/s_catanhf.c (__catanhf): Likewise.
9478         * math/s_catanhl.c (__catanhl): Likewise.
9479         * math/s_catanl.c (__catanl): Likewise.
9480         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9481         by positive zero when computing -Inf result.
9482         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9483         (catanh_test): Likewise.
9484         * sysdeps/i386/fpu/libm-test-ulps: Update.
9485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9487         [BZ #16789]
9488         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9489         instead of using underflowing value in computing result.
9490         * math/s_clog10.c (__clog10): Likewise.
9491         * math/s_clog10f.c (__clog10f): Likewise.
9492         * math/s_clog10l.c (__clog10l): Likewise.
9493         * math/s_clogf.c (__clogf): Likewise.
9494         * math/s_clogl.c (__clogl): Likewise.
9495         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9496         (clog10_test): Likewise.
9497         * sysdeps/i386/fpu/libm-test-ulps: Update.
9498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500 2014-04-02  Alan Modra  <amodra@gmail.com>
9502         [BZ #16739]
9503         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9504         output when value is near a power of two.  Use int64_t for lx and
9505         remove casts.  Use decimal rather than hex exponent constants.
9506         Don't use long double multiplication when double will suffice.
9507         * math/libm-test.inc (nextafter_test_data): Add tests.
9508         * NEWS: Add 16739 and 16786 to bug list.
9510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9512         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9514 2014-04-01  Will Newton  <will.newton@linaro.org>
9516         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9517         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9519 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9521         [BZ #13347]
9522         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9523         * nptl/tst-setuid2.c: New file.
9524         * nptl/Makefile (xtests): Add tst-setuid2.
9526 2014-04-01  Alan Modra  <amodra@gmail.com>
9528         [BZ #16786]
9529         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9531 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9533         [BZ #6803]
9534         [BZ #6804]
9535         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9536         set errno as appropriate.
9537         * math/w_scalbf.c (__scalbf): Likewise.
9538         * math/w_scalbl.c (__scalbl): Likewise.
9539         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9540         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9541         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9542         Add more NaN tests.
9544         [BZ #16349]
9545         * math/w_atan2.c: Include <errno.h>.
9546         (__atan2): Set errno for result underflowing to zero.
9547         * math/w_atan2f.c: Include <errno.h>.
9548         (__atan2f): Set errno for result underflowing to zero.
9549         * math/w_atan2l.c: Include <errno.h>.
9550         (__atan2l): Set errno for result underflowing to zero.
9551         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9552         tests.
9553         * math/auto-libm-test-out: Regenerated.
9555 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9557         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9558         Encode instruction correctly in little endian.
9559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9560         Likewise.
9561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9562         Likewise.
9563         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9564         Likewise.
9565         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9566         Likewise.
9568 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #9894]
9571         * sysdeps/unix/sysv/linux/kernel-features.h
9572         [__sparc__ && !__arch64__ && !__sparc_v9__]
9573         (__ASSUME_SET_ROBUST_LIST): Do not define.
9574         [__sparc__ && !__arch64__ && !__sparc_v9__]
9575         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9576         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9577         Likewise.
9578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9579         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9580         (__ASSUME_REQUEUE_PI): Likewise.
9581         (__ASSUME_SET_ROBUST_LIST): Likewise.
9582         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9583         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9584         Undefine.
9585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9586         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9587         Likewise.
9588         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9589         Likewise.
9590         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9591         Likewise.
9592         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9593         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9594         Undefine.
9595         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9596         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9597         Likewise.
9599         [BZ #16648]
9600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9601         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9602         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9604 2014-03-31  Will Newton  <will.newton@linaro.org>
9606         * benchtests/Makefile (bench): Add ffs and ffsll to list
9607         of tests.
9608         * benchtests/ffs-inputs: New file.
9609         * benchtests/ffsll-inputs: Likewise.
9611 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #16770]
9614         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9615         too large before casting to int.
9616         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9617         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9618         * math/libm-test.inc (scalb_test_data): Add more tests.
9620 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9622         * benchtests/Makefile (DETAILED_OPT): New make option.
9623         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9624         set.
9625         * benchtests/bench-skeleton.c: Include stdbool.h.
9626         (main): Store and print timings per input.
9627         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9628         member to each argument value.
9629         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9630         (_print_arg_data): Initialize per-input timing to 0.
9632         * benchtests/Makefile (timing-type): New binary.
9633         (bench-clean): Also remove bench-timing-type.
9634         (bench): New target for timing-type.
9635         (bench-func): Print output in JSON format.
9636         * benchtests/bench-skeleton.c (main): Print output in JSON
9637         format.
9638         * benchtests/bench-timing-type.c: New file.
9639         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9640         (TIMING_PRINT_STATS): Remove.
9641         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9642         name separately.
9644         * benchtests/bench-modf.c: Remove.
9645         * benchtests/modf-inputs: New inputs file.
9647 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9649         [BZ #16362]
9650         * math/s_clog10.c (M_PI_LOG10E): New macro.
9651         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9652         imaginary parts are 0.
9653         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9654         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9655         imaginary parts are 0.
9656         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9657         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9658         imaginary parts are 0.
9659         * math/libm-test.inc (clog10_test_data): Update expected results
9660         for when real and imaginary parts are 0.
9662 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9664         * elf/dl-load.c: Finish conversion of __builtin_expect into
9665         __glibc_{un}likely.
9667 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9669         [BZ #16348]
9670         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9671         1+x for argument with exponent below -67.
9672         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9673         Likewise.
9674         * math/auto-libm-test-in: Add more tests of exp.
9675         * math/auto-libm-test-out: Regenerated.
9677 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9679         [BZ #16759]
9680         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9681         (nscd_getnetgrent): Use it.
9683         [BZ #16760]
9684         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9685         of stpcpy.
9687 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9689         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9690         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9691         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9692         (lll_robust_unlock): Remove out of line section. Use cfi
9693         intrinsics.
9694         (LLL_STUB_UNWIND_INFO*): Remove.
9695         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9696         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9697         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9698         (lll_robust_unlock): Remove out of line section. Use cfi
9699         intrinsics.
9700         (LLL_STUB_UNWIND_INFO*): Remove.
9702 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9704         [BZ #16758]
9705         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9706         blank values.
9708 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9710         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9712 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9714         [BZ #16198]
9715         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9716         fnstenv.
9717         * math/test-fenv-preserve.c: New file.
9718         * math/Makefile (tests): Add test-fenv-preserve.
9720 2014-03-26  Will Newton <will.newton@linaro.org>
9722         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9724 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9726         * scripts/versionlist.awk: Partition the version sets and emit all
9727         GLIBC_* (sorted) before all others (sorted).
9729 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9731         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9732         GLIBC_2.2.5 version.
9734 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9736         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9737         calls.
9739         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9740         previous change.
9742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9744 2014-03-25  Andreas Schwab  <schwab@suse.de>
9746         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9747         label to be used after in6ailist is initialized.
9749 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9751         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9752         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9754 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9756         [BZ #16357]
9757         [BZ #16599]
9758         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9759         min_plus_half.
9760         (fp_formats): Update initializers.
9761         (init_fp_formats): Initialize new field.
9762         (output_for_one_input_case): Allow underflow for results up to
9763         min_plus_half.
9764         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9765         * math/auto-libm-test-in: Don't mark some underflows from asin and
9766         atanh as spurious.
9767         * math/auto-libm-test-out: Regenerated.
9768         * sysdeps/i386/fpu/libm-test-ulps: Update.
9769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9771 2014-03-25  Andreas Schwab  <schwab@suse.de>
9773         * libio/Makefile (tst-ftell-partial-wide-ENV)
9774         (tst-ftell-active-handler-ENV): Define.
9776 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9778         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9780 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9782         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9784 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9786         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9787         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9788         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9790 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9792         [BZ #16634]
9793         * elf/dl-load.c (open_verify): Add mode parameter.
9794         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9795         (open_path): Change from boolean 'secure' to complete flag 'mode'
9796         (_dl_map_object): Adjust.
9797         * elf/Makefile (tests): Add tst-dlopen-aout.
9798         * elf/tst-dlopen-aout.c: New test.
9800 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9802         [BZ #16714]
9803         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9804         (struct stat): Rename member pad0 to __glibc_reserved0.
9806         [BZ #16712]
9807         * sysdeps/s390/s390-32/bits/wordsize.h
9808         (__WORDSIZE32_SIZE_ULONG): New define.
9809         * sysdeps/s390/s390-64/bits/wordsize.h
9810         (__WORDSIZE32_SIZE_ULONG): Likewise.
9811         * sysdeps/generic/stdint.h (SIZE_MAX):
9812         Define as UL if __WORDSIZE32_SIZE_ULONG.
9814         [BZ #16713]
9815         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9816         (__glibc_reserved0): New variable.
9817         (sa_flags): Change type to int.
9819         * posix/Makefile (before-compile): Use += before-compile instead
9820         of a :=.
9822         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9823         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9825 2014-03-20  Andreas Schwab  <schwab@suse.de>
9827         [BZ #16743]
9828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9829         non-matching result from nscd.
9831 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9833         * scripts/bench.py: Moved to ...
9834         * benchtests/scripts/bench.py: ... here.
9835         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9837 2014-03-24  Andreas Schwab  <schwab@suse.de>
9839         [BZ #16002]
9840         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9841         alloca_account and account alloca use for struct in6ailist.
9843 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9845         [BZ #16284]
9846         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9847         rounding mode to recompute results that overflow to infinity or
9848         underflow to zero.
9849         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9850         bug 16284.
9851         * math/auto-libm-test-out: Regenerated.
9852         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9853         (ccosh_test): Likewise.
9854         (csin_test_data): Use plus_oflow.
9855         (csin_test): Use ALL_RM_TEST.
9856         (csinh_test_data): Use plus_oflow.
9857         (csinh_test): Use ALL_RM_TEST.
9858         * sysdeps/i386/fpu/libm-test-ulps: Update.
9859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9861 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9863         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9864         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9865         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9867         [BZ #16731]
9868         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9869         when x - 1 is zero.
9870         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9871         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9872         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9874         argument is 1.
9875         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9876         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9877         zero.
9878         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9879         * sysdeps/i386/fpu/libm-test-ulps: Update.
9880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9882 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9884         * scripts/bench.pl: Remove file.
9885         * scripts/bench.py: New benchmark script.
9886         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9887         * benchtests/README: Mention python dependency.
9888         * scripts/pylintrc: New file.
9889         * scripts/pylint: New file.
9891         * bits/mathdef.h: Use #ifdef instead of #if.
9892         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9893         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9894         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9895         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9896         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9897         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9899 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9900             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9902         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9904         and strpbrk-ppc64 objects.
9905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9906         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9907         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9908         multiarch strpbrk for POWER7.
9909         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9910         multiarch strpbrk for PPC64.
9911         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9912         ifunc selector.
9913         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9914         strpbrk for POWER7.
9916 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9918         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9919         (atan_test): Likewise.
9920         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9921         (atanh_test): Use ALL_RM_TEST.
9922         (atan2_test_data): Likewise.
9923         (cabs_test): Likewise.
9924         (cacosh_test): Likewise.
9925         (carg_test): Likewise.
9926         (casin_test): Likewise.
9927         (casinh_test): Likewise.
9928         (cbrt_test): Likewise.
9929         (csqrt_test): Likewise.
9930         (erf_test): Likewise.
9931         (erfc_test): Likewise.
9932         (pow10_test): Likewise.
9933         (exp2_test): Likewise.
9934         (hypot_test): Likewise.
9935         (j0_test): Likewise.
9936         (j1_test): Likewise.
9937         (lgamma_test): Likewise.
9938         (gamma_test): Likewise.
9939         (sincos_test): Likewise.
9940         (tanh_test): Likewise.
9941         (y0_test): Likewise.
9942         (y1_test): Likewise.
9943         * sysdeps/i386/fpu/libm-test-ulps: Update.
9944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9948         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9950         and strcspn-ppc64 objects.
9951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9952         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9953         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9954         multiarch strcspn for POWER7.
9955         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9956         multiarch strcspn for PPC64.
9957         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9958         ifunc selector.
9959         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9960         strcspn for POWER7.
9962 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9964         * math/gen-libm-test.pl (generate_testfile): Expect only function
9965         name as argument to AUTO_TESTS_* and pass results for all rounding
9966         modes to parse_args.
9967         (parse_auto_input): Separate inputs of automatic tests from
9968         outputs before storing in %auto_tests.
9969         * math/libm-test.inc (acos_test_data): Update call to
9970         AUTO_TESTS_f_f.
9971         (acos_test): Use ALL_RM_TEST.
9972         (acos_tonearest_test_data): Remove.
9973         (acos_test_tonearest): Likewise.
9974         (acos_towardzero_test_data): Likewise.
9975         (acos_test_towardzero): Likewise.
9976         (acos_downward_test_data): Likewise.
9977         (acos_test_downward): Likewise.
9978         (acos_upward_test_data): Likewise.
9979         (acos_test_upward): Likewise.
9980         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9981         (asin_test_data): Likewise.
9982         (asin_test): Use ALL_RM_TEST.
9983         (asin_tonearest_test_data): Remove.
9984         (asin_test_tonearest): Likewise.
9985         (asin_towardzero_test_data): Likewise.
9986         (asin_test_towardzero): Likewise.
9987         (asin_downward_test_data): Likewise.
9988         (asin_test_downward): Likewise.
9989         (asin_upward_test_data): Likewise.
9990         (asin_test_upward): Likewise.
9991         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9992         (atan_test_data): Likewise.
9993         (atanh_test_data): Likewise.
9994         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9995         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9996         (carg_test_data): Likewise.
9997         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9998         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9999         (ccosh_test_data): Likewise.
10000         (cexp_test_data): Likewise.
10001         (clog_test_data): Likewise.
10002         (clog10_test_data): Likewise.
10003         (cos_test_data): Update call to AUTO_TESTS_f_f.
10004         (cos_test): Use ALL_RM_TEST.
10005         (cos_tonearest_test_data): Remove.
10006         (cos_test_tonearest): Likewise.
10007         (cos_towardzero_test_data): Likewise.
10008         (cos_test_towardzero): Likewise.
10009         (cos_downward_test_data): Likewise.
10010         (cos_test_downward): Likewise.
10011         (cos_upward_test_data): Likewise.
10012         (cos_test_upward): Likewise.
10013         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10014         (cosh_test): Use ALL_RM_TEST.
10015         (cosh_tonearest_test_data): Remove.
10016         (cosh_test_tonearest): Likewise.
10017         (cosh_towardzero_test_data): Likewise.
10018         (cosh_test_towardzero): Likewise.
10019         (cosh_downward_test_data): Likewise.
10020         (cosh_test_downward): Likewise.
10021         (cosh_upward_test_data): Likewise.
10022         (cosh_test_upward): Likewise.
10023         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10024         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10025         (ctan_test_data): Likewise.
10026         (ctan_test): Use ALL_RM_TEST.
10027         (ctan_tonearest_test_data): Remove.
10028         (ctan_test_tonearest): Likewise.
10029         (ctan_towardzero_test_data): Likewise.
10030         (ctan_test_towardzero): Likewise.
10031         (ctan_downward_test_data): Likewise.
10032         (ctan_test_downward): Likewise.
10033         (ctan_upward_test_data): Likewise.
10034         (ctan_test_upward): Likewise.
10035         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10036         (ctanh_test): Use ALL_RM_TEST.
10037         (ctanh_tonearest_test_data): Remove.
10038         (ctanh_test_tonearest): Likewise.
10039         (ctanh_towardzero_test_data): Likewise.
10040         (ctanh_test_towardzero): Likewise.
10041         (ctanh_downward_test_data): Likewise.
10042         (ctanh_test_downward): Likewise.
10043         (ctanh_upward_test_data): Likewise.
10044         (ctanh_test_upward): Likewise.
10045         (erf_test_data): Update call to AUTO_TESTS_f_f.
10046         (erfc_test_data): Likewise.
10047         (exp_test_data): Likewise.
10048         (exp_test): Use ALL_RM_TEST.
10049         (exp_tonearest_test_data): Remove.
10050         (exp_test_tonearest): Likewise.
10051         (exp_towardzero_test_data): Likewise.
10052         (exp_test_towardzero): Likewise.
10053         (exp_downward_test_data): Likewise.
10054         (exp_test_downward): Likewise.
10055         (exp_upward_test_data): Likewise.
10056         (exp_test_upward): Likewise.
10057         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10058         (exp10_test): Use ALL_RM_TEST.
10059         (exp10_tonearest_test_data): Remove.
10060         (exp10_test_tonearest): Likewise.
10061         (exp10_towardzero_test_data): Likewise.
10062         (exp10_test_towardzero): Likewise.
10063         (exp10_downward_test_data): Likewise.
10064         (exp10_test_downward): Likewise.
10065         (exp10_upward_test_data): Likewise.
10066         (exp10_test_upward): Likewise.
10067         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10068         (expm1_test_data): Likewise.
10069         (expm1_test): Use ALL_RM_TEST.
10070         (expm1_tonearest_test_data): Remove.
10071         (expm1_test_tonearest): Likewise.
10072         (expm1_towardzero_test_data): Likewise.
10073         (expm1_test_towardzero): Likewise.
10074         (expm1_downward_test_data): Likewise.
10075         (expm1_test_downward): Likewise.
10076         (expm1_upward_test_data): Likewise.
10077         (expm1_test_upward): Likewise.
10078         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10079         (fma_test): Use ALL_RM_TEST.
10080         (fma_towardzero_test_data): Remove.
10081         (fma_test_towardzero): Likewise.
10082         (fma_downward_test_data): Likewise.
10083         (fma_test_downward): Likewise.
10084         (fma_upward_test_data): Likewise.
10085         (fma_test_upward): Likewise.
10086         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10087         (j0_test_data): Update call to AUTO_TESTS_f_f.
10088         (j1_test_data): Likewise.
10089         (jn_test_data): Update call to AUTO_TESTS_if_f.
10090         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10091         (log_test_data): Update call to AUTO_TESTS_f_f.
10092         (log10_test_data): Likewise.
10093         (log1p_test_data): Likewise.
10094         (log2_test_data): Likewise.
10095         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10096         (pow_tonearest_test_data): Likewise.
10097         (sin_test_data): Update call to AUTO_TESTS_f_f.
10098         (sin_test): Use ALL_RM_TEST.
10099         (sin_tonearest_test_data): Remove.
10100         (sin_test_tonearest): Likewise.
10101         (sin_towardzero_test_data): Likewise.
10102         (sin_test_towardzero): Likewise.
10103         (sin_downward_test_data): Likewise.
10104         (sin_test_downward): Likewise.
10105         (sin_upward_test_data): Likewise.
10106         (sin_test_upward): Likewise.
10107         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10108         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10109         (sinh_test): Use ALL_RM_TEST.
10110         (sinh_tonearest_test_data): Remove.
10111         (sinh_test_tonearest): Likewise.
10112         (sinh_towardzero_test_data): Likewise.
10113         (sinh_test_towardzero): Likewise.
10114         (sinh_downward_test_data): Likewise.
10115         (sinh_test_downward): Likewise.
10116         (sinh_upward_test_data): Likewise.
10117         (sinh_test_upward): Likewise.
10118         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10119         (sqrt_test): Use ALL_RM_TEST.
10120         (sqrt_tonearest_test_data): Remove.
10121         (sqrt_test_tonearest): Likewise.
10122         (sqrt_towardzero_test_data): Likewise.
10123         (sqrt_test_towardzero): Likewise.
10124         (sqrt_downward_test_data): Likewise.
10125         (sqrt_test_downward): Likewise.
10126         (sqrt_upward_test_data): Likewise.
10127         (sqrt_test_upward): Likewise.
10128         (tan_test_data): Update call to AUTO_TESTS_f_f.
10129         (tan_test): Use ALL_RM_TEST.
10130         (tan_tonearest_test_data): Remove.
10131         (tan_test_tonearest): Likewise.
10132         (tan_towardzero_test_data): Likewise.
10133         (tan_test_towardzero): Likewise.
10134         (tan_downward_test_data): Likewise.
10135         (tan_test_downward): Likewise.
10136         (tan_upward_test_data): Likewise.
10137         (tan_test_upward): Likewise.
10138         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10139         (tgamma_test_data): Likewise.
10140         (y0_test_data): Likewise.
10141         (y1_test_data): Likewise.
10142         (yn_test_data): Update call to AUTO_TESTS_if_f.
10143         (main): Do not call removed functions.
10145 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10147         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10148         (ldexp_test_data): Remove.
10149         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10150         scalbn_test_data.
10151         (scalb_test): Use ALL_RM_TEST.
10153 2014-03-19  Andreas Schwab  <schwab@suse.de>
10155         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10157 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10159         [BZ #16649]
10160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10161         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10162         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10164         (__ASSUME_PREADV): Undefine.
10165         (__ASSUME_PWRITEV): Likewise.
10167 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10169         * bits/mman-linux.h: Add comment about non-Linux use.
10170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10171         bits/mman-linux.h resting place.
10173         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10174         * bits/mman-linux.h: ... here.
10176 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10178         * conform/conformtest.pl: Add standard definition when calling C
10179         preprocessor on data files.
10180         (checknamespace): Remove unused variable.
10182 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10184         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10185         minus_oflow, plus_uflow and minus_uflow in expected results.
10186         * math/libm-test.inc (scalbn_test_data): Add more tests of
10187         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10188         minus_uflow.
10189         (scalbn_test): Use ALL_RM_TEST.
10190         (scalbln_test_data): Add more tests of negative arguments.  Use
10191         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10192         (scalbln_test): Use ALL_RM_TEST.
10194 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10196         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10198 2014-03-18  Will Newton  <will.newton@linaro.org>
10200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10201         inaccurate comment.
10203 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10205         * Makerules [!subdir] (check-abi): Exit with error status if a
10206         test failed.
10208 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10210         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10211         for rint.  Include results for all rounding modes.
10212         (nearbyint_test): Use ALL_RM_TEST.
10213         (rint_test_data): Include all tests used for nearbyint.
10215 2014-03-17  Will Newton  <will.newton@linaro.org>
10217         * nptl/sysdeps/pthread/pthread.h: Revert previous
10218         change.
10220         * sysdeps/generic/ldsodefs.h: Revert previous
10221         change.
10223         * libio/genops.c: Revert previous change.
10224         * libio/libioP.h: Likewise.
10225         * stdio-common/vfprintf.c: Likewise.
10227         * sysdeps/generic/math_private.h: Revert previous
10228         change.
10230         * sysdeps/generic/math_private.h: Check whether
10231         HAVE_RM_CTX is defined with #ifdef rather
10232         than #if.
10234         * argp/argp-fmtstream.h: Check whether
10235         __STRICT_ANSI__ is defined with #ifdef rather
10236         than #if.
10237         * argp/argp.h: Likewise.
10239         * libio/genops.c: Check whether
10240         _IO_JUMPS_OFFSET is defined with #ifdef rather
10241         than #if.
10242         * libio/libioP.h: Likewise.
10243         * stdio-common/vfprintf.c: Likewise.
10245         * sysdeps/generic/ldsodefs.h: Check whether
10246         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10247         than #if.
10249         * nptl/sysdeps/pthread/pthread.h: Check
10250         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10251         its value.
10253 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10255         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10256         setting O_APPEND.
10257         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10258         test case.
10260         [BZ #16680]
10261         * libio/fileops.c (_IO_file_open): Seek to end of file but
10262         don't cache the offset.
10263         (get_file_offset): Remove function.
10264         (do_ftell): Use cached offset when available.
10265         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10266         don't cache the offset.
10267         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10268         case.
10269         (do_one_test): Call it.
10270         (do_ftell_test): Fix up expected old offset for a+ mode.
10271         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10272         available.
10274         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10275         up test status with function return status.
10276         (do_write_test): Likewise.
10277         (do_append_test): Likewise.
10279         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10280         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10281         Remove.
10283 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10285         * math/gen-libm-test.pl (parse_args): Handle results specified for
10286         each rounding mode separately.
10287         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10288         tests and results from lrint_tonearest_test_data,
10289         lrint_towardzero_test_data, lrint_downward_test_data and
10290         lrint_upward_test_data.
10291         (lrint_test): Use ALL_RM_TEST.
10292         (lrint_tonearest_test_data): Remove.
10293         (lrint_test_tonearest): Likewise.
10294         (lrint_towardzero_test_data): Likewise.
10295         (lrint_test_towardzero): Likewise.
10296         (lrint_downward_test_data): Likewise.
10297         (lrint_test_downward): Likewise.
10298         (lrint_upward_test_data): Likewise.
10299         (lrint_test_upward): Likewise.
10300         (llrint_test_data): Merge in per-rounding-mode tests and results
10301         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10302         llrint_downward_test_data and llrint_upward_test_data.
10303         (llrint_test): Use ALL_RM_TEST.
10304         (llrint_tonearest_test_data): Remove.
10305         (llrint_test_tonearest): Likewise.
10306         (llrint_towardzero_test_data): Likewise.
10307         (llrint_test_towardzero): Likewise.
10308         (llrint_downward_test_data): Likewise.
10309         (llrint_test_downward): Likewise.
10310         (llrint_upward_test_data): Likewise.
10311         (llrint_test_upward): Likewise.
10312         (rint_test_data): Merge in per-rounding-mode tests and results
10313         from rint_tonearest_test_data, rint_towardzero_test_data,
10314         rint_downward_test_data and rint_upward_test_data.  Add
10315         per-rounding-mode results for tests not in those arrays.
10316         (rint_test): Use ALL_RM_TEST.
10317         (rint_tonearest_test_data): Remove.
10318         (rint_test_tonearest): Likewise.
10319         (rint_towardzero_test_data): Likewise.
10320         (rint_test_towardzero): Likewise.
10321         (rint_downward_test_data): Likewise.
10322         (rint_test_downward): Likewise.
10323         (rint_upward_test_data): Likewise.
10324         (rint_test_upward): Likewise.
10325         (main): Don't call removed functions.
10327 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10329         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10330         "Compiled on ..." crapola.  It is anti-useful.
10332 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10334         * scripts/evaluate-test.sh: Handle fourth argument to determine
10335         whether test run should stop on failure.
10336         * Makeconfig (stop-on-test-failure): New variable.
10337         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10338         $(stop-on-test-failure).
10339         * Makefile (tests): Give a summary of results from testing and
10340         exit with failure status if they include an ERROR or FAIL.
10341         (xtests): Likewise.
10342         * manual/install.texi (Configuring and compiling): Mention
10343         stop-on-test-failure=y.
10344         * INSTALL: Regenerated.
10346 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10348         * scripts/versionlist.awk: New file.
10349         * Makerules [$(build-shared) = yes]
10350         (postclean-generated): Add Versions.def, not Versions.def.v and
10351         Versions.def.v.i.
10352         ($(common-objpfx)Versions.def.v.i): Target removed.
10353         ($(common-objpfx)Versions.def): New target.
10354         ($(common-objpfx)Versions.all): Depend on that rather that
10355         $(common-objpfx)Versions.def.v.
10356         * Versions.def: File removed.
10358         * Makeconfig (+gccwarn): Add -Wundef.
10359         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10360         a dl-sysdep.h breaking its contract.
10361         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10362         * include/stackinfo.h: New file.
10363         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10364         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10365         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10366         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10367         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10368         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10369         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10370         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10371         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10372         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10373         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10374         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10375         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10376         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10377         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10379 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10381         [BZ #16707]
10382         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10383         implementation.
10384         * math/libm-test.inc (round_test_data): Add more tests.
10386         [BZ #16706]
10387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10388         implementation.
10389         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10391         [BZ #16701]
10392         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10393         implementation.
10394         * math/libm-test.inc (ceil_test_data): Add more tests.
10396         * math/libm-test.inc (trunc_test_data): Add more tests related to
10397         BZ#16414.
10399 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10401         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10402         with #if rather than #ifdef.
10403         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10405 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10407         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10408         first.  Disable AVX-512 GCC support if assembler doesn't support
10409         it.
10410         * sysdeps/x86_64/configure: Regenerated.
10412 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10414         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10415         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10416         (__old_pthread_attr_setstack): Likewise.
10417         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10418         [!_STACK_GROWS_DOWN]: Likewise.
10420 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10422         * config.make.in (have-bash2): Delete.
10423         * configure.ac (libc_cv_have_bash2): Delete.
10424         * configure: Regenerate.
10425         * elf/Makefile (common-ldd-rewrite): Rename to ...
10426         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10427         (sh-ldd-rewrite): Delete.
10428         (bash-ldd-rewrite): Delete.
10429         (have-bash2): Delete checks.
10430         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10431         ldd-rewrite.
10433         * config.make.in (have-ksh): Delete.
10434         (KSH): Delete.
10435         * configure.ac (libc_cv_have_ksh): Delete.
10436         * configure: Regenerate.
10438         * elf/Makefile: Delete $(have-ksh) check.
10439         ($(objpfx)sotruss): Change KSH to BASH.
10440         * elf/sotruss.ksh: Rename to ...
10441         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10442         function style to match POSIX.  Drop ksh vim mode setting.
10444         * manual/time.texi (Specifying the Time Zone with TZ): Change
10445         Tuesday to Thursday.
10447         * debug/tst-longjmp_chk2.c: Update header comment.
10448         (stackoverflow_handler): Add comment.  Call assert on pass value.
10450 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10452         [BZ #16194]
10453         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10454         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10455         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10456         (La_x86_64_vector): Add zmm.
10457         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10458         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10459         ($(objpfx)tst-audit10): New target.
10460         ($(objpfx)tst-audit10.out): Likewise.
10461         (tst-audit10-ENV): New.
10462         (AVX512-CFLAGS): Likewise.
10463         (CFLAGS-tst-audit10.c): Likewise.
10464         (CFLAGS-tst-auditmod10a.c): Likewise.
10465         (CFLAGS-tst-auditmod10b.c): Likewise.
10466         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10467         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10468         * sysdeps/x86_64/configure: Regenerated.
10469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10470         AVX-512 zmm register support.
10471         (_dl_x86_64_save_sse): Likewise.
10472         (_dl_x86_64_restore_sse): Likewise.
10473         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10474         size vector registers.
10475         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10476         (ZMM_SIZE): Likewise.
10477         * sysdeps/x86_64/tst-audit10.c: New file.
10478         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10479         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10481 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10483         * configure.ac (HAVE_EHDR_START): New check.
10484         * configure: Regenerated.
10485         * config.h.in (HAVE_EHDR_START): New #undef.
10486         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10487         assuming the lowest-addressed segment maps the start of the file.
10489 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10491         * INSTALL: Regenerated.
10493 2014-03-13  Will Newton  <will.newton@linaro.org>
10495         * manual/setjmp.texi (System V contexts): Improve
10496         clarity and grammar of documentation.
10498 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10500         [BZ #16381]
10501         * elf/Makefile (tests): Add tst-pie2.
10502         (tests-pie): Add tst-pie2.
10503         * elf/tst-pie2.c: New file.
10504         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10505         for ET_EXEC.
10506         * elf/rtld.c (map_doit): Load executable as lt_executable.
10507         (dl_main): Likewise.
10509 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10511         [BZ #16642]
10512         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10513         (__ASSUME_PSELECT): Undefine.
10515 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10517         [BZ #16689]
10518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10519         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10520         static build.
10521         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10522         selector for static builds.
10524 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10526         [BZ #16695]
10527         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10528         key in the buffer.
10530 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10532         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10533         IFUNC selector for static builds.
10535 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10537         * sysdeps/mips/math_private.h [__mips_hard_float]
10538         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10539         libc_feresetround_mips_ctx.
10540         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10541         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10542         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10544         [BZ #16677]
10545         * math/s_nextafter.c (__nextafter): Do not return value from
10546         overflowing computation.
10547         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10548         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10549         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10550         Likewise.
10551         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10552         Likewise.
10553         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10554         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10556 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10558         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10559         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10560         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10561         the new mov targetting sp.
10563 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10565         [BZ #16683]
10566         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10567         Define it for static builds as well.
10568         (NO_BZERO_IMPL): Likewise.
10570 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10572         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10573         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10574         multiarch strspn for PPC64.
10575         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10576         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10578         (__libc_ifunc_impl_list): Likewise.
10579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10580         multiarch optimizations
10581         * string/strspn.c (strspn): Using macro to redefine symbol name.
10583 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10584             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10586         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10587         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10588         multiarch strncat for PPC64.
10589         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10590         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10592         (__libc_ifunc_impl_list): Likewise.
10593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10594         multiarch optimizations
10596 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10598         [BZ #16639]
10599         * nscd/nscd.service: Make service type forking.
10601 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10603         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10604         sign in non default rounding modes.
10605         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10607 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10609         * math/libm-test.inc (ALL_RM_TEST): New macro.
10610         (ceil_test): Use ALL_RM_TEST.
10611         (cimag_test): Likewise.
10612         (conj_test): Likewise.
10613         (copysign_test): Likewise.
10614         (cproj_test): Likewise.
10615         (creal_test): Likewise.
10616         (fabs_test): Likewise.
10617         (floor_test): Likewise.
10618         (fmax_test): Likewise.
10619         (fmin_test): Likewise.
10620         (fmod_test): Likewise.
10621         (fpclassify_test): Likewise.
10622         (frexp_test): Likewise.
10623         (ilogb_test): Likewise.
10624         (isfinite_test): Likewise.
10625         (finite_test): Likewise.
10626         (isgreater_test): Likewise.
10627         (isgreaterequal_test): Likewise.
10628         (isinf_test): Likewise.
10629         (isless_test): Likewise.
10630         (islessequal_test): Likewise.
10631         (islessgreater_test): Likewise.
10632         (isnan_test): Likewise.
10633         (isnormal_test): Likewise.
10634         (issignaling_test): Likewise.
10635         (isunordered_test): Likewise.
10636         (logb_test): Likewise.
10637         (logb_downward_test_data): Remove.
10638         (logb_test_downward): Likewise.
10639         (lround_test): Use ALL_RM_TEST.
10640         (llround_test): Likewise.
10641         (modf_test): Likewise.
10642         (nexttoward_test): Likewise.
10643         (remainder_test): Likewise.
10644         (drem_test): Likewise.
10645         (remainder_tonearest_test_data): Likewise.
10646         (remainder_test_tonearest): Likewise.
10647         (drem_test_tonearest): Likewise.
10648         (remainder_towardzero_test_data): Likewise.
10649         (remainder_test_towardzero): Likewise.
10650         (drem_test_towardzero): Likewise.
10651         (remainder_downward_test_data): Likewise.
10652         (remainder_test_downward): Likewise.
10653         (drem_test_downward): Likewise.
10654         (remainder_upward_test_data): Likewise.
10655         (remainder_test_upward): Likewise.
10656         (drem_test_upward): Likewise.
10657         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10658         (round_test): Use ALL_RM_TEST.
10659         (signbit_test): Likewise.
10660         (trunc_test): Likewise.
10661         (significand_test): Likewise.
10662         (main): Don't call removed functions.
10664 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #16674]
10667         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10668         || __USE_XOPEN2K8].
10669         (ILL_ILLOPN): Likewise.
10670         (ILL_ILLADR): Likewise.
10671         (ILL_ILLTRP): Likewise.
10672         (ILL_PRVOPC): Likewise.
10673         (ILL_PRVREG): Likewise.
10674         (ILL_COPROC): Likewise.
10675         (ILL_BADSTK): Likewise.
10676         (FPE_INTDIV): Likewise.
10677         (FPE_INTOVF): Likewise.
10678         (FPE_FLTDIV): Likewise.
10679         (FPE_FLTOVF): Likewise.
10680         (FPE_FLTUND): Likewise.
10681         (FPE_FLTRES): Likewise.
10682         (FPE_FLTINV): Likewise.
10683         (FPE_FLTSUB): Likewise.
10684         (SEGV_MAPERR): Likewise.
10685         (SEGV_ACCERR): Likewise.
10686         (BUS_ADRALN): Likewise.
10687         (BUS_ADRERR): Likewise.
10688         (BUS_OBJERR): Likewise.
10689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10690         (TRAP_TRACE): Likewise.
10691         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10692         __USE_XOPEN2K8].
10693         (CLD_KILLED): Likewise.
10694         (CLD_DUMPED): Likewise.
10695         (CLD_TRAPPED): Likewise.
10696         (CLD_STOPPED): Likewise.
10697         (CLD_CONTINUED): Likewise.
10698         (POLL_IN): Likewise.
10699         (POLL_OUT): Likewise.
10700         (POLL_MSG): Likewise.
10701         (POLL_ERR): Likewise.
10702         (POLL_PRI): Likewise.
10703         (POLL_HUP): Likewise.
10704         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10705         Likewise.
10706         (ILL_ILLOPN): Likewise.
10707         (ILL_ILLADR): Likewise.
10708         (ILL_ILLTRP): Likewise.
10709         (ILL_PRVOPC): Likewise.
10710         (ILL_PRVREG): Likewise.
10711         (ILL_COPROC): Likewise.
10712         (ILL_BADSTK): Likewise.
10713         (FPE_INTDIV): Likewise.
10714         (FPE_INTOVF): Likewise.
10715         (FPE_FLTDIV): Likewise.
10716         (FPE_FLTOVF): Likewise.
10717         (FPE_FLTUND): Likewise.
10718         (FPE_FLTRES): Likewise.
10719         (FPE_FLTINV): Likewise.
10720         (FPE_FLTSUB): Likewise.
10721         (SEGV_MAPERR): Likewise.
10722         (SEGV_ACCERR): Likewise.
10723         (BUS_ADRALN): Likewise.
10724         (BUS_ADRERR): Likewise.
10725         (BUS_OBJERR): Likewise.
10726         (BUS_MCEERR_AR): Likewise.
10727         (BUS_MCEERR_AO): Likewise.
10728         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10729         (TRAP_TRACE): Likewise.
10730         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10731         __USE_XOPEN2K8].
10732         (CLD_KILLED): Likewise.
10733         (CLD_DUMPED): Likewise.
10734         (CLD_TRAPPED): Likewise.
10735         (CLD_STOPPED): Likewise.
10736         (CLD_CONTINUED): Likewise.
10737         (POLL_IN): Likewise.
10738         (POLL_OUT): Likewise.
10739         (POLL_MSG): Likewise.
10740         (POLL_ERR): Likewise.
10741         (POLL_PRI): Likewise.
10742         (POLL_HUP): Likewise.
10743         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10744         (ILL_ILLOPN): Likewise.
10745         (ILL_ILLADR): Likewise.
10746         (ILL_ILLTRP): Likewise.
10747         (ILL_PRVOPC): Likewise.
10748         (ILL_PRVREG): Likewise.
10749         (ILL_COPROC): Likewise.
10750         (ILL_BADSTK): Likewise.
10751         (FPE_INTDIV): Likewise.
10752         (FPE_INTOVF): Likewise.
10753         (FPE_FLTDIV): Likewise.
10754         (FPE_FLTOVF): Likewise.
10755         (FPE_FLTUND): Likewise.
10756         (FPE_FLTRES): Likewise.
10757         (FPE_FLTINV): Likewise.
10758         (FPE_FLTSUB): Likewise.
10759         (SEGV_MAPERR): Likewise.
10760         (SEGV_ACCERR): Likewise.
10761         (BUS_ADRALN): Likewise.
10762         (BUS_ADRERR): Likewise.
10763         (BUS_OBJERR): Likewise.
10764         (BUS_MCEERR_AR): Likewise.
10765         (BUS_MCEERR_AO): Likewise.
10766         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10767         (TRAP_TRACE): Likewise.
10768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10769         __USE_XOPEN2K8].
10770         (CLD_KILLED): Likewise.
10771         (CLD_DUMPED): Likewise.
10772         (CLD_TRAPPED): Likewise.
10773         (CLD_STOPPED): Likewise.
10774         (CLD_CONTINUED): Likewise.
10775         (POLL_IN): Likewise.
10776         (POLL_OUT): Likewise.
10777         (POLL_MSG): Likewise.
10778         (POLL_ERR): Likewise.
10779         (POLL_PRI): Likewise.
10780         (POLL_HUP): Likewise.
10781         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10782         Likewise.
10783         (ILL_ILLOPN): Likewise.
10784         (ILL_ILLADR): Likewise.
10785         (ILL_ILLTRP): Likewise.
10786         (ILL_PRVOPC): Likewise.
10787         (ILL_PRVREG): Likewise.
10788         (ILL_COPROC): Likewise.
10789         (ILL_BADSTK): Likewise.
10790         (ILL_BADIADDR): Likewise.
10791         (ILL_BREAK): Likewise.
10792         (FPE_INTDIV): Likewise.
10793         (FPE_INTOVF): Likewise.
10794         (FPE_FLTDIV): Likewise.
10795         (FPE_FLTOVF): Likewise.
10796         (FPE_FLTUND): Likewise.
10797         (FPE_FLTRES): Likewise.
10798         (FPE_FLTINV): Likewise.
10799         (FPE_FLTSUB): Likewise.
10800         (FPE_DECOVF): Likewise.
10801         (FPE_DECDIV): Likewise.
10802         (FPE_DECERR): Likewise.
10803         (FPE_INVASC): Likewise.
10804         (FPE_INVDEC): Likewise.
10805         (SEGV_MAPERR): Likewise.
10806         (SEGV_ACCERR): Likewise.
10807         (SEGV_PSTKOVF): Likewise.
10808         (BUS_ADRALN): Likewise.
10809         (BUS_ADRERR): Likewise.
10810         (BUS_OBJERR): Likewise.
10811         (BUS_MCEERR_AR): Likewise.
10812         (BUS_MCEERR_AO): Likewise.
10813         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10814         (TRAP_TRACE): Likewise.
10815         (TRAP_BRANCH): Likewise.
10816         (TRAP_HWBKPT): Likewise.
10817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10818         __USE_XOPEN2K8].
10819         (CLD_KILLED): Likewise.
10820         (CLD_DUMPED): Likewise.
10821         (CLD_TRAPPED): Likewise.
10822         (CLD_STOPPED): Likewise.
10823         (CLD_CONTINUED): Likewise.
10824         (POLL_IN): Likewise.
10825         (POLL_OUT): Likewise.
10826         (POLL_MSG): Likewise.
10827         (POLL_ERR): Likewise.
10828         (POLL_PRI): Likewise.
10829         (POLL_HUP): Likewise.
10830         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10831         (ILL_ILLOPN): Likewise.
10832         (ILL_ILLADR): Likewise.
10833         (ILL_ILLTRP): Likewise.
10834         (ILL_PRVOPC): Likewise.
10835         (ILL_PRVREG): Likewise.
10836         (ILL_COPROC): Likewise.
10837         (ILL_BADSTK): Likewise.
10838         (FPE_INTDIV): Likewise.
10839         (FPE_INTOVF): Likewise.
10840         (FPE_FLTDIV): Likewise.
10841         (FPE_FLTOVF): Likewise.
10842         (FPE_FLTUND): Likewise.
10843         (FPE_FLTRES): Likewise.
10844         (FPE_FLTINV): Likewise.
10845         (FPE_FLTSUB): Likewise.
10846         (SEGV_MAPERR): Likewise.
10847         (SEGV_ACCERR): Likewise.
10848         (BUS_ADRALN): Likewise.
10849         (BUS_ADRERR): Likewise.
10850         (BUS_OBJERR): Likewise.
10851         (BUS_MCEERR_AR): Likewise.
10852         (BUS_MCEERR_AO): Likewise.
10853         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10854         (TRAP_TRACE): Likewise.
10855         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10856         __USE_XOPEN2K8].
10857         (CLD_KILLED): Likewise.
10858         (CLD_DUMPED): Likewise.
10859         (CLD_TRAPPED): Likewise.
10860         (CLD_STOPPED): Likewise.
10861         (CLD_CONTINUED): Likewise.
10862         (POLL_IN): Likewise.
10863         (POLL_OUT): Likewise.
10864         (POLL_MSG): Likewise.
10865         (POLL_ERR): Likewise.
10866         (POLL_PRI): Likewise.
10867         (POLL_HUP): Likewise.
10868         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10869         (ILL_ILLOPN): Likewise.
10870         (ILL_ILLADR): Likewise.
10871         (ILL_ILLTRP): Likewise.
10872         (ILL_PRVOPC): Likewise.
10873         (ILL_PRVREG): Likewise.
10874         (ILL_COPROC): Likewise.
10875         (ILL_BADSTK): Likewise.
10876         (FPE_INTDIV): Likewise.
10877         (FPE_INTOVF): Likewise.
10878         (FPE_FLTDIV): Likewise.
10879         (FPE_FLTOVF): Likewise.
10880         (FPE_FLTUND): Likewise.
10881         (FPE_FLTRES): Likewise.
10882         (FPE_FLTINV): Likewise.
10883         (FPE_FLTSUB): Likewise.
10884         (SEGV_MAPERR): Likewise.
10885         (SEGV_ACCERR): Likewise.
10886         (BUS_ADRALN): Likewise.
10887         (BUS_ADRERR): Likewise.
10888         (BUS_OBJERR): Likewise.
10889         (BUS_MCEERR_AR): Likewise.
10890         (BUS_MCEERR_AO): Likewise.
10891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10892         (TRAP_TRACE): Likewise.
10893         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10894         __USE_XOPEN2K8].
10895         (CLD_KILLED): Likewise.
10896         (CLD_DUMPED): Likewise.
10897         (CLD_TRAPPED): Likewise.
10898         (CLD_STOPPED): Likewise.
10899         (CLD_CONTINUED): Likewise.
10900         (POLL_IN): Likewise.
10901         (POLL_OUT): Likewise.
10902         (POLL_MSG): Likewise.
10903         (POLL_ERR): Likewise.
10904         (POLL_PRI): Likewise.
10905         (POLL_HUP): Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10907         (ILL_ILLOPN): Likewise.
10908         (ILL_ILLADR): Likewise.
10909         (ILL_ILLTRP): Likewise.
10910         (ILL_PRVOPC): Likewise.
10911         (ILL_PRVREG): Likewise.
10912         (ILL_COPROC): Likewise.
10913         (ILL_BADSTK): Likewise.
10914         (FPE_INTDIV): Likewise.
10915         (FPE_INTOVF): Likewise.
10916         (FPE_FLTDIV): Likewise.
10917         (FPE_FLTOVF): Likewise.
10918         (FPE_FLTUND): Likewise.
10919         (FPE_FLTRES): Likewise.
10920         (FPE_FLTINV): Likewise.
10921         (FPE_FLTSUB): Likewise.
10922         (SEGV_MAPERR): Likewise.
10923         (SEGV_ACCERR): Likewise.
10924         (BUS_ADRALN): Likewise.
10925         (BUS_ADRERR): Likewise.
10926         (BUS_OBJERR): Likewise.
10927         (BUS_MCEERR_AR): Likewise.
10928         (BUS_MCEERR_AO): Likewise.
10929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10930         (TRAP_TRACE): Likewise.
10931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10932         __USE_XOPEN2K8].
10933         (CLD_KILLED): Likewise.
10934         (CLD_DUMPED): Likewise.
10935         (CLD_TRAPPED): Likewise.
10936         (CLD_STOPPED): Likewise.
10937         (CLD_CONTINUED): Likewise.
10938         (POLL_IN): Likewise.
10939         (POLL_OUT): Likewise.
10940         (POLL_MSG): Likewise.
10941         (POLL_ERR): Likewise.
10942         (POLL_PRI): Likewise.
10943         (POLL_HUP): Likewise.
10944         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10945         (ILL_ILLOPN): Likewise.
10946         (ILL_ILLADR): Likewise.
10947         (ILL_ILLTRP): Likewise.
10948         (ILL_PRVOPC): Likewise.
10949         (ILL_PRVREG): Likewise.
10950         (ILL_COPROC): Likewise.
10951         (ILL_BADSTK): Likewise.
10952         (ILL_DBLFLT): Likewise.
10953         (ILL_HARDWALL): Likewise.
10954         (FPE_INTDIV): Likewise.
10955         (FPE_INTOVF): Likewise.
10956         (FPE_FLTDIV): Likewise.
10957         (FPE_FLTOVF): Likewise.
10958         (FPE_FLTUND): Likewise.
10959         (FPE_FLTRES): Likewise.
10960         (FPE_FLTINV): Likewise.
10961         (FPE_FLTSUB): Likewise.
10962         (SEGV_MAPERR): Likewise.
10963         (SEGV_ACCERR): Likewise.
10964         (BUS_ADRALN): Likewise.
10965         (BUS_ADRERR): Likewise.
10966         (BUS_OBJERR): Likewise.
10967         (BUS_MCEERR_AR): Likewise.
10968         (BUS_MCEERR_AO): Likewise.
10969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10970         (TRAP_TRACE): Likewise.
10971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10972         __USE_XOPEN2K8].
10973         (CLD_KILLED): Likewise.
10974         (CLD_DUMPED): Likewise.
10975         (CLD_TRAPPED): Likewise.
10976         (CLD_STOPPED): Likewise.
10977         (CLD_CONTINUED): Likewise.
10978         (POLL_IN): Likewise.
10979         (POLL_OUT): Likewise.
10980         (POLL_MSG): Likewise.
10981         (POLL_ERR): Likewise.
10982         (POLL_PRI): Likewise.
10983         (POLL_HUP): Likewise.
10984         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10985         (ILL_ILLOPN): Likewise.
10986         (ILL_ILLADR): Likewise.
10987         (ILL_ILLTRP): Likewise.
10988         (ILL_PRVOPC): Likewise.
10989         (ILL_PRVREG): Likewise.
10990         (ILL_COPROC): Likewise.
10991         (ILL_BADSTK): Likewise.
10992         (FPE_INTDIV): Likewise.
10993         (FPE_INTOVF): Likewise.
10994         (FPE_FLTDIV): Likewise.
10995         (FPE_FLTOVF): Likewise.
10996         (FPE_FLTUND): Likewise.
10997         (FPE_FLTRES): Likewise.
10998         (FPE_FLTINV): Likewise.
10999         (FPE_FLTSUB): Likewise.
11000         (SEGV_MAPERR): Likewise.
11001         (SEGV_ACCERR): Likewise.
11002         (BUS_ADRALN): Likewise.
11003         (BUS_ADRERR): Likewise.
11004         (BUS_OBJERR): Likewise.
11005         (BUS_MCEERR_AR): Likewise.
11006         (BUS_MCEERR_AO): Likewise.
11007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11008         (TRAP_TRACE): Likewise.
11009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11010         __USE_XOPEN2K8].
11011         (CLD_KILLED): Likewise.
11012         (CLD_DUMPED): Likewise.
11013         (CLD_TRAPPED): Likewise.
11014         (CLD_STOPPED): Likewise.
11015         (CLD_CONTINUED): Likewise.
11016         (POLL_IN): Likewise.
11017         (POLL_OUT): Likewise.
11018         (POLL_MSG): Likewise.
11019         (POLL_ERR): Likewise.
11020         (POLL_PRI): Likewise.
11021         (POLL_HUP): Likewise.
11022         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11023         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11025         [BZ #16670]
11026         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11027         before #include of <time.h>.
11028         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11029         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11030         (test-xfail-UNIX98/sched.h/conform): Likewise.
11032 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11034         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11035         error absence of trapping exception support.
11036         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11038 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11040         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11041         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11042         * timezone/Makefile (testdata): Move definition above include of
11043         Rules.
11044         (test-zones): New variable.
11045         (tests-special): Add zone files.
11046         (build-testdata): Use $(evaluate-test).
11048         * elf/Makefile (tests-special): Rename tests to end with .out.
11049         ($(objpfx)noload-mem): Likewise.
11050         ($(objpfx)tst-leaks1-mem): Likewise.
11051         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11052         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11053         $(objpfx)test-iconvconfig.out.
11054         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11055         set -e inside subshell and redirect output to file.
11056         * iconvdata/Makefile (generated): Rename tests to end with .out.
11057         Correct type.
11058         (tests-special): Rename tests to end with .out.
11059         ($(objpfx)mtrace-tst-loading): Likewise.
11060         * intl/Makefile (generated): Likewise.
11061         (tests-special): Likewise.
11062         ($(objpfx)mtrace-tst-gettext): Likewise.
11063         * misc/Makefile (generated): Likewise.
11064         (tests-special): Likewise.
11065         ($(objpfx)tst-error1-mem): Likewise.
11066         * nptl/Makefile (tests-special): Likewise.
11067         ($(objpfx)tst-stack3-mem): Likewise.
11068         (generated): Likewise.
11069         * posix/Makefile (generated): Likewise.
11070         (tests-special): Likewise.
11071         (xtests-special): Likewise.
11072         ($(objpfx)tst-fnmatch-mem): Likewise.
11073         ($(objpfx)bug-regex2-mem): Likewise.
11074         ($(objpfx)bug-regex14-mem): Likewise.
11075         ($(objpfx)bug-regex21-mem): Likewise.
11076         ($(objpfx)bug-regex31-mem): Likewise.
11077         ($(objpfx)tst-vfork3-mem): Likewise.
11078         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11079         ($(objpfx)tst-pcre-mem): Likewise.
11080         ($(objpfx)tst-boost-mem): Likewise.
11081         ($(objpfx)bug-ga2-mem): Likewise.
11082         ($(objpfx)bug-glob2-mem): Likewise.
11083         * resolv/Makefile (generate): Likewise.
11084         (tests-special): Likewise.
11085         (xtests-special): Likewise.
11086         (generated): Likewise.
11087         ($(objpfx)mtrace-tst-leaks): Likewise.
11088         ($(objpfx)mtrace-tst-leaks2): Likewise.
11090         * scripts/merge-test-results.sh: New file.
11091         * Makefile (tests-special-notdir): New variable.
11092         (tests): Run merge-test-results.sh.
11093         (xtests): Likewise.
11094         * Rules (tests-special-notdir): New variable.
11095         (xtests-special-notdir): Likewise.
11096         (tests): Run merge-test-results.sh
11097         (xtests): Likewise.
11099         * Makeconfig (test-xfail-name): New variable.
11100         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11101         compute variable name for expected failures.
11102         * conform/Makefile (conformtest-headers-data): New variable.
11103         (conformtest-standards): Likewise.
11104         (conformtest-headers-ISO): Likewise.
11105         (conformtest-headers-ISO99): Likewise.
11106         (conformtest-headers-ISO11): Likewise.
11107         (conformtest-headers-POSIX): Likewise.
11108         (conformtest-headers-XPG3): Likewise.
11109         (conformtest-headers-XPG4): Likewise.
11110         (conformtest-headers-UNIX98): Likewise.
11111         (conformtest-headers-XOPEN2K): Likewise.
11112         (conformtest-headers-POSIX2008): Likewise.
11113         (conformtest-headers-XOPEN2K8): Likewise.
11114         (conformtest-header-list-base): Likewise.
11115         (conformtest-header-list-tests): Likewise.
11116         (conformtest-header-base): Likewise.
11117         (conformtest-header-tests): Likewise.
11118         (tests-special): Add $(conformtest-header-list-tests).  If
11119         [$(fast-check) && !$(cross-compiling)], add
11120         $(conformtest-header-tests) instead of
11121         $(objpfx)run-conformtest.out.
11122         (generated): Add $(conformtest-header-list-base).  If
11123         [$(fast-check) && !$(cross-compiling)], add
11124         $(conformtest-header-base).  Remove previous setting.
11125         ($(conformtest-header-list-tests)): New target.
11126         (test-xfail-run-conformtest): Remove variable.
11127         ($(objpfx)run-conformtest.out): Remove target.
11128         (test-xfail-ISO11/complex.h/conform): New variable.
11129         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11130         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11131         (test-xfail-XPG3/varargs.h/conform): Likewise.
11132         (test-xfail-XPG4/varargs.h/conform): Likewise.
11133         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11134         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11135         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11136         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11137         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11138         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11139         (test-xfail-XPG3/ftw.h/conform): Likewise.
11140         (test-xfail-XPG3/grp.h/conform): Likewise.
11141         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11142         (test-xfail-XPG3/limits.h/conform): Likewise.
11143         (test-xfail-XPG3/pwd.h/conform): Likewise.
11144         (test-xfail-XPG3/search.h/conform): Likewise.
11145         (test-xfail-XPG3/signal.h/conform): Likewise.
11146         (test-xfail-XPG3/stdio.h/conform): Likewise.
11147         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11148         (test-xfail-XPG3/string.h/conform): Likewise.
11149         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11150         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11151         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11152         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11153         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11154         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11155         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11156         (test-xfail-XPG3/termios.h/conform): Likewise.
11157         (test-xfail-XPG3/time.h/conform): Likewise.
11158         (test-xfail-XPG3/unistd.h/conform): Likewise.
11159         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11160         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11161         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11162         (test-xfail-XPG4/netdb.h/conform): Likewise.
11163         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11164         (test-xfail-XPG4/signal.h/conform): Likewise.
11165         (test-xfail-XPG4/stdio.h/conform): Likewise.
11166         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11167         (test-xfail-XPG4/stropts.h/conform): Likewise.
11168         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11169         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11170         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11171         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11172         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11173         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11174         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11175         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11176         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11177         (test-xfail-XPG4/termios.h/conform): Likewise.
11178         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11179         (test-xfail-XPG4/unistd.h/conform): Likewise.
11180         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11181         (test-xfail-POSIX/sched.h/conform): Likewise.
11182         (test-xfail-POSIX/signal.h/conform): Likewise.
11183         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11184         (test-xfail-POSIX/tar.h/conform): Likewise.
11185         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11186         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11187         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11188         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11189         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11190         (test-xfail-UNIX98/sched.h/conform): Likewise.
11191         (test-xfail-UNIX98/signal.h/conform): Likewise.
11192         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11193         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11194         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11195         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11196         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11197         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11198         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11199         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11200         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11201         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11202         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11203         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11204         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11205         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11206         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11207         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11208         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11209         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11210         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11211         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11212         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11213         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11214         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11215         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11216         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11217         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11218         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11219         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11220         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11221         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11222         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11223         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11224         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11225         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11226         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11227         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11228         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11229         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11230         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11231         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11232         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11233         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11234         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11235         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11236         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11237         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11238         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11239         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11240         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11241         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11242         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11243         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11244         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11245         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11246         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11247         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11248         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11249         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11250         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11251         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11252         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11253         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11254         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11255         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11256         (conformtest-cc-flags): Likewise.
11257         ($(conformtest-header-tests): New target.
11258         * conform/check-header-lists.sh: New file.
11259         * conform/run-conformtest.sh: Remove.
11261         * conform/conformtest.pl: Allow ' and \ in values given for
11262         constants.
11263         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11264         inclusion.
11265         [POSIX] (sys/types.h): Likewise.
11266         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11267         inclusion.
11268         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11269         inclusion.
11270         * conform/data/signal.h-data (SIGIO): Remove expectation.
11271         [XPG3] (SIGBUS): Do not expect.
11272         [POSIX || XPG3] (SIGPOLL): Likewise.
11273         [POSIX || XPG3] (SIGPROF): Likewise.
11274         [POSIX || XPG3] (SIGSYS): Likewise.
11275         [XPG3] (SIGTRAP): Likewise.
11276         [POSIX || XPG3] (SIGURG): Likewise.
11277         [POSIX || XPG3] (SIGVTALRM): Likewise.
11278         [POSIX || XPG3] (SIGXCPU): Likewise.
11279         [POSIX || XPG3] (SIGXFSZ): Likewise.
11280         [POSIX] (SA_SIGINFO): Expect.
11281         [XPG3] (siginfo_t): Do not expect type or contents.
11282         [POSIX] (si_pid): Do not expect element.
11283         [POSIX] (si_uid): Likewise.
11284         [POSIX] (si_addr): Likewise.
11285         [POSIX] (si_status): Likewise.
11286         [POSIX] (si_band): Likewise.
11287         [XPG4] (si_value): Likewise.
11288         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11289         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11290         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11291         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11292         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11293         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11294         [POSIX || XPG3] (ILL_COPROC): Likewise.
11295         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11296         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11297         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11298         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11299         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11300         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11301         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11302         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11303         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11304         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11305         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11306         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11307         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11308         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11309         [POSIX || XPG3] (CLD_EXITED): Likewise.
11310         [POSIX || XPG3] (CLD_KILLED): Likewise.
11311         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11312         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11313         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11314         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11315         [POSIX || XPG3] (POLL_IN): Likewise.
11316         [POSIX || XPG3] (POLL_OUT): Likewise.
11317         [POSIX || XPG3] (POLL_MSG): Likewise.
11318         [POSIX || XPG3] (POLL_ERR): Likewise.
11319         [POSIX || XPG3] (POLL_PRI): Likewise.
11320         [POSIX || XPG3] (POLL_HUP): Likewise.
11321         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11322         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11323         (SIG*): Do not allow.
11324         [XPG3] (si_*): Likewise.
11325         [XPG3] (SI_*): Likewise.
11326         [XPG3 || XPG4] (sigev_*): Likewise.
11327         [XPG3 || XPG4] (SIGEV_*): Likewise.
11328         [XPG3 || XPG4] (sival_*): Likewise.
11329         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11330         [POSIX || XPG3] (BUS_*): Likewise.
11331         [POSIX || XPG3] (CLD_*): Likewise.
11332         [POSIX || XPG3] (FPE_*): Likewise.
11333         [POSIX || XPG3] (ILL_*): Likewise.
11334         [POSIX || XPG3] (POLL_*): Likewise.
11335         [POSIX || XPG3] (SEGV_*): Likewise.
11336         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11337         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11338         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11339         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11340         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11341         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11342         Specify type and value.
11343         (TVERSLEN): Likewise.
11344         (REGTYPE): Likewise.
11345         (AREGTYPE): Likewise.
11346         (LNKTYPE): Likewise.
11347         (SYMTYPE): Likewise.
11348         (CHRTYPE): Likewise.
11349         (BLKTYPE): Likewise.
11350         (DIRTYPE): Likewise.
11351         (FIFOTYPE): Likewise.
11352         (CONTTYPE): Likewise.
11353         (TSUID): Likewise.
11354         (TSGID): Likewise.
11355         (TSVTX): Likewise.
11356         (TUREAD): Likewise.
11357         (TUWRITE): Likewise.
11358         (TUEXEC): Likewise.
11359         (TGREAD): Likewise.
11360         (TGWRITE): Likewise.
11361         (TGEXEC): Likewise.
11362         (TOREAD): Likewise.
11363         (TOWRITE): Likewise.
11364         (TOEXEC): Likewise.
11365         [POSIX] (TSVTX): Expect constant.
11367 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11369         * Makefile (tests): Change dependencies to ....
11370         (tests-special): ... additions to this variable.
11371         (tests): Depend on $(tests-special).
11372         * Makerules (check-abi-list): New variable.
11373         (check-abi): Depend on $(check-abi-list).
11374         [$(subdir) = elf] (tests-special): Add
11375         $(objpfx)check-abi-libc.out.
11376         [$(build-shared) = yes && subdir] (tests-special): Add
11377         $(check-abi-list).
11378         [$(build-shared) = yes && subdir] (tests): Do not depend on
11379         check-abi.
11380         * Rules (tests): Depend on $(tests-special).
11381         (xtests): Depend on $(xtests-special).
11382         * catgets/Makefile (tests): Change dependencies to ....
11383         (tests-special): ... additions to this variable.
11384         * conform/Makefile (tests): Change dependencies to ....
11385         (tests-special): ... additions to this variable.
11386         * elf/Makefile (tests): Change dependencies to ....
11387         (tests-special): ... additions to this variable.
11388         * grp/Makefile (tests): Change dependencies to ....
11389         (tests-special): ... additions to this variable.
11390         * iconv/Makefile (xtests): Change dependencies to ....
11391         (xtests-special): ... additions to this variable.
11392         * iconvdata/Makefile (tests): Change dependencies to ....
11393         (tests-special): ... additions to this variable.
11394         * intl/Makefile (tests): Change dependencies to ....
11395         (tests-special): ... additions to this variable.  Also add
11396         $(objpfx)tst-gettext.out.
11397         * io/Makefile (tests): Change dependencies to ....
11398         (tests-special): ... additions to this variable.
11399         * libio/Makefile (tests): Change dependencies to ....
11400         (tests-special): ... additions to this variable.
11401         * malloc/Makefile (tests): Change dependencies to ....
11402         (tests-special): ... additions to this variable.
11403         * misc/Makefile (tests): Change dependencies to ....
11404         (tests-special): ... additions to this variable.
11405         * nptl/Makefile (tests): Change dependencies to ....
11406         (tests-special): ... additions to this variable.
11407         * nptl_db/Makefile (tests): Change dependencies to ....
11408         (tests-special): ... additions to this variable.
11409         * posix/Makefile (tests): Change dependencies to ....
11410         (tests-special): ... additions to this variable.
11411         (xtests): Change dependencies to ....
11412         (xtests-special): ... additions to this variable.
11413         * resolv/Makefile (tests): Change dependencies to ....
11414         (tests-special): ... additions to this variable.
11415         (xtests): Change dependencies to ....
11416         (xtests-special): ... additions to this variable.
11417         * stdio-common/Makefile (tests): Change dependencies to ....
11418         (tests-special): ... additions to this variable.
11419         (do-tst-unbputc): Remove target.
11420         (do-tst-printf): Likewise.
11421         * stdlib/Makefile (tests): Change dependencies to ....
11422         (tests-special): ... additions to this variable.
11423         * string/Makefile (tests): Change dependencies to ....
11424         (tests-special): ... additions to this variable.
11425         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11426         (tests-special): ... additions to this variable.
11428         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11429         whole file.
11430         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11431         whole file.
11432         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11433         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11435         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11436         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11437         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11438         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11439         * conform/data/libgen.h-data [XPG3]: Likewise.
11440         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11441         * conform/data/ndbm.h-data [XPG3]: Likewise.
11442         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11443         * conform/data/netdb.h-data [XPG3]: Likewise.
11444         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11445         * conform/data/poll.h-data [XPG3]: Likewise.
11446         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11447         * conform/data/strings.h-data [XPG3]: Likewise.
11448         * conform/data/stropts.h-data [XPG3]: Likewise.
11449         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11450         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11451         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11452         Likewise.
11453         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11454         * conform/data/sys/time.h-data [XPG3]: Likewise.
11455         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11456         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11457         * conform/data/sys/un.h-data [XPG3]: Likewise.
11458         * conform/data/syslog.h-data [XPG3]: Likewise.
11459         * conform/data/ucontext.h-data [XPG3]: Likewise.
11460         * conform/data/utmpx.h-data [XPG3]: Likewise.
11461         * conform/data/varargs.h-data [UNIX98]: Enable file.
11463         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11465         * math/libm-test.inc (struct test_f_f_data): Move expected results
11466         into structure for each rounding mode.
11467         (struct test_ff_f_data): Likewise.
11468         (struct test_ff_f_data_nexttoward): Likewise.
11469         (struct test_fi_f_data): Likewise.
11470         (struct test_fl_f_data): Likewise.
11471         (struct test_if_f_data): Likewise.
11472         (struct test_fff_f_data): Likewise.
11473         (struct test_c_f_data): Likewise.
11474         (struct test_f_f1_data): Likewise.
11475         (struct test_fF_f1_data): Likewise.
11476         (struct test_ffI_f1_data): Likewise.
11477         (struct test_c_c_data): Likewise.
11478         (struct test_cc_c_data): Likewise.
11479         (struct test_f_i_data): Likewise.
11480         (struct test_ff_i_data): Likewise.
11481         (struct test_f_l_data): Likewise.
11482         (struct test_f_L_data): Likewise.
11483         (struct test_fFF_11_data): Likewise.
11484         (RM_): New macro.
11485         (RM_FE_DOWNWARD): Likewise.
11486         (RM_FE_TONEAREST): Likewise.
11487         (RM_FE_TOWARDZERO): Likewise.
11488         (RM_FE_UPWARD): Likewise.
11489         (RUN_TEST_LOOP_f_f): Update references to expected results.
11490         (RUN_TEST_LOOP_2_f): Likewise.
11491         (RUN_TEST_LOOP_fff_f): Likewise.
11492         (RUN_TEST_LOOP_c_f): Likewise.
11493         (RUN_TEST_LOOP_f_f1): Likewise.
11494         (RUN_TEST_LOOP_fF_f1): Likewise.
11495         (RUN_TEST_LOOP_fI_f1): Likewise.
11496         (RUN_TEST_LOOP_ffI_f1): Likewise.
11497         (RUN_TEST_LOOP_c_c): Likewise.
11498         (RUN_TEST_LOOP_cc_c): Likewise.
11499         (RUN_TEST_LOOP_f_i): Likewise.
11500         (RUN_TEST_LOOP_f_i_tg): Likewise.
11501         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11502         (RUN_TEST_LOOP_f_b): Likewise.
11503         (RUN_TEST_LOOP_f_b_tg): Likewise.
11504         (RUN_TEST_LOOP_f_l): Likewise.
11505         (RUN_TEST_LOOP_f_L): Likewise.
11506         (RUN_TEST_LOOP_fFF_11): Likewise.
11507         * math/gen-libm-test.pl (parse_args): Output four copies of
11508         expected results for each test.
11510         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11511         (__ASSUME_UTIMES): Remove.
11512         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11513         (__ASSUME_UTIMES): Likewise.
11515         * math/gen-auto-libm-tests.c: Update comment on output format.
11516         (output_for_one_input_case): Generate before-rounding and
11517         after-rounding information as conditions on output flags not
11518         floating-point format.
11519         * math/auto-libm-test-out: Regenerated.
11520         * math/gen-libm-test.pl (cond_value): New function.
11521         (or_cond_value): Use cond_value.
11522         (generate_testfile): Handle conditional exceptions.
11524 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11526         * math/libm-test.inc (max_valid_error): New variable.
11527         (init_max_error): Take new argument specifying whether function
11528         results are exactly determined.  Set max_valid_error and bound
11529         other variables for errors based on this argument.
11530         (set_max_error): Do not record results above max_valid_error.
11531         (check_float_internal): Only accept errors of up to 0.5ulps if
11532         also at most max_valid_error.
11533         (START): Take new argument EXACT and pass it to init_max_error.
11534         (acos_test): Update call to START.
11535         (acos_test_tonearest): Likewise.
11536         (acos_test_towardzero): Likewise.
11537         (acos_test_downward): Likewise.
11538         (acos_test_upward): Likewise.
11539         (acosh_test): Likewise.
11540         (asin_test): Likewise.
11541         (asin_test_tonearest): Likewise.
11542         (asin_test_towardzero): Likewise.
11543         (asin_test_downward): Likewise.
11544         (asin_test_upward): Likewise.
11545         (asinh_test): Likewise.
11546         (atan_test): Likewise.
11547         (atanh_test): Likewise.
11548         (atan2_test): Likewise.
11549         (cabs_test): Likewise.
11550         (cacos_test): Likewise.
11551         (cacosh_test): Likewise.
11552         (carg_test): Likewise.
11553         (casin_test): Likewise.
11554         (casinh_test): Likewise.
11555         (catan_test): Likewise.
11556         (catanh_test): Likewise.
11557         (cbrt_test): Likewise.
11558         (ccos_test): Likewise.
11559         (ccosh_test): Likewise.
11560         (ceil_test): Likewise.
11561         (cexp_test): Likewise.
11562         (cimag_test): Likewise.
11563         (clog_test): Likewise.
11564         (clog10_test): Likewise.
11565         (conj_test): Likewise.
11566         (copysign_test): Likewise.
11567         (cos_test): Likewise.
11568         (cos_test_tonearest): Likewise.
11569         (cos_test_towardzero): Likewise.
11570         (cos_test_downward): Likewise.
11571         (cos_test_upward): Likewise.
11572         (cosh_test): Likewise.
11573         (cosh_test_tonearest): Likewise.
11574         (cosh_test_towardzero): Likewise.
11575         (cosh_test_downward): Likewise.
11576         (cosh_test_upward): Likewise.
11577         (cpow_test): Likewise.
11578         (cproj_test): Likewise.
11579         (creal_test): Likewise.
11580         (csin_test): Likewise.
11581         (csinh_test): Likewise.
11582         (csqrt_test): Likewise.
11583         (ctan_test): Likewise.
11584         (ctan_test_tonearest): Likewise.
11585         (ctan_test_towardzero): Likewise.
11586         (ctan_test_downward): Likewise.
11587         (ctan_test_upward): Likewise.
11588         (ctanh_test): Likewise.
11589         (ctanh_test_tonearest): Likewise.
11590         (ctanh_test_towardzero): Likewise.
11591         (ctanh_test_downward): Likewise.
11592         (ctanh_test_upward): Likewise.
11593         (erf_test): Likewise.
11594         (erfc_test): Likewise.
11595         (exp_test): Likewise.
11596         (exp_test_tonearest): Likewise.
11597         (exp_test_towardzero): Likewise.
11598         (exp_test_downward): Likewise.
11599         (exp_test_upward): Likewise.
11600         (exp10_test): Likewise.
11601         (exp10_test_tonearest): Likewise.
11602         (exp10_test_towardzero): Likewise.
11603         (exp10_test_downward): Likewise.
11604         (exp10_test_upward): Likewise.
11605         (pow10_test): Likewise.
11606         (exp2_test): Likewise.
11607         (expm1_test): Likewise.
11608         (expm1_test_tonearest): Likewise.
11609         (expm1_test_towardzero): Likewise.
11610         (expm1_test_downward): Likewise.
11611         (expm1_test_upward): Likewise.
11612         (fabs_test): Likewise.
11613         (fdim_test): Likewise.
11614         (floor_test): Likewise.
11615         (fma_test): Likewise.
11616         (fma_test_towardzero): Likewise.
11617         (fma_test_downward): Likewise.
11618         (fma_test_upward): Likewise.
11619         (fmax_test): Likewise.
11620         (fmin_test): Likewise.
11621         (fmod_test): Likewise.
11622         (fpclassify_test): Likewise.
11623         (frexp_test): Likewise.
11624         (hypot_test): Likewise.
11625         (ilogb_test): Likewise.
11626         (isfinite_test): Likewise.
11627         (finite_test): Likewise.
11628         (isgreater_test): Likewise.
11629         (isgreaterequal_test): Likewise.
11630         (isinf_test): Likewise.
11631         (isless_test): Likewise.
11632         (islessequal_test): Likewise.
11633         (islessgreater_test): Likewise.
11634         (isnan_test): Likewise.
11635         (isnormal_test): Likewise.
11636         (issignaling_test): Likewise.
11637         (isunordered_test): Likewise.
11638         (j0_test): Likewise.
11639         (j1_test): Likewise.
11640         (jn_test): Likewise.
11641         (ldexp_test): Likewise.
11642         (lgamma_test): Likewise.
11643         (gamma_test): Likewise.
11644         (lrint_test): Likewise.
11645         (lrint_test_tonearest): Likewise.
11646         (lrint_test_towardzero): Likewise.
11647         (lrint_test_downward): Likewise.
11648         (lrint_test_upward): Likewise.
11649         (llrint_test): Likewise.
11650         (llrint_test_tonearest): Likewise.
11651         (llrint_test_towardzero): Likewise.
11652         (llrint_test_downward): Likewise.
11653         (llrint_test_upward): Likewise.
11654         (log_test): Likewise.
11655         (log10_test): Likewise.
11656         (log1p_test): Likewise.
11657         (log2_test): Likewise.
11658         (logb_test): Likewise.
11659         (logb_test_downward): Likewise.
11660         (lround_test): Likewise.
11661         (llround_test): Likewise.
11662         (modf_test): Likewise.
11663         (nearbyint_test): Likewise.
11664         (nextafter_test): Likewise.
11665         (nexttoward_test): Likewise.
11666         (pow_test): Likewise.
11667         (pow_test_tonearest): Likewise.
11668         (pow_test_towardzero): Likewise.
11669         (pow_test_downward): Likewise.
11670         (pow_test_upward): Likewise.
11671         (remainder_test): Likewise.
11672         (drem_test): Likewise.
11673         (remainder_test_tonearest): Likewise.
11674         (drem_test_tonearest): Likewise.
11675         (remainder_test_towardzero): Likewise.
11676         (drem_test_towardzero): Likewise.
11677         (remainder_test_downward): Likewise.
11678         (drem_test_downward): Likewise.
11679         (remainder_test_upward): Likewise.
11680         (drem_test_upward): Likewise.
11681         (remquo_test): Likewise.
11682         (rint_test): Likewise.
11683         (rint_test_tonearest): Likewise.
11684         (rint_test_towardzero): Likewise.
11685         (rint_test_downward): Likewise.
11686         (rint_test_upward): Likewise.
11687         (round_test): Likewise.
11688         (scalb_test): Likewise.
11689         (scalbn_test): Likewise.
11690         (scalbln_test): Likewise.
11691         (signbit_test): Likewise.
11692         (sin_test): Likewise.
11693         (sin_test_tonearest): Likewise.
11694         (sin_test_towardzero): Likewise.
11695         (sin_test_downward): Likewise.
11696         (sin_test_upward): Likewise.
11697         (sincos_test): Likewise.
11698         (sinh_test): Likewise.
11699         (sinh_test_tonearest): Likewise.
11700         (sinh_test_towardzero): Likewise.
11701         (sinh_test_downward): Likewise.
11702         (sinh_test_upward): Likewise.
11703         (sqrt_test): Likewise.
11704         (sqrt_test_tonearest): Likewise.
11705         (sqrt_test_towardzero): Likewise.
11706         (sqrt_test_downward): Likewise.
11707         (sqrt_test_upward): Likewise.
11708         (tan_test): Likewise.
11709         (tan_test_tonearest): Likewise.
11710         (tan_test_towardzero): Likewise.
11711         (tan_test_downward): Likewise.
11712         (tan_test_upward): Likewise.
11713         (tanh_test): Likewise.
11714         (tgamma_test): Likewise.
11715         (trunc_test): Likewise.
11716         (y0_test): Likewise.
11717         (y1_test): Likewise.
11718         (yn_test): Likewise.
11719         (significand_test): Likewise.
11721         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11722         individual tests in comment.
11723         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11724         (prev_max_error): New variable.
11725         (prev_real_max_error): Likewise.
11726         (prev_imag_max_error): Likewise.
11727         (compare_ulp_data): Don't refer to test names in comment.
11728         (find_test_ulps): Remove function.
11729         (find_function_ulps): Likewise.
11730         (find_complex_function_ulps): Likewise.
11731         (init_max_error): Take function name as argument.  Look up ulps
11732         for that function.
11733         (print_ulps): Remove function.
11734         (print_max_error): Use prev_max_error instead of calling
11735         find_function_ulps.
11736         (print_complex_max_error): Use prev_real_max_error and
11737         prev_imag_max_error instead of calling find_complex_function_ulps.
11738         (check_float_internal): Take max_ulp parameter instead of calling
11739         find_test_ulps.  Don't call print_ulps.
11740         (check_float): Update call to check_float_internal.
11741         (check_complex): Update calls to check_float_internal.
11742         (START): Pass argument to init_max_error.
11743         * math/gen-libm-test.pl (%results): Don't include "kind"
11744         information.
11745         (parse_ulps): Don't handle ulps of individual tests.
11746         (print_ulps_file): Likewise.
11747         (output_ulps): Likewise.
11748         * math/README.libm-test: Update.
11749         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11750         individual tests.
11751         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11752         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11753         * sysdeps/arm/libm-test-ulps: Likewise.
11754         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11755         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11756         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11757         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11758         * sysdeps/microblaze/libm-test-ulps: Likewise.
11759         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11760         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11761         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11762         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11763         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11764         * sysdeps/sh/libm-test-ulps: Likewise.
11765         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11766         * sysdeps/tile/libm-test-ulps: Likewise.
11767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11769 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11771         * math/libm-test.inc (print_complex_max_error): Check separately
11772         whether real and imaginary errors are within allowed range and
11773         pass 0 to print_complex_function_ulps instead of value within
11774         allowed range.
11776 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11778         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11779         formatting.
11780         (get_handles_fopen): Likewise.
11781         (do_write_test): Likewise.
11783         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11785         * libio/fileops.c (do_ftell): Use cached offset when
11786         available.
11787         * libio/iofwide.c (do_ftell_wide): Likewise.
11788         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11789         _IO_file_attach.
11790         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11792         [BZ #16532]
11793         * libio/libioP.h (get_file_offset): New function.
11794         * libio/fileops.c (get_file_offset): Likewise.
11795         (do_ftell): Likewise.
11796         (_IO_new_file_seekoff): Split out ftell logic.
11797         * libio/wfileops.c (do_ftell_wide): Likewise.
11798         (_IO_wfile_seekoff): Split out ftell logic.
11799         * libio/tst-ftell-active-handler.c: New test case.
11800         * libio/Makefile (tests): Add it.
11802 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11804         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11805         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11807 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11809         [BZ #16639]
11810         * nscd/connections.c (nscd_init): Call do_exit.
11811         (start_threads): Call do_exit and notify_parent.
11812         (begin_drop_privileges): Call do_exit.
11813         (finish_drop_privileges): Likewise.
11814         * nscd/selinux.c (preserve_capabilities): Likewise.
11815         (install_real_capabilities): Likewise.
11816         (nscd_selinux_enabled): Likewise.
11817         (avc_create_thread): Likewise.
11818         (avc_alloc_lock): Likewise.
11819         (nscd_avc_init): Likewise.
11820         * nscd/nscd.c (parent_fd): New static variable.
11821         (main): Create a pipe between parent and child processes.
11822         Skip closing parent_fd.
11823         (monitor_child): New function.
11824         (do_exit): Likewise.
11825         (notify_parent): Likewise.
11826         * nscd/nscd.h (notify_parent): Likewise.
11827         (do_exit): Likewise.
11829 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11831         * malloc/malloc.c (__libc_calloc): Revert last change.
11833 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11837 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11839         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11841         implementation.
11842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11843         (__libc_ifunc_impl_list): Likewise.
11844         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11845         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11846         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11847         * string/strrchr.c: Define STRRCHR.
11849 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11851         * benchtest/bench-strtok.c (simple_strtok): Delete.
11852         (strtok_string): Use as benchmark.
11853         * string/strtok (STRTOK): New macro.
11855 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11857         * manual/threads.texi: Add header and standard comments to all
11858         functions.
11860         * elf/dl-lookup.c (check_match): New function.
11861         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11862         (do_lookup_x): Remove nested function check_match. Use non-nested
11863         function check_match.
11865 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11867         * csu/Makefile (generated, before-compile): Use += rather than =.
11868         * catgets/Makefile (generated, generated-dirs): Likewise.
11869         * debug/Makefile (generated): Likewise.
11870         * dlfcn/Makefile (generated): Likewise.
11871         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11872         * iconvdata/Makefile (before-compile, generated): Likewise.
11873         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11874         * libio/Makefile (generated): Likewise.
11875         * malloc/Makefile (generated): Likewise.
11876         * manual/Makefile (generated, generated-dirs): Likewise.
11877         * misc/Makefile (generated): Likewise.
11878         * posix/Makefile (generated): Likewise.
11879         * resolv/Makefile (generated): Likewise.
11880         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11881         * timezone/Makefile (generated, generated-dirs): Likewise.
11883         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11885 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11888         power8 implementation.
11889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11890         file: POWER8 llround ifunc implementation.
11891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11892         (__lllround): Add POWER8 implementation.
11893         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11894         POWER8 llround implementation.
11896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11897         power8 implementation.
11898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11899         file: POWER8 llrint ifunc implementation.
11900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11901         Add POWER8 implementation.
11902         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11903         POWER8 llrint implementation.
11905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11906         power8 implementation.
11907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11908         file: POWER8 finite ifunc implementation.
11909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11910         Add POWER8 implementation.
11911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11912         Likewise.
11913         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11914         POWER8 finite implementation.
11915         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11918         power8 implementation.
11919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11920         file: POWER8 isinf ifunc implementation.
11921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11922         POWER8 implementation.
11923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11924         Likewise.
11925         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11926         isinf implementation.
11927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11929         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11930         (INIT_ARCH): Add hwcap2 initialization.
11931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11932         power8 implementation.
11933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11934         file: POWER8 isnan ifunc implementation.
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11936         POWER8 implementation.
11937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11938         Likewise.
11939         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11940         isnan implementation.
11941         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11943 2014-02-27  Joey Ye  <joey.ye@arm.com>
11945         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11946         (_FP_NANFRAC_Q): Set to zero.
11948 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11950         [BZ #16623]
11951         * math/auto-libm-test-in: New test inputs.
11952         * math/auto-libm-test-out: Regenerate.
11953         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11954         and DA.
11955         (__cos): Likewise.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11958 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11960         * scripts/evaluate-test.sh: Take new argument indicating whether
11961         failure is expected.
11962         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11963         indicating whether failure is expected.
11964         * conform/Makefile (test-xfail-run-conformtest): New variable.
11965         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11966         level.
11967         * posix/Makefile (test-xfail-annexc): New variable.
11968         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11970 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11972         * argp/Makefile: Include Makeconfig immediately after defining
11973         subdir.
11974         * assert/Makefile: Likewise.
11975         * benchtests/Makefile: Likewise.
11976         * catgets/Makefile: Likewise.
11977         * conform/Makefile: Likewise.
11978         * crypt/Makefile: Likewise.
11979         * csu/Makefile: Likewise.
11980         (all): Remove target.
11981         * ctype/Makefile: Include Makeconfig immediately after defining
11982         subdir.
11983         * debug/Makefile: Likewise.
11984         * dirent/Makefile: Likewise.
11985         * dlfcn/Makefile: Likewise.
11986         * gmon/Makefile: Likewise.
11987         * gnulib/Makefile: Likewise.
11988         * grp/Makefile: Likewise.
11989         * gshadow/Makefile: Likewise.
11990         * hesiod/Makefile: Likewise.
11991         * hurd/Makefile: Likewise.
11992         (all): Remove target.
11993         * iconvdata/Makefile: Include Makeconfig immediately after
11994         defining subdir.
11995         * inet/Makefile: Likewise.
11996         * intl/Makefile: Likewise.
11997         * io/Makefile: Likewise.
11998         * libio/Makefile: Likewise.
11999         (all): Remove target.
12000         * locale/Makefile: Include Makeconfig immediately after defining
12001         subdir.
12002         * login/Makefile: Likewise.
12003         * mach/Makefile: Likewise.
12004         (all): Remove target.
12005         * malloc/Makefile: Include Makeconfig immediately after defining
12006         subdir.
12007         (all): Remove target.
12008         * manual/Makefile: Include Makeconfig immediately after defining
12009         subdir.
12010         * math/Makefile: Likewise.
12011         * misc/Makefile: Likewise.
12012         * nis/Makefile: Likewise.
12013         * nss/Makefile: Likewise.
12014         * po/Makefile: Likewise.
12015         (all): Remove target.
12016         * posix/Makefile: Include Makeconfig immediately after defining
12017         subdir.
12018         * pwd/Makefile: Likewise.
12019         * resolv/Makefile: Likewise.
12020         * resource/Makefile: Likewise.
12021         * rt/Makefile: Likewise.
12022         * setjmp/Makefile: Likewise.
12023         * shadow/Makefile: Likewise.
12024         * signal/Makefile: Likewise.
12025         * socket/Makefile: Likewise.
12026         * soft-fp/Makefile: Likewise.
12027         * stdio-common/Makefile: Likewise.
12028         * stdlib/Makefile: Likewise.
12029         * streams/Makefile: Likewise.
12030         * string/Makefile: Likewise.
12031         * sunrpc/Makefile: Likewise.
12032         (all): Remove target.
12033         * sysvipc/Makefile: Include Makeconfig immediately after defining
12034         subdir.
12035         * termios/Makefile: Likewise.
12036         * time/Makefile: Likewise.
12037         * timezone/Makefile: Likewise.
12038         (all): Remove target.
12039         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12040         subdir.
12041         * wctype/Makefile: Likewise.
12043 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12045         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12046         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12047         (libc_feholdexcept_setround_mips): Ditto.
12048         (libc_feholdsetround): New.
12049         (libc_feholdsetroundf): New.
12050         (libc_feholdsetroundl): New.
12051         (libc_feupdateenv_test_mips): New.
12052         (libc_feupdateenv_test): New.
12053         (libc_feupdateenv_testf): New.
12054         (libc_feupdateenv_testl): New.
12055         (libc_feresetround): New.
12056         (libc_feresetroundf): New.
12057         (libc_feresetroundl): New.
12058         (libc_fetestexcept_mips): New.
12059         (libc_fetestexcept): New.
12060         (libc_fetestexceptf): New.
12061         (libc_fetestexceptl): New.
12062         (HAVE_RM_CTX): New.
12063         (libc_feholdexcept_setround_mips_ctx): New.
12064         (libc_feholdexcept_setround_ctx): New.
12065         (libc_feholdexcept_setroundf_ctx): New.
12066         (libc_feholdexcept_setroundl_ctx): New.
12067         (libc_fesetenv_mips_ctx): New.
12068         (libc_fesetenv_ctx): New.
12069         (libc_fesetenv_ctxf): New.
12070         (libc_fesetenv_ctxl): New.
12071         (libc_feupdateenv_mips_ctx): New.
12072         (libc_feupdateenv_ctx): New.
12073         (libc_feupdateenvf_ctx): New.
12074         (libc_feupdateenvl_ctx): New.
12075         (libc_feholdsetround_mips_ctx): New.
12076         (libc_feholdsetround_ctx): New.
12077         (libc_feholdsetroundf_ctx): New.
12078         (libc_feholdsetroundl_ctx): New.
12079         (libc_feresetround_mips_ctx): New.
12080         (libc_feresetround_ctx): New.
12081         (libc_feresetroundf_ctx): New.
12082         (libc_feresetroundl_ctx): New.
12084 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12086         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12088         * manual/ipc.texi: New file.
12089         * manual/Makefile (chapters): Add ipc.
12090         * manual/job.texi: Add "Inter-Process Communication" to next.
12091         * manual/process.texi: Add "Inter-Process Communication" to prev.
12093 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12097 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12099         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12101         * manual/arith.texi: Fix spaces after sentences.
12102         * manual/charset.texi: Likewise.
12103         * manual/errno.texi: Likewise.
12104         * manual/install.texi: Likewise.
12105         * manual/llio.texi: Likewise.
12106         * manual/locale.texi: Likewise.
12107         * manual/maint.texi: Likewise.
12108         * manual/math.texi: Likewise.
12109         * manual/memory.texi: Likewise.
12110         * manual/message.texi: Likewise.
12111         * manual/probes.texi: Likewise.
12112         * manual/resource.texi: Likewise.
12113         * manual/signal.texi: Likewise.
12114         * manual/socket.texi: Likewise.
12115         * manual/stdio.texi: Likewise.
12116         * manual/string.texi: Likewise.
12117         * manual/time.texi: Likewise.
12118         * manual/users.texi: Likewise.
12120 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12122         [BZ #16632]
12123         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12124         _DEFAULT_SOURCE is defined.
12126 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12127             Carlos O'Donell  <carlos@redhat.com>
12129         [BZ #16613]
12130         * elf/dl-tls.c (_dl_count_modids): New function.
12131         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12132         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12133         audit library and increment generation counter.
12134         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12135         * elf/tst-audit9.c: New file.
12136         * elf/tst-auditmod9a.c: New file.
12137         * elf/tst-auditmod9b.c: New file.
12138         * elf/Makefile: Add rules to build and run tst-audit9.
12140 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12142         [BZ #15347]
12143         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12145 2014-02-25  Will Newton  <will.newton@linaro.org>
12147         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12148         (__longjmp): Restore sp and lr before restoring callee
12149         saved registers.  Add longjmp and longjmp_target
12150         SystemTap probe point.
12151         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12152         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12153         Define to zero to match jmpbuf layout.
12154         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12155         (__sigsetjmp): Save sp and lr before saving callee
12156         saved registers.  Add setjmp SystemTap probe point.
12158 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12160         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12162 2014-02-24  Andreas Schwab  <schwab@suse.de>
12164         [BZ #15804]
12165         * elf/pldd.c (wait_for_ptrace_stop): New function.
12166         (main): Call it after attaching.
12168 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12170         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12171         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12172         Versions files is now verboten.
12173         * hurd/Versions (libc: GLIBC_2.0):
12174         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12175         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12176         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12177         * mach/Versions: Likewise.
12179         * csu/Versions: Remove unused %include.
12180         * resolv/Versions: Likewise.
12182 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12184         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12185         ($(objpfx)check-local-headers.out): Likewise.
12186         ($(objpfx)begin-end-check.out): Likewise.
12187         * Makerules (check-abi-%.out): Likewise.
12188         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12189         ($(objpfx)test2.cat): Likewise.
12190         ($(objpfx)de/libc.cat): Likewise.
12191         ($(objpfx)test-gencat.out): Likewise.
12192         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12193         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12194         ($(objpfx)noload-mem): Likewise.
12195         ($(objpfx)tst-pathopt.out): Likewise.
12196         ($(objpfx)tst-rtld-load-self.out): Likewise.
12197         ($(objpfx)tst-array1-cmp.out): Likewise.
12198         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12199         ($(objpfx)tst-array2-cmp.out): Likewise.
12200         ($(objpfx)tst-array3-cmp.out): Likewise.
12201         ($(objpfx)tst-array4-cmp.out): Likewise.
12202         ($(objpfx)tst-array5-cmp.out): Likewise.
12203         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12204         ($(objpfx)check-textrel.out): Likewise.
12205         ($(objpfx)check-execstack.out): Likewise.
12206         ($(objpfx)check-localplt.out): Likewise.
12207         ($(objpfx)order2-cmp.out): Likewise.
12208         ($(objpfx)tst-leaks1-mem): Likewise.
12209         ($(objpfx)tst-leaks1-static-mem): Likewise.
12210         ($(objpfx)tst-initorder-cmp.out): Likewise.
12211         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12212         ($(objpfx)tst-unused-dep.out): Likewise.
12213         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12214         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12215         * iconv/Makefile (test-iconvconfig): Likewise.
12216         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12217         ($(objpfx)iconv-test.out): Likewise.
12218         ($(objpfx)tst-tables.out): Likewise.
12219         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12220         ($(objpfx)tst-gettext.out): Likewise.
12221         ($(objpfx)tst-translit.out): Likewise.
12222         ($(objpfx)tst-gettext2.out): Likewise.
12223         ($(objpfx)tst-gettext4.out): Likewise.
12224         ($(objpfx)tst-gettext6.out): Likewise.
12225         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12226         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12227         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12228         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12229         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12230         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12231         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12232         ($(objpfx)wordexp-tst.out): Likewise.
12233         ($(objpfx)annexc.out): Likewise.
12234         ($(objpfx)tst-fnmatch-mem): Likewise.
12235         ($(objpfx)bug-regex2-mem): Likewise.
12236         ($(objpfx)bug-regex14-mem): Likewise.
12237         ($(objpfx)bug-regex21-mem): Likewise.
12238         ($(objpfx)bug-regex31-mem): Likewise.
12239         ($(objpfx)tst-vfork3-mem): Likewise.
12240         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12241         ($(objpfx)tst-pcre-mem): Likewise.
12242         ($(objpfx)tst-boost-mem): Likewise.
12243         ($(objpfx)tst-getconf.out): Likewise.
12244         ($(objpfx)bug-ga2-mem): Likewise.
12245         ($(objpfx)bug-glob2-mem): Likewise.
12246         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12247         ($(objpfx)mtrace-tst-leaks2): Likewise.
12248         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12249         ($(objpfx)tst-printf.out): Likewise.
12250         ($(objpfx)tst-setvbuf1.out): Likewise.
12251         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12252         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12253         ($(objpfx)tst-fmtmsg.out): Likewise.
12254         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12255         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12257         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12258         * bits/sigaction.h [__USE_MISC]: Likewise.
12259         * bits/waitstatus.h: Update #endif comments.
12260         * ctype/ctype.h: Likewise.
12261         * dirent/dirent.h: Likewise.
12262         [__USE_MISC]: Remove redundant conditionals.
12263         * grp/grp.h: Update #endif comments.
12264         [__USE_GNU]: Remove redundant conditionals.
12265         [__USE_MISC]: Likewise.
12266         * inet/netinet/in.h [__USE_GNU]: Likewise.
12267         * io/sys/stat.h [__USE_MISC]: Likewise.
12268         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12269         * libio/bits/stdio.h: Update #endif comments.
12270         [__USE_MISC]: Remove redundant conditionals.
12271         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12272         * libio/stdio.h: Update #endif comments.
12273         [__USE_MISC]: Remove redundant conditionals.
12274         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12275         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12276         * math/math.h: Update #else and #endif comments.
12277         [__USE_MISC]: Remove redundant conditionals.
12278         * misc/sys/uio.h: Update #endif comments.
12279         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12280         * posix/glob.h [__USE_MISC]: Likewise.
12281         * posix/sys/types.h: Update #endif comments.
12282         [__USE_MISC]: Remove redundant conditionals.
12283         * posix/sys/wait.h: Update #endif comments.
12284         [__USE_MISC]: Remove redundant conditionals.
12285         * posix/unistd.h: Update #endif comments.
12286         [__USE_MISC]: Remove redundant conditionals.
12287         * pwd/pwd.h [__USE_GNU]: Likewise.
12288         [__USE_MISC]: Likewise.
12289         * resolv/netdb.h [__USE_GNU]: Likewise.
12290         * signal/signal.h: Update #endif comments.
12291         [__USE_MISC]: Remove redundant conditionals.
12292         * stdlib/stdlib.h: Update #else and #endif comments.
12293         [__USE_MISC]: Remove redundant conditionals.
12294         [__USE_GNU]: Likewise.
12295         * string/bits/string2.h [__USE_MISC]: Likewise.
12296         * string/string.h: Update #endif comments.
12297         [__USE_MISC]: Remove redundant conditionals.
12298         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12299         Likewise.
12300         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12301         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12302         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12307         comments.
12308         [__USE_MISC]: Remove redundant conditionals.
12309         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12310         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12311         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12312         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12313         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12316         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12317         Likewise.
12318         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12319         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12320         Likewise.
12321         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12322         Likewise.
12323         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12324         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12329         * sysdeps/x86/bits/string.h: Update #endif comments.
12330         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12331         conditionals.
12332         * time/sys/time.h: Update #endif comments.
12333         * time/time.h: Likewise.
12334         [__USE_MISC]: Remove redundant conditionals.
12336 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12338         [BZ #16600]
12339         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12341 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12343         * Versions.def (librt): Add GLIBC_2.17.
12345 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12347         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12348         synonym for _SYS_AUXV_H to allow direct inclusion.
12349         * sysdeps/sparc/bits/hwcap.h: Likewise.
12350         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12351         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12352         * sysdeps/sparc/sysdep.h: Likewise.
12354 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12356         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12358 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12360         * benchtests/bench-strrchr.c: Print length instead of position.
12362 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12364         [BZ #16611]
12365         * sysdeps/unix/sysv/linux/kernel-features.h
12366         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12367         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12368         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12369         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12370         Likewise.
12371         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12372         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12373         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12374         (__ASSUME_SENDMMSG): Define instead of using previous
12375         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12376         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12377         (__ASSUME_SENDMMSG_SYSCALL): Define.
12378         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12379         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12380         Likewise.
12381         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12382         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12383         Likewise.
12384         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12385         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12386         Likewise.
12387         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12388         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12389         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12390         [__ASSUME_SENDMMSG]: Change conditionals to
12391         [__ASSUME_SENDMMSG_SOCKETCALL].
12392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12393         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12394         Define.
12395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12396         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12397         Likewise.
12398         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12399         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12400         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12401         [!__ASSUME_SENDMMSG]: Change conditional to
12402         [!__ASSUME_SENDMMSG_SOCKETCALL].
12403         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12404         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12405         Define.
12407         [BZ #16610]
12408         * sysdeps/unix/sysv/linux/kernel-features.h
12409         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12410         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12411         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12412         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12413         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12414         [__i386__ || __sparc__]
12415         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12416         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12417         (__ASSUME_RECVMMSG): Define instead of using previous
12418         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12419         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12420         (__ASSUME_RECVMMSG_SYSCALL): Define.
12421         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12423         Likewise.
12424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12426         Likewise.
12427         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12429         Likewise.
12430         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12431         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12432         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12433         [__ASSUME_RECVMMSG]: Change condition to
12434         [__ASSUME_RECVMMSG_SOCKETCALL].
12435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12436         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12437         Define.
12438         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12440         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12441         Likewise.
12442         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12443         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12444         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12445         [!__ASSUME_RECVMMSG]: Change condition to
12446         [!__ASSUME_RECVMMSG_SOCKETCALL].
12447         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12448         (__ASSUME_RECVMMSG_SYSCALL): Define.
12450         [BZ #16609]
12451         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12452         __powerpc__ || __s390__ || __sh__ || __sparc__]
12453         (__ASSUME_SOCKETCALL): Define.
12454         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12455         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12456         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12457         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12458         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12459         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12460         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12461         (__ASSUME_ACCEPT4): Define instead of using previous
12462         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12463         __powerpc__ || __sparc__ || __s390__)] condition.
12464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12465         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12466         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12467         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12468         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12469         [!__ASSUME_ACCEPT4]: Change condition to
12470         [!__ASSUME_ACCEPT4_SOCKETCALL].
12471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12472         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12473         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12474         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12475         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12476         __ASSUME_ACCEPT4_SYSCALL.
12477         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12478         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12479         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12480         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12481         __ASSUME_ACCEPT4_SYSCALL.
12482         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12483         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12484         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12485         [__ASSUME_ACCEPT4]: Change condition to
12486         [__ASSUME_ACCEPT4_SOCKETCALL].
12487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12488         (__ASSUME_SOCKETCALL): Define.
12489         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12490         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12491         (__ASSUME_SOCKETCALL): Define.
12492         (__ASSUME_ACCEPT4): Remove.
12493         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12494         Define.
12495         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12496         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12497         Likewise.
12498         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12499         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12501         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12502         macro.
12503         (HWCAP_ARM_LPAE): Likewise.
12504         (HWCAP_ARM_EVTSTRM): Likewise.
12505         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12506         Add vpfd32, lpae and evtstrm.
12507         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12508         Increase to 22.
12510 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12512         * math/auto-libm-test-in: Add tests of clog10.
12513         * math/auto-libm-test-out: Regenerated.
12514         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12515         * sysdeps/i386/fpu/libm-test-ulps: Update.
12516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518 2014-02-18  Andreas Schwab  <schwab@suse.de>
12520         [BZ #16574]
12521         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12522         Store non-zero if the second buffer was newly allocated.
12523         (send_dg): Likewise.
12524         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12525         to send_vc and send_dg.
12526         (res_nsend): Pass NULL for ansp2_malloced.
12527         * resolv/res_query.c (__libc_res_nquery): Add parameter
12528         answerp2_malloced and pass it down to __libc_res_nsend.
12529         (res_nquery): Pass additional NULL to __libc_res_nquery.
12530         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12531         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12532         second answer buffer if answerp2_malloced was set.
12533         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12534         (__libc_res_nquerydomain): Add parameter
12535         answerp2_malloced and pass it down to __libc_res_nquery.
12536         (res_nquerydomain): Pass additional NULL to
12537         __libc_res_nquerydomain.
12538         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12539         additional NULL to __libc_res_nsend and __libc_res_nquery.
12540         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12541         additional NULL to __libc_res_nsearch.
12542         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12543         parameter of __libc_res_nsearch to check for separately allocated
12544         second buffer.
12545         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12546         __libc_res_nquery.
12547         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12548         additional NULL to __libc_res_nquery.
12549         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12550         __libc_res_nsearch.
12551         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12552         * include/resolv.h: Update prototypes of __libc_res_nquery,
12553         __libc_res_nsearch, __libc_res_nsend.
12555 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12557         * math/auto-libm-test-in: Add tests of fma.
12558         * math/auto-libm-test-out: Regenerated.
12559         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12560         (fma_towardzero_test_data): Likewise.
12561         (fma_downward_test_data): Likewise.
12562         (fma_upward_test_data): Likewise.
12563         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12564         mpc_mode.
12565         (rounding_modes): Add values for new field.
12566         (func_calc_method): Add value mpfr_fff_f.
12567         (func_calc_desc): Add mpfr_fff_f union field.
12568         (test_function): Add field exact_args.
12569         (FUNC): Add macro argument EXACT_ARGS.
12570         (FUNC_mpfr_f_f): Update call to FUNC.
12571         (FUNC_mpfr_f_f): Likewise.
12572         (FUNC_mpfr_ff_f): Likewise.
12573         (FUNC_mpfr_if_f): Likewise.
12574         (FUNC_mpc_c_f): Likewise.
12575         (FUNC_mpc_c_c): Likewise.
12576         (test_functions): Add fma.  Update calls to FUNC.
12577         (handle_input_arg): Add argument exact_args.
12578         (add_test): Update call to handle_input_arg.
12579         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12580         (output_for_one_input_case): Update call to calc_generic_results.
12581         Recalculate exact zero results in each rounding mode.
12583         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12584         non-negative before setting low bit.
12585         * math/auto-libm-test-in: Mark one asin test possibly having
12586         spurious underflow.
12587         * math/auto-libm-test-out: Regenerated.
12588         * sysdeps/i386/fpu/libm-test-ulps: Update.
12589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12591 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12593         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12594         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12595         ports/sysdeps/unix/sysv/linux/microblaze.
12596         * README: Add missing listing for microblaze*-*-linux-gnu.
12598 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12600         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12601         duplicate code
12603 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12605         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12606         * sysdeps/unix/sysv/linux/ia64: Move directory from
12607         ports/sysdeps/unix/sysv/linux/ia64.
12608         * README: Update listing for ia64-*-linux-gnu.
12610 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12611             Joseph Myers  <joseph@codesourcery.com>
12613         * Makeconfig (test-name): New variable.
12614         (evaluate-test): Likewise.
12615         * Makerules (do-test-clean): Remove .test-result files.
12616         (common-mostlyclean): Likewise.
12617         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12618         * scripts/evaluate-test.sh: New file.
12620 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12622         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12623         separate $(objpfx)tst-fopenloc-cmp.out and
12624         $(objpfx)tst-fopenloc-mem.out targets.
12625         (tests): Update dependencies.
12626         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12627         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12628         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12629         (tst-rxspencer-no-utf8-ARGS): New variable.
12630         (tst-rxspencer-no-utf8-ENV): Likewise.
12631         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12632         instead of $(objpfx)tst-rxspencer-mem.
12633         ($(objpfx)tst-rxspencer-mem): Change target to
12634         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12635         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12636         * posix/tst-rxspencer-no-utf8.c: New file.
12638         * elf/Makefile ($(objpfx)order.out): Remove rule.
12639         [$(run-built-tests) = yes] (tests): Depend on
12640         $(objpfx)order-cmp.out.
12641         ($(objpfx)order-cmp.out): New rule.
12642         [$(run-built-tests) = yes] (tests): Depend on
12643         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12644         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12645         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12646         $(objpfx)tst-array5-static-cmp.out.
12647         ($(objpfx)tst-array1.out): Remove rule.
12648         ($(objpfx)tst-array1-cmp.out): New rule.
12649         ($(objpfx)tst-array1-static.out): Remove rule.
12650         ($(objpfx)tst-array1-static-cmp.out): New rule.
12651         ($(objpfx)tst-array2.out): Remove rule.
12652         ($(objpfx)tst-array2-cmp.out): New rule.
12653         ($(objpfx)tst-array3.out): Remove rule.
12654         ($(objpfx)tst-array3-cmp.out): New rule.
12655         ($(objpfx)tst-array4.out): Remove rule.
12656         ($(objpfx)tst-array4-cmp.out): New rule.
12657         ($(objpfx)tst-array5.out): Remove rule.
12658         ($(objpfx)tst-array5-cmp.out): New rule.
12659         ($(objpfx)tst-array5-static.out): Remove rule.
12660         ($(objpfx)tst-array5-static-cmp.out): New rule.
12661         [$(run-built-tests) = yes] (tests): Depend on
12662         $(objpfx)order2-cmp.out.
12663         ($(objpfx)order2.out): Remove rule.
12664         ($(objpfx)order2-cmp.out): New rule.
12665         ($(objpfx)tst-initorder.out): Remove rule.
12666         [$(run-built-tests) = yes] (tests): Depend on
12667         $(objpfx)tst-initorder-cmp.out.
12668         ($(objpfx)tst-initorder-cmp.out): New rule.
12669         ($(objpfx)tst-initorder2.out): Remove rule.
12670         [$(run-built-tests) = yes] (tests): Depend on
12671         $(objpfx)tst-initorder2-cmp.out.
12672         ($(objpfx)tst-initorder2-cmp.out): New rule.
12673         [$(run-built-tests) = yes] (tests): Depend on
12674         $(objpfx)tst-unused-dep-cmp.out.
12675         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12676         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12677         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12678         on $(objpfx)tst-setvbuf1-cmp.out.
12679         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12680         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12681         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12682         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12683         ($(objpfx)tst-svc.out): Remove rule.
12684         ($(objpfx)tst-svc-cmp.out): New rule.
12686 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12688         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12689         * ctype/ctype.h [__USE_MISC]: Likewise.
12690         * dirent/dirent.h [__USE_MISC]: Likewise.
12691         * grp/grp.h [__USE_MISC]: Likewise.
12692         * io/fcntl.h [__USE_MISC]: Likewise.
12693         * io/sys/stat.h [__USE_MISC]: Likewise.
12694         * libio/stdio.h [__USE_MISC]: Likewise.
12695         * posix/unistd.h [__USE_MISC]: Likewise.
12696         * pwd/pwd.h [__USE_MISC]: Likewise.
12697         * stdlib.h [__USE_MISC]: Likewise.
12698         * string/bits/string2.h [__USE_MISC]: Likewise.
12699         * string/string.h [__USE_MISC]: Likewise.
12700         * time/time.h [__USE_MISC]: Likewise.
12702 2014-02-13  Andreas Schwab  <schwab@suse.de>
12704         [BZ #16574]
12705         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12706         second answer buffer if it was separately allocated.
12708 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12710         * sysdeps/mips/math-tests.h: Include <features.h>.
12711         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12712         (ROUNDING_TESTS_long_double): Do not define.
12713         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12714         (EXCEPTION_TESTS_long_double): Likewise.
12715         * sysdeps/mips/mips64/libm-test-ulps: Update.
12717         * include/features.h (__USE_BSD): Remove macro definitions.
12718         (__USE_SVID): Likewise.
12719         (_BSD_SOURCE): Likewise.
12720         (_SVID_SOURCE): Likewise.
12721         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12722         from definition of _DEFAULT_SOURCE.
12723         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12724         [_DEFAULT_SOURCE].
12725         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12726         * bits/mman.h [__USE_BSD]: Likewise.
12727         * bits/termios.h [__USE_BSD]: Likewise.
12728         * bits/waitstatus.h [__USE_BSD]: Likewise.
12729         * ctype/ctype.h [__USE_SVID]: Likewise.
12730         * dirent/dirent.h [__USE_BSD]: Likewise.
12731         * grp/grp.h [__USE_SVID]: Likewise.
12732         [__USE_BSD]: Likewise.
12733         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12734         * io/fcntl.h [__USE_BSD]: Likewise.
12735         * io/ftw.h [__USE_BSD]: Likewise.
12736         * io/sys/stat.h [__USE_BSD]: Likewise.
12737         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12738         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12739         * libio/stdio.h [__USE_SVID]: Likewise.
12740         [__USE_BSD]: Likewise.
12741         * math/math.h [__USE_SVID]: Likewise.
12742         [__USE_BSD]: Likewise.
12743         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12744         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12745         * misc/search.h [__USE_SVID]: Likewise.
12746         * misc/sys/mman.h [__USE_BSD]: Likewise.
12747         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12748         * misc/sys/uio.h [__USE_BSD]: Likewise.
12749         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12750         * posix/glob.h [__USE_BSD]: Likewise.
12751         * posix/regex.h [__USE_BSD]: Likewise.
12752         * posix/sys/types.h [__USE_BSD]: Likewise.
12753         [__USE_SVID]: Likewise.
12754         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12755         * posix/sys/wait.h [__USE_BSD]: Likewise.
12756         [__USE_SVID]: Likewise.
12757         * posix/unistd.h [__USE_BSD]: Likewise.
12758         [__USE_SVID]: Likewise.
12759         * pwd/pwd.h [__USE_SVID]: Likewise.
12760         * resolv/netdb.h [__USE_BSD]: Likewise.
12761         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12762         * signal/signal.h [__USE_BSD]: Likewise.
12763         [__USE_SVID]: Likewise.
12764         * socket/sys/socket.h [__USE_BSD]: Likewise.
12765         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12766         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12767         [__USE_SVID]: Likewise.
12768         * string/bits/string2.h [__USE_BSD]: Likewise.
12769         [__USE_SVID]: Likewise.
12770         * string/bits/string3.h [__USE_BSD]: Likewise.
12771         * string/endian.h [__USE_BSD]: Likewise.
12772         * string/string.h [__USE_SVID]: Likewise.
12773         [__USE_BSD]: Likewise.
12774         * string/strings.h [__USE_BSD]: Likewise.
12775         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12776         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12777         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12778         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12779         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12780         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12781         Likewise.
12782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12783         Likewise.
12784         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12785         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12786         Likewise.
12787         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12788         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12789         Likewise.
12790         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12791         Likewise.
12792         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12793         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12797         Likewise.
12798         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12799         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12800         * termios/termios.h [__USE_BSD]: Likewise.
12801         * time/sys/time.h [__USE_BSD]: Likewise.
12802         * time/time.h [__USE_BSD]: Likewise.
12803         [__USE_SVID]: Likewise.
12805         * Makefile (subdir_targets): Remove subdir_lint.out.
12807         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12808         (do-tst-printf): Likewise.
12809         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12810         $(objpfx)tst-printf.out.
12812         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12814         * Makerules (check-abi-%): Change target to
12815         $(objpfx)check-abi-%.out.
12816         (check-abi target): Update dependencies.
12817         (check-abi-pattern variable): Redirect output of diff to $@.
12818         (check-abi variable): Likewise.
12819         * elf/Makefile (check-abi): Update dependencies.
12821         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12822         unused.
12823         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12824         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12825         subnormal range.
12826         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12827         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12828         value has largest subnormal exponent.
12829         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12830         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12831         * sysdeps/aarch64/soft-fp/sfp-machine.h
12832         (_FP_TININESS_AFTER_ROUNDING): New macro.
12833         * sysdeps/alpha/soft-fp/sfp-machine.h
12834         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12835         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12836         Likewise.
12837         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12838         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12839         * sysdeps/mips/soft-fp/sfp-machine.h
12840         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12841         * sysdeps/powerpc/soft-fp/sfp-machine.h
12842         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12843         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12844         Likewise.
12845         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12847         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12848         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12849         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12850         Likewise.
12852 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12854         [BZ #16545]
12855         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12856         model 1.
12858 2014-02-12  Richard Henderson  <rth@redhat.com>
12860         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12861         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12862         * sysdeps/unix/sysv/linux/alpha: Move directory from
12863         ports/sysdeps/unix/sysv/linux/alpha.
12864         * README: Update listing for alpha-*-linux-gnu.
12866 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12868         * include/features.h: Update comment documenting feature test
12869         macros.
12870         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12871         _DEFAULT_SOURCE.
12872         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12873         (_SVID_SOURCE): Likewise.
12874         (_DEFAULT_SOURCE): Update description of default features.
12875         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12876         with _GNU_SOURCE.
12877         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12878         (S_ISVTX): Likewise.
12879         * manual/math.texi (Mathematical Constants): Likewise.
12880         * manual/signal.texi (Interrupted Primitives): Likewise.
12881         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12882         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12883         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12884         Don't refer to _SVID_SOURCE in warning text.
12886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12888         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12889         already defined.
12890         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12891         * sysdeps/mips/dl-lookup.c: Remove.
12892         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12894 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12896         [BZ #16447]
12897         * math/auto-libm-test-in: Add testcase for expl.
12898         * math/auto-libm-test-out: Regenerate.
12899         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12900         calculation of unsafe.
12901         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12903 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12905         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12906         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12907         ports/sysdeps/unix/sysv/linux/aarch64.
12908         * README: Update listing for aarch64*-*-linux-gnu.
12910 2014-02-11  Will Newton  <will.newton@linaro.org>
12912         * manual/probes.texi (Mathematical Function Probes): Use
12913         "triggered" instead of "hit".
12915         * manual/probes.texi (Internal Probes): Add documentation
12916         of setjmp, longjmp and longjmp_target probes.
12918         * include/stap-probe.h: Add comment about probe argument
12919         format.
12921         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12922         definition.  (tr_where, tr_freehook, tr_mallochook,
12923         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12925 2014-02-11  David S. Miller  <davem@davemloft.net>
12927         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12928         processing int_tests.
12930 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12932         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12933         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12934         * sysdeps/unix/sysv/linux/mips: Move directory from
12935         ports/sysdeps/unix/sysv/linux/mips.
12936         * README: Update listing for mips-*-linux-gnu and
12937         mips64-*-linux-gnu.
12939 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12941         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12942         * sysdeps/unix/sysv/linux/m68k: Move directory from
12943         ports/sysdeps/unix/sysv/linux/m68k.
12944         * README: Update listing for m68k-*-linux-gnu.
12946 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12948         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12949         * sysdeps/unix/sysv/linux/generic: Move directory from
12950         ports/sysdeps/unix/sysv/linux/generic.
12951         * sysdeps/unix/sysv/linux/tile: Move directory from
12952         ports/sysdeps/unix/sysv/linux/tile.
12953         * README: Update listing for tile*-*-linux-gnu.
12955 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12957         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12958         __builtin_expect.
12959         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12960         * catgets/open_catalog.c (__open_catalog): Likewise.
12961         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12962         * debug/confstr_chk.c: Likewise.
12963         * debug/fread_chk.c (__fread_chk): Likewise.
12964         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12965         * debug/getgroups_chk.c: Likewise.
12966         * debug/mbsnrtowcs_chk.c: Likewise.
12967         * debug/mbsrtowcs_chk.c: Likewise.
12968         * debug/mbstowcs_chk.c: Likewise.
12969         * debug/memcpy_chk.c: Likewise.
12970         * debug/memmove_chk.c: Likewise.
12971         * debug/mempcpy_chk.c: Likewise.
12972         * debug/memset_chk.c: Likewise.
12973         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12974         * debug/strcat_chk.c (__strcat_chk): Likewise.
12975         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12976         * debug/strncat_chk.c (__strncat_chk): Likewise.
12977         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12978         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12979         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12980         * debug/wcpncpy_chk.c: Likewise.
12981         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12982         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12983         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12984         * debug/wcsncpy_chk.c: Likewise.
12985         * debug/wcsnrtombs_chk.c: Likewise.
12986         * debug/wcsrtombs_chk.c: Likewise.
12987         * debug/wcstombs_chk.c: Likewise.
12988         * debug/wmemcpy_chk.c: Likewise.
12989         * debug/wmemmove_chk.c: Likewise.
12990         * debug/wmempcpy_chk.c: Likewise.
12991         * debug/wmemset_chk.c: Likewise.
12992         * dirent/scandirat.c (SCANDIRAT): Likewise.
12993         * dlfcn/dladdr1.c (dladdr1): Likewise.
12994         * dlfcn/dladdr.c (dladdr): Likewise.
12995         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12996         * dlfcn/dlerror.c (__dlerror): Likewise.
12997         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12998         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12999         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13000         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13001         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13002         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13003         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13004         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13005         Likewise.
13006         * elf/dl-conflict.c: Likewise.
13007         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13008         * elf/dl-dst.h: Likewise.
13009         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13010         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13011         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13012         * elf/dl-init.c (call_init, _dl_init): Likewise.
13013         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13014         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13015         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13016         Likewise.
13017         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13018         Likewise.
13019         * elf/dl-minimal.c (__libc_memalign): Likewise.
13020         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13021         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13022         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13023         * elf/dl-sym.c (do_sym): Likewise.
13024         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13025         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13026         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13027         * elf/dl-writev.h (_dl_writev): Likewise.
13028         * elf/ldconfig.c (search_dir): Likewise.
13029         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13030         (dl_main): Likewise.
13031         * elf/setup-vdso.h (setup_vdso): Likewise.
13032         * grp/compat-initgroups.c (compat_call): Likewise.
13033         * grp/fgetgrent.c (fgetgrent): Likewise.
13034         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13035         * grp/putgrent.c (putgrent): Likewise.
13036         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13037         Likewise.
13038         * hurd/hurdinit.c: Likewise.
13039         * iconvdata/8bit-gap.c (struct): Likewise.
13040         * iconvdata/ansi_x3.110.c : Likewise.
13041         * iconvdata/big5.c : Likewise.
13042         * iconvdata/big5hkscs.c : Likewise.
13043         * iconvdata/cp1255.c: Likewise.
13044         * iconvdata/cp1258.c : Likewise.
13045         * iconvdata/cp932.c : Likewise.
13046         * iconvdata/euc-cn.c: Likewise.
13047         * iconvdata/euc-jisx0213.c : Likewise.
13048         * iconvdata/euc-jp.c: Likewise.
13049         * iconvdata/euc-jp-ms.c : Likewise.
13050         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13051         * iconvdata/gb18030.c : Likewise.
13052         * iconvdata/gbbig5.c (const): Likewise.
13053         * iconvdata/gbgbk.c: Likewise.
13054         * iconvdata/gbk.c : Likewise.
13055         * iconvdata/ibm1364.c : Likewise.
13056         * iconvdata/ibm930.c : Likewise.
13057         * iconvdata/ibm932.c: Likewise.
13058         * iconvdata/ibm933.c : Likewise.
13059         * iconvdata/ibm935.c : Likewise.
13060         * iconvdata/ibm937.c : Likewise.
13061         * iconvdata/ibm939.c : Likewise.
13062         * iconvdata/ibm943.c: Likewise.
13063         * iconvdata/iso_11548-1.c: Likewise.
13064         * iconvdata/iso-2022-cn.c : Likewise.
13065         * iconvdata/iso-2022-cn-ext.c : Likewise.
13066         * iconvdata/iso-2022-jp-3.c: Likewise.
13067         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13068         * iconvdata/iso-2022-kr.c : Likewise.
13069         * iconvdata/iso646.c (gconv_end): Likewise.
13070         * iconvdata/iso_6937-2.c : Likewise.
13071         * iconvdata/iso_6937.c : Likewise.
13072         * iconvdata/iso8859-1.c: Likewise.
13073         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13074         * iconvdata/shift_jisx0213.c : Likewise.
13075         * iconvdata/sjis.c : Likewise.
13076         * iconvdata/t.61.c : Likewise.
13077         * iconvdata/tcvn5712-1.c : Likewise.
13078         * iconvdata/tscii.c: Likewise.
13079         * iconvdata/uhc.c : Likewise.
13080         * iconvdata/unicode.c (gconv_end): Likewise.
13081         * iconvdata/utf-16.c (gconv_end): Likewise.
13082         * iconvdata/utf-32.c (gconv_end): Likewise.
13083         * iconvdata/utf-7.c (base64): Likewise.
13084         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13085         * iconv/gconv_close.c (__gconv_close): Likewise.
13086         * iconv/gconv_open.c (__gconv_open): Likewise.
13087         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13088         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13089         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13090         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13091         (ucs4le_internal_loop_single): Likewise.
13092         * iconv/iconv.c (iconv): Likewise.
13093         * iconv/iconv_close.c: Likewise.
13094         * iconv/loop.c (SINGLE): Likewise.
13095         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13096         * include/atomic.h: Likewise.
13097         * inet/inet6_option.c (option_alloc): Likewise.
13098         * intl/bindtextdom.c (set_binding_values): Likewise.
13099         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13100         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13101         * intl/localealias.c (read_alias_file): Likewise.
13102         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13103         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13104         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13105         * libio/fmemopen.c (fmemopen): Likewise.
13106         * libio/iofgets.c (_IO_fgets): Likewise.
13107         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13108         * libio/iofgetws.c (fgetws): Likewise.
13109         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13110         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13111         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13112         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13113         * locale/findlocale.c (_nl_find_locale): Likewise.
13114         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13115         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13116         Likewise.
13117         * locale/setlocale.c (setlocale): Likewise.
13118         * login/programs/pt_chown.c (main): Likewise.
13119         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13120         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13121         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13122         (mmap, mmap64, mremap, munmap): Likewise.
13123         * math/e_exp2l.c: Likewise.
13124         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13125         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13126         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13127         * math/s_catan.c (__catan): Likewise.
13128         * math/s_catanf.c (__catanf): Likewise.
13129         * math/s_catanh.c (__catanh): Likewise.
13130         * math/s_catanhf.c (__catanhf): Likewise.
13131         * math/s_catanhl.c (__catanhl): Likewise.
13132         * math/s_catanl.c (__catanl): Likewise.
13133         * math/s_ccosh.c (__ccosh): Likewise.
13134         * math/s_ccoshf.c (__ccoshf): Likewise.
13135         * math/s_ccoshl.c (__ccoshl): Likewise.
13136         * math/s_cexp.c (__cexp): Likewise.
13137         * math/s_cexpf.c (__cexpf): Likewise.
13138         * math/s_cexpl.c (__cexpl): Likewise.
13139         * math/s_clog10.c (__clog10): Likewise.
13140         * math/s_clog10f.c (__clog10f): Likewise.
13141         * math/s_clog10l.c (__clog10l): Likewise.
13142         * math/s_clog.c (__clog): Likewise.
13143         * math/s_clogf.c (__clogf): Likewise.
13144         * math/s_clogl.c (__clogl): Likewise.
13145         * math/s_csin.c (__csin): Likewise.
13146         * math/s_csinf.c (__csinf): Likewise.
13147         * math/s_csinh.c (__csinh): Likewise.
13148         * math/s_csinhf.c (__csinhf): Likewise.
13149         * math/s_csinhl.c (__csinhl): Likewise.
13150         * math/s_csinl.c (__csinl): Likewise.
13151         * math/s_csqrt.c (__csqrt): Likewise.
13152         * math/s_csqrtf.c (__csqrtf): Likewise.
13153         * math/s_csqrtl.c (__csqrtl): Likewise.
13154         * math/s_ctan.c (__ctan): Likewise.
13155         * math/s_ctanf.c (__ctanf): Likewise.
13156         * math/s_ctanh.c (__ctanh): Likewise.
13157         * math/s_ctanhf.c (__ctanhf): Likewise.
13158         * math/s_ctanhl.c (__ctanhl): Likewise.
13159         * math/s_ctanl.c (__ctanl): Likewise.
13160         * math/w_pow.c: Likewise.
13161         * math/w_powf.c: Likewise.
13162         * math/w_powl.c: Likewise.
13163         * math/w_scalb.c (sysv_scalb): Likewise.
13164         * math/w_scalbf.c (sysv_scalbf): Likewise.
13165         * math/w_scalbl.c (sysv_scalbl): Likewise.
13166         * misc/error.c (error_tail): Likewise.
13167         * misc/pselect.c (__pselect): Likewise.
13168         * nis/nis_callback.c (__nis_create_callback): Likewise.
13169         * nis/nis_call.c (__nisfind_server): Likewise.
13170         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13171         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13172         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13173         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13174         * nis/nis_lookup.c (nis_lookup): Likewise.
13175         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13176         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13177         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13178         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13179         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13180         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13181         * nis/nss_compat/compat-initgroups.c (add_group)
13182         (internal_getgrent_r): Likewise.
13183         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13184         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13185         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13186         (internal_getspnam_r): Likewise.
13187         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13188         (_nss_nis_getaliasbyname_r): Likewise.
13189         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13190         (_nss_nis_getntohost_r): Likewise.
13191         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13192         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13193         (_nss_nis_getgrgid_r): Likewise.
13194         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13195         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13196         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13197         (_nss_nis_gethostbyname4_r): Likewise.
13198         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13199         (initgroups_netid): Likewise.
13200         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13201         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13202         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13203         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13204         (_nss_nis_getprotobynumber_r): Likewise.
13205         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13206         (_nss_nis_getsecretkey): Likewise.
13207         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13208         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13209         (_nss_nis_getpwuid_r): Likewise.
13210         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13211         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13212         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13213         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13214         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13215         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13216         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13217         Likewise.
13218         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13219         (_nss_nisplus_getntohost_r): Likewise.
13220         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13221         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13222         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13223         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13224         Likewise.
13225         * nis/nss_nisplus/nisplus-initgroups.c
13226         (_nss_nisplus_initgroups_dyn): Likewise.
13227         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13228         (_nss_nisplus_getnetbyaddr_r): Likewise.
13229         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13230         (_nss_nisplus_getprotobynumber_r): Likewise.
13231         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13232         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13233         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13234         Likewise.
13235         * nis/nss_nisplus/nisplus-service.c
13236         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13237         (_nss_nisplus_getservbyport_r): Likewise.
13238         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13239         (_nss_nisplus_getspnam_r): Likewise.
13240         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13241         Likewise.
13242         * nscd/aicache.c (addhstaiX): Likewise.
13243         * nscd/cache.c (cache_search, prune_cache): Likewise.
13244         * nscd/connections.c (register_traced_file, send_ro_fd)
13245         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13246         (main_loop_epoll): Likewise.
13247         * nscd/grpcache.c (addgrbyX): Likewise.
13248         * nscd/hstcache.c (addhstbyX): Likewise.
13249         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13250         * nscd/mem.c (gc, mempool_alloc): Likewise.
13251         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13252         (addinnetgrX): Likewise.
13253         * nscd/nscd-client.h (__nscd_acquire_maplock)
13254         (__nscd_drop_map_ref): Likewise.
13255         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13256         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13257         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13258         Likewise.
13259         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13260         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13261         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13262         (__nscd_get_map_ref): Likewise.
13263         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13264         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13265         Likewise.
13266         * nscd/pwdcache.c (addpwbyX): Likewise.
13267         * nscd/selinux.c (preserve_capabilities): Likewise.
13268         * nscd/servicescache.c (addservbyX): Likewise.
13269         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13270         * posix/fnmatch.c (fnmatch): Likewise.
13271         * posix/getopt.c (_getopt_internal_r): Likewise.
13272         * posix/glob.c (glob, glob_in_dir): Likewise.
13273         * posix/wordexp.c (exec_comm_child): Likewise.
13274         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13275         (getanswer_r, gaih_getanswer_slice): Likewise.
13276         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13277         * resolv/res_init.c: Likewise.
13278         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13279         * resolv/res_query.c (__libc_res_nquery): Likewise.
13280         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13281         Likewise.
13282         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13283         * stdio-common/perror.c (perror): Likewise.
13284         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13285         * stdio-common/tmpnam.c (tmpnam): Likewise.
13286         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13287         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13288         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13289         Likewise.
13290         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13291         * stdlib/putenv.c (putenv): Likewise.
13292         * stdlib/setenv.c (__add_to_environ): Likewise.
13293         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13294         * stdlib/strtol_l.c (INTERNAL): Likewise.
13295         * string/memmem.c (memmem): Likewise.
13296         * string/strerror.c (strerror): Likewise.
13297         * string/strnlen.c (__strnlen): Likewise.
13298         * string/test-memmem.c (simple_memmem): Likewise.
13299         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13300         * sunrpc/pm_getport.c (__get_socket): Likewise.
13301         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13302         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13303         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13304         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13305         Likewise.
13306         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13307         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13308         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13309         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13310         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13311         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13312         Likewise.
13313         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13314         Likewise.
13315         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13316         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13317         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13318         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13319         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13321         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13322         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13323         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13324         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13325         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13326         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13327         Likewise.
13328         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13329         Likewise.
13330         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13331         Likewise.
13332         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13335         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13336         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13337         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13338         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13339         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13341         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13342         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13343         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13344         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13345         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13347         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13348         Likewise.
13349         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13350         Likewise.
13351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13352         Likewise.
13353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13354         Likewise.
13355         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13356         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13357         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13358         Likewise.
13359         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13360         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13361         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13362         * sysdeps/posix/sleep.c: Likewise.
13363         * sysdeps/posix/tempname.c: Likewise.
13364         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13365         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13366         Likewise.
13367         * sysdeps/powerpc/powerpc32/dl-machine.h
13368         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13369         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13370         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13371         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13372         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13373         Likewise.
13374         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13376         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13377         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13378         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13379         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13380         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13381         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13382         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13383         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13385         (elf_machine_lazy_rel): Likewise.
13386         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13387         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13388         (elf_machine_lazy_rel): Likewise.
13389         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13390         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13391         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13392         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13393         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13394         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13395         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13396         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13397         Likewise.
13398         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13399         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13400         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13401         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13402         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13403         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13404         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13405         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13406         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13407         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13408         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13409         Likewise.
13410         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13411         (__posix_fallocate64_l64): Likewise.
13412         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13413         (posix_fallocate): Likewise.
13414         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13415         Likewise.
13416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13417         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13418         (getifaddrs_internal): Likewise.
13419         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13420         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13421         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13422         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13423         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13424         (__posix_fallocate64_l64): Likewise.
13425         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13428         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13429         (__get_clockfreq): Likewise.
13430         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13431         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13432         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13435         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13436         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13437         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13438         Likewise.
13439         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13440         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13441         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13442         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13443         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13444         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13445         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13446         Likewise.
13447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13448         (posix_fallocate): Likewise.
13449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13450         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13451         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13452         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13453         (elf_machine_rela, elf_machine_rela_relative)
13454         (elf_machine_lazy_rel): Likewise.
13455         * time/asctime.c (asctime_internal): Likewise.
13456         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13457         * time/tzset.c (__tzset_parse_tz): Likewise.
13458         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13459         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13460         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13461         * wcsmbs/wcsmbsload.h: Likewise.
13463         [BZ #15894]
13464         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13466         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13467         (arena_get2): Remove THREAD_STATS conditionals.
13468         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13469         (__malloc_stats, int): Likewise.
13471 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13473         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13474         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13476         * manual/setjmp.texi: Fix typos/grammar errors.
13478         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13479         Only return early when n is <= 0.  Delete unused return statement.
13481         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13482         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13483         * debug/tst-longjmp_chk3.c: New file.
13485         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13486         (test_main): Replace code with set_fortify_handler call.
13487         * debug/test-strcpy_chk.c: Likewise.
13488         * debug/tst-chk1.c: Likewise.
13489         * debug/tst-longjmp_chk.c: Likewise.
13490         * test-skeleton.c: Include fcntl.h & paths.h
13491         (set_fortify_handler): Define.
13493         * debug/tst-longjmp_chk.c: Add header comment and include
13494         ../test-skeleton.c.
13495         (do_test): Mark static.
13496         (TEST_FUNCTION): Define.
13498         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13499         (IP_PMTUDISC_INTERFACE): Likewise.
13500         (IP_MULTICAST_IF): Likewise.
13501         (IP_MULTICAST_TTL): Likewise.
13502         (IP_MULTICAST_LOOP): Likewise.
13503         (IP_ADD_MEMBERSHIP): Likewise.
13504         (IP_DROP_MEMBERSHIP): Likewise.
13505         (IP_UNBLOCK_SOURCE): Likewise.
13506         (IP_BLOCK_SOURCE): Likewise.
13507         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13508         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13509         (IP_MSFILTER): Likewise.
13510         (MCAST_JOIN_GROUP): Likewise.
13511         (MCAST_BLOCK_SOURCE): Likewise.
13512         (MCAST_UNBLOCK_SOURCE): Likewise.
13513         (MCAST_LEAVE_GROUP): Likewise.
13514         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13515         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13516         (MCAST_MSFILTER): Likewise.
13517         (IP_MULTICAST_ALL): Likewise.
13518         (IP_UNICAST_IF): Likewise.
13520         * timezone/Makefile: Delete $(have-ksh) check.
13521         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13522         * timezone/tzselect.ksh: Add +x mode bits.
13524         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13525         (ANON_INODE_FS_MAGIC): Likewise.
13526         (BDEVFS_MAGIC): Likewise.
13527         (BINFMTFS_MAGIC): Likewise.
13528         (BTRFS_TEST_MAGIC): Likewise.
13529         (CRAMFS_MAGIC_WEND): Likewise.
13530         (DEBUGFS_MAGIC): Likewise.
13531         (ECRYPTFS_SUPER_MAGIC): Likewise.
13532         (EXT3_SUPER_MAGIC): Likewise.
13533         (EXT4_SUPER_MAGIC): Likewise.
13534         (FUTEXFS_SUPER_MAGIC): Likewise.
13535         (HOSTFS_SUPER_MAGIC): Likewise.
13536         (HUGETLBFS_MAGIC): Likewise.
13537         (MINIX3_SUPER_MAGIC): Likewise.
13538         (MTD_INODE_FS_MAGIC): Likewise.
13539         (NILFS_SUPER_MAGIC): Likewise.
13540         (OPENPROM_SUPER_MAGIC): Likewise.
13541         (PIPEFS_MAGIC): Likewise.
13542         (PSTOREFS_MAGIC): Likewise.
13543         (QNX6_SUPER_MAGIC): Likewise.
13544         (RAMFS_MAGIC): Likewise.
13545         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13546         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13547         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13548         (SECURITYFS_MAGIC): Likewise.
13549         (SELINUX_MAGIC): Likewise.
13550         (SMACK_MAGIC): Likewise.
13551         (SOCKFS_MAGIC): Likewise.
13552         (SQUASHFS_MAGIC): Likewise.
13553         (STACK_END_MAGIC): Likewise.
13554         (TMPFS_MAGIC): Likewise.
13555         (USBDEVICE_SUPER_MAGIC): Likewise.
13556         (V9FS_MAGIC): Likewise.
13557         (XENFS_SUPER_MAGIC): Likewise.
13558         (CRAMFS_MAGIC): Fix typo in comment.
13559         (EXT2_SUPER_MAGIC): Update comment.
13560         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13562 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13564         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13565         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13566         * sysdeps/unix/sysv/linux/arm: Move directory from
13567         ports/sysdeps/unix/sysv/linux/arm.
13568         * README: Update listing for arm-*-linux-gnueabi.
13570         * README: Remove mention of am33.
13572 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13574         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13575         than the comma operator, to avoid "rhs of comma has no effect"
13576         compiler warnings.
13577         (__sigfillset, __sigandset, __sigorset): Likewise.
13578         * include/signal.h (__sigemptyset): Likewise.
13579         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13581 2014-02-07  Allan McRae  <allan@archlinux.org>
13583         * version.h (RELEASE): Set to "development".
13584         (VERSION): Set to "2.19.90"
13585         * NEWS: Add 2.20 section.
13587 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13589         [BZ #16529]
13590         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13592 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13594         * manual/contrib.texi: Update entry for Carlos O'Donell,
13595         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13597 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13599         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13601         * sysdeps/unix/sysv/linux/kernel-features.h
13602         [__LINUX_KERNEL_VERSION >= 0x020621]
13603         (__ASSUME_PROC_PID_TASK_COMM): Define.
13605 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13607         [BZ #16398]
13608         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13609         conversion when destination buffer does not have enough space.
13610         * libio/tst-ftell-partial-wide.c: New test case.
13611         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13613         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13614         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13615         Leonard and Allan McRae.
13617 2014-02-04  David S. Miller  <davem@davemloft.net>
13619         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13620         32-bit.
13622 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13625         New file
13626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13627         New file
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13629         New file.
13630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13631         New file.
13632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13633         New file.
13634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13635         New file.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13637         New file.
13638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13639         New file.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13641         New file.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13643         New file.
13644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13645         New file.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13647         New file.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13649         New file.
13651 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13653         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13654         * shlib-versions: Likewise.
13656 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13659         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13660         (abilist-pattern): New variable, set to %-le.abilist.
13662         * Makerules (abilist-pattern): New variable.
13663         (vpath): Use $(abilist-pattern) in place of %.abilist.
13664         (check-abi-% pattern rule): Likewise.
13665         (check-abi, update-abi): Likewise.
13667 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13671 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13673         * manual/startup.texi: Add next, previous, and top entries for
13674         the `Program Arguments' and `Environment Variables' nodes.
13676 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13678         * manual/macros.texi: Add comments before MTASC-safety macros.
13680         * manual/users.texi: Document MTASC-safety properties.
13682         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13683         (pthread_getspecific, pthread_setspecific): Format with
13684         @deftypefun, and add @safety note.
13685         * manual/signal.texi: Move comments that analyze the above
13686         functions to their home place.
13688 2014-02-03  Allan McRae  <allan@archlinux.org>
13690         * po/sl.po: Update Slovenian translation from translation project.
13692 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13694         * manual/time.texi (timegm): Add missing blank after @c.
13695         Reported by Joseph Myers <joseph@codesourcery.com>.
13697 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13699         * manual/check-safety.sh: New.
13700         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13702         * manual/terminal.texi: Document MTASC-safety properties.
13704         * manual/filesys.texi: Document MTASC-safety properties.
13706         * manual/errno.texi: Document MTASC-safety properties.
13708         * manual/intro.texi: Document safety identifiers and
13709         conditionals.
13711         * manual/string.texi (wcstok): Fix prototype.
13712         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13714         * manual/time.texi: Document MTASC-safety properties.
13716         * manual/string.texi: Document MTASC-safety properties.
13718         * manual/threads.texi: Document MTASC-safety properties.
13720         * manual/stdio.texi: Document MTASC-safety properties.
13722         * manual/syslog.texi: Document MTASC-safety properties.
13724         * manual/sysinfo.texi: Document MTASC-safety properties.
13726         * manual/startup.texi: Document MTASC-safety properties.
13728         * manual/socket.texi: Document MTASC-safety properties.
13730         * manual/signal.texi: Document MTASC-safety properties.
13732 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13734         * manual/setjmp.texi: Document MTASC-safety properties.
13736         * manual/search.texi: Document MTASC-safety properties.
13738         * manual/resource.texi: Document MTASC-safety properties.
13740         * manual/process.texi: Document MTASC-safety properties.
13742         * manual/platform.texi: Document MTASC-safety properties.
13744         * manual/pipe.texi: Document MTASC-safety properties.
13746         * manual/pattern.texi: Document MTASC-safety properties.
13748         * manual/message.texi: Document MTASC-safety properties.
13750         [BZ #12751]
13751         * manual/memory.texi: Document MTASC-safety properties.
13753         * manual/math.texi: Document MTASC-safety properties.
13755         * manual/locale.texi: Document MTASC-safety properties.
13757         * manual/llio.texi: Document MTASC-safety properties.
13759         * manual/libdl.texi: New.
13761         * manual/lang.texi: Document MTASC-safety properties.
13763         * manual/job.texi: Document MTASC-safety properties.
13765         * manual/getopt.texi: Document MTASC-safety properties.
13767         * manual/ctype.texi: Document MTASC-safety properties.
13769 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13771         [BZ #16046]
13772         * csu/libc-tls.c (static_map): Remove variable.
13773         (__libc_setup_tls): Use main executable's link map for TLS data.
13774         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13775         casing for LM_ID_BASE and GL(dl_nns).
13776         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13777         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13778         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13779         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13780         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13781         member.
13782         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13783         l_phnum members.
13785 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13787         * manual/debug.texi: Document MTASC-safety properties.
13789 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13791         [BZ #16510]
13792         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13793         of __x86_64__ when disabling x87 inline functions.
13795 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13797         * manual/charset.texi: Document MTASC-safety properties.
13799         * manual/crypt.texi: Document MTASC-safety properties.
13801         * manual/conf.texi: Document MTASC-safety properties.
13803         * manual/arith.texi: Document MTASC-safety properties.
13805         * manual/argp.texi: Document MTASC-safety properties.
13807         * manual/macros.texi: Introduce macros to document multi
13808         thread, asynchronous signal and asynchronous cancellation
13809         safety properties.
13810         * manual/intro.texi: Introduce the properties themselves.
13812 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13814         * sysdeps/sh/sh4/Makefile: New file.
13816 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13818         * math/gen-libm-test.pl ($srcdir): New variable.
13819         ($auto_input): Use it.
13821 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13823         [BZ #16506]
13824         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13825         access beyond array bounds when parsing netgroups file.
13827         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13828         the old buffer before realloc.
13830 2014-01-27  Allan McRae  <allan@archlinux.org>
13832         * po/fr.po: Update French translation from translation project.
13834 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13836         * sysdeps/sh/libm-test-ulps: Regenerate.
13838 2014-01-24  David S. Miller  <davem@davemloft.net>
13840         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13842 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13844         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13845         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13847 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13849         [BZ #16474]
13850         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13851         string pointers after reallocation.
13853 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13855         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13856         __SH4A__ instead of __SH_FPU_ANY__.
13858 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13860         * sysdeps/sh/fpu_control.h: New file.
13861         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13862         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13863         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13864         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13865         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13866         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13867         * sysdeps/sh/sys/ucontext.h: Remove.
13868         * sysdeps/sh/sys: Remove directory.
13870 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13872         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13873         s390/sys/ucontext.h.
13874         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13875         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13877 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13879         [BZ #15605]
13880         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13882 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13884         [BZ#16431]
13885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13886         Adjust the vDSO correctly for internal calls.
13887         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13889 2014-01-20  Allan McRae  <allan@archlinux.org>
13891         * po/ca.po: Update Catalan translation from translation project.
13893 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13895         * sysdeps/s390/sotruss-lib.c: New file.
13897 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13899         [BZ#16430]
13900         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13901         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13902         local calls issues by not having a PLT stub required for IFUNC calls.
13903         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13905 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13907         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13908         * math/test-fpucw-static.c: Likewise.
13910 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13912         [BZ #16453]
13913         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13915 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13917         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13918         implementation for powerpc.
13920 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13922         [BZ #14782]
13923         * sysdeps/posix/system.c (__libc_system): Do not enable
13924         asynchronous cancellation.
13926 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13928         [BZ #16427]
13929         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13930         handling only for numbers special also in the IEEE case.
13932 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13934         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13936 2014-01-11  Allan McRae  <allan@archlinux.org>
13938         * po/bg.po: Update Bulgarian translation from translation project.
13940         * po/de.po: Update German translation from translation project.
13942 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13944         * sysdeps/generic/gcc-compat.h: New file.
13946 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13948         * benchtests/asin-inputs: Correct slow inputs.
13949         * benchtests/acos-inputs: Likewise.
13951 2014-01-10  Allan McRae  <allan@archlinux.org>
13953         * po:sv.po: Update Swedish translation from translation project.
13955         * po/vi.po: Update Vietnamese translation from translation project.
13957         * po/eo.po: Update Esperanto translation from translation project.
13959         * po/cs.po: Update Czech translation from translation project.
13961         * po/nl.po: Update Dutch translation from translation project.
13963         * po/pl.po: Update Polish translation from translation project.
13965         * po/ru.po: Update Russian translation from translation project.
13967         * po/uk.po: Update Ukrainian translation from translation project.
13969 2014-01-08  Brooks Moses  <bmoses@google.com>
13971         * elf/dl-load.c: Fix comment typo.
13973 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13975         * po/header.pot: Rename to...
13976         * po/pot.header: ... this.
13977         * po/Makefile: Use pot.header.
13979 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13980             Maxim Kuvyrkov  <maxim@kugelworks.com>
13982         [BZ #16394]
13983         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13984         SRC and DEST against LEN.
13986 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13988         [BZ #16414]
13989         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13990         implementation.
13991         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13993 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13997 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13999         [BZ #16408]
14000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14001         for large positive arguments.
14003 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14005         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14007         * math/auto-libm-test-in: Mark various tests with
14008         xfail-rounding:ldbl-128ibm.
14009         * math/auto-libm-test-out: Regenerated.
14011         [BZ #16407]
14012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14013         Increase overflow threshold.
14015 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14017         [BZ #14286]
14018         * stdio-common/vfprintf.c: Check for integer overflow.
14020 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14022         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14023         the first argument and return value of __tls_get_addr_internal.
14025 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14027         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14028         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14030 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14032         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14033         * sysdeps/s390/rtld-global-offsets.sym: New file.
14034         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14035         GLIBC_2.19 symbol.
14036         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14037         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14039         ... this.
14040         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14041         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14042         ... this.
14043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14044         Regenerate.
14045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14046         Regenerate.
14047         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14048         halfs of GPRs for high_gprs contexts.
14049         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14050         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14051         field.
14052         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14053         uc_flags field.
14054         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14055         64 bit versions:
14056         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14057         for high GPRs (uc_high_gprs) and for future extensions
14058         (__reserved).
14059         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14060         for future extensions (__reserved).
14061         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14062         64 bit versions:
14063         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14064         SC_HIGHGPRS offset definition.
14065         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14066         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14068         * Versions.def: Add GLIBC_2.19 for libpthread.
14069         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14070         siglongjmp for libpthread with GLIBC_2.19 symver.
14071         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14072         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14073         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14074         * sysdeps/s390/__longjmp.c: New file.
14075         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14076         * sysdeps/s390/longjmp.c: New file.
14077         * sysdeps/s390/setjmp.S: New file.
14078         * sysdeps/s390/sigjmp.S: New file.
14079         * sysdeps/s390/v1-longjmp.c: New file.
14080         * sysdeps/s390/v1-setjmp.h: New file.
14081         * sysdeps/s390/v1-sigjmp.c: New file.
14082         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14083         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14084         GLIBC_2.19 version.
14085         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14086         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14087         versioned symbols for ____longjmp_chk.
14088         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14089         Likewise.
14090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14091         Regenerate.
14092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14093         Regenerate.
14094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14095         Regenerate.
14096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14097         Regenerate.
14098         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14099         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14100         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14101         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14102         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14103         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14104         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14105         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14106         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14107         * sysdeps/s390/rtld-__longjmp.c: New file.
14108         * sysdeps/s390/rtld-setjmp.S: New file.
14110 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14112         [BZ #16400]
14113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14114         Return -__logl (x) for small positive arguments without evaluating
14115         a polynomial.
14117 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14119         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14120         Rename to ...
14121         (__ptrace_peeksiginfo_args): ... this.
14122         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14124         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14126 2014-01-06  Allan McRae  <allan@archlinux.org>
14128         * inet/netinet/in.h: Fix typo in comment.
14130 2014-01-05  Andreas Jaeger  <aj@suse.de>
14132         * sysdeps/i386/fpu/libm-test-ulps: Update.
14134 2014-01-05  Allan McRae  <allan@archlinux.org>
14136         * po/libc.pot: Regenerated.
14138         * malloc/memusagestat.c: Fix gettext call formatting.
14140 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14142         * nscd/nscd.c: Improve usage() output.
14144 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14146         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14147         * sysdeps/unix/sysv/linux/configure: Regenerated.
14148         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14149         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14151 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #16390]
14154         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14155         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14157 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14160         extra tokens at end of #undef directive.
14161         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14162         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14165 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14167         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14169         * math/auto-libm-test-in: Mark various tests with
14170         xfail-rounding:ldbl-128ibm.
14171         * math/auto-libm-test-out: Regenerated.
14173 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14175         [BZ #16386]
14176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14177         numbers with subnormal high part when calculating exponent.
14179         [BZ #16385]
14180         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14181         fabs.
14183         [BZ #16384]
14184         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14185         M_LN2l.
14186         (__ieee754_acoshl): Use __log1pl not __log1p.
14188 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14190         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14191         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14192         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14193         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14194         (reused_arena, arena_get2): Convert to GNU style.
14195         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14196         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14197         (memalign_check, __malloc_set_state): Likewise.
14198         * malloc/mallocbug.c (main): Likewise.
14199         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14200         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14201         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14202         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14203         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14204         (__posix_memalign, malloc_info): Likewise.
14205         * malloc/malloc.h: Likewise.
14206         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14207         (mallochook, memalignhook, reallochook, mabort): Likewise.
14208         * malloc/mcheck.h: Likewise.
14209         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14210         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14211         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14212         * malloc/morecore.c (__default_morecore): Likewise.
14213         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14214         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14215         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14216         (print_and_abort): Likewise.
14217         * malloc/obstack.h: Likewise.
14218         * malloc/set-freeres.c (__libc_freeres): Likewise.
14219         * malloc/tst-mallocstate.c (main): Likewise.
14220         * malloc/tst-mtrace.c (main): Likewise.
14221         * malloc/tst-realloc.c (do_test): Likewise.
14223 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14225         [BZ #16366]
14226         * nscd/netgroupcache.c (do_notfound): New function.
14227         (addgetnetgrentX): Use it.
14229         [BZ # 16365]
14230         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14231         NSS_STATUS_NOTFOUND.
14233 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14235         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14238 2014-01-01  Allan McRae  <allan@archlinux.org>
14240         * scripts/update-copyrights: Update configure input file suffix.
14242         * NEWS: Update copyright year.
14243         * catgets/gencat.c: Likewise.
14244         * csu/version.c: Likewise.
14245         * debug/catchsegv.sh: Likewise.
14246         * debug/pcprofiledump.c: Likewise.
14247         * debug/xtrace.sh: Likewise.
14248         * elf/ldconfig.c: Likewise.
14249         * elf/ldd.bash.in: Likewise.
14250         * elf/pldd.c: Likewise.
14251         * elf/sotruss.ksh: Likewise.
14252         * elf/sprof.c: Likewise.
14253         * iconv/iconv_prog.c: Likewise.
14254         * iconv/iconvconfig.c: Likewise.
14255         * locale/programs/locale.c: Likewise.
14256         * locale/programs/localedef.c: Likewise.
14257         * login/programs/pt_chown.c: Likewise.
14258         * malloc/memusage.sh: Likewise.
14259         * malloc/memusagestat.c: Likewise.
14260         * malloc/mtrace.pl: Likewise.
14261         * manual/libc.texinfo: Likewise.
14262         * nscd/nscd.c: Likewise.
14263         * nss/getent.c: Likewise.
14264         * nss/makedb.c: Likewise.
14265         * posix/getconf.c: Likewise.
14266         * scripts/test-installation.pl: Likewise.
14268         * All files with FSF copyright notices: Update copyright dates
14269         using scripts/update-copyrights.
14270         * intl/plural.c: Regenerated.
14271         * locale/programs/charmap-kw.h: Likewise.
14272         * locale/programs/locfile-kw.h: Likewise.
14274 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14276         * sysdeps/unix/sysv/linux/configure: Regenerated.
14277         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14278         the linux/fanotify.h header.
14279         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14280         HAVE_LINUX_FANOTIFY_H is defined.
14282 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14284         * benchtests/cos-inputs: New inputs.
14285         * benchtests/sin-inputs: Likewise.
14287         * benchtests/atan-inputs: New inputs. Fix name of multiple
14288         precision fallback inputs.
14290         * benchtests/atanh-inputs: New inputs.
14291         * benchtests/tanh-inputs: Likewise.
14293         * benchtests/acosh-inputs: New inputs.
14294         * benchtests/asinh-inputs: Likewise.
14296         * benchtests/cosh-inputs: New inputs.
14297         * benchtests/sinh-inputs: Likewise.
14299         * benchtests/acos-inputs: Add more inputs.
14300         * benchtests/asin-inputs: Likewise.
14302 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14304         [BZ #16375]
14305         * manual/arith.texi: Fix spelling.
14306         * manual/charset.texi: Likewise.
14307         * manual/errno.texi: Likewise.
14308         * manual/filesys.texi: Likewise.
14309         * manual/lang.texi: Likewise.
14310         * manual/llio.texi: Likewise.
14311         * manual/locale.texi: Likewise.
14312         * manual/message.texi: Likewise.
14313         * manual/resource.texi: Likewise.
14314         * manual/search.texi: Likewise.
14315         * manual/setjmp.texi: Likewise.
14316         * manual/stdio.texi: Likewise.
14317         * manual/string.texi: Likewise.
14318         * manual/sysinfo.texi: Likewise.
14319         * manual/time.texi: Likewise.
14321 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14323         * po/sl.po: New file.
14325 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14327         * .gitignore: Add core/.gdbinit/.gdb_history.
14329 2013-12-27  Allan McRae  <allan@archlinux.org>
14331         [BZ #16369]
14332         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14333         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14335 2013-12-24  Brooks Moses  <bmoses@google.com>
14337         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14338         all compilers that claim C++98 compliance, not just GCC.
14339         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14340         Likewise.
14342 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14344         * NEWS: Restore accidentally deleted bug-fix entries.
14346 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14347             Ondřej Bílka  <neleai@seznam.cz>
14349         [BZ #15073]
14350         * malloc/malloc.c (_int_free): Perform sanity check only if we
14351         have_lock.
14353 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14355         [BZ #12986]
14356         * manual/stdio.texi (String Input Conversions): Clarify that character
14357         classes are not supported.
14359 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14363 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14365         [BZ #16337]
14366         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14367         Calculate results for small negative arguments directly rather
14368         than using reflection formula with special underflow handling.
14370         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14371         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14372         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14373         (fchflags): Likewise.
14374         (revoke): Likewise.
14375         (setlogin): Likewise.
14376         (sigaltstack): Likewise.
14377         (wait4): Likewise.
14378         (sigblock): Remove.
14379         (sigsetmask): Likewise.
14380         (wait3): Likewise.
14381         (waitpid): Likewise.
14382         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14383         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14384         file.
14385         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14386         * sysdeps/unix/bsd/Makefile: ... here.
14387         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14388         * sysdeps/unix/bsd/Versions: ... here.
14389         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14390         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14391         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14392         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14393         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14394         * sysdeps/unix/bsd/sigblock.c: ... here.
14395         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14396         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14397         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14398         * sysdeps/unix/bsd/sigvec.c: ... here.
14399         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14400         * sysdeps/unix/bsd/tcdrain.c: ... here.
14401         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14402         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14403         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14404         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14405         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14406         * sysdeps/unix/bsd/wait.c: ... here.
14407         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14408         * sysdeps/unix/bsd/wait3.c: ... here.
14409         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14410         * sysdeps/unix/bsd/waitpid.c: ... here.
14412 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14414         [BZ #16356]
14415         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14416         round-to-nearest for [!USE_AS_EXPM1L].
14417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14418         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14419         more tests of exp and exp10.  Expect some exp10 tests to miss
14420         exceptions or fail in directed rounding modes.
14421         * math/auto-libm-test-out: Regenerated.
14422         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14423         (exp10_test_tonearest): New function.
14424         (exp10_towardzero_test_data): New array.
14425         (exp10_test_towardzero): New function.
14426         (exp10_downward_test_data): New array.
14427         (exp10_test_downward): New function.
14428         (exp10_upward_test_data): New array.
14429         (exp10_test_upward): New function.
14430         (main): Call the new functions.
14431         * sysdeps/i386/fpu/libm-test-ulps: Update.
14432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14434 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14436         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14437         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14438         * math/auto-libm-test-out: Regenerated.
14439         * math/libm-test.inc (acosh_test_data): Add more tests.
14440         (atanh_test_data): Likewise.
14441         (ceil_test_data): Likewise.
14442         (copysign_test_data): Likewise.
14443         * sysdeps/i386/fpu/libm-test-ulps: Update.
14444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14446         * timezone/checktab.awk: Update from tzcode 2013i.
14447         * timezone/private.h: Likewise.
14448         * timezone/scheck.c: Likewise.
14449         * timezone/tzfile.h: Likewise.
14450         * timezone/tzselect.ksh: Likewise.
14451         * timezone/zdump.c: Likewise.
14452         * timezone/zic.c: Likewise.
14454         * math/auto-libm-test-in: Add tests of cpow.
14455         * math/auto-libm-test-out: Regenerated.
14456         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14457         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14458         mpc_cc_c.
14459         (func_calc_desc): Add mpc_cc_c union field.
14460         (test_functions): Add cpow.
14461         (special_fill_2pi): New function.
14462         (special_real_inputs): Add 2pi.
14463         (calc_generic_results): Handle mpc_cc_c.
14464         * sysdeps/i386/fpu/libm-test-ulps: Update.
14465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14467         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14468         csqrt, ctan and ctanh.
14469         * math/auto-libm-test-out: Regenerated.
14470         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14471         (TEST_COND_x86): Likewise.
14472         (ccos_test_data): Use AUTO_TESTS_c_c.
14473         (ccosh_test_data): Likewise.
14474         (cexp_test_data): Likewise.
14475         (clog_test_data): Likewise.
14476         (csqrt_test_data): Likewise.
14477         (ctan_test_data): Likewise.
14478         (ctan_tonearest_test_data): Likewise.
14479         (ctan_towardzero_test_data): Likewise.
14480         (ctan_downward_test_data): Likewise.
14481         (ctan_upward_test_data): Likewise.
14482         (ctanh_test_data): Likewise.
14483         (ctanh_tonearest_test_data): Likewise.
14484         (ctanh_towardzero_test_data): Likewise.
14485         (ctanh_downward_test_data): Likewise.
14486         (ctanh_upward_test_data): Likewise.
14487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14488         mpc_c_c.
14489         (func_calc_desc): Add mpc_c_c union field.
14490         (FUNC_mpc_c_c): New macro.
14491         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14492         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14493         ctanh.
14494         (special_fill_min_subnorm_p120): New function.
14495         (special_real_inputs): Add min_subnorm_p120.
14496         (calc_generic_results): Handle mpc_c_c.
14497         * sysdeps/i386/fpu/libm-test-ulps: Update.
14498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14500 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14502         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14503         (do_sin_slow): New functions.
14504         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14505         (cslow2, csloww1, csloww2): Use the new functions.
14507         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14508         Use M to change sign of result instead of X.  Assume X is
14509         positive.
14510         (csloww1): Likewise.
14511         (__sin): Adjust.
14512         (__cos): Adjust.
14514         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14515         arguments A and DA.
14516         (__sin): Adjust.
14517         (__cos): Likewise.
14519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14520         (__cos): Likewise.
14521         (sloww1): Don't adjust sign of DX.
14522         (csloww1): Likewise.
14523         (sloww2): Use X directly and don't adjust sign of DX.
14524         (csloww2): Likewise.
14526 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14528         * math/auto-libm-test-in: Add tests of cabs and carg.
14529         * math/auto-libm-test-out: Regenerated.
14530         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14531         (carg_test_data): Likewise.
14532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14533         mpc_c_f.
14534         (func_calc_desc): Add mpc_c_f union field.
14535         (test_functions): Add cabs and carg.
14536         (calc_generic_results): Handle mpc_c_f.
14538         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14539         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14540         as a macro and a compat symbol.
14541         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14542         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14543         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14544         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14545         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14546         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14547         not use .hidden.
14548         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14549         Likewise.
14550         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14551         Likewise.
14552         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14553         Likewise.
14554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14555         Likewise.
14556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14557         Likewise.
14558         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14559         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14560         from GLIBC_2.3.2.
14562 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14566 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14568         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14569         trailing whitespace removed.
14570         * scripts/config.guess: Update to version 2013-11-29.
14571         * scripts/config.sub: Update to version 2013-10-01.
14573         * math/auto-libm-test-in: Add tests of sincos.
14574         * math/auto-libm-test-out: Regenerated.
14575         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14576         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14577         mpfr_f_11.
14578         (func_calc_desc): Add mpfr_f_11 union field.
14579         (test_functions): Add sincos.
14580         (calc_generic_results): Handle mpfr_f_11.
14581         * sysdeps/i386/fpu/libm-test-ulps: Update.
14582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14584 2013-12-19  Andreas Schwab  <schwab@suse.de>
14586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14587         CALL_MCOUNT.
14588         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14589         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14590         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14594         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14595         * sysdeps/i386/fpu/libm-test-ulps: Update.
14596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598         [BZ #16293]
14599         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14600         round-to-nearest mode when using frndint.
14601         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14602         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14603         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14604         Likewise.
14605         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14606         sinh test to fail.
14607         * math/auto-libm-test-out: Regenerated.
14608         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14609         (TEST_COND_x86): Likewise.
14610         (expm1_tonearest_test_data): New array.
14611         (expm1_test_tonearest): New function.
14612         (expm1_towardzero_test_data): New array.
14613         (expm1_test_towardzero): New function.
14614         (expm1_downward_test_data): New array.
14615         (expm1_test_downward): New function.
14616         (expm1_upward_test_data): New array.
14617         (expm1_test_upward): New function.
14618         (main): Run the new test functions.
14619         * sysdeps/i386/fpu/libm-test-ulps: Update.
14620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14622         * include/features.h: Update comment documenting feature test
14623         macros.  Mention _DEFAULT_SOURCE in comment.
14624         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14625         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14626         _BSD_SOURCE and _SVID_SOURCE.
14627         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14628         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14629         !_SVID_SOURCE]: Likewise.
14630         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14631         (__USE_POSIX_IMPLICITLY): Define.
14632         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14633         (_POSIX_SOURCE): Undefine and redefine.
14634         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14635         (_POSIX_C_SOURCE): Likewise.
14636         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14637         (Feature Test Macros): Update documentation of default features.
14639 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14641         * benchtests/Makefile: Add bench-strtok.
14642         * benchtests/bench-strtok.c: New file: strtok benchtest.
14644 2013-12-19  Allan McRae  <allan@archlinux.org>
14646         * manual/install.texi: Suppress menu for plain text output.
14647         * INSTALL: Regenerated.
14649 2013-12-18  Brooks Moses  <bmoses@google.com>
14651         [BZ #15846]
14652         * misc/getauxval.c: Include errno.h.
14653         (__getauxval): Set errno to ENOENT if the requested type is not
14654         found.
14655         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14656         don't declare with __attribute_const__.
14657         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14658         * manual/startup.texi: Document that getauxval sets errno.
14660 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14662         * math/auto-libm-test-in: Add tests of jn and yn.
14663         * math/auto-libm-test-out: Regenerated.
14664         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14665         (yn_test_data): Likewise.
14666         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14667         mpfr_if_f.
14668         (func_calc_desc): Add mpfr_if_f union field.
14669         (FUNC_mpfr_if_f): New macro.
14670         (test_functions): Add jn and yn.
14671         (calc_generic_results): Assert type of second input for
14672         mpfr_ff_f.  Handle mpfr_if_f.
14673         (output_for_one_input_case): Disable all checking for arguments
14674         fitting floating-point types in case of an integer argument.
14675         * sysdeps/i386/fpu/libm-test-ulps: Update.
14676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14679         Don't expect fegetround reference in libm.so.
14681 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14683         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14684         $(config-cflags-nofma).
14686 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14688         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14689         * math/auto-libm-test-out: Regenerated.
14691         [BZ #16338]
14692         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14693         to determine exponent and adjust argument to have exponent of -1.
14694         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14695         log2.
14696         * math/auto-libm-test-out: Regenerated.
14697         * sysdeps/i386/fpu/libm-test-ulps: Update.
14698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14700 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14702         * manual/probes.texi: Remove cases when per-thread arenas are
14703         disabled.
14705 2013-12-18  Andreas Schwab  <schwab@suse.de>
14707         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14708         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14709         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14710         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14711         * sysdeps/i386/i686/multiarch/Makefile: Update.
14712         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14714 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14716         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14717         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14719 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14721         [BZ #15968]
14722         Support TZ transition times < 00:00:00.
14723         This is needed for version-3 tz-format files; it supports time
14724         stamps past 2037 for America/Godthab (the only entry in the tz
14725         database for which this change is relevant).
14726         * manual/time.texi (TZ Variable): Document transition times
14727         from -167:59:59 through -00:00:01.
14728         * time/tzset.c (tz_rule): Time of day is now signed.
14729         (__tzset_parse_tz): Parse negative time of day.
14731         Document TZ transition times >= 25:00:00.
14732         * manual/time.texi (TZ Variable): Document transition times from
14733         25:00:00 through 167:59:59.  These are already supported, and this
14734         support will help with version-3 tz-format files.
14736         * manual/time.texi (TZ Variable): Modernize North America example
14737         to reflect current (i.e., 2007-and-later) daylight saving rules.
14739         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14741 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14743         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14744         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14747         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14748         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14749         * sysdeps/unix/bsd/clock.c: Likewise.
14750         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14751         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14752         * sysdeps/unix/bsd/init-posix.c: Likewise.
14753         * sysdeps/unix/bsd/poll.c: Likewise.
14754         * sysdeps/unix/bsd/ptsname.c: Likewise.
14755         * sysdeps/unix/bsd/seekdir.c: Likewise.
14756         * sysdeps/unix/bsd/setegid.c: Likewise.
14757         * sysdeps/unix/bsd/seteuid.c: Likewise.
14758         * sysdeps/unix/bsd/setgid.c: Likewise.
14759         * sysdeps/unix/bsd/setrgid.c: Likewise.
14760         * sysdeps/unix/bsd/setruid.c: Likewise.
14761         * sysdeps/unix/bsd/setsid.c: Likewise.
14762         * sysdeps/unix/bsd/setuid.c: Likewise.
14763         * sysdeps/unix/bsd/sigaction.c: Likewise.
14764         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14765         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14766         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14767         * sysdeps/unix/bsd/telldir.c: Likewise.
14768         * sysdeps/unix/bsd/times.c: Likewise.
14769         * sysdeps/unix/bsd/usleep.c: Likewise.
14771         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14772         ($(objpfx)libbsd-compat.a): Remove rule.
14774         * include/features.h (__FAVOR_BSD): Do not define.
14775         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14776         features conflicting with POSIX.
14777         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14778         (_BSD_SOURCE): Remove description of not being a subset of other
14779         feature test macros.
14780         * manual/job.texi (getpgrp): Do not document BSD version.
14781         (getpgid): Do not document by reference to BSD getpgrp.
14782         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14783         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14784         * signal/signal.h [__FAVOR_BSD]: Likewise.
14785         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14786         instead of making contents conditional on [__FAVOR_BSD].
14787         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14789 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14793 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14795         [BZ #16314]
14796         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14797         values below 2**-450, not 2**-500.
14798         * math/auto-libm-test-in: Don't allow spurious underflow from
14799         hypot.
14800         * math/auto-libm-test-out: Regenerated.
14802         [BZ #16316]
14803         [BZ #16330]
14804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14805         values of ha and hb and sort them after adjusting subnormal
14806         arguments.
14807         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14808         Likewise.
14809         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14810         values of ea and eb and sort them after adjusting subnormal
14811         arguments.
14812         * math/auto-libm-test-in: Do not expect some hypot tests of
14813         subnormals to fail.  Add more hypot tests.
14814         * math/auto-libm-test-out: Regenerated.
14816 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14818         [BZ #13304]
14819         * sysdeps/sh/s_fma.c: New file.
14820         * sysdeps/sh/s_fmaf.c: New file.
14821         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14822         version.
14823         * sysdeps/sh/Implies: Add sh/soft-fp.
14825 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14827         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14828         level of indirection to members `objname', `errstring', `malloced'.
14829         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14830         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14831         it as the __longjmp argument (just pass 1 instead).
14832         (_dl_catch_error): Initialize C with argument pointers and address of
14833         volatile local ERRCODE rather than copying values out of C at return.
14835 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14837         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14838         * math/auto-libm-test-out: Regenerated.
14839         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14840         (hypot_test_data): Likewise.
14841         (pow_test_data): Likewise.
14842         (pow_tonearest_test_data): Likewise.
14843         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14844         mpfr_ff_f.
14845         (func_calc_desc): Add mpfr_ff_f union field.
14846         (FUNC_mpfr_ff_f): New macro.
14847         (test_functions): Add atan2, hypot and pow.
14848         (special_fill_min): New function.
14849         (special_fill_minus_min): Likewise.
14850         (special_fill_min_subnorm): Likewise.
14851         (special_fill_minus_min_subnorm): Likewise.
14852         (special_real_inputs): Add min, -min, min_subnorm and
14853         -min_subnorm.
14854         (calc_generic_results): Handle mpfr_ff_f.
14855         * sysdeps/i386/fpu/libm-test-ulps: Update.
14856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858 2013-12-16  Will Newton  <will.newton@linaro.org>
14860         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14861         (Aligned Memory Blocks): Add documentation for aligned_alloc
14862         and suggest it as an alternative to posix_memalign.
14863         (Hooks for Malloc): Document __memalign_hook is also called
14864         for aligned_alloc.  (Summary of Malloc): Add summary for
14865         aligned alloc.  Document __memalign_hook is also called
14866         for aligned_alloc.
14868 2013-12-16  Will Newton  <will.newton@linaro.org>
14870         * manual/memory.texi (Malloc Examples): Clarify default
14871         alignment documentation.  Suggest posix_memalign rather
14872         than memalign or valloc.
14873         (Aligned Memory Blocks): Remove suggestion to use memalign
14874         or valloc.  Remove obsolete comment about BSD.
14875         Document memalign errno values and mark the function obsolete.
14876         Document posix_memalign returned error codes.  Mark valloc
14877         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14878         called for posix_memalign and valloc.
14879         (Summary of Malloc): Add posix_memalign to function summary.
14880         __memalign_hook is also called for posix_memalign and valloc.
14882 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14884         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14885         TAYLOR_SIN.
14886         (__sin): Adjust.
14887         (__cos): Likewise.
14888         (sloww): Use mynumber union.  Expand ternary operator into
14889         if-else statements.
14890         (cslow): use mynumber union.
14892 2013-12-16  Allan McRae  <allan@archlinux.org>
14894         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14895         * configure: Regenerated.
14897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14899         [BZ #14120]
14900         * configure.ac: Added --enable-maintainer-mode. Check for
14901         autoconf when enabled.
14902         * configure: Regenerated.
14904         * nscd/nscd.service: New file.
14905         * nscd/nscd.tmpfiles: New file.
14907 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14909         [BZ #12100]
14910         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14911         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14912         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14913         (strstr): Add __strstr_sse2_unaligned ifunc.
14914         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14915         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14916         (strcasestr): Remove __strcasestr_sse42 ifunc.
14917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14921 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14923         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14924         * sysdeps/sh/bits/fenv.h: ... here.
14925         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14929         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14932         hypotf multiarch implementations.
14933         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14936         multiarch hypot for PPC64.
14937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14940         multiarch hypotf for PPC64.
14942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14943         modff multiarch implementations.
14944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14947         multiarch modf for PPC64.
14948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14951         multiarch modff for PPC64.
14953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14954         and logl multiarch implementations.
14955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14958         multiarch logb for PPC64.
14959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14962         multiarch logb for PPC64.
14963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14966         multiarch logb for PPC64.
14968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14969         isinff multiarch implementation.
14970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14971         file.
14972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14974         multiarch isinf for PPC64.
14975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14976         file.
14977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14978         multiarch isinff for PPC64.
14980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14981         finitef multiarch implementation.
14982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14983         file.
14984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14986         multiarch finite for PPC64.
14987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14988         file.
14989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14990         multiarch finitef for PPC64.
14992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14993         lrint multiarch implementation.
14994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14995         file.
14996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14998         multiarch llrint for PPC64.
14999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15000         multiarch lrint for PPC64.
15002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15003         copysignf multiarch implementation.
15004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15005         file.
15006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15007         file.
15008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15009         multiarch copysign for PPC64.
15010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15011         multiarch copysignf for PPC64.
15013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15014         multiarch implementation.
15015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15016         file.
15017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15018         file.
15019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15020         file.
15021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15022         file.
15023         multiarch llround for PPC64.
15024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15025         multiarch trunc for PPC64.
15026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15027         multiarch truncf for PPC64.
15029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15030         multiarch implementation.
15031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15032         file.
15033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15034         file.
15035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15036         file.
15037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15038         file.
15039         multiarch llround for PPC64.
15040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15041         multiarch round for PPC64.
15042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15043         multiarch roundf for PPC64.
15045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15046         multiarch implementation.
15047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15048         file.
15049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15050         file.
15051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15052         file.
15053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15054         file.
15055         multiarch llround for PPC64.
15056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15057         multiarch floor for PPC64.
15058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15059         multiarch floorf for PPC64.
15061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15062         multiarch implementation.
15063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15064         file.
15065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15066         file.
15067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15068         file.
15069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15070         file.
15071         multiarch llround for PPC64.
15072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15073         multiarch ceil for PPC64.
15074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15075         multiarch ceilf for PPC64.
15077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15078         multiarch implementation.
15079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15080         file.
15081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15082         file.
15083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15084         file.
15085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15086         multiarch llround for PPC64.
15087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15088         multiarch lround for PPC64.
15090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15091         multiarch implementation.
15092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15095         file.
15096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15099         multiarch isnan for PPC64.
15100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15101         multiarch isnanf for PPC64.
15103         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15104         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15105         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15106         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15107         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15110         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15111         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15112         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15113         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15116         multiarch implementations.
15117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15118         (__libc_ifunc_impl_list): Likewise.
15119         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15120         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15122         multiarch stpcpy for PPC64.
15124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15125         multiarch implementations.
15126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15127         (__libc_ifunc_impl_list): Likewise.
15128         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15129         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15130         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15131         multiarch strcpy for PPC64.
15133         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15134         redefine function name.
15135         (_wordcopy_fwd_dest_aligned): Likewise.
15136         (_wordcopy_bwd_aligned): Likewise.
15137         (_wordcopy_bwd_dest_aligned): Likewise.
15138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15139         multiarch implementations.
15140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15141         (__libc_ifunc_impl_list): Likewise.
15142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15143         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15144         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15146         multiarch wcscpy for PPC64.
15148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15149         multiarch implementations.
15150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15151         (__libc_ifunc_impl_list): Likewise.
15152         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15153         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15154         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15155         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15156         multiarch wcscpy for PPC64.
15158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15159         multiarch implementations.
15160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15161         (__libc_ifunc_impl_list): Likewise.
15162         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15163         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15164         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15165         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15166         multiarch wcsrchr for PPC64.
15168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15169         multiarch implementations.
15170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15171         (__libc_ifunc_impl_list): Likewise.
15172         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15173         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15174         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15175         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15176         multiarch wcschr for PPC64.
15178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15179         multiarch implementations.
15180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15181         (__libc_ifunc_impl_list): Likewise.
15182         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15183         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15184         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15185         multiarch strchrnul for PPC64.
15187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15188         implementations.
15189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15190         (__libc_ifunc_impl_list): Likewise.
15191         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15192         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15193         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15194         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15195         strchr for PPC64.
15197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15198         implementations.
15199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15200         (__libc_ifunc_impl_list): Likewise.
15201         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15202         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15203         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15204         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15205         strncmp for PPC64.
15207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15208         multiarch implementations.
15209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15210         (__libc_ifunc_impl_list): Likewise.
15211         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15212         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15213         strncasecmp for PPC64.
15214         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15215         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15216         multiarch strncasecmp_l for PPC64.
15218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15219         multiarch implementations.
15220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15221         (__libc_ifunc_impl_list): Likewise.
15222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15224         multiarch strcasecmp for PPC64.
15225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15226         file.
15227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15228         multiarch strcasecmp_l for PPC64.
15230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15231         implementations.
15232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15233         (__libc_ifunc_impl_list): Likewise.
15234         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15235         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15236         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15237         strnlen for PPC64.
15239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15240         implementations.
15241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15242         (__libc_ifunc_impl_list): Likewise.
15243         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15244         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15245         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15246         strlen for PPC64.
15248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15249         implementations.
15250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15251         (__libc_ifunc_impl_list): Likewise.
15252         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15253         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15254         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15255         rawmemrchr for PPC64.
15257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15258         implementation.
15259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15260         (__libc_ifunc_impl_list): Likewise.
15261         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15262         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15263         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15264         memrchr for PPC64.
15266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15267         implementation.
15268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15269         (__libc_ifunc_impl_list): Likewise.
15270         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15271         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15272         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15273         memchr for PPC64.
15275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15276         implementation.
15277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15278         (__libc_ifunc_impl_list): Likewise.
15279         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15280         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15281         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15282         mempcpy for PPC64.
15284         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15285         avoid cretion of __bzero symbol.
15286         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15287         Likewise.
15288         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15289         Likewise.
15290         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15291         Likewise.
15292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15293         multiarch implementations.
15294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15295         (__libc_ifunc_impl_list): Likewise.
15296         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15297         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15299         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15300         bzero for PPC32.
15301         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15302         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15303         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15304         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15305         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15306         memset for PPC64.
15307         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15309         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15311         implementations.
15312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15313         (__libc_ifunc_impl_list): Likewise.
15314         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15315         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15316         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15317         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15318         memcmp for PPC64.
15320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15321         multiarch for POWER/PPC64.
15322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15323         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15324         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15325         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15330         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15331         memcpy for PPC64.
15333         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15334         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15335         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15336         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15337         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15338         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15339         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15340         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15341         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15342         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15343         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15344         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15345         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15346         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15347         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15356 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15358         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15360 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15362         * benchtests/Makefile (bench): Add exp2 and log2.
15363         (LDLIBS-bench-exp2): Add -lm.
15364         (LDLIBS-bench-log2): Likewise.
15365         * benchtests/exp2-inputs: New inputs file.
15366         * benchtests/log2-inputs: New inputs file.
15367         * benchtests/log-inputs: Add new inputs.
15368         * benchtests/tan-inputs: Likewise.
15370 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15372         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15373         definition...
15374         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15375         (csloww2): ... from here.
15377         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15378         instead of structures.
15379         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15380         (POLYNOMIAL): Likewise.
15381         (TAYLOR_SLOW): Likewise.
15382         (__sin): Likewise.
15383         (__cos): Likewise.
15384         (slow1): Likewise.
15385         (slow2): Likewise.
15386         (sloww): Likewise.
15387         (sloww1); Likewise.
15388         (sloww2): Likewise.
15389         (bsloww1): Likewise.
15390         (bsloww2): Likewise.
15391         (cslow2): Likewise.
15392         (csloww): Likewise.
15393         (csloww1): Likewise.
15394         (csloww2): Likewise.
15396 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15398         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15399         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15400         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15401         * malloc/hooks.c (realloc_check): Likewise.
15403         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15404         * malloc/arena.c: Remove PER_THREAD conditional.
15405         [!PER_THREAD]: Remove code.
15406         (ptmalloc_unlock_all2): Likewise.
15407         (ptmalloc_init): Likewise.
15408         (_int_new_arena): Likewise.
15409         (arena_get2): Likewise.
15410         * malloc/hooks.c (__malloc_get_state): Likewise.
15411         (__malloc_set_state): Likewise.
15412         * malloc/malloc.c: Likewise.
15413         (struct malloc_state): Likewise.
15414         (struct malloc_par): Likewise.
15415         (__libc_realloc): Likewise.
15416         (__libc_mallopt): Likewise.
15418 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15420         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15422 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15424         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15425         macro to a function.  Check for zero perturb_byte.
15426         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15428         * malloc/malloc.c: (force_reg): Remove.
15429         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15430         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15431         force_reg by atomic_forced_read.
15432         * malloc/arena.c (ptmalloc_init): Likewise.
15433         * malloc/hooks.c (top_check): Likewise.
15435 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15439 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15443 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15445         * math/auto-libm-test-in: Add tests of lgamma.
15446         * math/auto-libm-test-out: Regenerated.
15447         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15448         (M_LOG_2_SQRT_PIl): Likewise.
15449         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15451         mpfr_f_f1.
15452         (func_calc_desc): Add mpfr_f_f1 union field.
15453         (ARGS1): New macro.
15454         (ARGS2): Likewise.
15455         (ARGS3): Likewise.
15456         (ARGS4): Likewise.
15457         (RET1): Likewise.
15458         (RET2): Likewise.
15459         (CALC): Likewise.
15460         (FUNC): Likewise.
15461         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15462         (test_functions): Add lgamma.
15463         (calc_generic_results): Handle mpfr_f_f1.
15464         * sysdeps/i386/fpu/libm-test-ulps: Update.
15465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15467 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15469         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15470         __mpn_add_n for PowerPC64/POWER7.
15471         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15472         __mpn_sub_n for PowerPC64/POWER7.
15474         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15475         __mpn_addmul_1 for PowerPC64.
15476         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15477         __mpn_submul_1 for PowerPC64.
15478         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15479         for PowerPC64.
15480         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15481         for PowerPC64.
15483 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15485         [BZ #15089]
15486         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15488 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15490         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15492         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15493         add multiarch folders.
15494         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15495         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15496         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15497         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15498         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15499         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15500         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15501         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15502         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15503         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15504         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15513         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15515         New file.
15516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15517         New file.
15518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15519         multiarch __ieee754_hypot for PowerPC32.
15520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15521         New file.
15522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15523         New file.
15524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15525         multiarch __ieee754_hypotf for PowerPC32.
15527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15528         long_double_symbol only if __logbl is defined.
15529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15530         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15531         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15532         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15534         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15535         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15536         path for implementation.
15537         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15538         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15540         logb, and logbl multiarch implementations for PowerPC32.
15541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15542         file.
15543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15544         file.
15545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15546         multiarch logb for PowerPC32.
15547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15548         file.
15549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15550         file.
15551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15552         multiarch logbf for PowerPC32.
15553         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15555         file.
15556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15557         multiarch logbl implementation for PowerPC32.
15559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15560         and modff multiarch implementations.
15561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15562         New file.
15563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15564         New file.
15565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15566         multiarch modf for PowerPC32.
15567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15568         New file.
15569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15570         New file.
15571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15572         multiarch modff for PowerPC32.
15574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15575         and lrintf multiarch implementations.
15576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15577         New file.
15578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15579         New file.
15580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15581         multiarch lrint for PowerPC32.
15582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15583         file: multiarch lrintf for PowerPC32.
15585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15586         and lroundf multiarch implementations.
15587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15588         New file.
15589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15590         New file.
15591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15592         New file.
15593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15594         multiarch lround for PowerPC32.
15595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15596         file: multiarch lroundf for PowerPC32.
15598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15599         copysign and copysignf multiarch implementations.
15600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15601         New file.
15602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15603         New file.
15604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15605         file: multiarch copysign for PowerPC32.
15606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15607         file: multiarch copysignf for PowerPC32.
15609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15610         and truncf multiarch implementations.
15611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15612         New file.
15613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15614         file.
15615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15616         multiarch trunc for PowerPC32.
15617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15618         New file.
15619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15620         New file.
15621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15622         multiarch truncf for PowerPC32.
15624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15625         and roundf multiarch implementations.
15626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15627         New file.
15628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15629         file.
15630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15631         multiarch round for PowerPC32.
15632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15633         New file.
15634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15635         New file.
15636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15637         multiarch roundf for PowerPC32.
15639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15640         and floorf multiarch implementations.
15641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15642         New file.
15643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15644         file.
15645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15646         multiarch floor for PowerPC32.
15647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15648         New file.
15649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15650         New file.
15651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15652         multiarch floorf for PowerPC32.
15654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15655         and ceilf multiarch implementations.
15656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15657         New file.
15658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15659         file.
15660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15661         multiarch ceil for PowerPC32.
15662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15663         New file.
15664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15665         file.
15666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15667         multiarch ceilf for PowerPC32.
15669         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15670         is defined.
15671         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15672         FINITEF is defined.
15673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15674         and finitef multiarch implementations.
15675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15676         New file.
15677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15678         file.
15679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15680         multiarch finite for PowerPC32.
15681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15682         New file.
15683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15684         file: multiarch finitef for PowerPC32.
15686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15687         and isinff multiarch implementations.
15688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15689         file.
15690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15691         file.
15692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15693         multiarch isinf for PowerPC32.
15694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15695         New file.
15696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15697         multiarch isinff for PowerPC32.
15699         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15700         alias when __isnan is defined.
15701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15702         and isnanf multiarch implementations.
15703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15704         file.
15705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15706         file.
15707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15708         file.
15709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15710         file.
15711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15712         multiarch isnan for PowerPC32.
15713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15714         New file.
15715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15716         New file.
15717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15718         multiarch isnanf for PowerPC32.
15720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15721         and sqrtf multiarch implementations.
15722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15723         file.
15724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15725         file.
15726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15727         multiarch sqrt for PowerPC32.
15728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15729         file.
15730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15731         file.
15732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15733         multiarch sqrtf for PowerPC32.
15735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15736         and llroundf multiarch implementations.
15737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15738         New file.
15739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15740         New file.
15741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15742         New file.
15743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15744         file: multiarch llround for PowerPC32.
15745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15746         file: multiarch llroundf for PowerPC32.
15748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15749         multiarch PowerPC32 fpu implementations.
15750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15751         New file.
15752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15753         New file.
15754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15755         multiarch llrint for PowerPC32.
15756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15757         New file.
15758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15759         New file.
15760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15761         file.
15763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15765         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15766         file.
15767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15768         file.
15769         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15770         file.
15771         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15772         multiarch wordcopy for PPC32.
15773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15774         wordcopy objects.
15775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15776         (__libc_ifunc_impl_list): Likewise.
15777         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15778         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15779         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15780         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15781         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15782         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15784         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15786         file.
15787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15788         file.
15789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15790         file.
15791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15792         multiarch wcscpy for PPC32.
15793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15794         multiarch objects.
15795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15796         (__libc_ifunc_impl_list): Likewise.
15797         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15798         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15799         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15800         sysdeps/powerpc/power6/wcscpy.c.
15802         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15804         file.
15805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15806         file.
15807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15808         file.
15809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15810         multiarch wcsrchr for PPC32.
15811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15812         multiarch objects.
15813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15814         (__libc_ifunc_impl_list): Likewise.
15815         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15816         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15817         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15818         sysdeps/powerpc/power6/wcsrchr.c.
15820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15821         file.
15822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15823         file.
15824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15826         multiarch wcschr for PPc32.
15827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15828         multiarch objects.
15829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15830         (__libc_ifunc_impl_list): Likewise.
15831         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15832         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15833         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15834         sysdeps/powerpc/power6/wcschr.c.
15836         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15837         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15838         file.
15839         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15840         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15841         file: multiarch strchr for PPC32.
15842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15843         multiarch objects.
15844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15845         (__libc_ifunc_impl_list): Likewise.
15847         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15848         name.
15849         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15850         file.
15851         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15852         file.
15853         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15854         multiarch strchrnul for PPC32.
15855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15856         multiarch objects.
15857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15858         (__libc_ifunc_impl_list): Likewise.
15860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15861         file.
15862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15863         multiarch strncasecmp for PPC32.
15864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15865         file.
15866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15867         multiarch strncasecmp_l for PPC32.
15868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15869         strncasecmp multiarch objects.
15870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15871         (__libc_ifunc_impl_list): Likewise.
15873         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15874         file.
15875         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15876         multiarch strncasecmp for PPC32.
15877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15878         New file.
15879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15880         multiarch strcasecmp_l for PPC32.
15881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15882         multiarch objects.
15883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15884         (__libc_ifunc_impl_list): Likewise.
15886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15887         file.
15888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15889         file.
15890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15891         multiarch strncmp for PPC32.
15892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15893         multiarch objects.
15894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15895         (__libc_ifunc_impl_list): Likewise.
15897         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15898         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15899         file.
15900         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15901         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15903         multiarch objects.
15904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15905         (__libc_ifunc_impl_list): Likewise.
15907         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15908         file.
15909         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15910         file.
15911         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15913         multiarch objects.
15914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15915         (__libc_ifunc_impl_list): Likewise.
15917         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15918         file.
15919         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15920         file.
15921         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15922         multiarch rawmemchr for PPC32.
15923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15924         multiarch objects.
15925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15926         (__libc_ifunc_impl_list): Likewise.
15928         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15929         file.
15930         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15931         file.
15932         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15933         file: memrchr multiarch for PPC32.
15934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15935         multiarch objects.
15936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15937         (__libc_ifunc_impl_list): Likewise.
15939         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15940         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15941         file.
15942         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15943         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15944         multiarch memchr for PPC32.
15945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15946         multiarch objects.
15947         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15948         (__libc_ifunc_impl_list): Likewise.
15950         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15951         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15952         file.
15953         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15954         file.
15955         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15956         file: multiarch mempcpy for PPC32.
15957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15958         multiarch objects.
15959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15960         (__libc_ifunc_impl_list): Likewise.
15962         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15964         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15965         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15966         multiarch bzero for PPC32.
15967         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15968         file.
15969         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15970         file.
15971         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15972         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15973         file: multiarch memset for PPC32.
15974         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15976         memset multiarch objects.
15977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15978         (__libc_ifunc_impl_list): Likewise.
15980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15981         file.
15982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15984         memcmp for PPC32.
15985         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15987         multiarch objects.
15988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15989         (__libc_ifunc_impl_list): Likewise.
15991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15994         file.
15995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15996         file.
15997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15998         file.
15999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16000         multiarch memcpy for PPC32.
16001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16002         multiarch objects.
16003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16004         (__libc_ifunc_impl_list): Likewise.
16006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16007         support multiarch for POWER/PPC32.
16008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16009         Likewise.
16010         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16012         Implies file to make multiarch folder appers before the fpu and
16013         default folder for power4 configuration.
16015 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017         * scripts/bench.pl: Append volatile keyword to type.
16019 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16021         * sysdeps/sh/sotruss-lib.c: New file.
16022         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16024 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16028 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16030         [BZ #6810]
16031         * math/w_tgamma.c: Include <errno.h>.
16032         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16033         * math/w_tgammaf.c: Include <errno.h>.
16034         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16035         * math/w_tgammal.c: Include <errno.h>.
16036         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16037         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16038         underflow.  Add more tgamma tests.
16039         * math/auto-libm-test-out: Regenerated.
16040         * sysdeps/i386/fpu/libm-test-ulps: Update.
16041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16044         sin, sinh, tan, tanh, tgamma, y0 and y1.
16045         * math/auto-libm-test-out: Regenerated.
16046         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16047         (TEST_COND_x86): Likewise.
16048         (M_E2l): Remove macro.
16049         (M_E3l): Likewise.
16050         (M_2_SQRT_PIl): Likewise.
16051         (M_SQRT_PIl): Likewise.
16052         (M_1_DIV_El): Likewise.
16053         (log_test_data): Use AUTO_TESTS_f_f.
16054         (log10_test_data): Likewise.
16055         (log1p_test_data): Likewise.
16056         (log2_test_data): Likewise.
16057         (sin_test_data): Likewise.
16058         (sin_tonearest_test_data): Likewise.
16059         (sin_towardzero_test_data): Likewise.
16060         (sin_downward_test_data): Likewise.
16061         (sin_upward_test_data): Likewise.
16062         (sinh_test_data): Likewise.
16063         (sinh_tonearest_test_data): Likewise.
16064         (sinh_towardzero_test_data): Likewise.
16065         (sinh_downward_test_data): Likewise.
16066         (sinh_upward_test_data): Likewise.
16067         (tan_test_data): Likewise.
16068         (tan_tonearest_test_data): Likewise.
16069         (tan_towardzero_test_data): Likewise.
16070         (tan_downward_test_data): Likewise.
16071         (tan_upward_test_data): Likewise.
16072         (tanh_test_data): Likewise.
16073         (tgamma_test_data): Likewise.
16074         (y0_test_data): Likewise.
16075         (y1_test_data): Likewise.
16076         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16077         (special_real_inputs): Add pi/4.
16078         * sysdeps/i386/fpu/libm-test-ulps: Update.
16079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16081 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16083         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16084         "longjmp_target" static probes.
16085         (__longjmp): Rename to __longjmp_symbol.
16086         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16087         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16088         on which longjmp to generate.
16089         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16090         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16091         probe.
16092         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16093         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16094         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16095         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16096         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16097         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16099         __longjmp_symbol based on which __longjmp to generate.
16100         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16101         probe.
16102         (setjmp): Rename to setjmp_symbol.
16103         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16104         (_setjmp): Rename to _setjmp_symbol.
16105         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16106         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16107         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16108         which setjmp to generate.
16109         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16110         "longjmp_target" static probes.
16112 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16114         * benchtests/README: Add note about output arguments.
16115         * benchtests/bench-sincos.c: Remove file.
16116         * benchtests/sincos-inputs: New file.
16117         * scripts/bench.pl: Identify output arguments and define
16118         static variables for them.
16120         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16122         [BZ #15941]
16123         * Makefile (INSTALL): Add install-plain.texi as the primary
16124         dependency.
16125         * manual/install-plain.texi: New file.
16126         * manual/install.texi: Include node directive only for
16127         non-plaintext output.
16129 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16131         * stdlib/longlong.h: Update from GCC.
16133         [BZ #6807]
16134         [BZ #15901]
16135         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16136         * math/w_j0f.c (y0f): Likewise.
16137         * math/w_j0l.c (__y0l): Likewise.
16138         * math/w_j1.c (y1): Likewise.
16139         * math/w_j1f.c (y1f): Likewise.
16140         * math/w_j1l.c (__y1l): Likewise
16141         * math/w_jn.c (yn): Likewise.
16142         * math/w_jnf.c (ynf): Likewise.
16143         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16144         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16145         value for Bessel function domain errors outside _SVID_ mode.
16146         Adjust sign of return value for yn (negative integer, 0).
16147         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16148         by zero in return for negative x and set sign appropriately for
16149         negative n.
16150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16151         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16152         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16153         expectations in error cases.
16154         (y1_test_data): Likewise.
16155         (yn_test_data): Likewise.
16156         * sysdeps/i386/fpu/libm-test-ulps: Update.
16157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16159 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16161         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16162         "64" to "64-v1".  Add "64-v2".
16163         (abi-64-options): Rename to ...
16164         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16165         (abi-64-condition): Rename to ...
16166         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16167         (abi-64-ld-soname): Rename to ...
16168         (abi-64-v1-ld-soname): ... this.
16169         (abi-64-v2-options): Define.
16170         (abi-64-v2-condition): Likewise.
16171         (abi-64-v2-ld-soname): Likewise.
16172         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16173         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16178 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16179             Alan Modra  <amodra@gmail.com>
16181         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16182         New versions for use with the ELFv2 ABI.
16183         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16184         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16185         declaration.
16186         (struct La_ppc64v2_retval): Likewise.
16187         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16188         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16189         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16190         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16191         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16192         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16193         Do not save or restore CR.
16194         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16195         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16196         return values for ELFv2 ABI.  Fix location of FPR return registers.
16197         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16198         updated values for _CALL_ELF == 2.
16199         (La_regs, La_retval, int_retval): Likewise.
16201 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16203         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16204         (FRAME_MIN_SIZE_PARM): Likewise.
16205         (FRAME_BACKCHAIN): Likewise.
16206         (FRAME_CR_SAVE): Likewise.
16207         (FRAME_LR_SAVE): Likewise.
16208         (FRAME_TOC_SAVE): Likewise.
16209         (FRAME_PARM_SAVE): Likewise.
16210         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16211         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16212         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16213         (call_mcount_parm_offset): New macro.
16214         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16215         (PROF): Use symbolic stack frame offsets.
16216         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16218         Redefine in terms of FRAME_MIN_SIZE.
16219         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16220         (_dl_profile_resolve): Likewise.  Update comment.
16221         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16222         symbols stack frame offsets.
16223         (__sigsetjmp): Likewise.
16224         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16225         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16226         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16227         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16230         (FRAME_BACKCHAIN): Remove.
16231         (FRAME_CR_SAVE): Likewise.
16232         (FRAME_LR_SAVE): Likewise.
16233         (FRAME_COMPILER_DW): Likewise.
16234         (FRAME_LINKER_DW): Likewise.
16235         (FRAME_TOC_SAVE): Likewise.
16236         (FRAME_PARM_SAVE): Likewise.
16237         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16238         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16239         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16241         (CHECK_SP): Use symbolic stack frame offsets.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16243         zone" instead of caller's parameter save area for temp storage.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16245         Likewise.  Also, use symbolic stack frame offsets.
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16247         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16248         our own stack frame instead of the caller's.
16249         (__socket): Use symbolic stack frame offsets.
16251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16252             Alan Modra  <amodra@gmail.com>
16254         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16255         Define.
16256         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16257         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16258         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16259         New function.
16260         (elf_machine_fixup_plt): Call it.
16261         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16262         reloc arguments.
16263         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16265         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16266         r2 before calling target.
16268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16269             Alan Modra  <amodra@gmail.com>
16271         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16272         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16273         versions of macros to support ELFv2 ABI.
16274         (LOCALENTRY): New macro.
16275         (ENTRY, EALIGN): Use it.
16276         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16277         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16278         fall through into ENTRY entry point.
16279         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16280         Only define if _CALL_ELF != 2.
16282         (elf_machine_matches_host): Verify ABI version matches.
16283         (RTLD_START): Use LOCALENTRY.
16284         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16285         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16286         (PLT_ENTRY_WORDS): New macro.
16287         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16288         (elf_machine_runtime_setup): Support ELFv2 ABI.
16289         (elf_machine_fixup_plt): Likewise.
16290         (elf_machine_plt_conflict): Likewise.
16291         (resolve_ifunc): Likewise.
16292         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16294         Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16296         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16298         (makecontext): Support ELFv2 ABI.
16299         * elf/elf.h (EF_PPC64_ABI): Define.
16301 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16303         * sysdeps/powerpc/powerpc64/sysdep.h
16304         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16305         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16306         (ENTRY) [ASSEMBLER]: ... but instead here ...
16307         (EALIGN) [ASSEMBLER]: ... and here.
16308         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16309         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16310         (ENTRY_2) [!ASSEMBLER]: Use it.
16311         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16312         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16313         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16314         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16315         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16317         Use PPC64_LOAD_FUNCPTR.
16319         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16321 2013-12-04  Alan Modra  <amodra@gmail.com>
16323         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16324         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16325         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16326         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16329         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16330         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16331         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16332         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16333         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16335 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16338         (__makecontext): Fix incorrect CFI when backtracing out of
16339         context created via makecontext.
16340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16341         (__setcontext): Fix incorrect CFI during switch to new context.
16342         (__novec_setcontext): Likewise.
16344 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16346         [BZ #4772]
16347         * time/strptime_l.c (__strptime_internal): Allow modifiers
16348         in strptime.
16349         * time/tst-strptime.c (day_tests): Add testcase.
16351 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16353         * scripts/bench.pl: Skip over blank lines.
16355 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16357         [BZ #926]
16358         * manual/time.texi (Calendar Time): Clarify what timezone functions
16359         use.
16361 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16365 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16367         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16368         implementation.
16369         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16370         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16371         * debug/memset_chk.c (__memset_chk): Likewise.
16372         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16373         * debug/strncpy_chk.c: Likewise.
16375 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16377         [BZ #15268]
16378         [BZ #15425]
16379         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16380         (__ieee754_exp): For possibly underflowing results, check size of
16381         result and force underflow exception if required.
16382         * math/auto-libm-test-in: Add more tests of exp.
16383         * math/auto-libm-test-out: Regenerated.
16384         * sysdeps/i386/fpu/libm-test-ulps: Update.
16385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387         [BZ #16283]
16388         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16389         * math/w_exp2f.c (__exp2f): Likewise.
16390         * math/w_exp2l.c (__exp2l): Likewise.
16391         * math/auto-libm-test-in: Do not allow missing errno on exp2
16392         underflow.
16393         * math/auto-libm-test-out: Regenerated.
16395 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16397         [BZ #16274]
16398         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16399         handle filename validation.
16400         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16401         (do_open): Delete.
16403 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16405         [BZ #6786]
16406         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16407         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16408         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16409         <float.h>.
16410         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16411         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16412         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16414         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16415         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16416         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16417         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16418         Add more erfc tests.
16419         * math/auto-libm-test-out: Regenerated.
16420         * sysdeps/i386/fpu/libm-test-ulps: Update.
16421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16423         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16424         exp2, expm1, j0 and j1.
16425         * math/auto-libm-test-out: Regenerated.
16426         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16427         (erfc_test_data): Likewise.
16428         (exp_test_data): Likewise.
16429         (exp_tonearest_test_data): Likewise.
16430         (exp_towardzero_test_data): Likewise.
16431         (exp_downward_test_data): Likewise.
16432         (exp_upward_test_data): Likewise.
16433         (exp10_test_data): Likewise.
16434         (exp2_test_data): Likewise.
16435         (expm1_test_data): Likewise.
16436         (j0_test_data): Likewise.
16437         (j1_test_data): Likewise.
16438         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16439         (input_flag_type): Add flag_xfail_rounding.
16440         (input_flags): Add xfail-rounding.
16441         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16442         (output_for_one_input_case): Handle flag_xfail_rounding.
16443         * sysdeps/i386/fpu/libm-test-ulps: Update.
16444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16446 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16448         [BZ #16289]
16449         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16450         division by 0.
16452 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         [BZ #16195]
16455         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16456         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16457         (STAP_PROBE0): New macro.
16458         (STAP_PROBE1): Likewise.
16459         (STAP_PROBE2): Likewise.
16460         (STAP_PROBE3): Likewise.
16461         (STAP_PROBE4): Likewise.
16463 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16465         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16467 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16469         * benchtests/Makefile (bench): Add sqrt.
16470         (LDLIBS-bench-sqrt): New.
16471         * benchtests/sqrt-input: New.
16473 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16475         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16476         (GAIH_EAI): Likewise.
16477         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16478         (gaih_inet): Likewise.
16479         (getaddrinfo): Don't use GAIH_EAI.
16481         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16482         (struct gaih): Remove definition.
16484 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16486         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16487         Use HERRNOP directly.
16489 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16495         * math/gen-auto-libm-tests.c (test_functions): Add more
16496         single-argument functions.
16497         (special_fill_pi_2): New function.
16498         (special_fill_minus_pi_2): Likewise.
16499         (special_fill_pi_6): Likewise.
16500         (special_fill_minus_pi_6): Likewise.
16501         (special_fill_pi_3): Likewise.
16502         (special_fill_2pi_3): Likewise.
16503         (special_fill_e): Likewise.
16504         (special_fill_1_e): Likewise.
16505         (special_fill_e_minus_1): Likewise.
16506         (special_real_inputs): Add more special inputs.
16507         (output_for_one_input_case): Do not require ERANGE on underflow to
16508         zero if round-to-nearest result does not underflow to zero, unless
16509         exact results required.
16510         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16511         atan, atanh, cbrt, cos and cosh.
16512         * math/auto-libm-test-out: Regenerated.
16513         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16514         (acos_tonearest_test_data): Likewise.
16515         (acos_towardzero_test_data): Likewise.
16516         (acos_downward_test_data): Likewise.
16517         (acos_upward_test_data): Likewise.
16518         (acosh_test_data): Likewise.
16519         (asin_test_data): Likewise.
16520         (asin_tonearest_test_data): Likewise.
16521         (asin_towardzero_test_data): Likewise.
16522         (asin_upward_test_data): Likewise.
16523         (asinh_test_data): Likewise.
16524         (atan_test_data): Likewise.
16525         (atanh_test_data): Likewise.
16526         (cbrt_test_data): Likewise.
16527         (cos_test_data): Likewise.
16528         (cos_tonearest_test_data): Likewise.
16529         (cos_towardzero_test_data): Likewise.
16530         (cos_downward_test_data): Likewise.
16531         (cos_upward_test_data): Likewise.
16532         (cosh_test_data): Likewise.
16533         (cosh_tonearest_test_data): Likewise.
16534         (cosh_towardzero_test_data): Likewise.
16535         (cosh_downward_test_data): Likewise.
16536         (cosh_upward_test_data): Likewise.
16537         * sysdeps/i386/fpu/libm-test-ulps: Update.
16538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16540 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16542         [BZ #6787]
16543         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16544         * math/w_exp10f.c (__exp10f): Likewise.
16545         * math/w_exp10l.c (__exp10l): Likewise.
16546         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16547         errno settings in existing tests.
16549         [BZ #14032]
16550         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16551         precision control set to double precision.
16552         * sysdeps/i386/fpu/w_sqrt.c: New file.
16553         * math/auto-libm-test-in: Add more tests.
16554         * math/auto-libm-test-out: Update.
16556         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16557         (sqrt_test_tonearest): New function.
16558         (sqrt_towardzero_test_data): New variable.
16559         (sqrt_test_towardzero): New function.
16560         (sqrt_downward_test_data): New variable.
16561         (sqrt_test_downward): New function.
16562         (sqrt_upward_test_data): New variable.
16563         (sqrt_test_upward): New function.
16564         (main): Call the new functions.
16566         * math/gen-auto-libm-tests.c: New file.
16567         * math/auto-libm-test-in: Likewise.
16568         * math/auto-libm-test-out: New generated file.
16569         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16570         variables.
16571         (%beautify): Add generated representations of zero.
16572         (top level): Set $auto_input and call parse_auto_input.
16573         (beautify): Remove trailing "f" from hex float constants.
16574         (parse_args): Handle XFAIL_TEST.
16575         (convert_condition): New function.
16576         (or_value): Likewise.
16577         (or_cond_value): Likewise.
16578         (generate_testfile): Handle AUTO_TESTS_* lines.
16579         (parse_auto_input): New function.
16580         * math/libm-test.inc (XFAIL_TEST): New macro.
16581         (ERRNO_UNCHANGED): Update value.
16582         (ERRNO_EDOM): Likewise.
16583         (ERRNO_ERANGE): Likewise.
16584         (IGNORE_RESULT): Likewise.
16585         (TEST_COND_flt_32): New macro.
16586         (TEST_COND_dbl_64): Likewise.
16587         (TEST_COND_ldbl_96_intel): Likewise.
16588         (TEST_COND_ldbl_96_m68k): Likewise.
16589         (TEST_COND_ldbl_128): Likewise.
16590         (TEST_COND_ldbl_128ibm): Likewise.
16591         (TEST_COND_long32): Likewise.
16592         (TEST_COND_long64): Likewise.
16593         (TEST_COND_before_rounding): Likewise.
16594         (TEST_COND_after_rounding): Likewise.
16595         (enable_test): Handle XFAIL_TEST flag.
16596         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16597         with finite results.
16598         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16599         auto-libm-test-out.
16601 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16602             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16604         [BZ #16214]
16605         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16606         __tls_get_addr_internal instead of __tls_get_offset in order to
16607         avoid GOT pointer dependency.  Make rtld export
16608         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16609         __tls_get_addr since we are a __tls_get_offset platform.
16610         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16611         GOT pointer being set up before.
16612         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16614 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16616         * manual/math.texi (Errors in Math Functions): Document accuracy
16617         goals.
16619         [BZ #15004]
16620         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16621         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16622         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16623         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16624         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16625         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16626         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16627         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16628         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16629         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16630         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16631         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16632         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16633         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16634         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16635         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16637         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16638         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16639         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16640         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16641         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16642         Likewise.
16643         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16644         Likewise.
16645         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16646         Likewise.
16647         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16648         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16649         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16650         atomic-feupdateenv and flt-rounds.
16651         * sysdeps/powerpc/nofpu/Versions (libc): Add
16652         __atomic_feholdexcept, __atomic_feclearexcept,
16653         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16654         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16655         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16656         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16657         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16658         here.
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16660         Update.
16662         * manual/arith.texi (FP Exceptions): Document that exceptions may
16663         not be raised when matherr is used.
16664         (Math Error Reporting): Document overflow in directed rounding
16665         modes.  Document that errno may not be set when finite values are
16666         returned on overflow.  Document intent to set errno on underflow
16667         only for underflow to zero.
16669         [BZ #16271]
16670         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16671         round-to-nearest then adjust result for other rounding modes.
16672         * include/fenv.h (fegetround): Use libm_hidden_proto.
16673         * math/fegetround.c (fegetround): Use libm_hidden_def.
16674         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16675         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16676         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16677         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16678         Likewise.
16679         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16680         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16681         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16682         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16684 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16686         [BZ #16077]
16687         * nss/Versions (libnss_files): Add
16688         _nss_files_gethostbyname3_r.
16689         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16690         New function.
16691         (HOST_DB_LOOKUP): Remove macro.
16692         (_nss_files_gethostbyname_r): Implement function without the
16693         HOST_DB_LOOKUP macro.
16694         (_nss_files_gethostbyname2_r): Likewise.
16696 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16698         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16700 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16702         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16703         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16704         warning.
16706 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16708         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16709         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16710         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16711         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16712         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16713         __fe_nomask_env_priv and attribute_hidden.
16714         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16715         (libc_feupdateenv_test_ppc): Likewise.
16716         (libc_feresetround_ppc): Likewise.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16718         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16719         compat_symbol macro.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16721         (__fe_nomask_env): Likewise.
16722         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16724 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16726         * string/Makefile: Remove ifunc tests.
16727         * string/test-string.h: Define TEST_IFUNC.
16728         * string/test-bcopy-ifunc.c: Remove.
16729         * string/test-bzero-ifunc.c: Likewise.
16730         * string/test-memccpy-ifunc.c: Likewise.
16731         * string/test-memchr-ifunc.c: Likewise.
16732         * string/test-memcmp-ifunc.c: Likewise.
16733         * string/test-memcpy-ifunc.c: Likewise.
16734         * string/test-memmem-ifunc.c: Likewise.
16735         * string/test-memmove-ifunc.c: Likewise.
16736         * string/test-mempcpy-ifunc.c: Likewise.
16737         * string/test-memrchr-ifunc.c: Likewise.
16738         * string/test-memset-ifunc.c: Likewise.
16739         * string/test-rawmemchr-ifunc.c: Likewise.
16740         * string/test-stpcpy-ifunc.c: Likewise.
16741         * string/test-stpncpy-ifunc.c: Likewise.
16742         * string/test-strcasecmp-ifunc.c: Likewise.
16743         * string/test-strcasestr-ifunc.c: Likewise.
16744         * string/test-strcat-ifunc.c: Likewise.
16745         * string/test-strchr-ifunc.c: Likewise.
16746         * string/test-strchrnul-ifunc.c: Likewise.
16747         * string/test-strcmp-ifunc.c: Likewise.
16748         * string/test-strcpy-ifunc.c: Likewise.
16749         * string/test-strcspn-ifunc.c: Likewise.
16750         * string/test-strlen-ifunc.c: Likewise.
16751         * string/test-strncasecmp-ifunc.c: Likewise.
16752         * string/test-strncat-ifunc.c: Likewise.
16753         * string/test-strncmp-ifunc.c: Likewise.
16754         * string/test-strncpy-ifunc.c: Likewise.
16755         * string/test-strnlen-ifunc.c: Likewise.
16756         * string/test-strpbrk-ifunc.c: Likewise.
16757         * string/test-strrchr-ifunc.c: Likewise.
16758         * string/test-strspn-ifunc.c: Likewise.
16759         * string/test-strstr-ifunc.c: Likewise.
16761 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16763         * benchtests/Makefile: Remove ifunc tests.
16764         * benchtests/bench-string.h: Define TEST_IFUNC.
16765         * benchtests/bench-bcopy-ifunc.c: Remove.
16766         * benchtests/bench-bzero-ifunc.c: Likewise.
16767         * benchtests/bench-memccpy-ifunc.c: Likewise.
16768         * benchtests/bench-memchr-ifunc.c: Likewise.
16769         * benchtests/bench-memcmp-ifunc.c: Likewise.
16770         * benchtests/bench-memcpy-ifunc.c: Likewise.
16771         * benchtests/bench-memmem-ifunc.c: Likewise.
16772         * benchtests/bench-memmove-ifunc.c: Likewise.
16773         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16774         * benchtests/bench-memrchr-ifunc.c: Likewise.
16775         * benchtests/bench-memset-ifunc.c: Likewise.
16776         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16777         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16778         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16779         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16780         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16781         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16782         * benchtests/bench-strcat-ifunc.c: Likewise.
16783         * benchtests/bench-strchr-ifunc.c: Likewise.
16784         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16785         * benchtests/bench-strcmp-ifunc.c: Likewise.
16786         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16787         * benchtests/bench-strcpy-ifunc.c: Likewise.
16788         * benchtests/bench-strcspn-ifunc.c: Likewise.
16789         * benchtests/bench-strlen-ifunc.c: Likewise.
16790         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16791         * benchtests/bench-strncat-ifunc.c: Likewise.
16792         * benchtests/bench-strncmp-ifunc.c: Likewise.
16793         * benchtests/bench-strncpy-ifunc.c: Likewise.
16794         * benchtests/bench-strnlen-ifunc.c: Likewise.
16795         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16796         * benchtests/bench-strrchr-ifunc.c: Likewise.
16797         * benchtests/bench-strsep-ifunc.c: Likewise.
16798         * benchtests/bench-strspn-ifunc.c: Likewise.
16799         * benchtests/bench-strstr-ifunc.c: Likewise.
16801 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16803         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16805 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16807         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16808         * rt/aio.h: Likewise.
16809         * sysdeps/gnu/bits/utmp.h: Likewise.
16810         * sysdeps/gnu/bits/utmpx.h: Likewise.
16811         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16812         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16813         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16814         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16815         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16816         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16817         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16818         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16819         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16820         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16821         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16822         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16823         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16825         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16826         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16827         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16828         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16829         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16830         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16831         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16832         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16833         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16834         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16835         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16837         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16838         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16839         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16840         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16841         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16842         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16843         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16844         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16845         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16846         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16847         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16848         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16849         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16850         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16851         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16852         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16854 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16856         [BZ #16245]
16857         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16858         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16860 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16862         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16863         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16864         Likewise.
16866 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16868         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16869         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16870         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16871         (__fesetround): Remove define.
16872         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16873         rounding and exceptions handling.
16874         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16875         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16876         (__fe_nomask_env): Likewise.
16877         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16878         __fegetround instead of fegetround.
16879         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16880         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16882 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16884         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16885         it's there.
16887         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16889 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16891         [BZ #11157]
16892         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16893         (encrypt_r): Likewise.
16894         * malloc/obstack.h (obstack_free): Likewise.
16895         * posix/unistd.h (encrypt): Likewise.
16897 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16899         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16900         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16901         DL_CALL_DT_FINI() that call the functions directly.
16902         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16903         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16904         * elf/dl-fini.c: Likewise.
16906 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16908         * malloc/hooks.c (memalign_check): Add alignment rounding.
16909         * malloc/malloc.c (_mid_memalign): New function.
16910         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16911         Implement by calling _mid_memalign.
16912         * manual/probes.texi (Memory Allocation Probes): Remove
16913         memory_valloc_retry and memory_pvalloc_retry.
16915 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16917         * locale/programs/locarchive.c (open_archive): Add const
16918         qualifier to ARCHIVEFNAME and copy default fname to
16919         DEFAULT_FNAME.
16921         [BZ #15601]
16922         * libio/tst-widetext.input: Rename Oriya to Odia.
16923         * locale/iso-639.def: Likewise.
16925         * manual/probes.texi (Mathematical Function Probes): Add
16926         documentation for sin, cos, asin and acos probes.
16927         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16928         (__sin32): Add slowasin probe.
16929         (__cos32): Add slowacos probe.
16930         (__mpsin): Add slowsin probe.
16931         (__mpcos): Add slowcos probe.
16933 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16935         [BZ #15483]
16936         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16937         thread-local __sim_exceptions_thread and global
16938         __sim_exceptions_global.
16939         (__sim_disabled_exceptions): Change to thread-local
16940         __sim_disabled_exceptions_thread and global
16941         __sim_disabled_exceptions_global.
16942         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16943         and global __sim_round_mode_global.
16944         (__simulate_exceptions): Use thread-local floating-point state and
16945         set global state from it as needed.
16946         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16947         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16948         __sim_round_mode_thread.
16949         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16950         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16951         and global __sim_exceptions_global.
16952         (__sim_disabled_exceptions): Change to thread-local
16953         __sim_disabled_exceptions_thread and global
16954         __sim_disabled_exceptions_global.
16955         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16956         and global __sim_round_mode_global.
16957         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16958         (SIM_SET_GLOBAL): Likewise.
16959         * sysdeps/powerpc/soft-fp/sfp-machine.h
16960         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16961         __sim_round_mode_thread.
16962         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16963         __sim_disabled_exceptions_thread.
16964         (__sim_exceptions): Change to __sim_exceptions_thread.
16965         (__sim_disabled_exceptions): Change to
16966         __sim_disabled_exceptions_thread.
16967         (__sim_round_mode): Change to __sim_round_mode_thread.
16968         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16969         thread-local floating-point state and set global state from it as
16970         needed.
16971         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16972         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16973         (__sim_disabled_exceptions): Remove extern declaration.
16974         (feenableexcept): Use thread-local floating-point state and set
16975         global state from it as needed.
16976         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16977         extern declaration.
16978         (__sim_disabled_exceptions): Likewise.
16979         (__sim_round_mode): Likewise.
16980         (__fegetenv): Use thread-local floating-point state.
16981         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16982         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16983         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16984         floating-point state and set global state from it as needed.
16985         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16986         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16987         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16988         Likewise.
16989         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16990         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16991         Likewise.
16992         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16993         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16994         Use __sim_round_mode_thread.
16995         * math/test-fenv-tls.c: New file.
16996         * math/Makefile (tests): Add test-fenv-tls.
16997         ($(objpfx)test-fenv-tls): Depend on
16998         $(common-objpfx)nptl/libpthread.so.
17000 2013-11-19  Andreas Schwab  <schwab@suse.de>
17002         * locale/programs/locale.c (show_info): Decode wordarray elements.
17003         * locale/categories.def (LC_MONETARY): Add element for
17004         _NL_MONETARY_CRNCYSTR.
17005         * locale/C-monetary.c (conversion_rate): New variable.
17006         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17007         element.
17009 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17011         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17012         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17014 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17016         * elf/Makefile (tst-auxv): New test.
17017         * elf/tst-auxv.c: New
17018         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17020 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17022         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17023         (hidden_proto): Caller changed.
17024         (hidden_tls_proto): New macro.
17025         (libc_hidden_tls_proto): Likewise.
17026         (rtld_hidden_tls_proto): Likewise.
17027         (libm_hidden_tls_proto): Likewise.
17028         (libresolv_hidden_tls_proto): Likewise.
17029         (librt_hidden_tls_proto): Likewise.
17030         (libdl_hidden_tls_proto): Likewise.
17031         (libnss_files_hidden_tls_proto): Likewise.
17032         (libnsl_hidden_tls_proto): Likewise.
17033         (libnss_nisplus_hidden_tls_proto): Likewise.
17034         (libutil_hidden_tls_proto): Likewise.
17036 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17038         [BZ #10253]
17039         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17040         (decompose_rpath): Defer expansion to fillin_rpath.
17041         (_dl_init_paths): Pass linkmap to fillin_rpath.
17043 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17045         * benchtests/Makefile: Add strsep.
17046         * benchtests/bench-strsep.c: New file: strsep benchtest.
17047         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17049 2013-11-18  Andreas Schwab  <schwab@suse.de>
17051         * locale/programs/locale.c (show_info) [case byte]: Check for
17052         '\377' instead of '\177'.
17053         * locale/C-monetary.c (not_available): Always use "\377".
17054         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17055         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17056         detect unavailable sign_posn locale elements.
17057         * locale/localeconv.c (__localeconv): For grouping and
17058         mon_grouping handle "\177" and "\377" like no grouping.
17059         (INT_ELEM): New macro.  Use it to set all numeric members.
17060         * locale/programs/ld-monetary.c (monetary_read)
17061         <tok_mon_grouping>: Normalize single -1 to the empty string.
17062         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17063         Likewise.
17065 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17067         [BZ #16055]
17068         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17069         when we match (nil).
17070         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17072 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17074         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17075         (NO_TEST_INLINE): Update value.
17076         (ERRNO_UNCHANGED): Likewise.
17077         (ERRNO_EDOM): Likewise.
17078         (ERRNO_ERANGE): Likewise.
17079         (IGNORE_RESULT): Likewise.
17080         (check_float_internal): Check signs of NaN results if
17081         TEST_NAN_SIGN used.
17082         (check_complex): Pass TEST_NAN_SIGN flag through to second
17083         check_float_internal call.
17084         (copysign_test_data): Add tests with quiet NaNs as second
17085         argument.  Use TEST_NAN_SIGN.
17086         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17087         TEST_NAN_SIGN.
17088         (signbit_test_data): Add tests of quiet NaN argument.
17089         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17091         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17092         $ignore_result.
17093         (parse_args): Handle function results specified as IGNORE.
17094         * math/libm-test.inc (IGNORE_RESULT): New macro.
17095         (check_float_internal): Do not check numerical result if flag
17096         IGNORE_RESULT set.
17097         (check_complex): Pass through IGNORE_RESULT to second
17098         check_float_internal call.
17099         (check_int): Do not check numerical result if flag IGNORE_RESULT
17100         set.
17101         (check_long): Likewise.
17102         (check_bool): Likewise.
17103         (check_longlong): Likewise.
17104         (lrint_test_data): Add tests of infinite and NaN arguments.
17105         (lrint_tonearest_test_data): Likewise.
17106         (lrint_towardzero_test_data): Likewise.
17107         (lrint_downward_test_data): Likewise.
17108         (lrint_upward_test_data): Likewise.
17109         (llrint_test_data): Likewise.
17110         (llrint_tonearest_test_data): Likewise.
17111         (llrint_towardzero_test_data): Likewise.
17112         (llrint_downward_test_data): Likewise.
17113         (llrint_upward_test_data): Likewise.
17114         (lround_test_data): Likewise.
17115         (llround_test_data): Likewise.
17117         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17118         (ERRNO_UNCHANGED): Update value.
17119         (ERRNO_EDOM): Likewise.
17120         (ERRNO_ERANGE): Likewise.
17121         (NO_TEST_INLINE_FLOAT): New macro.
17122         (NO_TEST_INLINE_DOUBLE): Likewise.
17123         (enable_test): New function.
17124         (RUN_TEST_f_f): Check enable_test before running test.
17125         (RUN_TEST_2_f): Likewise.
17126         (RUN_TEST_fff_f): Likewise.
17127         (RUN_TEST_c_f): Likewise.
17128         (RUN_TEST_f_f1): Likewise.
17129         (RUN_TEST_fF_f1): Likewise.
17130         (RUN_TEST_fI_f1): Likewise.
17131         (RUN_TEST_ffI_f1): Likewise.
17132         (RUN_TEST_c_c): Likewise.
17133         (RUN_TEST_cc_c): Likewise.
17134         (RUN_TEST_f_i): Likewise.
17135         (RUN_TEST_f_i_tg): Likewise.
17136         (RUN_TEST_ff_i_tg): Likewise.
17137         (RUN_TEST_f_b): Likewise.
17138         (RUN_TEST_f_b_tg): Likewise.
17139         (RUN_TEST_f_l): Likewise.
17140         (RUN_TEST_f_L): Likewise.
17141         (RUN_TEST_fFF_11): Likewise.
17142         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17143         conditionals.
17144         (cosh_test_data): Likewise.
17145         (exp_test_data): Likewise.
17146         (expm1_test_data): Likewise.
17147         (hypot_test_data): Likewise.
17148         (pow_test_data): Likewise.
17149         (sinh_test_data): Likewise.
17150         (tanh_test_data): Likewise.
17151         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17152         flags argument.
17154         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17155         tests with quiet NaN input and output.
17156         (acosh_test_data): Likewise.
17157         (asin_test_data): Likewise.
17158         (asinh_test_data): Likewise.
17159         (atan_test_data): Likewise.
17160         (atanh_test_data): Likewise.
17161         (atan2_test_data): Likewise.
17162         (cbrt_test_data): Likewise.
17163         (cos_test_data): Likewise.
17164         (cosh_test_data): Likewise.
17165         (erf_test_data): Likewise.
17166         (erfc_test_data): Likewise.
17167         (exp_test_data): Likewise.
17168         (exp10_test_data): Likewise.
17169         (exp2_test_data): Likewise.
17170         (expm1_test_data): Likewise.
17171         (hypot_test_data): Likewise.
17172         (j0_test_data): Likewise.
17173         (j1_test_data): Likewise.
17174         (jn_test_data): Likewise.
17175         (lgamma_test_data): Likewise.
17176         (log_test_data): Likewise.
17177         (log10_test_data): Likewise.
17178         (log1p_test_data): Likewise.
17179         (log2_test_data): Likewise.
17180         (pow_test_data): Likewise.
17181         (scalb_test_data): Likewise.
17182         (sin_test_data): Likewise.
17183         (sincos_test_data): Likewise.
17184         (sinh_test_data): Likewise.
17185         (tan_test_data): Likewise.
17186         (tanh_test_data): Likewise.
17187         (tgamma_test_data): Likewise.
17188         (y0_test_data): Likewise.
17189         (y1_test_data): Likewise.
17190         (yn_test_data): Likewise.
17192         [BZ #16167]
17193         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17194         argument being NaN and avoid computations with second argument in
17195         that case.
17196         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17197         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17198         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17200 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17202         * locale/iso-639.def: Add Chitwani Tharu (the).
17204 2013-11-14  Andreas Schwab  <schwab@suse.de>
17206         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17207         word instead of empty string.
17209 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17212         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17214         (__fe_nomask_env): Likewise.
17216 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17218         * benchtests/bench-timing.h: Include time.h.
17220 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17222         [BZ #15997]
17223         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17224         to 3.4.0 for x32.
17225         * sysdeps/unix/sysv/linux/configure: Regenerated.
17227 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17229         [BZ #16151]
17230         * stdlib/strtod_l.c (round_and_return): Do not consider
17231         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17232         exponent one less than half the least subnormal exponent.
17233         * stdlib/test-strtod-round-data: Add more tests.
17234         * stdlib/tst-strtod-round.c (tests): Regenerated.
17236 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17238         [BZ #14143]
17239         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17240         (__fe_mask_env): Likewise.
17241         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17242         libm_hidden_proto and add function prototype.
17243         (__fe_mask_env): Add function prototype.
17244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17245         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17247         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17249         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17251 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17253         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17254         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17256 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17258         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17259         of htab_find_slot().
17261 2013-11-11  David S. Miller  <davem@davemloft.net>
17263         [BZ #16150]
17264         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17265         symbol in the non-vis3 case in static builds.
17266         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17267         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17268         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17269         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17271 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17273         [BZ #387]
17274         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17275         it is empty.
17277 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17279         * benchtests/Makefile: Add bench-strtod.
17280         * benchtests/bench-strtod.c: New file: strtod benchtest
17282 2013-11-11  Andreas Schwab  <schwab@suse.de>
17284         [BZ #16153]
17285         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17286         terminating NUL in key length.
17288 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17290         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17291         Add artificial ODP entry for vDSO symbol for PPC64.
17292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17293         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17295 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17297         [BZ #15374]
17298         * nss/getent.c (services_keys): Recognize services starting with digit.
17300 2013-11-06  David S. Miller  <davem@davemloft.net>
17302         [BZ #15985]
17303         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17304         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17306 2013-11-06  Will Newton  <will.newton@linaro.org>
17308         * manual/memory.texi (Malloc Examples): Remove register
17309         keyword from examples.
17311 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17313         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17315 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17317         [BZ #6981]
17318         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17319         depending on [__GCC_IEC_559 > 0].
17320         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17321         depending on [__GCC_IEC_559_COMPLEX > 0].
17323 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17325         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17326         to iso-639.def.
17328 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17330         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17332 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17334         [BZ #16112]
17335         * malloc/malloc (malloc_info): Do not handle first bin as
17336         special case.
17338 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17340         * locale/iso-639.def: Add Central Nahuatl (nhn).
17342 2013-11-01  Bruno Haible  <bruno@clisp.org>
17344         [BZ #7003]
17345         * manual/math.texi (BSD Random): Specify range upper bound as
17346         in POSIX.
17348 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17350         * locale/iso-639.def: Add Meadow Mari (mhr).
17352 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17354         [BZ #14752], [BZ #15763]
17355         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17356         Validate name.
17357         * rt/tst_shm.c: Add test for escaping directory.
17359 2013-10-31  Andreas Schwab  <schwab@suse.de>
17361         [BZ #15917]
17362         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17363         followed by 'x' as part of digit sequence.
17364         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17366 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17368         [BZ #16037]
17369         * configure.ac: allow GNU Make 4.0 and greater.
17370         * configure: Regenerated.
17372 2013-10-30  Will Newton  <will.newton@linaro.org>
17374         [BZ #16038]
17375         * malloc/hooks.c (memalign_check): Limit alignment to the
17376         maximum representable power of two.
17377         * malloc/malloc.c (__libc_memalign): Likewise.
17378         * malloc/tst-memalign.c (do_test): Add test for very
17379         large alignment values.
17380         * malloc/tst-posix_memalign.c (do_test): Likewise.
17382 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17384         [BZ #11087]
17385         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17386         (munmap_chunk): Likewise.
17387         (mremap_chunk): Likewise.
17389 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17391         [BZ #15799]
17392         * stdlib/div.c (div): Remove obsolete code.
17393         * stdlib/ldiv.c (ldiv): Likewise.
17394         * stdlib/lldiv.c (lldiv): Likewise.
17396 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17398         [BZ #16071]
17399         * nss/nss_files/files-XXX.c (get_contents_ret): New
17400         enumerator.
17401         (get_contents): New function.
17402         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17404 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17406         * configure.in: Moved to ...
17407         * configure.ac: ... here. Change reference to configure.in
17408         to configure.ac.
17409         * sysdeps/arm/preconfigure.ac: ... here.
17410         configure.in to configure.ac.
17411         * sysdeps/gnu/configure.in: Moved to ...
17412         * sysdeps/gnu/configure.ac: ... here.
17413         * sysdeps/i386/configure.in: Moved to ...
17414         * sysdeps/i386/configure.ac: ... here.
17415         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17416         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17417         * sysdeps/mach/configure.in: Moved to ...
17418         * sysdeps/mach/configure.ac: ... here.
17419         * sysdeps/mach/hurd/configure.in: Moved to ...
17420         * sysdeps/mach/hurd/configure.ac: ... here.
17421         * sysdeps/powerpc/configure.in: Moved to ...
17422         * sysdeps/powerpc/configure.ac: ... here.
17423         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17424         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17425         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17426         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17427         * sysdeps/s390/s390-32/configure.in: Moved to ...
17428         * sysdeps/s390/s390-32/configure.ac: ... here.
17429         * sysdeps/s390/s390-64/configure.in: Moved to ...
17430         * sysdeps/s390/s390-64/configure.ac: ... here.
17431         * sysdeps/sh/configure.in: Moved to ...
17432         * sysdeps/sh/configure.ac: ... here.
17433         * sysdeps/sparc/configure.in: Moved to ...
17434         * sysdeps/sparc/configure.ac: ... here.
17435         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17436         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17437         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17438         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17439         * sysdeps/x86_64/configure.in: Moved to ...
17440         * sysdeps/x86_64/configure.ac: ... here.
17441         * sysdeps/x86_64/preconfigure.in: Moved to ...
17442         * sysdeps/x86_64/preconfigure.ac: ... here.
17443         * aclocal.m4: Change reference to configure.in to configure.ac.
17444         * config.h.in: Likewise.
17445         * manual/install.texi: Likewise.
17446         * manual/maint.texi: Likewise.
17447         * Makefile: Likewise.
17448         * malloc/Makefile: Likewise.
17449         * nscd/Makefile: Likewise.
17450         * Makeconfig: Change reference to configure.in and
17451         preconfigure.in to configure.ac and preconfigure.ac
17452         respectively.
17453         * INSTALL: Regenerated.
17454         * configure: Likewise.
17455         * sysdeps/gnu/configure: Likewise.
17456         * sysdeps/i386/configure: Likewise.
17457         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17458         * sysdeps/mach/configure: Likewise.
17459         * sysdeps/mach/hurd/configure: Likewise.
17460         * sysdeps/powerpc/configure: Likewise.
17461         * sysdeps/powerpc/powerpc32/configure: Likewise.
17462         * sysdeps/powerpc/powerpc64/configure: Likewise.
17463         * sysdeps/s390/s390-32/configure: Likewise.
17464         * sysdeps/s390/s390-64/configure: Likewise.
17465         * sysdeps/sh/configure: Likewise.
17466         * sysdeps/sparc/configure: Likewise.
17467         * sysdeps/unix/sysv/linux/configure: Likewise.
17468         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17469         * sysdeps/x86_64/configure: Likewise.
17470         * sysdeps/x86_64/preconfigure: Likewise.
17472 2013-10-29  Andreas Schwab  <schwab@suse.de>
17474         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17476 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17478         * benchtests/pow-inputs: Add new inputs.
17480         * benchtests/exp-inputs: Add new inputs.
17482         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17483         conditional check for return value.
17484         (__cos32): Likewise.
17486 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17488         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17489         to provide a boost for large inputs with word alignment.
17490         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17491         implementation based on optimized PPC64 strcpy.
17492         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17493         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17494         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17495         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17497 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17499         [BZ #2801]
17500         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17502 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17504         [BZ #14876]
17505         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17506         * time/tst-strptime.c (day_tests): Add testcase.
17508 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17510         [BZ #14029]
17511         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17513 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17515         [BZ #16074]
17516         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17517         MAP_FAILED on error.
17519 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         [BZ #16072]
17522         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17523         heap for large requests.
17525 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17527         [BZ #9954]
17528         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17529         result if the result has no associated interface.
17530         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17531         interface for all 127.X.Y.Z addresses.
17533 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17535         * locale/iso-639.def: Add Ligurian (lij)
17537 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17539         [BZ #15825]
17540         * sunrpc/rpc_main.c: Document rpcgen -5.
17542 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17544         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17546 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17548         [BZ #10278]
17549         * posix/glob.c: Match only directories when trailing slash is present.
17550         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17551         (main): Add testcase.
17553 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17555         [BZ #15670]
17556         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17558 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17560         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17561         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17562         AUTH_DES and cindex for FIPS 140-2.
17563         (DES Encryption): Add cindex FIPS 46-3.
17565         * locale/locarchive.h (struct locarhandle): Add fname.
17566         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17567         if an optional argument was specified to --list-archive,
17568         otherwise NULL.
17569         * locale/programs/locarchive.c (show_archive_content): Take new
17570         argument fname and pass it via ah.fname to open_archive.
17571         * locale/programs/localedef.h: Update decl.
17572         (open_archive): If AH->fname is non-null, open that file
17573         rather than the default file name, and don't ignore ENOENT.
17574         (create_archive): Set AH.fname to NULL.
17575         (delete_locales_from_archive): Likewise.
17576         (add_locales_to_archive): Likewise.
17577         * locale/programs/locfile.c (write_all_categories): Likewise.
17579 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17580             Aldy Hernandez  <aldyh@redhat.com>
17582         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17583         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17584         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17585         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17586         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17587         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17588         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17589         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17590         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17591         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17592         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17593         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17594         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17595         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17596         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17597         Likewise.
17598         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17599         Likewise.
17600         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17601         Likewise.
17602         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17603         Likewise.
17604         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17605         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17606         Likewise.
17607         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17608         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17609         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17610         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17611         Likewise.
17612         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17613         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17614         * sysdeps/powerpc/preconfigure: Likewise.
17615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17616         Likewise.
17617         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17618         Replace contents of file by #include of <fenv_libc.h>.
17619         * sysdeps/powerpc/soft-fp/sfp-machine.h
17620         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17621         and <sys/prctl.h>.
17622         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17623         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17635         Allow copysignl PLT reference to be missing.
17637 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17638             Joseph Myers  <joseph@codesourcery.com
17640         [BZ #15948]
17641         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17642         single character.
17643         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17645 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17647         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17648         * elf/tst-tls1.c: Likewise.
17649         * elf/tst-tls10.h: Likewise.
17650         * elf/tst-tls14.c: Likewise.
17651         * elf/tst-tls2.c: Likewise.
17652         * elf/tst-tls3.c: Likewise.
17653         * elf/tst-tls4.c: Likewise.
17654         * elf/tst-tls5.c: Likewise.
17655         * elf/tst-tls6.c: Likewise.
17656         * elf/tst-tls7.c: Likewise.
17657         * elf/tst-tls8.c: Likewise.
17658         * elf/tst-tls9.c: Likewise.
17659         * elf/tst-tlsmod1.c: Likewise.
17660         * elf/tst-tlsmod13.c: Likewise.
17661         * elf/tst-tlsmod13a.c: Likewise.
17662         * elf/tst-tlsmod14a.c: Likewise.
17663         * elf/tst-tlsmod16a.c: Likewise.
17664         * elf/tst-tlsmod16b.c: Likewise.
17665         * elf/tst-tlsmod2.c: Likewise.
17666         * elf/tst-tlsmod3.c: Likewise.
17667         * elf/tst-tlsmod4.c: Likewise.
17668         * elf/tst-tlsmod5.c: Likewise.
17669         * elf/tst-tlsmod6.c: Likewise.
17671 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17673         [BZ #12486]
17674         * malloc/malloc.c: remove checks for statistics.
17676 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17678         [BZ #15277]
17679         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17680         * inet/tst-network.c: Add testcase.
17682 2013-10-17  Andreas Schwab  <schwab@suse.de>
17684         [BZ #15218]
17685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17686         to determine canonical name.
17688 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17690         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17691         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17693         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17695         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17696         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17697         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17698         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17699         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17700         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17701         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17702         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17703         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17704         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17705         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17707         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17708         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17709         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17710         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17711         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17713         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17714         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17715         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17716         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17717         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17718         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17719         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17720         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17721         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17722         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17723         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17724         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17725         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17726         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17727         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17728         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17729         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17730         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17731         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17732         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17733         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17734         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17735         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17736         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17737         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17738         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17739         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17740         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17741         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17745         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17747         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17749 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17751         [BZ #16041]
17752         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17753         make result into a quiet NaN.
17755 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17757         * soft-fp/adddf3.c: Fix horizontal whitespace.
17758         * soft-fp/addsf3.c: Likewise.
17759         * soft-fp/addtf3.c: Likewise.
17760         * soft-fp/divdf3.c: Likewise.
17761         * soft-fp/divsf3.c: Likewise.
17762         * soft-fp/divtf3.c: Likewise.
17763         * soft-fp/double.h: Likewise.
17764         * soft-fp/eqdf2.c: Likewise.
17765         * soft-fp/eqsf2.c: Likewise.
17766         * soft-fp/eqtf2.c: Likewise.
17767         * soft-fp/extenddftf2.c: Likewise.
17768         * soft-fp/extended.h: Likewise.
17769         * soft-fp/extendsfdf2.c: Likewise.
17770         * soft-fp/extendsftf2.c: Likewise.
17771         * soft-fp/extendxftf2.c: Likewise.
17772         * soft-fp/fixdfdi.c: Likewise.
17773         * soft-fp/fixdfsi.c: Likewise.
17774         * soft-fp/fixdfti.c: Likewise.
17775         * soft-fp/fixsfdi.c: Likewise.
17776         * soft-fp/fixsfsi.c: Likewise.
17777         * soft-fp/fixsfti.c: Likewise.
17778         * soft-fp/fixtfdi.c: Likewise.
17779         * soft-fp/fixtfsi.c: Likewise.
17780         * soft-fp/fixtfti.c: Likewise.
17781         * soft-fp/fixunsdfdi.c: Likewise.
17782         * soft-fp/fixunsdfsi.c: Likewise.
17783         * soft-fp/fixunsdfti.c: Likewise.
17784         * soft-fp/fixunssfdi.c: Likewise.
17785         * soft-fp/fixunssfsi.c: Likewise.
17786         * soft-fp/fixunssfti.c: Likewise.
17787         * soft-fp/fixunstfdi.c: Likewise.
17788         * soft-fp/fixunstfsi.c: Likewise.
17789         * soft-fp/fixunstfti.c: Likewise.
17790         * soft-fp/floatdidf.c: Likewise.
17791         * soft-fp/floatdisf.c: Likewise.
17792         * soft-fp/floatditf.c: Likewise.
17793         * soft-fp/floatsidf.c: Likewise.
17794         * soft-fp/floatsisf.c: Likewise.
17795         * soft-fp/floatsitf.c: Likewise.
17796         * soft-fp/floattidf.c: Likewise.
17797         * soft-fp/floattisf.c: Likewise.
17798         * soft-fp/floattitf.c: Likewise.
17799         * soft-fp/floatundidf.c: Likewise.
17800         * soft-fp/floatundisf.c: Likewise.
17801         * soft-fp/floatunditf.c: Likewise.
17802         * soft-fp/floatunsidf.c: Likewise.
17803         * soft-fp/floatunsisf.c: Likewise.
17804         * soft-fp/floatunsitf.c: Likewise.
17805         * soft-fp/floatuntidf.c: Likewise.
17806         * soft-fp/floatuntisf.c: Likewise.
17807         * soft-fp/floatuntitf.c: Likewise.
17808         * soft-fp/fmadf4.c: Likewise.
17809         * soft-fp/fmasf4.c: Likewise.
17810         * soft-fp/fmatf4.c: Likewise.
17811         * soft-fp/gedf2.c: Likewise.
17812         * soft-fp/gesf2.c: Likewise.
17813         * soft-fp/getf2.c: Likewise.
17814         * soft-fp/ledf2.c: Likewise.
17815         * soft-fp/lesf2.c: Likewise.
17816         * soft-fp/letf2.c: Likewise.
17817         * soft-fp/muldf3.c: Likewise.
17818         * soft-fp/mulsf3.c: Likewise.
17819         * soft-fp/multf3.c: Likewise.
17820         * soft-fp/negdf2.c: Likewise.
17821         * soft-fp/negsf2.c: Likewise.
17822         * soft-fp/negtf2.c: Likewise.
17823         * soft-fp/op-1.h: Likewise.
17824         * soft-fp/op-2.h: Likewise.
17825         * soft-fp/op-4.h: Likewise.
17826         * soft-fp/op-8.h: Likewise.
17827         * soft-fp/op-common.h: Likewise.
17828         * soft-fp/quad.h: Likewise.
17829         * soft-fp/single.h: Likewise.
17830         * soft-fp/soft-fp.h: Likewise.
17831         * soft-fp/sqrtdf2.c: Likewise.
17832         * soft-fp/sqrtsf2.c: Likewise.
17833         * soft-fp/sqrttf2.c: Likewise.
17834         * soft-fp/subdf3.c: Likewise.
17835         * soft-fp/subsf3.c: Likewise.
17836         * soft-fp/subtf3.c: Likewise.
17837         * soft-fp/truncdfsf2.c: Likewise.
17838         * soft-fp/trunctfdf2.c: Likewise.
17839         * soft-fp/trunctfsf2.c: Likewise.
17840         * soft-fp/trunctfxf2.c: Likewise.
17841         * soft-fp/unorddf2.c: Likewise.
17842         * soft-fp/unordsf2.c: Likewise.
17843         * soft-fp/unordtf2.c: Likewise.
17845 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17847         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17848         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17850 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17852         * elf/dl-libc.c: Clear initfini list after freeing.
17854 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17856         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17857         * soft-fp/addsf3.c: Likewise.
17858         * soft-fp/addtf3.c: Likewise.
17859         * soft-fp/divdf3.c: Likewise.
17860         * soft-fp/divsf3.c: Likewise.
17861         * soft-fp/divtf3.c: Likewise.
17862         * soft-fp/double.h: Likewise.
17863         * soft-fp/eqdf2.c: Likewise.
17864         * soft-fp/eqsf2.c: Likewise.
17865         * soft-fp/eqtf2.c: Likewise.
17866         * soft-fp/extenddftf2.c: Likewise.
17867         * soft-fp/extended.h: Likewise.
17868         * soft-fp/extendsfdf2.c: Likewise.
17869         * soft-fp/extendsftf2.c: Likewise.
17870         * soft-fp/extendxftf2.c: Likewise.
17871         * soft-fp/fixdfdi.c: Likewise.
17872         * soft-fp/fixdfsi.c: Likewise.
17873         * soft-fp/fixdfti.c: Likewise.
17874         * soft-fp/fixsfdi.c: Likewise.
17875         * soft-fp/fixsfsi.c: Likewise.
17876         * soft-fp/fixsfti.c: Likewise.
17877         * soft-fp/fixtfdi.c: Likewise.
17878         * soft-fp/fixtfsi.c: Likewise.
17879         * soft-fp/fixtfti.c: Likewise.
17880         * soft-fp/fixunsdfdi.c: Likewise.
17881         * soft-fp/fixunsdfsi.c: Likewise.
17882         * soft-fp/fixunsdfti.c: Likewise.
17883         * soft-fp/fixunssfdi.c: Likewise.
17884         * soft-fp/fixunssfsi.c: Likewise.
17885         * soft-fp/fixunssfti.c: Likewise.
17886         * soft-fp/fixunstfdi.c: Likewise.
17887         * soft-fp/fixunstfsi.c: Likewise.
17888         * soft-fp/fixunstfti.c: Likewise.
17889         * soft-fp/floatdidf.c: Likewise.
17890         * soft-fp/floatdisf.c: Likewise.
17891         * soft-fp/floatditf.c: Likewise.
17892         * soft-fp/floatsidf.c: Likewise.
17893         * soft-fp/floatsisf.c: Likewise.
17894         * soft-fp/floatsitf.c: Likewise.
17895         * soft-fp/floattidf.c: Likewise.
17896         * soft-fp/floattisf.c: Likewise.
17897         * soft-fp/floattitf.c: Likewise.
17898         * soft-fp/floatundidf.c: Likewise.
17899         * soft-fp/floatundisf.c: Likewise.
17900         * soft-fp/floatunsidf.c: Likewise.
17901         * soft-fp/floatunsisf.c: Likewise.
17902         * soft-fp/floatuntidf.c: Likewise.
17903         * soft-fp/floatuntisf.c: Likewise.
17904         * soft-fp/floatuntitf.c: Likewise.
17905         * soft-fp/fmadf4.c: Likewise.
17906         * soft-fp/fmasf4.c: Likewise.
17907         * soft-fp/fmatf4.c: Likewise.
17908         * soft-fp/gedf2.c: Likewise.
17909         * soft-fp/gesf2.c: Likewise.
17910         * soft-fp/getf2.c: Likewise.
17911         * soft-fp/ledf2.c: Likewise.
17912         * soft-fp/lesf2.c: Likewise.
17913         * soft-fp/letf2.c: Likewise.
17914         * soft-fp/muldf3.c: Likewise.
17915         * soft-fp/mulsf3.c: Likewise.
17916         * soft-fp/multf3.c: Likewise.
17917         * soft-fp/negdf2.c: Likewise.
17918         * soft-fp/negsf2.c: Likewise.
17919         * soft-fp/negtf2.c: Likewise.
17920         * soft-fp/op-1.h: Likewise.
17921         * soft-fp/op-2.h: Likewise.
17922         * soft-fp/op-4.h: Likewise.
17923         * soft-fp/op-8.h: Likewise.
17924         * soft-fp/op-common.h: Likewise.
17925         * soft-fp/quad.h: Likewise.
17926         * soft-fp/single.h: Likewise.
17927         * soft-fp/soft-fp.h: Likewise.
17928         * soft-fp/sqrtdf2.c: Likewise.
17929         * soft-fp/sqrtsf2.c: Likewise.
17930         * soft-fp/sqrttf2.c: Likewise.
17931         * soft-fp/subdf3.c: Likewise.
17932         * soft-fp/subsf3.c: Likewise.
17933         * soft-fp/subtf3.c: Likewise.
17934         * soft-fp/truncdfsf2.c: Likewise.
17935         * soft-fp/trunctfdf2.c: Likewise.
17936         * soft-fp/trunctfsf2.c: Likewise.
17937         * soft-fp/trunctfxf2.c: Likewise.
17938         * soft-fp/unorddf2.c: Likewise.
17939         * soft-fp/unordsf2.c: Likewise.
17940         * soft-fp/unordtf2.c: Likewise.
17942 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17944         [BZ #15672]
17945         * misc/error.c (error_tail): Fix possible buffer overflow.
17947 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17949         [BZ #13028]
17950         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17951         address.
17953 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17955         [BZ #832]
17956         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17957         testing pipefail option.
17959 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17961         * soft-fp/double.h: Indent preprocessor directives inside #if.
17962         * soft-fp/extended.h: Likewise.
17963         * soft-fp/op-2.h: Likewise.
17964         * soft-fp/op-4.h: Likewise.
17965         * soft-fp/op-common.h: Likewise.
17966         * soft-fp/quad.h: Likewise.
17967         * soft-fp/single.h: Likewise.
17968         * soft-fp/soft-fp.h: Likewise.
17970 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17972         * iconv/iconv_prog.c: Fix typos.
17973         * stdio-common/psiginfo-data.h: Likewise.
17975 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17977         [BZ #15764]
17978         * locale/setlocale.c: Fix typo.
17980 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #16036]
17983         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17984         signaling NaN arguments.
17985         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17986         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17988         [BZ #14910]
17989         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17990         unordered operands.
17991         * soft-fp/gesf2.c (__gesf2): Likewise.
17992         * soft-fp/getf2.c (__getf2): Likewise.
17993         * soft-fp/ledf2.c (__ledf2): Likewise.
17994         * soft-fp/lesf2.c (__lesf2): Likewise.
17995         * soft-fp/letf2.c (__letf2): Likewise.
17997         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17998         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17999         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18000         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18001         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18002         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18003         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18004         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18005         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18006         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18007         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18008         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18009         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18010         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18011         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18012         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18013         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18014         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18015         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18016         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18017         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18018         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18019         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18020         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18021         * soft-fp/floattidf.c (__floattidf): Likewise.
18022         * soft-fp/floattisf.c (__floattisf): Likewise.
18023         * soft-fp/floattitf.c (__floattitf): Likewise.
18024         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18025         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18026         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18027         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18028         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18029         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18030         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18031         * soft-fp/gesf2.c (__gesf2): Likewise.
18032         * soft-fp/getf2.c (__getf2): Likewise.
18033         * soft-fp/ledf2.c (__ledf2): Likewise.
18034         * soft-fp/lesf2.c (__lesf2): Likewise.
18035         * soft-fp/letf2.c (__letf2): Likewise.
18037         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18038         Undefine and redefine.
18039         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18040         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18041         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18042         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18043         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18044         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18045         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18046         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18047         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18048         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18049         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18050         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18051         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18052         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18053         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18055         [BZ #16032]
18056         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18057         without decrementing exponent if mantissa >= that for the
18058         denominator, not >.
18059         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18060         denominator, not >.  Decrement exponent in < case instead of
18061         incrementing in >= case.
18062         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18063         without decrementing exponent if mantissa >= that for the
18064         denominator, not >.
18066         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18067         computing saturated result for unsigned overflow.
18069 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18070             Jeff Law  <law@redhat.com>
18072         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18073         (atan2Mp): Add systemtap probe marker.
18074         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18075         (__ieee754_log): Add systemtap probe marker.
18076         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18077         (atanMp): Add systemtap probe marker.
18078         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18079         (tanMp): Add systemtap probe marker.
18080         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18081         (__slowexp): Add systemtap probe marker.
18082         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18083         (__slowpow): Add systemtap probe marker.
18084         * manual/probes.texi: Document probes.
18086 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18088         [BZ #15362]
18089         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18090         written.
18091         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18092         written.
18093         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18094         written to buffer but not flushed.
18095         * libio/iofwrite_u.c:  Likewise.
18096         * libio/iopadn.c:  Return bytes returned even if EOF was
18097         encountered.
18098         * libio/iowpadn.c:  Likewise.
18099         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18100         if _IO_padn does not write the whole buffer.
18101         [!COMPILE_WPRINTF] (PAD): Likewise.
18103 2013-10-10  David S. Miller  <davem@davemloft.net>
18105         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18106         directory block.
18108 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18110         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18111         instead of FSF address.
18112         * soft-fp/fixdfti.c: Likewise.
18113         * soft-fp/fixsfti.c: Likewise.
18114         * soft-fp/fixtfti.c: Likewise.
18115         * soft-fp/fixunsdfti.c: Likewise.
18116         * soft-fp/fixunssfti.c: Likewise.
18117         * soft-fp/fixunstfti.c: Likewise.
18118         * soft-fp/floattidf.c: Likewise.
18119         * soft-fp/floattisf.c: Likewise.
18120         * soft-fp/floattitf.c: Likewise.
18121         * soft-fp/floatuntidf.c: Likewise.
18122         * soft-fp/floatuntisf.c: Likewise.
18123         * soft-fp/floatuntitf.c: Likewise.
18124         * soft-fp/trunctfxf2.c: Likewise.
18126         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18127         * soft-fp/fixdfti.c: Likewise.
18128         * soft-fp/fixsfti.c: Likewise.
18129         * soft-fp/fixtfti.c: Likewise.
18130         * soft-fp/fixunsdfti.c: Likewise.
18131         * soft-fp/fixunssfti.c: Likewise.
18132         * soft-fp/fixunstfti.c: Likewise.
18133         * soft-fp/floattidf.c: Likewise.
18134         * soft-fp/floattisf.c: Likewise.
18135         * soft-fp/floattitf.c: Likewise.
18136         * soft-fp/floatuntidf.c: Likewise.
18137         * soft-fp/floatuntisf.c: Likewise.
18138         * soft-fp/floatuntitf.c: Likewise.
18139         * soft-fp/trunctfxf2.c: Likewise.
18141 2013-10-10  David S. Miller  <davem@davemloft.net>
18143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18145 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18147         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18148         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18149         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18150         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18151         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18152         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18153         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18156         for NaNs before doing comparisons on argument.
18157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18158         Likewise.
18160 2013-10-10  Will Newton  <will.newton@linaro.org>
18162         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18163         passed to _int_memalign does not overflow.
18165 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18167         * scripts/bench.pl: Add include-sources directive.
18168         * benchtests/README: Update documentation.
18170 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18172         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18173         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18174         instead of FP_INIT_ROUNDMODE.
18175         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18176         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18178         [BZ #16034]
18179         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18180         copy class of input value.
18181         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18182         not handle exceptions.
18183         * soft-fp/negsf2.c (__negsf2): Likewise.
18184         * soft-fp/negtf2.c (__negtf2): Likewise.
18185         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18187 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18189         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18190         semicolon.  From Linux kernel.
18192 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18194         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18196 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18198         [BZ #156]
18199         * manual/socket.texi: Added statement about buffer
18200         for gethostbyname2_r.
18202 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18204         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18205         Use .p2align directive instead, throughout.
18206         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18207         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18208         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18209         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18210         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18211         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18212         * sysdeps/x86_64/strchr.S: Likewise.
18213         * sysdeps/x86_64/strrchr.S: Likewise.
18215 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18217         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18219         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18221         * sysdeps/generic/math_private.h (__mpsin1): Remove
18222         declaration.
18223         (__mpcos1): Likewise.
18224         (__mpsin): New argument __range_reduce.
18225         (__mpcos): Likewise.
18226         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18227         (slow): Use __mpsin and __mpcos.
18228         (slow1): Likewise.
18229         (slow2): Likewise.
18230         (sloww): Likewise.
18231         (sloww1): Likewise.
18232         (sloww2): Likewise.
18233         (bsloww): Likewise.
18234         (bsloww1): Likewise.
18235         (bsloww2): Likewise.
18236         (cslow2): Likewise.
18237         (csloww): Likewise.
18238         (csloww1): Likewise.
18239         (csloww2): Likewise.
18240         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18241         range_reduce.  Merge in __mpsin1.
18242         (__mpcos): Likewise.
18243         (__mpsin1): Remove.
18244         (__mpcos1): Likewise.
18246 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18248         * locale/loadlocale.c (_nl_intern_locale_data): Use
18249         LOCFILE_ALIGNED_P.
18250         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18251         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18252         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18253         obstack data is appropriately aligned.
18254         (obstack_int32_grow_fast): Likewise.
18255         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18256         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18257         (add_locale_uint32_array): Likewise.
18259 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18261         * benchtests/Makefile: Remove ARGLIST and RET variables.
18262         ($(objpfx)bench-%.c): Pass only function name to the script.
18263         * benchtests/README: Update documentation.
18264         * benchtests/acos-inputs: Add new directives.
18265         * benchtests/acosh-inputs: Likewise.
18266         * benchtests/asin-inputs: Likewise.
18267         * benchtests/asinh-inputs: Likewise.
18268         * benchtests/atan-inputs: Likewise.
18269         * benchtests/atanh-inputs: Likewise.
18270         * benchtests/cos-inputs: Likewise.
18271         * benchtests/cosh-inputs: Likewise.
18272         * benchtests/exp-inputs: Likewise.
18273         * benchtests/log-inputs: Likewise.
18274         * benchtests/pow-inputs: Likewise.
18275         * benchtests/rint-inputs: Likewise.
18276         * benchtests/sin-inputs: Likewise.
18277         * benchtests/sinh-inputs: Likewise.
18278         * benchtests/tan-inputs: Likewise.
18279         * benchtests/tanh-inputs: Likewise.
18280         * scripts/bench.pl: Add support for new directives.
18282 2013-10-07  Alan Modra  <amodra@gmail.com>
18284         * README: Fix careless merge.
18286 2013-10-05  Alan Modra  <amodra@gmail.com>
18288         * NEWS: Mention powerpc64le support and bugs fixed.
18289         * README: Both big-endian and little-endian powerpc64 supported.
18291 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18293         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18294         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18295         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18296         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18298 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18300         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18301         match prototype.
18303 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18305         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18306         Move -mhard-float appending from
18307         ports/sysdeps/powerpc/powerpc32/Makefile.
18308         [$(with-fp) = yes] (ASFLAGS): Likewise.
18309         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18310         * sysdeps/powerpc/nofpu: Move directory from
18311         ports/sysdeps/powerpc/nofpu.
18312         * sysdeps/powerpc/soft-fp: Move directory from
18313         ports/sysdeps/powerpc/soft-fp.
18314         * sysdeps/powerpc/powerpc32/405: Move directory from
18315         ports/sysdeps/powerpc/powerpc32/405.
18316         * sysdeps/powerpc/powerpc32/440: Move directory from
18317         ports/sysdeps/powerpc/powerpc32/440.
18318         * sysdeps/powerpc/powerpc32/464: Move directory from
18319         ports/sysdeps/powerpc/powerpc32/464.
18320         * sysdeps/powerpc/powerpc32/476: Move directory from
18321         ports/sysdeps/powerpc/powerpc32/476.
18322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18323         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18325         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18327         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18329         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18331         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18332         * README: Update for powerpc-*-linux-gnu software floating point
18333         support in libc.
18335         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18336         case to powerpc/powerpc32*.
18337         * sysdeps/unix/sysv/linux/configure: Regenerated.
18339         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18340         (_FPU_MASK_OM): Define as 0x04.
18341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18343         0x00c10080.
18344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18345         0x0000003c.
18346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18349         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18350         getcontext_e500.
18351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18352         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18353         setcontext_e500.
18354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18355         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18356         and setcontext_e500.
18358 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18360         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18362 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18364         * manual/threads.texi (Default Thread Attributes): Fix typo.
18366 2013-10-04  Will Newton  <will.newton@linaro.org>
18368         * malloc/Makefile: Add tst-memalign.
18369         * malloc/tst-memalign.c: New file.
18371         * malloc/tst-posix_memalign.c: Add comments.
18372         (do_test): Add comments and call free on all potentially
18373         allocated pointers. Add space after cast.
18375         * malloc/tst-pvalloc.c: Add comments.
18376         (do_test): Add comments and call free on all potentially
18377         allocated pointers. Remove duplicate check for NULL pointer.
18378         Add space after cast.
18380         * malloc/tst-valloc.c: Add comments.
18381         (do_test): Add comments and call free on all potentially
18382         allocated pointers. Remove duplicate check for NULL pointer.
18383         Add space after cast.
18385 2013-10-04  Alan Modra  <amodra@gmail.com>
18387         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18388         Use stdint types in rather than __attribute__((mode())).
18389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18391 2013-10-04  Alan Modra  <amodra@gmail.com>
18393         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18394         Correct handling of unaligned relocs for little-endian.
18395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18397 2013-10-04  Alan Modra  <amodra@gmail.com>
18399         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18400         * configure: Regenerate.
18401         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18402         * shlib-versions: Likewise.
18404 2013-10-04  Alan Modra  <amodra@gmail.com>
18406         * string/tester.c (test_memrchr): Increment reported test cycle.
18408 2013-10-04  Alan Modra  <amodra@gmail.com>
18410         * string/test-memcpy.c (do_one_test): When reporting errors, print
18411         string address and don't overrun end of string.
18413 2013-10-04  Alan Modra  <amodra@gmail.com>
18415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18416         insrdi.  Make better use of reg selection to speed exit slightly.
18417         Schedule entry path a little better.  Remove useless "are we done"
18418         checks on entry to main loop.  Handle wrapping around zero address.
18419         Correct main loop count.  Handle single left-over word from main
18420         loop inline rather than by using loop_small.  Remove extra word
18421         case in loop_small caused by wrong loop count.  Add little-endian
18422         support.
18423         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18424         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18425         cache hint.
18426         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18427         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18428         support.  Avoid rlwimi.
18429         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18431 2013-10-04  Alan Modra  <amodra@gmail.com>
18433         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18434         insrdi.  Formatting.
18435         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18436         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18437         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18438         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18439         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18440         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18442 2013-10-04  Alan Modra  <amodra@gmail.com>
18444         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18445         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18446         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18447         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18448         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18450         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18451         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18452         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18453         use of regs.  Use power7 mtocrf.  Tidy function tails.
18455 2013-10-04  Alan Modra  <amodra@gmail.com>
18457         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18458         Formatting.  Consistently use rXXX register defines or rN defines.
18459         Use early exit labels that avoid restoring unused non-volatile regs.
18460         Make cr field use more consistent with rWORDn compares.  Rename
18461         regs used as shift registers for unaligned loop, using rN defines
18462         for short lifetime/multiple use regs.
18463         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18465         addi 1,1,64 to pop stack frame.  Simplify return value code.
18466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18468 2013-10-04  Alan Modra  <amodra@gmail.com>
18470         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18471         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18472         rather than rlwimi.
18473         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18474         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18475         little-endian support.  Correct typos.
18476         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18477         rather than rlwimi.
18478         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18479         in loop and entry code to keep "and." results.
18480         (strchr): Add little-endian support.  Comment.  Move cntlzd
18481         earlier in tail.
18482         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18484 2013-10-04  Alan Modra  <amodra@gmail.com>
18486         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18487         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18488         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18489         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18491 2013-10-04  Alan Modra  <amodra@gmail.com>
18493         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18494         (rTMP): Define as r11.
18495         (strcmp): Add little-endian support.  Optimise tail.
18496         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18497         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18498         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18499         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18500         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18501         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18502         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18504 2013-10-04  Alan Modra  <amodra@gmail.com>
18506         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18507         little-endian support.  Remove unnecessary "are we done" tests.
18508         Handle "s" wrapping around zero and extremely large "size".
18509         Correct main loop count.  Handle single left-over word from main
18510         loop inline rather than by using small_loop.  Correct comments.
18511         Delete "zero" tail, use "end_max" instead.
18512         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18514 2013-10-04  Alan Modra  <amodra@gmail.com>
18516         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18517         support.  Don't branch over align.
18518         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18519         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18520         support.  Rearrange tmp reg use to suit.  Comment.
18521         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18523 2013-10-04  Alan Modra  <amodra@gmail.com>
18525         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18527 2013-10-04  Alan Modra  <amodra@gmail.com>
18529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18530         conditional form of branch and link when obtaining pc.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18533 2013-10-04  Alan Modra  <amodra@gmail.com>
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18536         HIWORD/LOWORD.
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18540 2013-10-04  Alan Modra  <amodra@gmail.com>
18542         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18543         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18544         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18545         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18546         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18548         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18549         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18550         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18551         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18553 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18554             Alistair Popple <alistair@ozlabs.au.ibm.com>
18555             Alan Modra <amodra@gmail.com>
18557         [BZ #15723]
18558         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18559         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18560         _dl_hwcap access for little-endian.
18561         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18562         destroy vmx regs when saving unaligned.
18563         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18564         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18565         destroy vmx regs when saving unaligned.
18567 2013-10-04  Alan Modra  <amodra@gmail.com>
18569         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18570         Don't use a union to pack hi/low value.
18572 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18574         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18575         for little-endian.
18576         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18578         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18579         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18580         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18582 2013-10-04  Alan Modra  <amodra@gmail.com>
18584         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18585         constants to usual value for .cst8 section, and remove redundant
18586         high address load.
18587         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18588         constant for 0x1p52.  Load little-endian words of double from
18589         correct stack offsets.
18591 2013-10-04  Alan Modra  <amodra@gmail.com>
18593         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18594         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18595         words of double from correct stack offsets.
18596         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18597         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18598         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18599         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18600         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18601         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18602         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18603         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18604         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18605         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18606         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18607         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18608         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18609         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18610         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18611         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18612         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18614 2013-10-04  Alan Modra  <amodra@gmail.com>
18616         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18617         64-bit int/double union.
18618         (_FPU_SETCW): Likewise.
18619         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18620         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18622 2013-10-04  Alan Modra  <amodra@gmail.com>
18624         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18625         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18627 2013-10-04  Alan Modra  <amodra@gmail.com>
18629         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18630         use vector int constants.
18631         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18633 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18635         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18636         array with long long.
18637         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18638         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18639         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18640         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18641         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18642         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18643         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18644         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18645         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18646         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18647         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18648         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18649         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18651 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18653         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18654         (__signbit): Likewise.  Correct for little-endian.
18655         (__signbitl): Call __signbit.
18656         (lrint): Correct for little-endian.
18657         (lrintf): Call lrint.
18659 2013-10-04  Alan Modra  <amodra@gmail.com>
18661         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18662         union 32-bit int array member with 64-bit int array.
18663         (t515, tm256): Double rather than long double.
18664         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18666 2013-10-04  Alan Modra  <amodra@gmail.com>
18668         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18669         Delete.
18670         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18672         version of math_ldbl.h.
18674 2013-10-04  Alan Modra  <amodra@gmail.com>
18676         [BZ #15734], [BZ #15735]
18677         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18678         all uses of ieee875 long double macros and unions.  Simplify test
18679         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18680         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18681         normalize after ldbl_extract_mantissa, and don't add hidden bit
18682         already handled.  Don't treat low word of ieee854 mantissa like
18683         low word of IBM long double and mask off bit when testing for
18684         zero.
18685         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18686         all uses of ieee875 long double macros and unions.  Simplify tests
18687         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18688         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18689         two1022, instead use their values.  Recognise that tests for large
18690         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18691         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18692         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18693         test for 0.0L and nan.  Correct negation.
18694         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18695         ieee875 long double macros and unions.  Correct output for large
18696         magnitude x.  Correct absolute value calculation.
18697         (__erfcl): Likewise.
18698         * math/libm-test.inc: Add tests for errors discovered in IBM long
18699         double versions of fmodl, remainderl, erfl and erfcl.
18701 2013-10-04  Alan Modra  <amodra@gmail.com>
18703         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18704         all uses of ieee854 long double macros and unions.  Simplify tests
18705         for long doubles that are fully specified by the high double.
18706         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18707         Likewise.
18708         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18709         Remove dead code too.
18710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18711         (__ieee754_ynl): Likewise.
18712         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18713         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18714         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18715         Remove dead code too.
18716         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18717         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18719         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18720         Simplify.
18721         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18722         Simplify.
18723         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18724         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18725         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18726         Comment on variable precision.
18727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18728         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18729         Likewise.
18730         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18731         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18732         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18733         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18734         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18736 2013-10-04  Alan Modra  <amodra@gmail.com>
18738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18739         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18740         all uses of ieee854 long double macros and unions.
18741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18743         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18744         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18745         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18747         Likewise.
18748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18749         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18753         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18754         Simplify sign and nan test too.
18755         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18756         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18757         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18758         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18759         Likewise.
18760         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18762         Likewise.
18763         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18764         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18765         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18767         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18770 2013-10-04  Alan Modra  <amodra@gmail.com>
18772         * stdio-common/printf_size.c (__printf_size): Don't use
18773         union ieee854_long_double in fpnum union.
18774         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18775         signbit macro to retrieve sign from long double.
18776         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18777         retrieve sign from long double.
18778         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18779         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18780         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18781         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18782         * math/test-misc.c (main): Don't use union ieee854_long_double.
18784 2013-10-04  Alan Modra  <amodra@gmail.com>
18786         [BZ #15680]
18787         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18788         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18789         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18790         calculation.  Remove unnecessary test for denormal exponent.
18791         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18792         Correct handling of denormals.  Avoid undefined shift behaviour.
18793         Correct normalisation of low mantissa when low double is denormal.
18794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18795         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18796         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18797         Correct normalisation of low mantissa.  Test for overflow of high
18798         mantissa and normalise.
18799         (ldbl_nearbyint): Use more readable constant for two52.
18800         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18801         (__mpn_construct_long_double): Fix test for overflow of high
18802         mantissa and correct normalisation.  Avoid undefined shift.
18804 2013-10-04  Alan Modra  <amodra@gmail.com>
18806         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18807         (union ibm_extended_long_double): Define as an array of ieee754_double.
18808         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18810         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18811         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18815         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18818         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18820 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18822         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18823         page size instead of calling getpagesize.
18825         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18826         (LOCFILE_ALIGN_MASK): Likewise.
18827         (LOCFILE_ALIGN_UP): Likewise.
18828         (LOCFILE_ALIGNED_P): Likewise.
18829         * locale/programs/ld-collate.c (collate_output): Use the new
18830         macros instead of __alignof__ (int32_t).
18831         * locale/weight.h (findidx): Likewise.
18833 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18835         [BZ #431]
18836         * manual/string.texi: Fix strncat and wcsncat.
18838 2013-10-03  Brooks Moses  <bmoses@google.com>
18840         [BZ #15915]
18841         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18842         * Makerules: ...here, and adjust associated comments.
18844 2013-10-02  Will Newton  <will.newton@linaro.org>
18846         * malloc/Makefile: Add tst-pvalloc.
18847         * malloc/tst-pvalloc.c: New file.
18849 2013-10-02  Will Newton  <will.newton@linaro.org>
18851         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18852         improve test coverage.
18854 2013-10-02  Will Newton  <will.newton@linaro.org>
18856         * malloc/Makefile: Add tst-posix_memalign.
18857         * malloc/tst-posix_memalign.c: New file.
18859 2013-10-01  Eric Blake  <eblake@redhat.com>
18861         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18862         Use __THROWNL rather than __THROW on static functions.
18864 2013-09-30  Petr Machata  <pmachata@redhat.com>
18866         * elf/elf.h (R_AARCH64_ABS16): New macro.
18867         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18868         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18869         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18870         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18871         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18872         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18873         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18874         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18875         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18876         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18877         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18878         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18879         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18880         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18881         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18882         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18883         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18884         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18885         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18886         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18887         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18888         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18889         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18890         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18891         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18892         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18893         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18894         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18895         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18896         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18897         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18898         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18899         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18900         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18901         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18902         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18903         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18904         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18905         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18906         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18907         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18908         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18909         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18910         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18911         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18912         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18913         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18914         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18915         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18916         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18917         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18918         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18919         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18920         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18921         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18922         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18923         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18924         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18925         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18926         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18927         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18928         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18929         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18930         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18931         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18932         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18933         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18934         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18935         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18936         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18937         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18938         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18939         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18940         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18941         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18942         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18943         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18944         (R_AARCH64_TLSDESC_LDR): Likewise.
18945         (R_AARCH64_TLSDESC_ADD): Likewise.
18946         (R_AARCH64_TLSDESC_CALL): Likewise.
18948 2013-09-30  Andreas Schwab  <schwab@suse.de>
18950         [BZ #15048]
18951         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18952         the nss database lookup.
18953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18956 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18958         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18960 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18962         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18963         ${Bash-specific parameter/pattern/string} parameter expansion.
18964         * sysdeps/unix/make-syscalls.sh: Likewise.
18966 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18968         * sysdeps/sh/stackguard-macros.h: New file.
18970 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18974         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18975         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18976         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18977         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18979 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18981         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18982         Fix thread ID register.
18984 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18986         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18987         [POSIX || UNIX98]: Require rather than permitting all symbols from
18988         <time.h>.
18989         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18990         element of struct sched_param.
18991         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18992         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18993         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18994         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18995         constant.
18997 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18999         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19000         argument calculation.
19002 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19004         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19005         Expect macro.
19006         [POSIX] (pthread_attr_t): Do not require type.
19007         [POSIX] (pthread_cond_t): Likewise.
19008         [POSIX] (pthread_condattr_t): Likewise.
19009         [POSIX] (pthread_key_t): Likewise.
19010         [POSIX] (pthread_mutex_t): Likewise.
19011         [POSIX] (pthread_mutexattr_t): Likewise.
19012         [POSIX] (pthread_once_t): Likewise.
19013         [POSIX] (pthread_t): Likewise.
19014         [POSIX-based standards] (pthread_atfork): Expect function.
19016 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19017             Richard Sandiford  <richard@codesourcery.com>
19019         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19020         (swap_endianness_p): New extern variable.
19021         (set_big_endian): New inline function.
19022         (maybe_swap_uint32): Likewise.
19023         (maybe_swap_uint32_array): Likewise.
19024         (maybe_swap_uint32_obstack): Likewise.
19025         * locale/programs/locfile.c: Include <stdbool.h>.
19026         (swap_endianness_p): New variable.
19027         (add_locale_uint32): Call maybe_swap_uint32.
19028         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19029         (write_locale_data): Call maybe_swap_uint32_array.
19030         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19031         maybe_swap_uint32.
19032         (obstack_int32_grow_fast): Likewise.
19033         (output_weightwc): Call maybe_swap_uint32_obstack.
19034         (collate_output): Likewise.
19035         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19036         (OPT_LITTLE_ENDIAN): Likewise.
19037         (options): Add --little-endian and --big-endian options.
19038         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19039         * locale/programs/locarchive.c: Include "locfile.h".
19040         (GET): New macro.
19041         (SET): Likewise.
19042         (INC): Likewise.
19043         (create_archive): Use the new macros to access fields of
19044         structures directly mapped from or written to locale archives.
19045         (oldlocrecentcmp): Likewise.
19046         (enlarge_archive): Likewise.
19047         (insert_name): Likewise.
19048         (add_alias): Likewise.
19049         (add_locale): Likewise.
19050         (delete_locales_from_archive): Likewise.
19051         (show_archive_content): Likewise.
19052         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19053         locale data.
19055 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19057         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19058         http://www.gnu.org/doc/freemanuals.texi.
19059         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19061 2013-09-24  Will Newton  <will.newton@linaro.org>
19063         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19064         macro.
19066 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19068         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19069         unsigned char.
19071 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19073         * manual/threads.texi (POSIX Threads): Fix a typo.
19075 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19077         [BZ #14547]
19078         * string/tst-strcoll-overflow.c: New test case.
19079         * string/Makefile (xtests): Add tst-strcoll-overflow.
19080         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19081         cache if string sizes may cause integer overflow.
19083         [BZ #14547]
19084         * string/strcoll_l.c (coll_seq): New members rule, idx,
19085         save_idx and back_us.
19086         (get_next_seq_nocache): New function.
19087         (do_compare_nocache): New function.
19088         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19089         when malloc fails.
19091 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19093         [BZ #15754]
19094         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19095         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19096         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19098         [BZ #15754]
19099         * elf/Makefile (tests): Add tst-ptrguard1.
19100         (tests-static): Add tst-ptrguard1-static.
19101         (tst-ptrguard1-ARGS): Define.
19102         (tst-ptrguard1-static-ARGS): Define.
19103         * elf/tst-ptrguard1.c: New file.
19104         * elf/tst-ptrguard1-static.c: New file.
19105         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19106         * sysdeps/i386/stackguard-macros.h: Likewise.
19107         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19108         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19109         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19110         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19111         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19112         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19114 2013-09-23  Hector Marco  <hecmargi@upv.es>
19115             Ismael Ripoll  <iripoll@disca.upv.es>
19116             Carlos O'Donell  <carlos@redhat.com>
19118         [BZ #15754]
19119         * sysdeps/generic/stackguard-macros.h: Define
19120         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19121         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19122         Define __pointer_chk_guard_local.
19123         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19124         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19126 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19128         [BZ #15859]
19129         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19131 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19133         * include/string.h (__ffs): Declare as hidden.
19134         * string/ffs.c (__ffs): Define as hidden.
19135         * sysdeps/i386/ffs.c (__ffs): Likewise.
19136         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19137         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19138         * sysdeps/s390/ffs.c (__ffs): Likewise.
19139         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19141 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19143         * NEWS: Mention malloc probes.
19145         * malloc/arena.c (new_heap): New memory_heap_new probe.
19146         (grow_heap): New memory_heap_more probe.
19147         (shrink_heap): New memory_heap_less probe.
19148         (heap_trim): New memory_heap_free probe.
19149         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19150         (systrim): New memory_sbrk_less probe.
19151         * manual/probes.texi: Document them.
19153         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19154         * manual/probes.texi: Document it.
19156         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19157         (__libc_realloc): Add memory_realloc_retry probe.
19158         (__libc_memalign): Add memory_memalign_retry probe.
19159         (__libc_valloc): Add memory_valloc_retry probe.
19160         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19161         (__libc_calloc): Add memory_calloc_retry probe.
19162         * manual/probes.texi: Document them.
19164         * malloc/arena.c (get_free_list): Add probe
19165         memory_arena_reuse_free_list.
19166         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19167         and memory_arena_reuse.
19168         (arena_get2) [!PER_THREAD]: Likewise.
19169         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19170         memory_arena_reuse_realloc.
19171         * manual/probes.texi: Document them.
19173         * malloc/malloc.c (__libc_free): Add
19174         memory_mallopt_free_dyn_thresholds probe.
19175         (__libc_mallopt): Add multiple memory_mallopt probes.
19176         * manual/probes.texi: Document them.
19178         * malloc/malloc.c: Include stap-probe.h.
19179         (__libc_mallopt): Add memory_mallopt probe.
19180         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19181         * manual/probes.texi: New.
19182         * manual/Makefile (chapters): Add probes.
19183         * manual/threads.texi: Set next node.
19185 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19187         [BZ #15963, #13985]
19188         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19189         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19190         Add `Chinese' to `nan' entry name.
19192 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19194         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19195         (POLYNOMIAL): Likewise.
19196         (TAYLOR_SINCOS): Likewise.
19197         (TAYLOR_SLOW): Likewise.
19198         (__sin): Use TAYLOR_SINCOS.
19199         (__cos): Likewise.
19200         (slow): Use TAYLOR_SLOW.
19201         (sloww): Likewise.
19202         (bsloww): Likewise.
19203         (csloww): Likewise.
19205 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19207         * stdlib/strtod_l.c: Fix buffer overrun.
19209 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19211         * benchtests/Makefile (bench): Add sincos.
19212         * benchtests/bench-sincos.c: New file.
19214         * math/libm-test.inc (cos_test_data): New test inputs.
19215         (sin_test_data): Likewise.
19217         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19218         macro.
19219         (__sin): Use it.
19220         (__cos): Likewise.
19221         (slow1): Likewise.
19222         (slow2): Likewise.
19223         (sloww1): Likewise.
19224         (sloww2): Likewise.
19225         (bsloww1): Likewise.
19226         (bsloww2): Likewise.
19227         (cslow2): Likewise.
19228         (csloww1): Likewise.
19229         (csloww2): Likewise.
19231         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19232         function.
19233         (__sin): Use it.
19234         (__cos): Likewise.
19236         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19237         gotos.
19238         (__cos): Likewise.
19240 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19242         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19243         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19244         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19245         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19246         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19247         * elf/cache.c (print_entry): Handle the new cache flags.
19249 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19250             Aldy Hernandez  <aldyh@redhat.com>
19252         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19253         Change condition to [_SOFT_FLOAT].
19254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19266         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19269         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19270         declaration.
19272 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19274         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19275         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19276         (__longjmp): Use LOAD_GP to load saved GPRs.
19277         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19278         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19279         (__sigsetjmp): Use SAVE_GP to save GPRs.
19281         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19282         Do not append -msoft-float.
19283         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19285 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19287         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19289 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19291         [BZ #15966]
19292         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19293         (_FPU_GETCW): Use initial "__" on variable and field names but not
19294         on macro parameter name.
19295         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19296         parentheses around reference to macro parameter.
19298 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19300         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19301         prototype.
19302         (ctype_startup): Use uint32_t in cast and sizeof for
19303         ctype->charnames.
19305 2013-09-11  Jia Liu  <proljc@gmail.com>
19307         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19308         __daddr_t_defined.
19309         [__FreeBSD__]: Likewise.
19311 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19314         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19315         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19316         (strchr): Remove __strchr_sse42 ifunc selection.
19317         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19318         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19320 2013-09-11  Will Newton  <will.newton@linaro.org>
19322         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19323         parameter to RES. Remove hardcoded 1000 value.
19324         * benchtests/bench-skeleton.c (main): Pass RES parameter
19325         to TIMING_INIT and multiply result by 1000.
19327 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19331 2013-09-11  Andreas Schwab  <schwab@suse.de>
19333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19334         if not defined.
19335         (O_TMPFILE) [__USE_GNU]: Define.
19336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19337         Define.
19339 2013-09-11  Will Newton  <will.newton@linaro.org>
19341         [BZ #15857]
19342         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19343         does not overflow.
19345 2013-09-11  Will Newton  <will.newton@linaro.org>
19347         [BZ #15856]
19348         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19349         does not overflow.
19351 2013-09-11  Will Newton  <will.newton@linaro.org>
19353         [BZ #15855]
19354         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19355         does not overflow.
19357 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19359         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19360         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19361         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19362         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19363         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19365 2013-09-10  Allan McRae  <allan@archlinux.org>
19367         [BZ #15748]
19368         * manual/arith.texi (Parsing of Floats): Clarify
19369         cross-reference.
19371         [BZ #15849]
19372         * manual/install.texi (Running make install): Mention
19373         --enable-pt-chown.
19374         * INSTALL: Regenerated.
19376 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19378         * csu/init-first.c (_init): Remove the !SHARED condition around
19379         FPU control word initialization.
19380         * elf/dl-support.c (_dl_fpu_control): New variable.
19381         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19382         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19383         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19384         * math/test-fpucw-static.c: New file.
19385         * math/test-fpucw-ieee.c: New file.
19386         * math/test-fpucw-ieee-static.c: New file.
19387         * math/Makefile (tests): Add `test-fpucw-ieee' and
19388         `$(tests-static)'.
19389         (tests-static): New variable.
19390         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19391         dependency to...
19392         [($(build-shared),yes)]
19393         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19394         ... this.
19395         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19396         New dependency.
19398 2013-09-09  Allan McRae  <allan@archlinux.org>
19400         [BZ #15939]
19401         * manual/string.texi (Collation Functions): Fix typo in
19402         strcoll example.
19403         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19405         [BZ #15893]
19406         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19408         [BZ #15892]
19409         * libio/memstream.c (open_memstream): Fix memory leak.
19410         * libio/wmemstream.c (open_wmemstream): Likewise.
19412         [BZ #15895]
19413         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19415 2013-09-09  Will Newton  <will.newton@linaro.org>
19417         * malloc/Makefile: Add tst-realloc to tests.
19418         * malloc/tst-realloc.c: New file.
19420 2013-09-09  Allan McRae  <allan@archlinux.org>
19422         [BZ #15844]
19423         * COPYING: Update from GNU website to fix FSF address.
19424         * COPYING.LIB: Likewise.
19426 2013-09-06  David S. Miller  <davem@davemloft.net>
19428         * po/zh_TW.po: Update Chinese (traditional) translation from
19429         translation project.
19431 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19432             Joseph Myers  <joseph@codesourcery.com>
19434         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19435         "localeinfo.h".
19436         (obstack_chunk_alloc): New macro.
19437         (obstack_chunk_free): Likewise.
19438         (record_offset): New function.
19439         (init_locale_data): Likewise.
19440         (align_locale_data): Likewise.
19441         (add_locale_empty): Likewise.
19442         (add_locale_raw_data): Likewise.
19443         (add_locale_raw_obstack): Likewise.
19444         (add_locale_string): Likewise.
19445         (add_locale_wstring): Likewise.
19446         (add_locale_uint32): Likewise.
19447         (add_locale_uint32_array): Likewise.
19448         (add_locale_char): Likewise.
19449         (start_locale_structure): Likewise.
19450         (end_locale_structure): Likewise.
19451         (start_locale_prelude): Likewise.
19452         (end_locale_prelude): Likewise.
19453         (write_locale_data): Take locale_file structure rather than an
19454         iovec.
19455         * locale/programs/locfile.h: Include "obstack.h".
19456         (struct locale_file): Change to store locale file contents instead
19457         of header.
19458         (init_locale_data): New prototype.
19459         (align_locale_data): Likewise.
19460         (add_locale_empty): Likewise.
19461         (add_locale_raw_data): Likewise.
19462         (add_locale_raw_obstack): Likewise.
19463         (add_locale_string): Likewise.
19464         (add_locale_wstring): Likewise.
19465         (add_locale_uint32): Likewise.
19466         (add_locale_uint32_array): Likewise.
19467         (add_locale_char): Likewise.
19468         (start_locale_structure): Likewise.
19469         (end_locale_structure): Likewise.
19470         (start_locale_prelude): Likewise.
19471         (end_locale_prelude): Likewise.
19472         (write_locale_data): Update prototype.
19473         * locale/programs/3level.h (struct TABLE): Remove result field.
19474         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19475         Use new locale_file interface.
19476         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19477         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19478         * locale/programs/ld-address.c (address_output): Use new
19479         locale_file interface.
19480         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19481         NO_ADD_LOCALE.
19482         (collate_finish): Don't call collseq_table_finalize.
19483         (collate_output): Use new locale_file interface.
19484         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19485         in file.
19486         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19487         (TABLE): Move defines earlier in file.
19488         (ELEMENT): Likewise.
19489         (DEFAULT): Likewise.
19490         (wctrans_table_add): Move macro and inline function earlier in
19491         file.
19492         (struct wctype_table): Move type earlier in file.
19493         (add_locale_wctype_table): New static prototype.
19494         (struct locale_ctype_t): Use logical types instead of struct iovec
19495         pointers for members.
19496         (ctype_output): Use new locale_file interface.
19497         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19498         new locale_file interface.
19499         (allocate_arrays): Update for use of new locale_file interface.
19500         * locale/programs/ld-identification.c (identification_output): Use
19501         new locale_file interface.
19502         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19503         * locale/programs/ld-messages.c (messages_output): Likewise.
19504         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19505         * locale/programs/ld-name.c (name_output): Likewise.
19506         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19507         * locale/programs/ld-paper.c (paper_output): Likewise.
19508         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19509         * locale/programs/ld-time.c (time_output): Likewise.
19511 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19513         * benchtests/Makefile: Add memrchr benchmark.
19514         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19515         benchmark as memrchr.
19516         * benchtests/bench-memrchr-ifunc.c: New file.
19517         * benchtests/bench-memrchr.c: New file.
19519 2013-09-06   Will Newton  <will.newton@linaro.org>
19521         * benchtests/Makefile (string-bench): Add memcpy.
19523 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19524             Cong Wang  <amwang@redhat.com>
19526         [BZ #15850]
19527         * sysdeps/unix/sysv/linux/bits/in.h
19528         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19529         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19530         before __USE_KERNEL_IPV6_DEFS uses.
19531         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19532         IPPROTO_BEETPH.
19533         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19534         sockaddr_in6, or ipv6_mreq.
19536 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19538         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19539         memory access for final bytes in some large inputs.
19540         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19542 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19544         * string/test-memrchr.c: New file.
19545         * string/test-memrchr-ifunc.c: New file.
19546         * string/Makefile: Add new memrchr testcase.
19548 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19550         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19551         fanotify_init returns EPERM.
19553 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19555         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19556         errors.
19557         (top level): Treat second token from macro or constant entries for
19558         allowed headers as allowed.
19559         * include/complex.h: Condition internal declarations on
19560         [!_ISOMAC].
19561         * include/fenv.h: Condition include of <stdbool.h> and internal
19562         declarations on [!_ISOMAC].
19564 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19566         [BZ #15923]
19567         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19569 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19571         * configure.in (--enable-versioning): Remove configure option.
19572         (libc_cv_asm_symver_directive): Remove configure test.
19573         (libc_cv_ld_version_script_option): Likewise.
19574         (VERSIONING): Remove variable and AC_SUBST.
19575         (DO_VERSIONING): Remove AC_DEFINE.
19576         * configure: Regenerated.
19577         * config.h.in (DO_VERSIONING): Remove macro.
19578         * Makerules [$(versioning) = yes]: Change conditionals to
19579         [$(build-shared) = yes].
19580         * config.make.in (versioning): Remove variable.
19581         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19582         [$(build-shared) = yes].
19583         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19584         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19585         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19586         [$(build-shared) = yes].
19587         * extra-lib.mk [$(versioning) = yes]: Likewise.
19588         * hurd/Makefile [$(versioning) = yes]: Likewise.
19589         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19590         [SHARED].
19591         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19592         [SHARED].
19593         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19594         [SHARED && !NO_HIDDEN].
19595         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19596         [SHARED].
19597         [SHARED && DO_VERSIONING]: Likewise..
19598         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19599         [$(build-shared) = yes].
19600         * manual/install.texi (--disable-versioning): Remove
19601         documentation.
19602         * INSTALL: Regenerated.
19603         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19604         to [SHARED].
19605         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19606         [$(build-shared) = yes].
19607         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19608         * sysdeps/i386/i686/multiarch/strstr-c.c
19609         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19610         [SHARED && !NO_HIDDEN].
19611         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19612         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19613         * sysdeps/powerpc/powerpc32/dl-machine.c
19614         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19615         * sysdeps/powerpc/powerpc32/sysdep.h
19616         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19617         to [SHARED && PIC && !NO_HIDDEN].
19618         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19619         conditional to [SHARED].
19621 2013-09-04   Will Newton  <will.newton@linaro.org>
19623         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19624         * benchtests/bench-string.h: Include bench-timing.h instead
19625         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19626         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19627         call to HP_TIMING_DIFF_INIT.
19628         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19629         instead of hp-timing.h macros.
19630         * benchtests/bench-memchr.c: Likewise.
19631         * benchtests/bench-memcmp.c: Likewise.
19632         * benchtests/bench-memcpy.c: Likewise.
19633         * benchtests/bench-memmem.c: Likewise.
19634         * benchtests/bench-memmove.c: Likewise.
19635         * benchtests/bench-memset.c: Likewise.
19636         * benchtests/bench-rawmemchr.c: Likewise.
19637         * benchtests/bench-strcasecmp.c: Likewise.
19638         * benchtests/bench-strcasestr.c: Likewise.
19639         * benchtests/bench-strcat.c: Likewise.
19640         * benchtests/bench-strchr.c: Likewise.
19641         * benchtests/bench-strcmp.c: Likewise.
19642         * benchtests/bench-strcpy.c: Likewise.
19643         * benchtests/bench-strcpy_chk.c: Likewise.
19644         * benchtests/bench-strlen.c: Likewise.
19645         * benchtests/bench-strncasecmp.c: Likewise.
19646         * benchtests/bench-strncat.c: Likewise.
19647         * benchtests/bench-strncmp.c: Likewise.
19648         * benchtests/bench-strncpy.c: Likewise.
19649         * benchtests/bench-strnlen.c: Likewise.
19650         * benchtests/bench-strpbrk.c: Likewise.
19651         * benchtests/bench-strrchr.c: Likewise.
19652         * benchtests/bench-strspn.c: Likewise.
19653         * benchtests/bench-strstr.c: Likewise.
19655 2013-09-04  Will Newton  <will.newton@linaro.org>
19657         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19659 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19661         [BZ #15427]
19662         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19663         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19664         * math/libm-test.inc (lgamma_test_data): Add more tests.
19665         * sysdeps/i386/fpu/libm-test-ulps: Update.
19666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19668 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19670         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19672         Add ifunc.
19673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19674         Add strcmp-sse2-unaligned
19675         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19677 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19679         * Versions.def (libc): Add GLIBC_2.19.
19681 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19683         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19684         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19686 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19688         [BZ #14155]
19689         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19690         intermediate calculations in recurrence.
19691         (__ieee754_ynf): Likewise.
19692         * math/libm-test.inc (jn_test_data): Do not allow spurious
19693         underflow exception.  Add more tests.
19694         (yn_test_data): Add more tests.
19695         * sysdeps/i386/fpu/libm-test-ulps: Update.
19696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19700         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19702 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19704         * csu/init-first.c: Fix then/than typos.
19705         * locale/programs/ld-collate.c: Likewise.
19706         * locale/programs/linereader.h: Likewise.
19707         * manual/charset.texi: Likewise.
19708         * manual/filesys.texi: Likewise.
19709         * manual/stdio.texi: Likewise.
19710         * manual/string.texi: Likewise.
19711         * stdlib/fmtmsg.c: Likewise.
19712         * sysdeps/i386/stpncpy.S: Likewise.
19713         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19714         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19716         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19718 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19720         * elf/dl-open.c: Fix typos.
19721         * iconvdata/gbbig5.c: Likewise.
19722         * iconvdata/iso-2022-jp.c: Likewise.
19723         * iconv/gconv_int.h: Likewise.
19724         * iconv/loop.c: Likewise.
19725         * nis/rpcsvc/nis.h: Likewise.
19726         * resolv/ns_name.c: Likewise.
19727         * stdio-common/vfscanf.c: Likewise.
19728         * streams/stropts.h: Likewise.
19729         * sunrpc/rpc_thread.c: Likewise.
19730         * sysdeps/i386/strpbrk.S: Likewise.
19731         * sysdeps/ieee754/k_standard.c: Likewise.
19732         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19733         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19734         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19735         * sysdeps/mach/hurd/profil.c: Likewise.
19736         * sysdeps/s390/dl-procinfo.h: Likewise.
19737         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19738         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19739         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19740         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19743 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19745         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19748 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19750         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19751         aix specific files.
19752         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19753         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19754         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19755         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19756         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19757         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19758         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19759         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19761 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19762             Roland McGrath  <roland@hack.frob.com>
19764         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19765         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19767 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19769         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19770         __executable_start symbol instead of _start.
19772 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19774         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19775         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19776         Move macros to...
19777         * sysdeps/gnu/ldsodefs.h: ... this new file.
19779         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19780         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19781         instead of ELFOSABI_LINUX.
19783         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19784         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19785         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19786         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19787         Likewise.
19788         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19789         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19790         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19791         Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19793         (ibm_extended_long_double): Add ieee_nan member.
19794         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19795         (do_test): New function.
19797         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19798         TEST_TRUNC.
19799         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19800         functions, renamed from truncdfsf_test, trunctfsf_test,
19801         trunctfdf_test.
19802         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19803         functions.
19804         (do_test): Run all these.
19806 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19808         * argp/argp-help.c: Fix typos.
19809         * argp/argp-parse.c: Likewise.
19810         * debug/backtracesyms.c: Likewise.
19811         * elf/elf.h: Likewise.
19812         * malloc/malloc.c: Likewise.
19813         * nis/nis_print.c: Likewise.
19814         * resolv/res_comp.c: Likewise.
19815         * stdlib/stdlib.h: Likewise.
19816         * sunrpc/clnt_tcp.c: Likewise.
19817         * sunrpc/clnt_udp.c: Likewise.
19818         * sunrpc/clnt_unix.c: Likewise.
19819         * sysdeps/unix/bsd/ptsname.c: Likewise.
19820         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19821         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19823         Likewise.
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19825         Likewise.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19827         Likewise.
19828         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19830 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19832         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19835 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19837         [BZ #15897]
19838         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19839         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19840         ($(objpfx)bug-dl-leaf): New rule.
19841         ($(objpfx)bug-dl-leaf.so): Likewise.
19842         ($(objpfx)bug-dl-leaf.out): Likewise.
19843         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19844         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19845         * dlfcn/bug-dl-leaf.c: New test.
19846         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19847         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19848         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19849         (dlclose): Likewise.
19850         (dlmopen): Likewise.
19852 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19854         * include/netdb.h [!_ISOMAC]:
19855         Don't include <tls.h>.
19856         (h_errno, __libc_h_errno): Move declaration and macros out of
19857         [_LIBC_REENTRANT].
19859         * include/resolv.h [_RESOLV_H_]:
19860         Don't include <tls.h>.
19861         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19862         * resolv/res_libc.c: Don't include <tls.h>.
19863         (_res): Use __attribute__ ((nocommon)) in place of
19864         __attribute__ ((section (".bss"))).
19866         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19867         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19869         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19871         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19872         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19874         * resolv/res_mkquery.c: Include <sys/time.h>.
19876         * inet/ifreq.c: Moved to ...
19877         * sysdeps/unix/ifreq.c: ... here.
19878         * inet/ifreq.c: New file, true stub version.
19880         * socket/sa_len.c: New file.
19881         * socket/Makefile (aux): Add it.
19882         * sysdeps/unix/sysv/linux/Makefile
19883         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19884         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19885         and #include <socket/sa_len.c>.
19886         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19887         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19889         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19890         * bits/socket.h: ... here.
19892         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19893         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19894         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19896 2013-08-27  Andreas Schwab  <schwab@suse.de>
19898         [BZ #15736]
19899         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19900         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19901         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19902         * string/test-strcasecmp.c (test_main): Run tests in several
19903         locales.
19904         * string/test-strncasecmp.c (test_main): Likewise.
19906         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19907         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19908         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19909         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19910         (__strncasecmp_ssse3) [PIC]: Likewise.
19912 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19914         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19916         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19917         instead of explicitly declaring xdecrypt.
19918         * nis/nss_nis/nis-publickey.c: Likewise.
19920 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19922         [BZ #15890]
19923         * nscd/aicache.c: Include res_hconf.h.
19924         (addhstaiX): Initialize res_hconf.
19926 2013-08-26  Andreas Schwab  <schwab@suse.de>
19928         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19929         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19931 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19933         * nscd/aicache.c (addhstaiX): Fix indentation.
19935 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19937         * configure.ac: Quote $build_pt_chown test.
19938         * configure: Regenerated.
19940 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19942         [BZ #15532]
19943         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19944         * math/s_cexpf.c (__cexpf): Likewise.
19945         * math/s_cexpl.c (__cexpl): Likewise.
19946         * math/libm-test.inc (cexp_test_data): Correct expected return
19947         value for NaN + i0.  Add another test.
19949 2013-08-22  David S. Miller  <davem@davemloft.net>
19951         * po/ca.po: Update Catalan translation from translation project.
19952         * po/uk.po: Add Ukrainian translations from translation project.
19954 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19956         [BZ #15797]
19957         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19958         is infinite, not alongside NaN test.
19959         * math/s_fdimf.c (__fdimf): Likewise.
19960         * math/s_fdiml.c (__fdiml): Likewise.
19961         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19962         errno is unchanged.
19964 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19966         * argp/argp-help.c: Fix typos.
19967         * crypt/speeds.c: Likewise.
19968         * csu/check_fds.c: Likewise.
19969         * elf/dl-load.c: Likewise.
19970         * elf/dl-open.c: Likewise.
19971         * elf/reldep3.c: Likewise.
19972         * elf/reldep.c: Likewise.
19973         * elf/sprof.c: Likewise.
19974         * iconv/iconv_charmap.c: Likewise.
19975         * iconv/skeleton.c: Likewise.
19976         * iconv/strtab.c: Likewise.
19977         * io/lockf64.c: Likewise.
19978         * libio/libioP.h: Likewise.
19979         * resolv/gai_notify.c: Likewise.
19980         * resolv/ns_name.c: Likewise.
19981         * resolv/ns_samedomain.c: Likewise.
19982         * resolv/res_send.c: Likewise.
19983         * stdlib/random.c: Likewise.
19984         * sunrpc/rpc/xdr.h: Likewise.
19985         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19986         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19987         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19988         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19989         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19990         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19991         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19992         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19993         * sysdeps/mach/hurd/check_fds.c: Likewise.
19994         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19995         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19996         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19997         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19998         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19999         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20000         * sysdeps/pthread/aio_notify.c: Likewise.
20001         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20002         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20003         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20004         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20005         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20007 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20009         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20010         version if bit_Slow_SSE4_2 is set.
20011         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20012         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20014 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20016         [BZ #15867]
20017         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20018         trampoline stack frame information.
20019         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20020         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20021         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20022         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20023         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20024         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20025         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20026         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20027         sa_flags value.
20028         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20029         interrupting a syscall and set with option SA_SIGINFO.
20031 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20033         [BZ #15531]
20034         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20035         argument is infinite.
20036         * math/s_cprojf.c (__cprojf): Likewise.
20037         * math/s_cprojl.c (__cprojl): Likewise.
20038         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20039         * math/libm-test.inc (cproj_test_data): Add more tests.
20041         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20043         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20044         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20045         size.  Use __ffs to determine corresponding shift.
20047 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20048             Roland McGrath  <roland@hack.frob.com>
20050         * Makefile (INSTALL): Remove trailing blank lines from output of
20051         makeinfo.
20053 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20055         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20056         Align 32 bit compat elf_greg to 8 bytes.
20058 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20060         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20062 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064         * string/strcoll_l.c (coll_seq): New structure.
20065         (get_next_seq_cached): New function.
20066         (get_next_seq): New function.
20067         (do_compare): New function.
20068         (STRCOLL): Use GNU style definition.  Simplify implementation
20069         by using get_next_seq, get_next_seq_cached and do_compare.
20071 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20073         [BZ #14699]
20074         CVE-2013-4237
20075         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20076         member.
20077         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20078         member.
20079         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20080         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20081         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20082         conditional.
20083         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20084         GETDENTS_64BIT_ALIGNED.
20085         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20086         * manual/filesys.texi (Reading/Closing Directory): Document
20087         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20088         strongly.
20089         * manual/conf.texi (Limits for Files): Add portability note to
20090         NAME_MAX, PATH_MAX.
20091         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20093 2013-08-13  Andreas Schwab  <schwab@suse.de>
20095         [BZ #15749]
20096         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20097         of fabs.
20098         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20099         LDBL_MAX_EXP >= 16384]: Add tests for it.
20101 2013-08-12  David S. Miller  <davem@davemloft.net>
20103         * version.h (RELEASE): Set to "development".
20104         (VERSION): Set to "2.18.90".
20105         * NEWS: Add 2.19 section.
20107 2013-08-03  David S. Miller  <davem@davemloft.net>
20109         * po/ko.po: Update Korean translation from translation project.
20111 2013-08-01  David S. Miller  <davem@davemloft.net>
20113         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20114         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20115         Bilka.
20117 2013-07-30  David S. Miller  <davem@davemloft.net>
20119         * po/fr.po: Update French translation from translation project.
20121 2013-07-28  David S. Miller  <davem@davemloft.net>
20123         * po/cs.po: Update Czech translation from translation project.
20125         * po/sv.po: Update Swedish translation from translation project.
20127 2013-07-27  David S. Miller  <davem@davemloft.net>
20129         * po/eo.po: Update Esperanto translation from translation project.
20131         * po/vi.po: Update Vietnamese translation from translation project.
20133         * po/de.po: Update German translation from translation project.
20135 2013-07-26  David S. Miller  <davem@davemloft.net>
20137         * po/bg.po: Update Bulgarian translation from translation project.
20139         * po/nl.po: Update Dutch translation from translation project.
20140         * po/pl.po: Update Polish translation from translation project.
20141         * po/ru.po: Update Russian translation from translation project.
20143 2013-07-24  David S. Miller  <davem@davemloft.net>
20145         * po/libc.pot: Update.
20147 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20149         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20150         variable page size.
20151         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20152         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20153         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20155 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20157         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20159 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20160             Andreas Schwab  <schwab@suse.de>
20161             Roland McGrath  <roland@hack.frob.com>
20162             Joseph Myers  <joseph@codesourcery.com>
20163             Carlos O'Donell  <carlos@redhat.com>
20165         [BZ #15755]
20166         * config.h.in: Define HAVE_PT_CHOWN.
20167         * config.make.in (build-pt-chown): New variable.
20168         * configure.in (--enable-pt_chown): New configure option.
20169         * configure: Regenerate.
20170         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20171         build-pt-chown is enabled.
20172         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20173         pt_chown to fix pty ownership.
20174         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20175         CLOSE_ALL_FDS.
20176         * manual/install.texi (Configuring and compiling): Mention
20177         --enable-pt_chown. Add @findex for grantpt.
20178         * INSTALL: Regenerate.
20180 2013-07-20  David S. Miller  <davem@davemloft.net>
20182         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20183         difference between 32-bit and 64-bit.
20185 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20187         [BZ #15711]
20188         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20189         Avoid system header dependency with -ffreestanding.
20190         ($(objpfx)bits/syscall%d): Likewise.
20192 2013-07-13  David S. Miller  <davem@davemloft.net>
20194         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20195         underflows from atanl/atan2l due to bug 15319.
20196         (casinh_test_data): Likewise.
20198 2013-07-07  David S. Miller  <davem@davemloft.net>
20200         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20202 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20204         * sysdeps/i386/fpu/libm-test-ulps: Update.
20205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20207 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20209         * configure.in (--enable-lock-elision): Fix message text.
20210         * INSTALL: Regenerate.
20211         * configure: Regenerate.
20213 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20217 2013-07-03  Andreas Jaeger  <aj@suse.de>
20219         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20220         define.
20221         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20222         (ptrace_peeksiginfo_args): Add.
20223         (__ptrace_peeksiginfo_flags): Add.
20224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20226         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20228 2013-07-03  Allan McRae  <allan@archlinux.org>
20230         * sysdeps/i386/fpu/libm-test-ulps: Update.
20232 2013-07-02  David S. Miller  <davem@davemloft.net>
20234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20236 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20240 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20242         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20245 2013-07-02  Andi Kleen <ak@linux.intel.com>
20247         * config.h.in (ENABLE_LOCK_ELISION): Add.
20248         * configure.in (--enable-lock-elision): Add option.
20249         * manual/install.texi: Document --enable lock elision.
20250         * configure: Regenerate
20251         * INSTALL: Regenerate.
20253 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20255         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20256         SSE4.2 strcasecmp for libc.a.
20257         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20259 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20261         [BZ #13304]
20262         * soft-fp/op-common.h (_FP_FMA): New macro.
20263         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20264         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20265         (_FP_MUL_MEAT_1_imm): ... here.
20266         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20267         (_FP_MUL_MEAT_1_wide): ... here.
20268         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20269         (_FP_MUL_MEAT_1_hard): ... here.
20270         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20271         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20272         (_FP_MUL_MEAT_2_wide): ... here.
20273         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20274         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20275         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20276         (_FP_MUL_MEAT_2_gmp): ... here.
20277         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20278         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20279         (_FP_MUL_MEAT_4_wide): ... here.
20280         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20281         (_FP_MUL_MEAT_4_gmp): ... here.
20282         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20283         (_FP_WFRACBITS_DW_S): Likewise.
20284         (_FP_WFRACXBITS_DW_S): Likewise.
20285         (_FP_HIGHBIT_DW_S): Likewise.
20286         (FP_FMA_S): Likewise.
20287         (_FP_FRAC_HIGH_DW_S): Likewise.
20288         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20289         (_FP_WFRACBITS_DW_D): Likewise.
20290         (_FP_WFRACXBITS_DW_D): Likewise.
20291         (_FP_HIGHBIT_DW_D): Likewise.
20292         (FP_FMA_D): Likewise.
20293         (_FP_FRAC_HIGH_DW_D): Likewise.
20294         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20295         (_FP_WFRACBITS_DW_E): Likewise.
20296         (_FP_WFRACXBITS_DW_E): Likewise.
20297         (_FP_HIGHBIT_DW_E): Likewise.
20298         (FP_FMA_E): Likewise.
20299         (_FP_FRAC_HIGH_DW_E): Likewise.
20300         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20301         (_FP_WFRACBITS_DW_Q): Likewise.
20302         (_FP_WFRACXBITS_DW_Q): Likewise.
20303         (_FP_HIGHBIT_DW_Q): Likewise.
20304         (FP_FMA_Q): Likewise.
20305         (_FP_FRAC_HIGH_DW_Q): Likewise.
20306         * soft-fp/fmasf4.c: New file.
20307         * soft-fp/fmadf4.c: Likewise.
20308         * soft-fp/fmatf4.c: Likewise.
20310 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20313         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20314         Silvermont.
20315         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20316         macro.
20317         (index_Slow_SSE4_2): Likewise.
20318         (index_Prefer_PMINUB_for_stringop): Likewise.
20319         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20320         bit_Slow_SSE4_2 is set.
20321         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20322         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20324 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20326         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20327         rtld_global._dl_hwcap2.
20328         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20329         POWER8.
20330         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20331         POWER8 feature descriptions defined in _dl_hwcap2.
20332         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20333         string handling for POWER8 feature bits.
20334         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20335         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20336         _dl_powerpc_cap_flags.
20337         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20338         * sysdeps/powerpc/rtld-global-offsets.sym
20339         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20340         _dl_hwcap2 in the rtld_global_ro structure.
20342 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20344         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20345         hardware capabilities in support of AT_HWCAP2.
20346         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20347         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20348         GLRO(dl_hwcap2).
20349         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20350         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20351         explicitly the unknown a_type display mechanism is used.
20352         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20353         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20354         struct member.
20355         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20356         to macro prototype for AT_HWCAP2 support.
20357         * sysdeps/i386/dl-procinfo.h: Likewise.
20358         * sysdeps/s390/dl-procinfo.h: Likewise.
20359         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20360         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20361         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20362         return -1 for unknown a_type display fallback.
20363         * sysdeps/sparc/dl-procinfo.h: Likewise.
20364         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20365         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20367 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20369         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20370         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20372 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20374         [BZ #12492]
20375         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20376         mprotect making __stack_prot writable.
20378 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20379             Joseph Myers  <joseph@codesourcery.com>
20381         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20382         as being properly aligned.
20384 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20386         * dlfcn/modstatic5.c: New file.
20387         * dlfcn/tststatic5.c: New file.
20388         * dlfcn/Makefile (tests): Add tststatic5.
20389         (tests-static): Likewise.
20390         (modules-names): Add modstatic5.
20391         (tststatic5-ENV): New variable.
20392         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20394         [BZ #15022]
20395         * elf/dl-support.c (_dl_main_map): New variable.
20396         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20397         (_dl_nns, _dl_load_adds): Set to 1.
20398         (_dl_initial_searchlist): Refer to _dl_main_map.
20399         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20400         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20401         call to _dl_get_origin.
20402         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20403         around call_map.
20404         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20405         * dlfcn/modstatic3.c: New file.
20406         * dlfcn/tststatic3.c: New file.
20407         * dlfcn/tststatic4.c: New file.
20408         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20409         (tests-static): Likewise.
20410         (modules-names): Add modstatic3.
20411         (tststatic3-ENV, tststatic4-ENV): New variables.
20412         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20413         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20415 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20417         * configure.in (CC): Require GCC version 4.4 or later.
20418         * configure: Regenerated.
20419         * manual/install.texi (Tools for Compilation): Update GCC version
20420         requirement.
20421         * INSTALL: Regenerated.
20423 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20425         [BZ #15674]
20426         * string/test-memcmp.c (check2): New.
20427         (main): Call check2.
20429         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20431 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20433         [BZ #15022]
20434         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20435         over to...
20436         (dl_open_worker) [!SHARED]: ... here.
20438 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20440         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20442 2013-06-25  Richard Henderson  <rth@redhat.com>
20444         * locale/programs/locarchive.c: Include <libc-internal.h>
20446 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20448         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20449         trailing whitespace removed.
20451 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20453         [BZ #10283]
20454         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20455         * locale/programs/locarchive.c: Include libc-mmap.h.
20456         (prepare_address_space): Take two new outputs (the mmap base and len).
20457         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20458         values.
20459         (create_archive): Declare new mmap base and len values for
20460         prepare_address_space, and store the result in ah.
20461         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20462         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20463         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20464         Declare new mmap base and len values for
20465         prepare_address_space, and store the result in new_ah.
20466         (open_archive): Declare new mmap base and len values for
20467         prepare_address_space, and store the result in ah.
20468         (close_archive): If ah->mmap_base is not NULL, use that and
20469         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20470         * sysdeps/generic/libc-mmap.h: New file.
20472 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20474         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20475         (ALIGN_UP): Likewise.
20476         (PTR_ALIGN_DOWN): Likewise.
20477         (PTR_ALIGN_UP): Likewise.
20479 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20481         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20482         entry mapped to PPC_PLATFORM_POWER8.
20483         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20484         POWER8.
20485         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20486         (_dl_string_platform): Add case for exporting platform position for
20487         POWER8.
20488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20489         search path to sysdeps/powerpc/powerpc32/power8 directory.
20490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20491         search path to sysdeps/powerpc/powerpc64/power8 directory.
20492         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20493         power7 directories.
20494         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20495         power7 directories.
20497 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20499         * INSTALL: Regenerate.
20501         * nscd/connections.c (nscd_init): Fix comment.
20503 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20505         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20507         [BZ #15667]
20508         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20509         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20511 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20513         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20514         DL_DST_REQ_STATIC.
20515         (DL_DST_REQ_STATIC): Remove macro.
20517 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20519         [BZ #7006]
20520         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20521         with a shift of 0 bits.
20523 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20525         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20526         $(tststatic-ENV).
20528 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20530         [BZ #15655]
20531         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20533 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20535         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20536         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20537         accepts -fno-tree-loop-distribute-patterns.
20538         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20539         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20540         recursive call.
20541         * string/memset.c (memset): Likewise.
20542         * string/test-memmove.c (simple_memmove): Disable loop transformation
20543         to library calls.
20544         * string/test-memset.c (simple_memset): Likewise.
20545         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20546         * benchtests/bench-memset.c (simple_memset): Likewise.
20547         * configure: Regenerated.
20549 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20551         * math/test-misc.c (main): Ignore fesetround failure when failures
20552         of subsequent rounding tests would be ignored.
20554         [BZ #15654]
20555         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20556         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20557         * math/fegetenv.c (__fegetenv): Return 0.
20558         * math/fegetexcept.c (fegetexcept): Return 0.
20559         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20560         FE_TONEAREST.
20561         * math/feholdexcpt.c (feholdexcept): Return 0.
20562         * math/fesetenv.c (__fesetenv): Return 0.
20563         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20564         argument FE_TONEAREST.
20565         * math/feupdateenv.c (__feupdateenv): Return 0.
20566         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20568 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20570         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20571         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20572         ($(objpfx)rtld-%.os rules): Use them.
20574 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20576         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20577         fields.
20579 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20581         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20582         length of target pattern, then descending length of dependency pattern.
20583         * configure.in (AWK): Require gawk 3.1.2 or newer.
20584         * manual/install.texi (Tools for Compilation): Say that we do.
20585         * configure: Regenerated.
20587         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20588         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20589         * scripts/sysd-rules.awk: ... this new script.
20590         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20591         than a glob-style pattern.
20593 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20595         * math/test-misc.c (main): Do not treat incorrectly rounded
20596         conversions as failure unless ROUNDING_TESTS passes.
20598 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20600         [BZ #15631]
20601         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20602         restore exception state around main square root computation, then
20603         check for inexactness explicitly.
20605         * math/libm-test.inc (fma_test_data): Add another test.
20607 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20609         * manual/threads.texi (Non-POSIX Extensions): New document
20610         node.  Document pthread_getattr_default_np and
20611         pthread_setattr_default_np.
20613         * Versions.def (libpthread): Add GLIBC_2.18.
20614         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20616         Likewise.
20617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20618         Likewise.
20619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20620         Likewise.
20621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20622         Likewise.
20623         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20624         Likewise.
20625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20626         Likewise.
20627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20628         Likewise.
20629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20630         Likewise.
20631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20632         Likewise.
20634 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20637         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20639 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640             H.J. Lu  <hjl.tools@gmail.com>
20642         [BZ #15627]
20643         * sysdeps/x86_64/rtld-memset.c: Remove file.
20644         * sysdeps/x86_64/rtld-memset.S: New file.
20646 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20648         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20649         (test_in_one_mode): Take arguments for whether the rounding mode
20650         is supported for each floating-point type.
20651         (do_test): Pass new arguments to test_in_one_mode using
20652         ROUNDING_TESTS.
20654 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20656         * posix/tst-waitid.c (do_test): Distinguish different instances of
20657         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20658         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20659         before entering the kernel for waitpid.
20661 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663         * NEWS: Fix note on clock function precision.  Text by Roland
20664         McGrath.
20666 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20668         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20669         it into place only when and if the sanity check passes.
20671 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20673         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20674         output for whether conversion result is exact.  Take argument
20675         indicating whether type is IBM long double.
20676         (round_for_all): Change need_exact field to ibm_ld.
20677         * stdlib/tst-strtod-round.c (struct exactness): New type.
20678         (struct test): Change bool ld_ok field to struct exactness exact.
20679         (TEST): Update all definitions for change to field.
20680         (tests): Regenerate array contents.
20681         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20682         field value.  Check for IBM long double here.
20683         (do_test): Update calls to test_in_one_mode.
20685 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20687         [BZ #12515]
20688         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20689         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20691 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20693         [BZ #15605]
20694         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20695         generated by the compiler on loop optimizations.
20696         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20697         general definitions.
20699 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20701         * math/bug-nextafter.c: Include <math-tests.h>.
20702         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20703         the relevant type.
20704         * math/bug-nexttoward.c: Include <math-tests.h>.
20705         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20706         the relevant type.
20707         * math/test-misc.c: Include <math-tests.h>.
20708         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20709         the relevant type.
20711 2013-06-12  Andreas Jaeger  <aj@suse.de>
20713         * po/ia.po: Update Interlingua translation from translation
20714         project.
20716 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20718         * include/fenv.h: Include stdbool.h.
20719         (struct rm_ctx): New structure.
20720         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20721         Define macro.
20722         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20723         (SET_RESTORE_ROUNDF): Likewise.
20724         (SET_RESTORE_ROUNDL): Likewise.
20725         (SET_RESTORE_ROUND_NOEX): Likewise.
20726         (SET_RESTORE_ROUND_NOEXF): Likewise.
20727         (SET_RESTORE_ROUND_NOEXL): Likewise.
20728         (SET_RESTORE_ROUND_53BIT): Likewise.
20729         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20730         (libc_feresetround_noexf_ctx): Likewise.
20731         (libc_feresetround_noexl_ctx): Likewise.
20732         (libc_feholdsetround_53bit_ctx): Likewise.
20733         (libc_feresetround_53bit_ctx): Likewise.
20734         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20735         (libc_feholdexcept_setround_sse_ctx): New function.
20736         (libc_fesetenv_sse_ctx): Likewise.
20737         (libc_feupdateenv_sse_ctx): Likewise.
20738         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20739         (libc_feholdexcept_setround_387_ctx): Likewise.
20740         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20741         (libc_feholdsetround_387_prec_ctx): Likewise.
20742         (libc_feholdsetround_387_ctx): Likewise.
20743         (libc_feholdsetround_387_53bit_ctx): Likewise.
20744         (libc_feholdsetround_sse_ctx): Likewise.
20745         (libc_feresetround_sse_ctx): Likewise.
20746         (libc_feresetround_387_ctx): Likewise.
20747         (libc_feupdateenv_387_ctx): Likewise.
20748         (libc_feholdexcept_setroundf_ctx): Define macro.
20749         (libc_fesetenvf_ctx): Likewise.
20750         (libc_feupdateenvf_ctx): Likewise.
20751         (libc_feholdsetroundf_ctx): Likewise.
20752         (libc_feresetroundf_ctx): Likewise.
20753         (libc_feholdexcept_setround_ctx): Likewise.
20754         (libc_fesetenv_ctx): Likewise.
20755         (libc_feupdateenv_ctx): Likewise.
20756         (libc_feholdsetround_ctx): Likewise.
20757         (libc_feresetround_ctx): Likewise.
20758         (libc_feholdexcept_setroundl_ctx): Likewise.
20759         (libc_feupdateenvl_ctx): Likewise.
20760         (libc_feholdsetroundl_ctx): Likewise.
20761         (libc_feresetroundl_ctx): Likewise.
20762         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20763         (libc_feresetround_53bit_ctx): Likewise.
20765 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20767         * locale/iso-639.def: Convert to UTF-8.
20769 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20771         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20772         (EXCEPTION_TESTS_double): Likewise.
20773         (EXCEPTION_TESTS_long_double): Likewise.
20774         (EXCEPTION_TESTS): Likewise.
20775         * math/libm-test.inc (test_exceptions): Only test exceptions if
20776         EXCEPTION_TESTS (FLOAT).
20778 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20780         * benchtests/Makefile (string-bench): Add strcpy_chk and
20781         stpcpy_chk.
20782         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20783         * benchtests/bench-stpcpy_chk.c: New file.
20784         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20785         * benchtests/bench-strcpy_chk.c: New file.
20786         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20787         code.
20788         (do_test): Likewise.
20790 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20792         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20793         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20794         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20795         with tabs where appropriate.
20796         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20797         dl-procinfo.h.
20798         [PPC_PLATFORM_PPC440]: Likewise.
20799         [PPC_PLATFORM_PPC464]: Likewise.
20800         [PPC_PLATFORM_PPC476]: Likewise.
20801         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20802         ppc464, and ppc476 platform strings merging from ports/
20803         dl-procinfo.h.
20805 2013-06-11  Andreas Schwab  <schwab@suse.de>
20807         [BZ #14991]
20808         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20809         (from_ucs4_idx): Regenerate.
20810         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20811         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20812         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20813         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20814         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20815         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20816         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20817         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20818         from FROM_LOOP and TO_LOOP specific macros.
20819         (BODY): Handle combining characters.
20820         * iconvdata/BIG5HKSCS.irreversible: Update.
20821         * iconvdata/BIG5HKSCS.precomposed: New file.
20822         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20823         characters.
20824         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20826 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828         * include/sys/time.h: Fix indentation and add copyright header.
20830         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20831         (do_test): Likewise.
20832         * string/test-memchr.c (do_one_test): Likewise.
20833         (do_test): Likewise.
20834         * string/test-memcmp.c (do_one_test): Likewise.
20835         (do_test): Likewise.
20836         * string/test-memcpy.c (do_one_test): Likewise.
20837         (do_test): Likewise.
20838         * string/test-memmem.c (do_one_test): Likewise.
20839         (do_test): Likewise.
20840         (do_random_tests): Likewise.
20841         * string/test-memmove.c (do_one_test): Likewise.
20842         (do_test): Likewise.
20843         * string/test-memset.c (do_one_test): Likewise.
20844         (do_test): Likewise.
20845         * string/test-rawmemchr.c (do_one_test): Likewise.
20846         (do_test): Likewise.
20847         * string/test-strcasecmp.c (do_one_test): Likewise.
20848         (do_test): Likewise.
20849         * string/test-strcasestr.c (do_one_test): Likewise.
20850         (do_test): Likewise.
20851         * string/test-strcat.c (do_one_test): Likewise.
20852         (do_test): Likewise.
20853         * string/test-strchr.c (do_one_test): Likewise.
20854         (do_test): Likewise.
20855         * string/test-strcmp.c (do_one_test): Likewise.
20856         (do_test): Likewise.
20857         * string/test-strcpy.c (do_one_test): Likewise.
20858         (do_test): Likewise.
20859         * string/test-string.h: Likewise.
20860         (test_init): Likewise.
20861         * string/test-strlen.c (do_one_test): Likewise.
20862         (do_test): Likewise.
20863         * string/test-strncasecmp.c (do_one_test): Likewise.
20864         (do_test): Likewise.
20865         * string/test-strncat.c (do_one_test): Likewise.
20866         (do_test): Likewise.
20867         * string/test-strncmp.c (do_one_test): Likewise.
20868         (do_test_limit): Likewise.
20869         (do_test): Likewise.
20870         * string/test-strncpy.c (do_one_test): Likewise.
20871         (do_test): Likewise.
20872         * string/test-strnlen.c (do_one_test): Likewise.
20873         (do_test): Likewise.
20874         * string/test-strpbrk.c (do_one_test): Likewise.
20875         (do_test): Likewise.
20876         * string/test-strrchr.c (do_one_test): Likewise.
20877         (do_test): Likewise.
20878         * string/test-strspn.c (do_one_test): Likewise.
20879         (do_test): Likewise.
20880         * string/test-strstr.c (do_one_test): Likewise.
20881         (do_test): Likewise.
20883         * benchtests/Makefile (string-bench): Add string benchmarks.
20884         * benchtests/bench-bcopy-ifunc.c: New file.
20885         * benchtests/bench-bcopy.c: New file.
20886         * benchtests/bench-bzero-ifunc.c: New file.
20887         * benchtests/bench-bzero.c: New file.
20888         * benchtests/bench-memccpy-ifunc.c: New file.
20889         * benchtests/bench-memccpy.c: New file.
20890         * benchtests/bench-memchr-ifunc.c: New file.
20891         * benchtests/bench-memchr.c: New file.
20892         * benchtests/bench-memcmp-ifunc.c: New file.
20893         * benchtests/bench-memcmp.c: New file.
20894         * benchtests/bench-memmem-ifunc.c: New file.
20895         * benchtests/bench-memmem.c: New file.
20896         * benchtests/bench-memmove-ifunc.c: New file.
20897         * benchtests/bench-memmove.c: New file.
20898         * benchtests/bench-mempcpy-ifunc.c: New file.
20899         * benchtests/bench-mempcpy.c: New file.
20900         * benchtests/bench-memset-ifunc.c: New file.
20901         * benchtests/bench-memset.c: New file.
20902         * benchtests/bench-rawmemchr-ifunc.c: New file.
20903         * benchtests/bench-rawmemchr.c: New file.
20904         * benchtests/bench-stpcpy-ifunc.c: New file.
20905         * benchtests/bench-stpcpy.c: New file.
20906         * benchtests/bench-stpncpy-ifunc.c: New file.
20907         * benchtests/bench-stpncpy.c: New file.
20908         * benchtests/bench-strcasecmp-ifunc.c: New file.
20909         * benchtests/bench-strcasecmp.c: New file.
20910         * benchtests/bench-strcasestr-ifunc.c: New file.
20911         * benchtests/bench-strcasestr.c: New file.
20912         * benchtests/bench-strcat-ifunc.c: New file.
20913         * benchtests/bench-strcat.c: New file.
20914         * benchtests/bench-strchr-ifunc.c: New file.
20915         * benchtests/bench-strchr.c: New file.
20916         * benchtests/bench-strchrnul-ifunc.c: New file.
20917         * benchtests/bench-strchrnul.c: New file.
20918         * benchtests/bench-strcmp-ifunc.c: New file.
20919         * benchtests/bench-strcmp.c: New file.
20920         * benchtests/bench-strcpy-ifunc.c: New file.
20921         * benchtests/bench-strcpy.c: New file.
20922         * benchtests/bench-strcspn-ifunc.c: New file.
20923         * benchtests/bench-strcspn.c: New file.
20924         * benchtests/bench-strlen-ifunc.c: New file.
20925         * benchtests/bench-strlen.c: New file.
20926         * benchtests/bench-strncasecmp-ifunc.c: New file.
20927         * benchtests/bench-strncasecmp.c: New file.
20928         * benchtests/bench-strncat-ifunc.c: New file.
20929         * benchtests/bench-strncat.c: New file.
20930         * benchtests/bench-strncmp-ifunc.c: New file.
20931         * benchtests/bench-strncmp.c: New file.
20932         * benchtests/bench-strncpy-ifunc.c: New file.
20933         * benchtests/bench-strncpy.c: New file.
20934         * benchtests/bench-strnlen-ifunc.c: New file.
20935         * benchtests/bench-strnlen.c: New file.
20936         * benchtests/bench-strpbrk-ifunc.c: New file.
20937         * benchtests/bench-strpbrk.c: New file.
20938         * benchtests/bench-strrchr-ifunc.c: New file.
20939         * benchtests/bench-strrchr.c: New file.
20940         * benchtests/bench-strspn-ifunc.c: New file.
20941         * benchtests/bench-strspn.c: New file.
20942         * benchtests/bench-strstr-ifunc.c: New file.
20943         * benchtests/bench-strstr.c: New file.
20945         * benchtests/Makefile: Disable parallel execution of targets.
20946         (string-bench): Add memcpy.
20947         (benchset): New variable to store a list of benchmark sets.
20948         (bench-func): Renamed from bench.
20949         (bench-set): New target.
20950         (bench): Depend on bench-func and bench-set.
20951         * benchtests/README: Add section on benchmark sets.
20952         * benchtests/bench-memcpy-ifunc.c: New file.
20953         * benchtests/bench-memcpy.c: New file.
20954         * benchtests/bench-string.h: New file.
20956 2013-06-11  Andreas Schwab  <schwab@suse.de>
20958         [BZ #15577]
20959         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20960         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20961         values in the triple.
20962         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20963         terminator in the group key.
20965 2013-06-11  Andreas Jaeger  <aj@suse.de>
20967         * po/zh_TW.po: Update Chinese (traditional) translation from
20968         translation project.
20970 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20972         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20973         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20974         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20975         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20976         (clock_getcpuclockid): Likewise.
20977         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20978         Add weak_alias and libc_hidden_def.
20979         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20980         * rt/clock_gettime.c (clock_gettime): Rename to
20981         __clock_gettime.  Add weak_alias and libc_hidden_def.
20982         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20983         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20984         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20985         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20986         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20987         Likewise.
20988         * rt/clock_settime.c (clock_settime): Rename to
20989         __clock_settime.  Add weak_alias and libc_hidden_def.
20990         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20992 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20994         * mach/err_boot.sub: Remove trailing whitespace.
20995         * mach/err_ipc.sub: Likewise.
20996         * mach/err_mach.sub: Likewise.
20998         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20999         (ROUNDING_TESTS_double): Likewise.
21000         (ROUNDING_TESTS_long_double): Likewise.
21001         (ROUNDING_TESTS): Likewise.
21002         * math/libm-test.inc: Include <math-tests.h>.
21003         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21004         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21005         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21006         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21008 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21010         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21011         of assigning.
21013 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21015         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21016         otherwise empty TRANS lines.
21017         * sysdeps/gnu/errlist.c: Regenerated.
21019         * catgets/gencat.c (error_print): Use (void) in function
21020         definition.
21021         * crypt/crypt_util.c (__init_des): Likewise.
21022         * crypt/speeds.c (Stop): Likewise.
21023         (main): Likewise.
21024         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21025         * inet/ruserpass.c (token): Likewise.
21026         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21027         * intl/localealias.c (extend_alias_table): Likewise.
21028         * intl/plural-exp.c (init_germanic_plural): Likewise.
21029         * libio/fcloseall.c (__fcloseall): Likewise.
21030         * libio/genops.c (_IO_flush_all): Likewise.
21031         (_IO_flush_all_linebuffered): Likewise.
21032         (_IO_cleanup): Likewise.
21033         (_IO_iter_begin): Likewise.
21034         (_IO_iter_end): Likewise.
21035         (_IO_list_lock): Likewise.
21036         (_IO_list_unlock): Likewise.
21037         (_IO_list_resetlock): Likewise.
21038         * libio/getchar.c (getchar): Likewise.
21039         * libio/getchar_u.c (getchar_unlocked): Likewise.
21040         * libio/getwchar.c (getwchar): Likewise.
21041         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21042         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21043         * login/getpt.c (__getpt): Likewise.
21044         * login/tst-utmp.c (main): Likewise.
21045         * malloc/hooks.c (__malloc_check_init): Likewise.
21046         * malloc/malloc.c (__malloc_stats): Likewise.
21047         * malloc/mtrace.c (tr_break): Likewise.
21048         (mtrace): Likewise.
21049         (muntrace): Likewise.
21050         * misc/fstab.c (endfsent): Likewise.
21051         * misc/getclktck.c (__getclktck): Likewise.
21052         * misc/getdtsz.c (__getdtablesize): Likewise.
21053         * misc/gethostid.c (gethostid): Likewise.
21054         * misc/getpagesize.c (__getpagesize): Likewise.
21055         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21056         (__get_nprocs): Likewise.
21057         (__get_phys_pages): Likewise.
21058         (__get_avphys_pages): Likewise.
21059         * misc/getttyent.c (getttyent): Likewise.
21060         (setttyent): Likewise.
21061         (endttyent): Likewise.
21062         * misc/getusershell.c (getusershell): Likewise.
21063         (endusershell): Likewise.
21064         (setusershell): Likewise.
21065         (initshells): Likewise.
21066         * misc/hsearch.c (__hdestroy): Likewise.
21067         * misc/sync.c (sync): Likewise.
21068         * misc/syslog.c (closelog_internal): Likewise.
21069         (closelog): Likewise.
21070         * misc/ttyslot.c (ttyslot): Likewise.
21071         * misc/vhangup.c (vhangup): Likewise.
21072         * posix/fork.c (__fork): Likewise.
21073         * posix/getegid.c (__getegid): Likewise.
21074         * posix/geteuid.c (__geteuid): Likewise.
21075         * posix/getgid.c (__getgid): Likewise.
21076         * posix/getpid.c (__getpid): Likewise.
21077         * posix/getppid.c (__getppid): Likewise.
21078         * posix/getuid.c (__getuid): Likewise.
21079         * posix/pause.c (pause): Likewise.
21080         * posix/setpgrp.c (setpgrp): Likewise.
21081         * posix/setsid.c (__setsid): Likewise.
21082         * posix/test-vfork.c (noop): Likewise.
21083         * resolv/gethnamaddr.c (_endhtent): Likewise.
21084         (_gethtent): Likewise.
21085         (ht_endhostent): Likewise.
21086         (gethostent): Likewise.
21087         (dns_service): Likewise.
21088         * stdlib/drand48.c (drand48): Likewise.
21089         * stdlib/lrand48.c (lrand48): Likewise.
21090         * stdlib/mrand48.c (mrand48): Likewise.
21091         * stdlib/rand.c (rand): Likewise.
21092         * stdlib/random.c (__random): Likewise.
21093         * stdlib/setenv.c (clearenv): Likewise.
21094         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21095         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21096         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21097         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21098         (__get_nprocs): Likewise.
21099         (__get_phys_pages): Likewise.
21100         (__get_avphys_pages): Likewise.
21101         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21102         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21103         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21104         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21105         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21106         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21107         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21108         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21109         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21110         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21111         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21112         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21113         * sysdeps/posix/clock.c (clock): Likewise.
21114         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21115         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21116         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21117         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21118         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21119         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21120         (__get_nprocs_conf): Likewise.
21121         (__get_phys_pages): Likewise.
21122         (__get_avphys_pages): Likewise.
21123         * time/clock.c (clock): Likewise.
21124         * time/tzset.c (__tzname_max): Likewise.
21126 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21128         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21129         (__bswap_32): Do not use "register".
21130         * crypt/crypt.c (_ufc_doit_r): Likewise.
21131         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21132         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21133         * gmon/gmon.c (__monstartup): Likewise.
21134         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21135         * hurd/hurdmalloc.c (more_memory): Likewise.
21136         (malloc): Likewise.
21137         (free): Likewise.
21138         (realloc): Likewise.
21139         (malloc_fork_prepare): Likewise.
21140         (malloc_fork_parent): Likewise.
21141         (malloc_fork_child): Likewise.
21142         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21143         (_svcauth_des): Likewise.
21144         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21145         * inet/inet_net.c (inet_network): Likewise.
21146         * inet/inet_netof.c (inet_netof): Likewise.
21147         * inet/rcmd.c (__validuser2_sa): Likewise.
21148         * io/fts.c (fts_open): Likewise.
21149         (fts_load): Likewise.
21150         (fts_close): Likewise.
21151         (fts_read): Likewise.
21152         (fts_children): Likewise.
21153         (fts_build): Likewise.
21154         (fts_stat): Likewise.
21155         (fts_sort): Likewise.
21156         (fts_alloc): Likewise.
21157         (fts_lfree): Likewise.
21158         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21159         (_IO_file_xsgetn): Likewise.
21160         (_IO_file_xsgetn_mmap): Likewise.
21161         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21162         (_IO_cookie_write): Likewise.
21163         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21164         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21165         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21166         * malloc/obstack.c (_obstack_begin): Likewise.
21167         (_obstack_begin_1): Likewise.
21168         (_obstack_newchunk): Likewise.
21169         (_obstack_allocated_p): Likewise.
21170         (obstack_free): Likewise.
21171         (_obstack_memory_used): Likewise.
21172         * misc/getttyent.c (getttynam): Likewise.
21173         (getttyent): Likewise.
21174         (skip): Likewise.
21175         (value): Likewise.
21176         * misc/getusershell.c (initshells): Likewise.
21177         * misc/syslog.c (__vsyslog_chk): Likewise.
21178         * misc/ttyslot.c (ttyslot): Likewise.
21179         * nis/nis_hash.c (__nis_hash): Likewise.
21180         * posix/fnmatch_loop.c (FCT): Likewise.
21181         * posix/getconf.c (print_all): Likewise.
21182         (main): Likewise.
21183         * posix/getopt.c (exchange): Likewise.
21184         * posix/glob.c (globfree): Likewise.
21185         (prefix_array): Likewise.
21186         (__glob_pattern_type): Likewise.
21187         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21188         (NS_GET32): Likewise.
21189         (NS_PUT16): Likewise.
21190         (NS_PUT32): Likewise.
21191         * resolv/gethnamaddr.c (getanswer): Likewise.
21192         (gethostbyname2): Likewise.
21193         (gethostbyaddr): Likewise.
21194         (_gethtent): Likewise.
21195         (_gethtbyname2): Likewise.
21196         (_gethtbyaddr): Likewise.
21197         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21198         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21199         * resolv/res_init.c (__res_vinit): Likewise.
21200         (net_mask): Likewise.
21201         * resolv/res_mkquery.c (outchar): Likewise.
21202         (PRINT): Likewise.
21203         * stdio-common/printf_fp.c (outchar): Likewise.
21204         (PRINT): Likewise.
21205         * stdio-common/printf_fphex.c (outchar): Likewise.
21206         (PRINT): Likewise.
21207         * stdio-common/printf_size.c (outchar): Likewise.
21208         (PRINT): Likewise.
21209         * stdio-common/test_rdwr.c (main): Likewise.
21210         * stdio-common/tfformat.c (matches): Likewise.
21211         * stdio-common/vfprintf.c (outchar): Likewise.
21212         (printf_unknown): Likewise.
21213         (buffered_vfprintf): Likewise.
21214         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21215         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21216         (ReadFile): Likewise.
21217         * stdlib/qsort.c (SWAP): Likewise.
21218         (_quicksort): Likewise.
21219         * stdlib/setenv.c (__add_to_environ): Likewise.
21220         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21221         * stdlib/strtol_l.c (__strtol_l): Likewise.
21222         * stdlib/tst-strtod.c (main): Likewise.
21223         * stdlib/tst-strtol.c (main): Likewise.
21224         * stdlib/tst-strtoll.c (main): Likewise.
21225         * string/bits/string2.h (__strcmp_cc): Likewise.
21226         (__strcmp_cg): Likewise.
21227         (__strcspn_c1): Likewise.
21228         (__strcspn_c2): Likewise.
21229         (__strcspn_c3): Likewise.
21230         (__strspn_c1): Likewise.
21231         (__strspn_c2): Likewise.
21232         (__strspn_c3): Likewise.
21233         (__strsep_1c): Likewise.
21234         (__strsep_2c): Likewise.
21235         (__strsep_3c): Likewise.
21236         * string/memccpy.c (__memccpy): Likewise.
21237         * string/stpcpy.c (__stpcpy): Likewise.
21238         * string/strcmp.c (strcmp): Likewise.
21239         * string/strrchr.c (strrchr): Likewise.
21240         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21241         Likewise.
21242         * sysdeps/mach/hurd/getcwd.c
21243         (_hurd_canonicalize_directory_name_internal): Likewise.
21244         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21245         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21246         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21247         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21248         Likewise, in both definitions.
21249         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21250         definitions.
21251         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21252         64] (__bswap_64): Likewise.
21253         * time/test_time.c (main): Likewise.
21254         * time/tzfile.c (__tzfile_read): Likewise.
21255         (__tzfile_compute): Likewise.
21256         * time/tzset.c (__tzset_parse_tz): Likewise.
21257         (tzset_internal): Likewise.
21258         (compute_change): Likewise.
21259         * wcsmbs/wcscat.c (__wcscat): Likewise.
21260         * wcsmbs/wcschr.c (wcschr): Likewise.
21261         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21262         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21263         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21264         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21265         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21266         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21267         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21268         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21269         * wcsmbs/wmemset.c (wmemset): Likewise.
21271 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21273         * scripts/config.guess: Update to version 2013-05-16.
21274         * scripts/config.sub: Update to version 2013-04-24.
21275         * scripts/install-sh: Update to version 2011-11-20.07.
21276         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21277         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21279 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21281         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21282         * elf/sln.c: Likewise.
21283         * hurd/hurd/ioctl.h: Likewise.
21284         * hurd/hurdmalloc.c: Likewise.
21285         * hurd/xattr.c: Likewise.
21286         * include/shlib-compat.h: Likewise.
21287         * inet/ruserpass.c: Likewise.
21288         * libio/iofgets_u.c: Likewise.
21289         * libio/iofgetws_u.c: Likewise.
21290         * locale/programs/ld-identification.c: Likewise.
21291         * locale/programs/ld-time.c: Likewise.
21292         * mach/msg-destroy.c: Likewise.
21293         * nss/nss_files/files-netgrp.c: Likewise.
21294         * resolv/res_data.c: Likewise.
21295         * soft-fp/op-1.h: Likewise.
21296         * soft-fp/op-2.h: Likewise.
21297         * soft-fp/op-4.h: Likewise.
21298         * soft-fp/op-common.h: Likewise.
21299         * stdio-common/printf_fphex.c: Likewise.
21300         * stdlib/strtod_l.c: Likewise.
21301         * sunrpc/rpc/clnt.h: Likewise.
21302         * sysdeps/generic/framestate.c: Likewise.
21303         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21304         * sysdeps/i386/bsd-setjmp.S: Likewise.
21305         * sysdeps/i386/__longjmp.S: Likewise.
21306         * sysdeps/i386/setjmp.S: Likewise.
21307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21308         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21309         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21310         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21311         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21314         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21315         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21316         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21317         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21318         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21319         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21320         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21321         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21322         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21323         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21324         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21325         * sysdeps/ieee754/support.c: Likewise.
21326         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21327         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21328         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21329         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21330         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21331         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21332         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21333         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21334         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21335         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21336         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21337         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21338         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21339         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21340         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21341         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21342         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21345 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21347         * posix/transbug.c: Remove executable mode.
21349 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21351         * crypt/speeds.c: Remove trailing whitespace.
21352         * dlfcn/default.c: Likewise.
21353         * elf/ifuncdep2.c: Likewise.
21354         * elf/ifuncmain1.c: Likewise.
21355         * elf/ifuncmain1vis.c: Likewise.
21356         * elf/testobj.h: Likewise.
21357         * elf/tst-stackguard1.c: Likewise.
21358         * gmon/sys/gmon.h: Likewise.
21359         * hurd/hurdmsg.c: Likewise.
21360         * hurd/new-fd.c: Likewise.
21361         * hurd/ports-get.c: Likewise.
21362         * iconvdata/ibm1008_420.c: Likewise.
21363         * inet/tst-getni1.c: Likewise.
21364         * inet/tst-getni2.c: Likewise.
21365         * libio/ioungetc.c: Likewise.
21366         * libio/wfiledoalloc.c: Likewise.
21367         * manual/libm-err-tab.pl: Likewise.
21368         * math/w_dremf.c: Likewise.
21369         * misc/ftruncate.c: Likewise.
21370         * posix/bug-glob2.c: Likewise.
21371         * posix/tst-pcre.c: Likewise.
21372         * posix/wait4.c: Likewise.
21373         * resolv/README: Likewise.
21374         * resolv/res_debug.h: Likewise.
21375         * resolv/tst-inet_ntop.c: Likewise.
21376         * setjmp/bug269-setjmp.c: Likewise.
21377         * soft-fp/extended.h: Likewise.
21378         * soft-fp/op-1.h: Likewise.
21379         * soft-fp/op-2.h: Likewise.
21380         * soft-fp/op-4.h: Likewise.
21381         * soft-fp/op-8.h: Likewise.
21382         * soft-fp/testit.c: Likewise.
21383         * stdio-common/bug16.c: Likewise.
21384         * stdlib/random.c: Likewise.
21385         * sunrpc/rpcsvc/rquota.x: Likewise.
21386         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21387         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21388         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21389         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21390         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21391         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21392         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21393         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21394         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21395         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21396         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21397         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21398         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21399         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21400         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21401         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21402         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21403         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21404         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21405         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21406         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21407         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21408         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21409         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21410         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21411         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21413         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21414         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21415         * sysdeps/ieee754/s_lib_version.c: Likewise.
21416         * sysdeps/mach/hurd/check_fds.c: Likewise.
21417         * sysdeps/mach/hurd/getsockname.c: Likewise.
21418         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21419         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21420         * sysdeps/powerpc/bits/link.h: Likewise.
21421         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21422         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21423         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21424         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21425         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21426         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21427         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21428         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21429         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21430         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21431         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21432         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21433         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21434         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21435         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21436         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21437         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21438         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21439         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21440         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21441         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21442         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21443         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21444         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21445         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21446         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21447         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21448         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21449         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21450         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21451         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21452         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21454         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21455         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21456         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21457         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21458         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21459         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21460         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21461         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21462         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21463         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21464         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21465         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21466         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21467         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21468         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21469         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21470         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21471         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21472         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21473         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21475         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21476         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21477         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21478         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21479         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21480         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21481         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21482         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21483         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21484         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21485         * sysdeps/powerpc/sysdep.h: Likewise.
21486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21487         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21488         * sysdeps/sh/dl-trampoline.S: Likewise.
21489         * sysdeps/sh/memset.S: Likewise.
21490         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21491         * sysdeps/sh/strlen.S: Likewise.
21492         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21493         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21494         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21495         * sysdeps/sparc/sparc32/rem.S: Likewise.
21496         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21497         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21498         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21499         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21500         * sysdeps/sparc/sparc32/urem.S: Likewise.
21501         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21502         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21503         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21504         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21505         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21506         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21507         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21508         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21509         * sysdeps/unix/bsd/times.c: Likewise.
21510         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21511         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21515         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21516         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21517         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21518         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21519         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21520         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21522         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21523         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21524         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21525         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21526         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21527         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21528         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21529         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21530         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21531         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21532         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21533         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21534         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21535         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21536         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21537         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21538         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21539         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21540         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21541         * sysdeps/x86_64/strcspn.S: Likewise.
21543 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21545         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21546         generated file.  Regenerate properly from gen-translit.pl.
21547         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21548         locale/C-translit.h.
21550 2013-06-05  Andreas Schwab  <schwab@suse.de>
21552         [BZ #15100]
21553         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21554         week as 6 instead of -1.
21555         * time/tst-strptime.c (day_tests): Add test case.
21557 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21559         * sysdeps/generic/math_private.h
21560         (libc_feholdexcept_setround_53bit): Replace with
21561         libc_feholdsetround_53bit.
21562         (libc_feupdateenv_53bit): Replace with
21563         libc_feresetround_53bit.
21564         (SET_RESTORE_ROUND_53BIT): Adjust.
21566 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21568         * string/test-strchrnul.c: Add copyright header.
21570         * posix/tst-getaddrinfo4.c: Increase test timeout.
21572 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21574         [BZ #15536]
21575         * math/libm-test.inc (MAX_EXP): Remove
21576         (MIN_EXP): Define.
21577         (ulp): Use MIN_EXP - MANT_DIG.
21578         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21580 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21582         * po/be.po: Revert last change.
21583         * po/zh_CN.po: Likewise.
21584         * po/header.pot: Likewise.
21586 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21588         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21589         link-libc-deps to empty as target-specific variable.
21590         * Makerules (link-libc-args): New variable.
21591         (libc-for-link): Likewise.
21592         (link-libc-deps): Likewise.
21593         (lib%.so): Depend on $(link-libc-deps).  Link with
21594         $(link-libc-args).
21595         (build-module): Link with $(link-libc-args).
21596         (build-module-asneeded): Likewise.
21597         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21598         list of objects.
21599         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21600         target-specific variable.
21601         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21602         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21603         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21604         libc.
21605         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21606         libc and ld.so.
21607         ($(objpfx)libpcprofile.so): Likewise.
21608         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21609         libc_nonshared.a.
21610         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21611         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21612         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21613         $(link-libc-deps).
21614         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21615         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21616         * login/Makefile ($(objpfx)libutil.so): Likewise.
21617         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21618         * math/Makefile ($(objpfx)libm.so): Likewise.
21619         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21620         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21621         variable instead of depending directly on libc.
21622         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21623         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21624         $(link-libc-deps).
21625         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21626         libc.
21627         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21628         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21629         ($(objpfx)libanl.so): Likewise.
21630         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21631         ld.so.
21632         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21633         $(link-libc-deps).
21634         * sysdeps/i386/fpu/Makefile: Remove file.
21635         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21636         ($(objpfx)libm.so): Remove dependency on ld.so.
21638 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21640         [BZ # 15553]
21641         * nis/yp_xdr.c (XDRMAXNAME): Define.
21642         (XDRMAXRECORD): Define.
21643         (xdr_domainname): Use XDRMAXNAME.
21644         (xdr_mapname): Likewise.
21645         (xdr_peername): Likewise.
21646         (xdr_keydat): Use XDRMAXRECORD.
21647         (xdr_valdat): Likewise.
21649 2013-05-30  Jeff Law  <law@redhat.com>
21651         [BZ #14256]
21652         * manual/errno.texi (ESTALE): Update to account for more than
21653         just NFS file systems.
21654         * sysdeps/gnu/errlist.c: Regenerated.
21656 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21658         [BZ #15465]
21659         * elf/Makefile (tests): Add tst-null-argv.
21660         (modules-names):  Add tst-null-argv-lib.
21661         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21662         (tst-null-argv-ENV): Set environment for tst-null-argv.
21663         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21664         (RTLD_PROGNAME): New macro.
21665         * elf/tst-null-argv.c: New test case.
21666         * elf/tst-null-argv-lib.c: Library for test case.
21667         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21668         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21669         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21670         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21671         * elf/dl-init.c (call_init): Likewise.
21672         (_dl_init): Likewise.
21673         * elf/dl-load.c (print_search_path): Likewise.
21674         (_dl_map_object): Likewise.
21675         * elf/dl-lookup.c (do_lookup_x): Likewise.
21676         (add_dependency): Likewise.
21677         (_dl_lookup_symbol_x): Likewise.
21678         (_dl_debug_bindings): Likewise.
21679         * elf/dl-open.c (_dl_show_scope): Likewise.
21680         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21681         * elf/dl-version.c (match_symbol): Likewise.
21682         (_dl_check_map_versions): Likewise.
21683         * elf/rtld.c (dl_main): Likewise.
21684         (print_unresolved): Use RTLD_PROGNAME.
21685         (print_missing_version): Likewise.
21686         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21687         (elf_machine_rela): Likewise.
21688         * sysdeps/powerpc/powerpc32/dl-machine.c
21689         (__process_machine_rela): Likewise.
21690         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21691         Likewise.
21692         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21693         Likewise.
21694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21695         Likewise.
21696         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21697         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21698         Likewise.
21699         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21700         Likewise.
21701         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21703 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21705         * po/be.po: Add descriptive title.
21706         * po/zh_CN.po: Likewise.
21707         * po/header.pot: Likewise.
21709 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21711         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21712         error message.
21713         (enlarge_archive): Likewise.
21715 2013-05-28  Ben North  <ben@redfrontdoor.org>
21717         * manual/arith.texi (frexp): It is the magnitude of the return
21718         value which lies in [0.5, 1), not the return value itself.
21720 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21724 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21726         * stdio-common/bug26.c (main): Correct fscanf template.
21728         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21729         declare _dl_skip_args.
21731         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21732         Don't declare.
21734         * manual/platform.texi: Add missing @end deftypefun.
21736 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21738         [BZ #15529]
21739         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21740         bit of mantissa of 2^16382.
21741         * math/libm-test.inc (hypot_test_data): Add more tests.
21743         * math/libm-test.inc: Add drem and pow10 to list of tested
21744         functions.
21745         (pow10_test): New function.
21746         (drem_test): Likewise.
21747         (drem_test_tonearest): Likewise.
21748         (drem_test_towardzero): Likewise.
21749         (drem_test_downward): Likewise.
21750         (drem_test_upward): Likewise.
21751         (main): Call the new functions.
21753         * math/libm-test.inc (finite_test_data): Remove.
21754         (finite_test): Run tests from isfinite_test_data.
21755         (gamma_test_data): Remove.
21756         (gamma_test): Run tests from lgamma_test_data.
21757         * sysdeps/i386/fpu/libm-test-ulps: Update.
21758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21760 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21762         * manual/platform.texi: Add PowerPC PPR function set documentation.
21763         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21764         implementation.
21766 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21768         * math/libm-test.inc (MAX_EXP): Define.
21769         (ULPDIFF): Define.
21770         (ulp): New function.
21771         (check_float_internal): Use ULPDIFF.
21772         (cpow_test): Disable failing test.
21773         (check_ulp): Test ulp() implemetnation.
21774         (main): Call check_ulp before starting tests.
21776 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21778         * math/gen-libm-test.pl (generate_testfile): Do not handle
21779         START_DATA and END_DATA.
21780         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21781         END_DATA.
21782         (acos_tonearest_test_data): Likewise.
21783         (acos_towardzero_test_data): Likewise.
21784         (acos_downward_test_data): Likewise.
21785         (acos_upward_test_data): Likewise.
21786         (acosh_test_data): Likewise.
21787         (asin_test_data): Likewise.
21788         (asin_tonearest_test_data): Likewise.
21789         (asin_towardzero_test_data): Likewise.
21790         (asin_downward_test_data): Likewise.
21791         (asin_upward_test_data): Likewise.
21792         (asinh_test_data): Likewise.
21793         (atan_test_data): Likewise.
21794         (atanh_test_data): Likewise.
21795         (atan2_test_data): Likewise.
21796         (cabs_test_data): Likewise.
21797         (cacos_test_data): Likewise.
21798         (cacosh_test_data): Likewise.
21799         (carg_test_data): Likewise.
21800         (casin_test_data): Likewise.
21801         (casinh_test_data): Likewise.
21802         (catan_test_data): Likewise.
21803         (catanh_test_data): Likewise.
21804         (cbrt_test_data): Likewise.
21805         (ccos_test_data): Likewise.
21806         (ccosh_test_data): Likewise.
21807         (ceil_test_data): Likewise.
21808         (cexp_test_data): Likewise.
21809         (cimag_test_data): Likewise.
21810         (clog_test_data): Likewise.
21811         (clog10_test_data): Likewise.
21812         (conj_test_data): Likewise.
21813         (copysign_test_data): Likewise.
21814         (cos_test_data): Likewise.
21815         (cos_tonearest_test_data): Likewise.
21816         (cos_towardzero_test_data): Likewise.
21817         (cos_downward_test_data): Likewise.
21818         (cos_upward_test_data): Likewise.
21819         (cosh_test_data): Likewise.
21820         (cosh_tonearest_test_data): Likewise.
21821         (cosh_towardzero_test_data): Likewise.
21822         (cosh_downward_test_data): Likewise.
21823         (cosh_upward_test_data): Likewise.
21824         (cpow_test_data): Likewise.
21825         (cproj_test_data): Likewise.
21826         (creal_test_data): Likewise.
21827         (csin_test_data): Likewise.
21828         (csinh_test_data): Likewise.
21829         (csqrt_test_data): Likewise.
21830         (ctan_test_data): Likewise.
21831         (ctan_tonearest_test_data): Likewise.
21832         (ctan_towardzero_test_data): Likewise.
21833         (ctan_downward_test_data): Likewise.
21834         (ctan_upward_test_data): Likewise.
21835         (ctanh_test_data): Likewise.
21836         (ctanh_tonearest_test_data): Likewise.
21837         (ctanh_towardzero_test_data): Likewise.
21838         (ctanh_downward_test_data): Likewise.
21839         (ctanh_upward_test_data): Likewise.
21840         (erf_test_data): Likewise.
21841         (erfc_test_data): Likewise.
21842         (exp_test_data): Likewise.
21843         (exp_tonearest_test_data): Likewise.
21844         (exp_towardzero_test_data): Likewise.
21845         (exp_downward_test_data): Likewise.
21846         (exp_upward_test_data): Likewise.
21847         (exp10_test_data): Likewise.
21848         (exp2_test_data): Likewise.
21849         (expm1_test_data): Likewise.
21850         (fabs_test_data): Likewise.
21851         (fdim_test_data): Likewise.
21852         (finite_test_data): Likewise.
21853         (floor_test_data): Likewise.
21854         (fma_test_data): Likewise.
21855         (fma_towardzero_test_data): Likewise.
21856         (fma_downward_test_data): Likewise.
21857         (fma_upward_test_data): Likewise.
21858         (fmax_test_data): Likewise.
21859         (fmin_test_data): Likewise.
21860         (fmod_test_data): Likewise.
21861         (fpclassify_test_data): Likewise.
21862         (frexp_test_data): Likewise.
21863         (gamma_test_data): Likewise.
21864         (hypot_test_data): Likewise.
21865         (ilogb_test_data): Likewise.
21866         (isfinite_test_data): Likewise.
21867         (isgreater_test_data): Likewise.
21868         (isgreaterequal_test_data): Likewise.
21869         (isinf_test_data): Likewise.
21870         (isless_test_data): Likewise.
21871         (islessequal_test_data): Likewise.
21872         (islessgreater_test_data): Likewise.
21873         (isnan_test_data): Likewise.
21874         (isnormal_test_data): Likewise.
21875         (issignaling_test_data): Likewise.
21876         (isunordered_test_data): Likewise.
21877         (j0_test_data): Likewise.
21878         (j1_test_data): Likewise.
21879         (jn_test_data): Likewise.
21880         (ldexp_test_data): Likewise.
21881         (lgamma_test_data): Likewise.
21882         (lrint_test_data): Likewise.
21883         (lrint_tonearest_test_data): Likewise.
21884         (lrint_towardzero_test_data): Likewise.
21885         (lrint_downward_test_data): Likewise.
21886         (lrint_upward_test_data): Likewise.
21887         (llrint_test_data): Likewise.
21888         (llrint_tonearest_test_data): Likewise.
21889         (llrint_towardzero_test_data): Likewise.
21890         (llrint_downward_test_data): Likewise.
21891         (llrint_upward_test_data): Likewise.
21892         (log_test_data): Likewise.
21893         (log10_test_data): Likewise.
21894         (log1p_test_data): Likewise.
21895         (log2_test_data): Likewise.
21896         (logb_test_data): Likewise.
21897         (logb_downward_test_data): Likewise.
21898         (lround_test_data): Likewise.
21899         (llround_test_data): Likewise.
21900         (modf_test_data): Likewise.
21901         (nearbyint_test_data): Likewise.
21902         (nextafter_test_data): Likewise.
21903         (nexttoward_test_data): Likewise.
21904         (pow_test_data): Likewise.
21905         (pow_tonearest_test_data): Likewise.
21906         (pow_towardzero_test_data): Likewise.
21907         (pow_downward_test_data): Likewise.
21908         (pow_upward_test_data): Likewise.
21909         (remainder_test_data): Likewise.
21910         (remainder_tonearest_test_data): Likewise.
21911         (remainder_towardzero_test_data): Likewise.
21912         (remainder_downward_test_data): Likewise.
21913         (remainder_upward_test_data): Likewise.
21914         (remquo_test_data): Likewise.
21915         (rint_test_data): Likewise.
21916         (rint_tonearest_test_data): Likewise.
21917         (rint_towardzero_test_data): Likewise.
21918         (rint_downward_test_data): Likewise.
21919         (rint_upward_test_data): Likewise.
21920         (round_test_data): Likewise.
21921         (scalb_test_data): Likewise.
21922         (scalbn_test_data): Likewise.
21923         (scalbln_test_data): Likewise.
21924         (signbit_test_data): Likewise.
21925         (sin_test_data): Likewise.
21926         (sin_tonearest_test_data): Likewise.
21927         (sin_towardzero_test_data): Likewise.
21928         (sin_downward_test_data): Likewise.
21929         (sin_upward_test_data): Likewise.
21930         (sincos_test_data): Likewise.
21931         (sinh_test_data): Likewise.
21932         (sinh_tonearest_test_data): Likewise.
21933         (sinh_towardzero_test_data): Likewise.
21934         (sinh_downward_test_data): Likewise.
21935         (sinh_upward_test_data): Likewise.
21936         (sqrt_test_data): Likewise.
21937         (tan_test_data): Likewise.
21938         (tan_tonearest_test_data): Likewise.
21939         (tan_towardzero_test_data): Likewise.
21940         (tan_downward_test_data): Likewise.
21941         (tan_upward_test_data): Likewise.
21942         (tanh_test_data): Likewise.
21943         (tgamma_test_data): Likewise.
21944         (trunc_test_data): Likewise.
21945         (y0_test_data): Likewise.
21946         (y1_test_data): Likewise.
21947         (yn_test_data): Likewise.
21948         (significand_test_data): Likewise.
21950         * math/gen-libm-test.pl (@functions): Remove variable.
21951         (generate_testfile): Don't handle START and END lines.
21952         * math/libm-test.inc (START): New macro.
21953         (END): Likewise.
21954         (END_COMPLEX): Likewise.
21955         (acos_test): Use END macro without arguments.
21956         (acos_test_tonearest): Likewise.
21957         (acos_test_towardzero): Likewise.
21958         (acos_test_downward): Likewise.
21959         (acos_test_upward): Likewise.
21960         (acosh_test): Likewise.
21961         (asin_test): Likewise.
21962         (asin_test_tonearest): Likewise.
21963         (asin_test_towardzero): Likewise.
21964         (asin_test_downward): Likewise.
21965         (asin_test_upward): Likewise.
21966         (asinh_test): Likewise.
21967         (atan_test): Likewise.
21968         (atanh_test): Likewise.
21969         (atan2_test): Likewise.
21970         (cabs_test): Likewise.
21971         (cacos_test): Use END_COMPLEX macro without arguments.
21972         (cacosh_test): Likewise.
21973         (carg_test): Use END macro without arguments.
21974         (casin_test): Use END_COMPLEX macro without arguments.
21975         (casinh_test): Likewise.
21976         (catan_test): Likewise.
21977         (catanh_test): Likewise.
21978         (cbrt_test): Use END macro without arguments.
21979         (ccos_test): Use END_COMPLEX macro without arguments.
21980         (ccosh_test): Likewise.
21981         (ceil_test): Use END macro without arguments.
21982         (cexp_test): Use END_COMPLEX macro without arguments.
21983         (cimag_test): Use END macro without arguments.
21984         (clog_test): Use END_COMPLEX macro without arguments.
21985         (clog10_test): Likewise.
21986         (conj_test): Likewise.
21987         (copysign_test): Use END macro without arguments.
21988         (cos_test): Likewise.
21989         (cos_test_tonearest): Likewise.
21990         (cos_test_towardzero): Likewise.
21991         (cos_test_downward): Likewise.
21992         (cos_test_upward): Likewise.
21993         (cosh_test): Likewise.
21994         (cosh_test_tonearest): Likewise.
21995         (cosh_test_towardzero): Likewise.
21996         (cosh_test_downward): Likewise.
21997         (cosh_test_upward): Likewise.
21998         (cpow_test): Use END_COMPLEX macro without arguments.
21999         (cproj_test): Likewise.
22000         (creal_test): Use END macro without arguments.
22001         (csin_test): Use END_COMPLEX macro without arguments.
22002         (csinh_test): Likewise.
22003         (csqrt_test): Likewise.
22004         (ctan_test): Likewise.
22005         (ctan_test_tonearest): Likewise.
22006         (ctan_test_towardzero): Likewise.
22007         (ctan_test_downward): Likewise.
22008         (ctan_test_upward): Likewise.
22009         (ctanh_test): Likewise.
22010         (ctanh_test_tonearest): Likewise.
22011         (ctanh_test_towardzero): Likewise.
22012         (ctanh_test_downward): Likewise.
22013         (ctanh_test_upward): Likewise.
22014         (erf_test): Use END macro without arguments.
22015         (erfc_test): Likewise.
22016         (exp_test): Likewise.
22017         (exp_test_tonearest): Likewise.
22018         (exp_test_towardzero): Likewise.
22019         (exp_test_downward): Likewise.
22020         (exp_test_upward): Likewise.
22021         (exp10_test): Likewise.
22022         (exp2_test): Likewise.
22023         (expm1_test): Likewise.
22024         (fabs_test): Likewise.
22025         (fdim_test): Likewise.
22026         (finite_test): Likewise.
22027         (floor_test): Likewise.
22028         (fma_test): Likewise.
22029         (fma_test_towardzero): Likewise.
22030         (fma_test_downward): Likewise.
22031         (fma_test_upward): Likewise.
22032         (fmax_test): Likewise.
22033         (fmin_test): Likewise.
22034         (fmod_test): Likewise.
22035         (fpclassify_test): Likewise.
22036         (frexp_test): Likewise.
22037         (gamma_test): Likewise.
22038         (hypot_test): Likewise.
22039         (ilogb_test): Likewise.
22040         (isfinite_test): Likewise.
22041         (isgreater_test): Likewise.
22042         (isgreaterequal_test): Likewise.
22043         (isinf_test): Likewise.
22044         (isless_test): Likewise.
22045         (islessequal_test): Likewise.
22046         (islessgreater_test): Likewise.
22047         (isnan_test): Likewise.
22048         (isnormal_test): Likewise.
22049         (issignaling_test): Likewise.
22050         (isunordered_test): Likewise.
22051         (j0_test): Likewise.
22052         (j1_test): Likewise.
22053         (jn_test): Likewise.
22054         (ldexp_test): Likewise.
22055         (lgamma_test): Likewise.
22056         (lrint_test): Likewise.
22057         (lrint_test_tonearest): Likewise.
22058         (lrint_test_towardzero): Likewise.
22059         (lrint_test_downward): Likewise.
22060         (lrint_test_upward): Likewise.
22061         (llrint_test): Likewise.
22062         (llrint_test_tonearest): Likewise.
22063         (llrint_test_towardzero): Likewise.
22064         (llrint_test_downward): Likewise.
22065         (llrint_test_upward): Likewise.
22066         (log_test): Likewise.
22067         (log10_test): Likewise.
22068         (log1p_test): Likewise.
22069         (log2_test): Likewise.
22070         (logb_test): Likewise.
22071         (logb_test_downward): Likewise.
22072         (lround_test): Likewise.
22073         (llround_test): Likewise.
22074         (modf_test): Likewise.
22075         (nearbyint_test): Likewise.
22076         (nextafter_test): Likewise.
22077         (nexttoward_test): Likewise.
22078         (pow_test): Likewise.
22079         (pow_test_tonearest): Likewise.
22080         (pow_test_towardzero): Likewise.
22081         (pow_test_downward): Likewise.
22082         (pow_test_upward): Likewise.
22083         (remainder_test): Likewise.
22084         (remainder_test_tonearest): Likewise.
22085         (remainder_test_towardzero): Likewise.
22086         (remainder_test_downward): Likewise.
22087         (remainder_test_upward): Likewise.
22088         (remquo_test): Likewise.
22089         (rint_test): Likewise.
22090         (rint_test_tonearest): Likewise.
22091         (rint_test_towardzero): Likewise.
22092         (rint_test_downward): Likewise.
22093         (rint_test_upward): Likewise.
22094         (round_test): Likewise.
22095         (scalb_test): Likewise.
22096         (scalbn_test): Likewise.
22097         (scalbln_test): Likewise.
22098         (signbit_test): Likewise.
22099         (sin_test): Likewise.
22100         (sin_test_tonearest): Likewise.
22101         (sin_test_towardzero): Likewise.
22102         (sin_test_downward): Likewise.
22103         (sin_test_upward): Likewise.
22104         (sincos_test): Likewise.
22105         (sinh_test): Likewise.
22106         (sinh_test_tonearest): Likewise.
22107         (sinh_test_towardzero): Likewise.
22108         (sinh_test_downward): Likewise.
22109         (sinh_test_upward): Likewise.
22110         (sqrt_test): Likewise.
22111         (tan_test): Likewise.
22112         (tan_test_tonearest): Likewise.
22113         (tan_test_towardzero): Likewise.
22114         (tan_test_downward): Likewise.
22115         (tan_test_upward): Likewise.
22116         (tanh_test): Likewise.
22117         (tgamma_test): Likewise.
22118         (trunc_test): Likewise.
22119         (y0_test): Likewise.
22120         (y1_test): Likewise.
22121         (yn_test): Likewise.
22122         (significand_test): Likewise.
22124 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22126         [BZ #15381]
22127         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22129 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22131         [BZ #14894]
22132         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22133         __ppc_mdoio and __ppc_mdoom.
22134         * manual/platform.texi: Document new functions __ppc_yield,
22135         __ppc_mdoio and __ppc_mdoom.
22137 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22139         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22140         (main): Mention "tls" pseudo-hwcap is legacy.
22141         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22143 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22145         * math/gen-libm-test.pl (parse_args): Output only string of
22146         arguments as text for test name, not full call or descriptions of
22147         tests for extra outputs.
22148         (generate_testfile): Do not pass function name to parse_args.
22149         Generate this_func variable from START.
22150         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22151         field to arg_str.
22152         (struct test_ff_f_data): Likewise.
22153         (test_ff_f_data_nexttoward): Likewise.
22154         (struct test_fi_f_data): Likewise.
22155         (struct test_fl_f_data): Likewise.
22156         (struct test_if_f_data): Likewise.
22157         (struct test_fff_f_data): Likewise.
22158         (struct test_c_f_data): Likewise.
22159         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22160         (struct test_fF_f1_data): Likewise.
22161         (struct test_ffI_f1_data): Likewise.
22162         (struct test_c_c_data): Rename test_name field to arg_str.
22163         (struct test_cc_c_data): Likewise.
22164         (struct test_f_i_data): Likewise.
22165         (struct test_ff_i_data): Likewise.
22166         (struct test_f_l_data): Likewise.
22167         (struct test_f_L_data): Likewise.
22168         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22169         and extra2_name.
22170         (COMMON_TEST_SETUP): New macro.
22171         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22172         (COMMON_TEST_CLEANUP): Likewise.
22173         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22174         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22175         macros.
22176         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22177         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22178         macros.
22179         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22180         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22181         cleanup macros.
22182         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22183         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22184         macros.
22185         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22186         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22187         macros.
22188         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22189         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22190         cleanup macros.
22191         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22192         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22193         cleanup macros.
22194         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22195         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22196         cleanup macros.
22197         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22198         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22199         macros.
22200         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22201         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22202         macros.
22203         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22204         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22205         macros.
22206         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22207         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22208         cleanup macros.
22209         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22210         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22211         cleanup macros.
22212         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22213         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22214         macros.
22215         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22216         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22217         cleanup macros.
22218         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22219         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22220         macros.
22221         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22222         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22223         macros.
22224         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22225         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22226         cleanup macros.
22227         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22229 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22231         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22232         to _sifields.sigfault.
22233         (si_addr_lsb): Define new macro.
22234         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22235         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22236         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22238 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22240         [BZ #15441]
22241         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22242         returns -1.
22243         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22244         null return -1.
22245         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22246         loading the domain.
22248 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22250         * math/gen-libm-test.pl (parse_args): Do not include expected
22251         result in test name.
22252         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22255         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22256         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22259 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261         * benchtests/Makefile: Sort function entries.
22263         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22264         tanh, asinh, acosh, atanh.
22265         * benchtests/acos-inputs: New file.
22266         * benchtests/acosh-inputs: New file.
22267         * benchtests/asin-inputs: New file.
22268         * benchtests/asinh-inputs: New file.
22269         * benchtests/atanh-inputs: New file.
22270         * benchtests/cosh-inputs: New file.
22271         * benchtests/log-inputs: New file.
22272         * benchtests/sinh-inputs: New file.
22273         * benchtests/tanh-inputs: New file.
22275 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22277         [BZ #15339]
22278         * posix/tst-getaddrinfo4.c: New test.
22279         * posix/Makefile (tests): Add it.
22281 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22283         [BZ #15339]
22284         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22285         when no services were used.
22286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22287         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22289 2013-05-21  Andreas Schwab  <schwab@suse.de>
22291         [BZ #15014]
22292         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22293         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22294         successful.
22295         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22296         redundant variable declarations and reallocation of buffer when
22297         parsing as IPv6 address.  Always set NSS status when called from
22298         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22299         buffer too small.  Correct computation of needed size.
22300         * nss/Makefile (tests): Add test-digits-dots.
22301         * nss/test-digits-dots.c: New test.
22303 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22305         * benchtests/Makefile: Remove instructions for adding
22306         benchmark tests.
22307         * benchtests/README: New file to explain how to execute and
22308         enhance the benchmark tests.
22310 2013-05-21  Andreas Schwab  <schwab@suse.de>
22312         [BZ #15493]
22313         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22314         * setjmp/tst-sigsetjmp.c: New test.
22316 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22318         * sysdeps/x86_64/memset.S (memset): New implementation.
22319         (__bzero): Likewise.
22320         (__memset_tail): New function.
22322 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22324         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22325         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22326         __memcpy_sse2_unaligned ifunc selection.
22327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22328         Add memcpy-sse2-unaligned.S.
22329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22330         Add: __memcpy_sse2_unaligned.
22332 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22334         [BZ #15490]
22335         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22336         math_force_eval before restoring floating-point envrionment.
22337         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22338         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22339         Likewise.
22340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22341         <math_private.h>.
22342         (__nearbyintl): Use math_force_eval before restoring
22343         floating-point environment.
22344         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22346         * math/gen-libm-test.pl (special_functions): Remove.
22347         (parse_args): Don't handle TEST_extra.  Handle functions with no
22348         return value.
22349         * math/libm-test.inc (struct test_sincos_data): Replace with
22350         struct test_fFF_11_data.
22351         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22352         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22353         (sincos_test_data): Change element type to struct
22354         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22355         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22356         RUN_TEST_LOOP_sincos.
22357         * math/README.libm-test: Don't mention special handling of
22358         individual functions.
22359         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22360         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22361         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22362         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22363         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366         * math/gen-libm-test.pl (get_variable): Remove function.
22367         (parse_args): Don't show pointer parameters to call in test
22368         names.  Use "extra output N" in test names for extra outputs
22369         rather than naming variables.
22371 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #15488]
22374         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22375         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22376         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22377         double tests.
22378         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22379         disable.
22380         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22381         check_long_double.
22383         * math/gen-libm-test.pl (@tests): Remove variable.
22384         ($count): Likewise.
22385         (new_test): Remove function.
22386         (show_exceptions): New function.
22387         (special_functions): Use show_exceptions instead of new_test.
22388         (parse_args): Likewise.
22389         (generate_testfile): Pass only function name in generated call to
22390         print_max_error or print_complex_max_error.
22391         (get_ulps): Do not handle complex tests specially.
22392         (output_test): Rename to ...
22393         (get_all_ulps_for_test): ... this.  Return a string rather than
22394         printing to a file.  Require ulps to be present.
22395         (output_ulps): Generate arrays rather than #defines.
22396         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22397         (struct ulp_data): New type.
22398         (BUILD_COMPLEX_ULP): Remove macro.
22399         (compare_ulp_data): New function.
22400         (find_ulps): Likewise.
22401         (find_test_ulps): Likewise.
22402         (find_function_ulps): Likewise.
22403         (find_complex_function_ulps): Likewise.
22404         (print_max_error): Determine allowed ulps using
22405         find_function_ulps.
22406         (print_complex_max_error): Determine allowed ulps using
22407         find_complex_function_ulps.
22408         (check_float_internal): Determine max ulps using find_test_ulps.
22409         (check_float): Do not take max_ulp parameter.  Update call to
22410         check_float_internal.
22411         (check_complex): Likewise.
22412         (check_int): Do not take max_ulp parameter.
22413         (check_long): Likewise.
22414         (check_bool): Likewise.
22415         (check_longlong): Likewise.
22416         (struct test_f_f_data): Remove max_ulp field.
22417         (struct test_ff_f_data): Likewise.
22418         (struct test_ff_f_data_nexttoward): Likewise.
22419         (struct test_fi_f_data): Likewise.
22420         (struct test_fl_f_data): Likewise.
22421         (struct test_if_f_data): Likewise.
22422         (struct test_fff_f_data): Likewise.
22423         (struct test_c_f_data): Likewise.
22424         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22425         (struct test_fF_f1_data): Likewise.
22426         (struct test_ffI_f1_data): Likewise.
22427         (struct test_c_c_data): Remove max_ulp field.
22428         (struct test_cc_c_data): Likewise.
22429         (struct test_f_i_data): Likewise.
22430         (struct test_ff_i_data): Likewise.
22431         (struct test_f_l_data): Likewise.
22432         (struct test_f_L_data): Likewise.
22433         (struct test_sincos_data): Likewise.
22434         (RUN_TEST_f_f): Do not handle ulps.
22435         (RUN_TEST_LOOP_f_f): Likewise.
22436         (RUN_TEST_2_f): Likewise.
22437         (RUN_TEST_LOOP_2_f): Likewise.
22438         (RUN_TEST_fff_f): Likewise.
22439         (RUN_TEST_LOOP_fff_f): Likewise.
22440         (RUN_TEST_c_f): Likewise.
22441         (RUN_TEST_LOOP_c_f): Likewise.
22442         (RUN_TEST_f_f1): Likewise.
22443         (RUN_TEST_LOOP_f_f1): Likewise.
22444         (RUN_TEST_fF_f1): Likewise.
22445         (RUN_TEST_LOOP_fF_f1): Likewise.
22446         (RUN_TEST_fI_f1): Likewise.
22447         (RUN_TEST_LOOP_fI_f1): Likewise.
22448         (RUN_TEST_ffI_f1): Likewise.
22449         (RUN_TEST_LOOP_ffI_f1): Likewise.
22450         (RUN_TEST_c_c): Likewise.
22451         (RUN_TEST_LOOP_c_c): Likewise.
22452         (RUN_TEST_cc_c): Likewise.
22453         (RUN_TEST_LOOP_cc_c): Likewise.
22454         (RUN_TEST_f_i): Likewise.
22455         (RUN_TEST_LOOP_f_i): Likewise.
22456         (RUN_TEST_f_i_tg): Likewise.
22457         (RUN_TEST_LOOP_f_i_tg): Likewise.
22458         (RUN_TEST_ff_i_tg): Likewise.
22459         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22460         (RUN_TEST_f_b): Likewise.
22461         (RUN_TEST_LOOP_f_b): Likewise.
22462         (RUN_TEST_f_b_tg): Likewise.
22463         (RUN_TEST_LOOP_f_b_tg): Likewise.
22464         (RUN_TEST_f_l): Likewise.
22465         (RUN_TEST_LOOP_f_l): Likewise.
22466         (RUN_TEST_f_L): Likewise.
22467         (RUN_TEST_LOOP_f_L): Likewise.
22468         (RUN_TEST_sincos): Likewise.
22469         (RUN_TEST_LOOP_sincos): Likewise.
22471 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22473         [BZ #15480]
22474         [BZ #15485]
22475         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22476         main case of finite arguments, set rounding mode to FE_TONEAREST
22477         and discard exceptions.
22478         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22479         exceptions.
22480         (remainder_tonearest_test_data): New variable.
22481         (remainder_test_tonearest): New function.
22482         (remainder_towardzero_test_data): New variable.
22483         (remainder_test_towardzero): New function.
22484         (remainder_downward_test_data): New variable.
22485         (remainder_test_downward): New function.
22486         (remainder_upward_test_data): New variable.
22487         (remainder_test_upward): New function.
22488         (main): Call the new test functions.
22490         * math/libm-test.inc (struct test_f_f1_data): Remove field
22491         extra_init.
22492         (struct test_fF_f1_data): Likewise.
22493         (struct test_ffI_f1_data): Likewise.
22494         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22495         based on value of EXTRA_EXPECTED.
22496         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22497         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22498         EXTRA_VAR based on value of EXTRA_EXPECTED.
22499         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22500         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22501         EXTRA_VAR based on value of EXTRA_EXPECTED.
22502         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22503         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22504         EXTRA_VAR based on value of EXTRA_EXPECTED.
22505         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22506         * math/gen-libm-test.pl (parse_args): Don't output initializers
22507         for extra output values.
22509         * math/libm-test.inc (check_int): Expect result to be exactly
22510         equal to expected value and do not handle ulps.
22511         (check_long): Likewise.
22512         (check_longlong): Likewise.
22514         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22515         exceptions.
22516         (cimag_test_data): Likewise.
22517         (conj_test_data): Likewise.
22518         (copysign_test_data): Likewise.
22519         (cproj_test_data): Likewise.
22520         (creal_test_data): Likewise.
22521         (fabs_test_data): Likewise.
22522         (fdim_test_data): Likewise.
22523         (finite_test_data): Likewise.
22524         (floor_test_data): Likewise.
22525         (fmax_test_data): Likewise.
22526         (fmin_test_data): Likewise.
22527         (fmod_test_data): Likewise.
22528         (fpclassify_test_data): Likewise.
22529         (frexp_test_data): Likewise.
22530         (ilogb_test_data): Likewise.
22531         (isfinite_test_data): Likewise.
22532         (isgreater_test_data): Likewise.
22533         (isgreaterequal_test_data): Likewise.
22534         (isinf_test_data): Likewise.
22535         (isless_test_data): Likewise.
22536         (islessequal_test_data): Likewise.
22537         (islessgreater_test_data): Likewise.
22538         (isnan_test_data): Likewise.
22539         (isnormal_test_data): Likewise.
22540         (issignaling_test_data): Likewise.
22541         (isunordered_test_data): Likewise.
22542         (ldexp_test_data): Likewise.
22543         (lrint_test_data): Likewise.
22544         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22545         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22546         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22547         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22548         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22549         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22550         test input.
22551         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22552         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22553         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22554         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22555         that test input.
22556         (lrint_downward_test_data): Test for "inexact" exceptions.
22557         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22558         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22559         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22560         test input.
22561         (lrint_upward_test_data): Test for "inexact" exceptions.
22562         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22563         test input.
22564         (llrint_test_data): Test for "inexact" exceptions.
22565         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22566         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22567         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22568         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22569         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22570         (llrint_downward_test_data): Test for "inexact" exceptions.
22571         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22572         (llrint_upward_test_data): Test for "inexact" exceptions.
22573         (logb_test_data): Likewise.
22574         (logb_downward_test_data): Likewise.
22575         (nextafter_test_data): Likewise.
22576         (nexttoward_test_data): Likewise.
22577         (remainder_test_data): Likewise.
22578         (remquo_test_data): Likewise.
22579         (scalbn_test_data): Likewise.
22580         (scalbln_test_data): Likewise.
22581         (signbit_test_data): Likewise.
22582         (sqrt_test_data): Likewise.
22583         (significand_test_data): Likewise.
22585 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22587         [BZ #15424]
22588         * benchtests/bench-modf.c (struct args): Mark arg0 as
22589         volatile.
22590         * scripts/bench.pl: Mark members of struct args as volatile.
22592 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22594         [BZ # 15497]
22595         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22596         negative infinity on POWER6 or lower.
22597         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22599 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22601         [BZ #15442]
22602         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22603         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22604         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22605         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22606         (_FP_SETQNAN): New macro.
22607         (_FP_SETQNAN_SEMIRAW): Likewise.
22608         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22609         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22610         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22611         (FP_EXTEND): Use _FP_FRAC_SNANP.
22612         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22613         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22614         into account.
22615         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22616         New macro.
22617         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22618         Likewise.
22620 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22622         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22623         with DIVIDE_BY_ZERO_EXCEPTION.
22624         (gamma_test_data): Likewise.
22625         (lgamma_test_data): Likewise.
22626         (log_test_data): Likewise.
22627         (log10_test_data): Likewise.
22628         (log2_test_data): Likewise.
22629         (tgamma_test_data): Likewise.
22631         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22632         (acos_test_tonearest): Likewise.
22633         (acos_test_towardzero): Likewise.
22634         (acos_test_downward): Likewise.
22635         (acos_test_upward): Likewise.
22636         (acosh_test): Likewise.
22637         (asin_test): Likewise.
22638         (asin_test_tonearest): Likewise.
22639         (asin_test_towardzero): Likewise.
22640         (asin_test_downward): Likewise.
22641         (asin_test_upward): Likewise.
22642         (asinh_test): Likewise.
22643         (atan_test): Likewise.
22644         (atanh_test): Likewise.
22645         (atan2_test): Likewise.
22646         (cabs_test): Likewise.
22647         (cacos_test): Likewise.
22648         (cacosh_test): Likewise.
22649         (casin_test): Likewise.
22650         (casinh_test): Likewise.
22651         (catan_test): Likewise.
22652         (catanh_test): Likewise.
22653         (cbrt_test): Likewise.
22654         (ccos_test): Likewise.
22655         (ccosh_test): Likewise.
22656         (cexp_test): Likewise.
22657         (clog_test): Likewise.
22658         (clog10_test): Likewise.
22659         (cos_test): Likewise.
22660         (cos_test_tonearest): Likewise.
22661         (cos_test_towardzero): Likewise.
22662         (cos_test_downward): Likewise.
22663         (cos_test_upward): Likewise.
22664         (cosh_test): Likewise.
22665         (cosh_test_tonearest): Likewise.
22666         (cosh_test_towardzero): Likewise.
22667         (cosh_test_downward): Likewise.
22668         (cosh_test_upward): Likewise.
22669         (cpow_test): Likewise.
22670         (csin_test): Likewise.
22671         (csinh_test): Likewise.
22672         (csqrt_test): Likewise.
22673         (ctan_test): Likewise.
22674         (ctan_test_tonearest): Likewise.
22675         (ctan_test_towardzero): Likewise.
22676         (ctan_test_downward): Likewise.
22677         (ctan_test_upward): Likewise.
22678         (ctanh_test): Likewise.
22679         (ctanh_test_tonearest): Likewise.
22680         (ctanh_test_towardzero): Likewise.
22681         (ctanh_test_downward): Likewise.
22682         (ctanh_test_upward): Likewise.
22683         (erf_test): Likewise.
22684         (erfc_test): Likewise.
22685         (exp_test): Likewise.
22686         (exp_test_tonearest): Likewise.
22687         (exp_test_towardzero): Likewise.
22688         (exp_test_downward): Likewise.
22689         (exp_test_upward): Likewise.
22690         (exp10_test): Likewise.
22691         (exp2_test): Likewise.
22692         (expm1_test): Likewise.
22693         (fmod_test): Likewise.
22694         (gamma_test): Likewise.
22695         (hypot_test): Likewise.
22696         (j0_test): Likewise.
22697         (j1_test): Likewise.
22698         (jn_test): Likewise.
22699         (lgamma_test): Likewise.
22700         (log_test): Likewise.
22701         (log10_test): Likewise.
22702         (log1p_test): Likewise.
22703         (log2_test): Likewise.
22704         (logb_test_downward): Likewise.
22705         (pow_test): Likewise.
22706         (pow_test_tonearest): Likewise.
22707         (pow_test_towardzero): Likewise.
22708         (pow_test_downward): Likewise.
22709         (pow_test_upward): Likewise.
22710         (remainder_test): Likewise.
22711         (remquo_test): Likewise.
22712         (sin_test): Likewise.
22713         (sin_test_tonearest): Likewise.
22714         (sin_test_towardzero): Likewise.
22715         (sin_test_downward): Likewise.
22716         (sin_test_upward): Likewise.
22717         (sincos_test): Likewise.
22718         (sinh_test): Likewise.
22719         (sinh_test_tonearest): Likewise.
22720         (sinh_test_towardzero): Likewise.
22721         (sinh_test_downward): Likewise.
22722         (sinh_test_upward): Likewise.
22723         (sqrt_test): Likewise.
22724         (tan_test): Likewise.
22725         (tan_test_tonearest): Likewise.
22726         (tan_test_towardzero): Likewise.
22727         (tan_test_downward): Likewise.
22728         (tan_test_upward): Likewise.
22729         (tanh_test): Likewise.
22730         (tgamma_test): Likewise.
22731         (y0_test): Likewise.
22732         (y1_test): Likewise.
22733         (yn_test): Likewise.
22735         * math/gen-libm-test.pl (adjust_arg): Remove function.
22736         (special_function): Remove argument $in_func.  Only handle
22737         generating output for tables of tests, not inside functions.
22738         (parse_args): Likewise.
22739         (generate_testfile): Remove variable $in_func.  Update call to
22740         parse_args.
22741         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22742         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22743         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22744         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22745         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22746         (MAX_VALUE_INIT): Rename macro to max_value.
22747         (MIN_VALUE_INIT): Rename macro to min_value.
22748         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22749         (plus_zero): Remove variable.
22750         (minus_zero): Likewise.
22751         (plus_infty): Likewise.
22752         (minus_infty): Likewise.
22753         (qnan_value): Likewise.
22754         (max_value): Likewise.
22755         (min_value): Likewise.
22756         (min_subnorm_value): Likewise.
22758 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22760         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22761         uint64_t or uint32_t usage.
22762         * crypt/sha256-block.c: Likewise.
22763         * crypt/sha256-crypt.c: Likewise.
22764         * crypt/sha256.c: Likewise.
22765         * crypt/sha512-block.c: Likewise.
22766         * crypt/sha512-crypt.c: Likewise.
22767         * crypt/sha512.c: Likewise.
22768         * debug/backtrace-tst.c: Likewise.
22769         * debug/pcprofiledump.c: Likewise.
22770         * elf/cache.c: Likewise.
22771         * elf/dl-cache.c: Likewise.
22772         * elf/dl-misc.c: Likewise.
22773         * elf/dl-profile.c: Likewise.
22774         * elf/dl-support.c: Likewise.
22775         * elf/ldconfig.c: Likewise.
22776         * elf/sprof.c: Likewise.
22777         * iconv/dummy-repertoire.c: Likewise.
22778         * iconv/iconv_charmap.c: Likewise.
22779         * iconv/skeleton.c: Likewise.
22780         * iconvdata/8bit-generic.c: Likewise.
22781         * iconvdata/cp737.h: Likewise.
22782         * iconvdata/cp775.h: Likewise.
22783         * iconvdata/ibm1008.h: Likewise.
22784         * iconvdata/ibm1025.h: Likewise.
22785         * iconvdata/ibm1046.h: Likewise.
22786         * iconvdata/ibm1097.h: Likewise.
22787         * iconvdata/ibm1112.h: Likewise.
22788         * iconvdata/ibm1122.h: Likewise.
22789         * iconvdata/ibm1123.h: Likewise.
22790         * iconvdata/ibm1124.h: Likewise.
22791         * iconvdata/ibm1129.h: Likewise.
22792         * iconvdata/ibm1130.h: Likewise.
22793         * iconvdata/ibm1132.h: Likewise.
22794         * iconvdata/ibm1133.h: Likewise.
22795         * iconvdata/ibm1137.h: Likewise.
22796         * iconvdata/ibm1140.h: Likewise.
22797         * iconvdata/ibm1141.h: Likewise.
22798         * iconvdata/ibm1142.h: Likewise.
22799         * iconvdata/ibm1143.h: Likewise.
22800         * iconvdata/ibm1144.h: Likewise.
22801         * iconvdata/ibm1145.h: Likewise.
22802         * iconvdata/ibm1146.h: Likewise.
22803         * iconvdata/ibm1147.h: Likewise.
22804         * iconvdata/ibm1148.h: Likewise.
22805         * iconvdata/ibm1149.h: Likewise.
22806         * iconvdata/ibm1153.h: Likewise.
22807         * iconvdata/ibm1154.h: Likewise.
22808         * iconvdata/ibm1155.h: Likewise.
22809         * iconvdata/ibm1156.h: Likewise.
22810         * iconvdata/ibm1157.h: Likewise.
22811         * iconvdata/ibm1158.h: Likewise.
22812         * iconvdata/ibm1160.h: Likewise.
22813         * iconvdata/ibm1161.h: Likewise.
22814         * iconvdata/ibm1162.h: Likewise.
22815         * iconvdata/ibm1163.h: Likewise.
22816         * iconvdata/ibm1164.h: Likewise.
22817         * iconvdata/ibm1166.h: Likewise.
22818         * iconvdata/ibm1167.h: Likewise.
22819         * iconvdata/ibm12712.h: Likewise.
22820         * iconvdata/ibm1390.h: Likewise.
22821         * iconvdata/ibm1399.h: Likewise.
22822         * iconvdata/ibm16804.h: Likewise.
22823         * iconvdata/ibm4517.h: Likewise.
22824         * iconvdata/ibm4899.h: Likewise.
22825         * iconvdata/ibm4909.h: Likewise.
22826         * iconvdata/ibm4971.h: Likewise.
22827         * iconvdata/ibm5347.h: Likewise.
22828         * iconvdata/ibm803.h: Likewise.
22829         * iconvdata/ibm856.h: Likewise.
22830         * iconvdata/ibm901.h: Likewise.
22831         * iconvdata/ibm902.h: Likewise.
22832         * iconvdata/ibm9030.h: Likewise.
22833         * iconvdata/ibm9066.h: Likewise.
22834         * iconvdata/ibm921.h: Likewise.
22835         * iconvdata/ibm922.h: Likewise.
22836         * iconvdata/ibm9448.h: Likewise.
22837         * iconvdata/isiri-3342.h: Likewise.
22838         * iconvdata/jis0201.h: Likewise.
22839         * include/link.h: Likewise.
22840         * include/netdb.h: Likewise.
22841         * inet/check_native.c: Likewise.
22842         * inet/check_pf.c: Likewise.
22843         * inet/getipv4sourcefilter.c: Likewise.
22844         * inet/getnameinfo.c: Likewise.
22845         * inet/getsourcefilter.c: Likewise.
22846         * inet/htonl.c: Likewise.
22847         * inet/setipv4sourcefilter.c: Likewise.
22848         * inet/setsourcefilter.c: Likewise.
22849         * inet/test-inet6_opt.c: Likewise.
22850         * inet/tst-network.c: Likewise.
22851         * locale/C-collate.c: Likewise.
22852         * locale/C-ctype.c: Likewise.
22853         * locale/C-time.c: Likewise.
22854         * locale/C-translit.h: Likewise.
22855         * locale/loadarchive.c: Likewise.
22856         * locale/programs/3level.h: Likewise.
22857         * locale/programs/charmap.c: Likewise.
22858         * locale/programs/charmap.h: Likewise.
22859         * locale/programs/ld-address.c: Likewise.
22860         * locale/programs/ld-collate.c: Likewise.
22861         * locale/programs/ld-ctype.c: Likewise.
22862         * locale/programs/ld-identification.c: Likewise.
22863         * locale/programs/ld-measurement.c: Likewise.
22864         * locale/programs/ld-messages.c: Likewise.
22865         * locale/programs/ld-monetary.c: Likewise.
22866         * locale/programs/ld-name.c: Likewise.
22867         * locale/programs/ld-numeric.c: Likewise.
22868         * locale/programs/ld-paper.c: Likewise.
22869         * locale/programs/ld-telephone.c: Likewise.
22870         * locale/programs/ld-time.c: Likewise.
22871         * locale/programs/linereader.c: Likewise.
22872         * locale/programs/locale.c: Likewise.
22873         * locale/programs/locarchive.c: Likewise.
22874         * locale/programs/locfile.h: Likewise.
22875         * locale/programs/repertoire.c: Likewise.
22876         * locale/programs/simple-hash.c: Likewise.
22877         * locale/programs/simple-hash.h: Likewise.
22878         * malloc/memusage.c: Likewise.
22879         * malloc/memusagestat.c: Likewise.
22880         * nis/nis_defaults.c: Likewise.
22881         * nis/nis_hash.c: Likewise.
22882         * nis/nis_print.c: Likewise.
22883         * nis/nis_xdr.c: Likewise.
22884         * nscd/connections.c: Likewise.
22885         * nscd/hstcache.c: Likewise.
22886         * nscd/nscd_gethst_r.c: Likewise.
22887         * nscd/nscd_getserv_r.c: Likewise.
22888         * nscd/nscd_helper.c: Likewise.
22889         * nscd/servicescache.c: Likewise.
22890         * nss/makedb.c: Likewise.
22891         * nss/nss_db/db-XXX.c: Likewise.
22892         * nss/nss_db/db-initgroups.c: Likewise.
22893         * nss/nss_db/db-netgrp.c: Likewise.
22894         * nss/nss_files/files-network.c: Likewise.
22895         * nss/nss_files/files-parse.c: Likewise.
22896         * posix/bug-regex5.c: Likewise.
22897         * posix/fnmatch_loop.c: Likewise.
22898         * posix/regcomp.c: Likewise.
22899         * posix/regexec.c: Likewise.
22900         * posix/tst-rfc3484-2.c: Likewise.
22901         * posix/tst-rfc3484-3.c: Likewise.
22902         * posix/tst-rfc3484.c: Likewise.
22903         * resolv/nss_dns/dns-canon.c: Likewise.
22904         * resolv/nss_dns/dns-network.c: Likewise.
22905         * resolv/res_init.c: Likewise.
22906         * resolv/res_mkquery.c: Likewise.
22907         * resolv/tst-aton.c: Likewise.
22908         * stdlib/cxa_atexit.c: Likewise.
22909         * stdlib/cxa_finalize.c: Likewise.
22910         * stdlib/gen-fpioconst.c: Likewise.
22911         * stdlib/strtol_l.c: Likewise.
22912         * string/tst-endian.c: Likewise.
22913         * sunrpc/auth_des.c: Likewise.
22914         * sunrpc/clnt_udp.c: Likewise.
22915         * sunrpc/rtime.c: Likewise.
22916         * sunrpc/svcauth_des.c: Likewise.
22917         * sunrpc/xdr.c: Likewise.
22918         * sunrpc/xdr_intXX_t.c: Likewise.
22919         * sunrpc/xdr_rec.c: Likewise.
22920         * sysdeps/generic/ldconfig.h: Likewise.
22921         * sysdeps/generic/ldsodefs.h: Likewise.
22922         * sysdeps/generic/memusage.h: Likewise.
22923         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22924         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22925         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22926         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22927         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22929         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22930         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22931         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22933         * sysdeps/posix/getaddrinfo.c: Likewise.
22934         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22935         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22936         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22937         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22938         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22939         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22940         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22941         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22942         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22944         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22945         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22946         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22947         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22948         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22949         * sysdeps/x86_64/dl-tls.h: Likewise.
22950         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22951         * time/alt_digit.c: Likewise.
22952         * time/era.c: Likewise.
22953         * wcsmbs/tst-c16c32-1.c: Likewise.
22955 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22957         * math/libm-test.inc (struct test_sincos_data): New type.
22958         (RUN_TEST_LOOP_sincos): New macro.
22959         (sincos_test_data): New variable.
22960         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22962 2013-05-16  Richard Henderson  <rth@redhat.com>
22964         * math/atest-exp2.c (LIMB64): New macro.
22965         (CONSTSZ): New macro.
22966         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22967         (hexdig): Move ...
22968         (print_mpn_fp): ... to function scope.
22969         (read_mpn_hex): Remove.
22970         (get_log2): Remove.
22971         (exp2_mpn): Use mp_log2.
22972         (main): Use mp_exp1.
22974 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22976         * math/libm-test.inc: Remove comment about not testing "inexact"
22977         exceptions.
22978         (INEXACT_EXCEPTION): New macro.
22979         (NO_INEXACT_EXCEPTION): Likewise.
22980         (INVALID_EXCEPTION_OK): Update value.
22981         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22982         (OVERFLOW_EXCEPTION_OK): Likewise.
22983         (UNDERFLOW_EXCEPTION_OK): Likewise.
22984         (IGNORE_ZERO_INF_SIGN): Likewise.
22985         (ERRNO_UNCHANGED): Likewise.
22986         (ERRNO_EDOM): Likewise.
22987         (ERRNO_ERANGE): Likewise.
22988         (test_exceptions): Handle testing "inexact" exceptions.
22989         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22990         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22991         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22992         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22993         INEXACT_EXCEPTION.
22994         (rint_towardzero_test_data): Likewise.
22995         (rint_downward_test_data): Likewise.
22996         (rint_upward_test_data): Likewise.
22998         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22999         with OVERFLOW_EXCEPTION.
23000         (exp10_test_data): Likewise.
23001         (exp2_test_data): Likewise.
23002         (expm1_test_data): Likewise.
23003         (lgamma_test_data): Likewise.
23004         (pow_test_data): Likewise.
23005         (tgamma_test_data): Likewise.
23006         (yn_test_data): Remove duplicate test of overflow.
23008         * math/libm-test.inc (struct test_cc_c_data): New type.
23009         (RUN_TEST_LOOP_cc_c): New macro.
23010         (cpow_test_data): New variable.
23011         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23013         * math/libm-test.inc (struct test_f_L_data): New type.
23014         (RUN_TEST_LOOP_f_L): New macro.
23015         (llrint_test_data): New variable.
23016         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23017         (llrint_tonearest_test_data): New variable.
23018         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23019         (llrint_towardzero_test_data): New variable.
23020         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23021         (llrint_downward_test_data): New variable.
23022         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23023         (llrint_upward_test_data): New variable.
23024         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23025         (llround_test_data): New variable.
23026         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23028 2013-05-13  Peter Collingbourne  <pcc@google.com>
23030         * math/atest-exp2.c (get_log2): Remove const attribute.
23032 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23034         * math/libm-test.inc (struct test_f_l_data): New type.
23035         (RUN_TEST_LOOP_f_l): New macro.
23036         (lrint_test_data): New variable.
23037         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23038         (lrint_tonearest_test_data): New variable.
23039         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23040         (lrint_towardzero_test_data): New variable.
23041         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23042         (lrint_downward_test_data): New variable.
23043         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23044         (lrint_upward_test_data): New variable.
23045         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23046         (lround_test_data): New variable.
23047         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23049 2013-05-15  Peter Collingbourne  <pcc@google.com>
23051         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23052         (EXTRACT_WORDS64) Use where appropriate.
23053         (INSERT_WORDS64) Likewise.
23055         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23056         constraints with x constraints.
23057         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23059         * malloc/obstack.c (_obstack_compat): Add initializer.
23061 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23063         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23064         si_trapno and add si_addr_lsb to _sifields.sigfault.
23065         (si_trapno): Remove macro.
23066         (si_addr_lsb): Define new macro.
23067         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23069 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23071         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23072         instead of TEST_f_l.
23073         (llrint_test_tonearest): Likewise.
23074         (llrint_test_towardzero): Likewise.
23075         (llrint_test_downward): Likewise.
23076         (llrint_test_upward): Likewise.
23077         (llround_test): Likewise.
23079         * math/libm-test.inc (struct test_f_i_data): Add comment.
23080         (RUN_TEST_LOOP_f_b): New macro.
23081         (RUN_TEST_LOOP_f_b_tg): Likewise.
23082         (finite_test_data): New variable.
23083         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23084         (isfinite_test_data): New variable.
23085         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23086         (isinf_test_data): New variable.
23087         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23088         (isnan_test_data): New variable.
23089         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23090         (isnormal_test_data): New variable.
23091         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23092         (issignaling_test_data): New variable.
23093         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23094         (signbit_test_data): New variable.
23095         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23097         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23098         with INVALID_EXCEPTION.
23099         (acosh_test_data): Likewise.
23100         (asin_test_data): Likewise.
23101         (atanh_test_data): Likewise.
23102         (fmod_test_data): Likewise.
23103         (log_test_data): Likewise.
23104         (log10_test_data): Likewise.
23105         (log2_test_data): Likewise.
23106         (pow_test_data): Likewise.
23107         (sqrt_test_data): Likewise.
23108         (y0_test_data): Likewise.
23109         (y1_test_data): Likewise.
23110         (yn_test_data): Likewise.
23112         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23113         function contents.
23115         * math/libm-test.inc (struct test_ff_i_data): New type.
23116         (RUN_TEST_LOOP_ff_i_tg): New macro.
23117         (isgreater_test_data): New variable.
23118         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23119         (isgreaterequal_test_data): New variable.
23120         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23121         (isless_test_data): New variable.
23122         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23123         (islessequal_test_data): New variable.
23124         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23125         (islessgreater_test_data): New variable.
23126         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23127         (isunordered_test_data): New variable.
23128         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23130 2013-05-14  David S. Miller  <davem@davemloft.net>
23132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23134 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23136         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23138         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23139         extra_test to int.
23140         (struct test_f_i_data): Change type of max_ulp to int.
23142         * math/libm-test.inc (test_ffI_f1_data): New type.
23143         (RUN_TEST_LOOP_ffI_f1): New macro.
23144         (remquo_test_data): New variable.
23145         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23147         * setjmp/tst-setjmp-fp.c: New file.
23148         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23149         (link-libm): New variable.
23150         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23152         * math/libm-test.inc (struct test_f_i_data): New type.
23153         (RUN_TEST_LOOP_f_i): New macro.
23154         (RUN_TEST_LOOP_f_i_tg): Likewise.
23155         (fpclassify_test_data): New variable.
23156         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23157         (ilogb_test_data): New variable.
23158         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23160         * math/libm-test.inc (scalbln_test): Correct function name in END
23161         call.
23163         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23164         (RUN_TEST_LOOP_fI_f1): New macro.
23165         (frexp_test_data): New variable.
23166         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23168         * math/libm-test.inc (struct test_fF_f1_data): New type.
23169         (RUN_TEST_LOOP_fF_f1): New macro.
23170         (modf_test_data): New variable.
23171         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23173         * math/libm-test.inc (struct test_f_f1_data): New type.
23174         (RUN_TEST_LOOP_f_f1): New macro.
23175         (gamma_test_data): New variable.
23176         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23177         (lgamma_test_data): New variable.
23178         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23180 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23182         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23183         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23184         (main): Comment "tls" pseudo-hwcap.
23186 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23188         * math/libm-test.inc (struct test_fl_f_data): New type.
23189         (RUN_TEST_LOOP_fl_f): New variable.
23190         (scalbln_test_data): New variable.
23191         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23193         * math/libm-test.inc (struct test_fi_f_data): New type.
23194         (RUN_TEST_LOOP_fi_f): New macro.
23195         (ldexp_test_data): New variable.
23196         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23197         (scalbn_test_data): New variable.
23198         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23200         * math/libm-test.inc (struct test_c_f_data): New type.
23201         (RUN_TEST_LOOP_c_f): New macro.
23202         (cabs_test_data): New variable.
23203         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23204         (carg_test_data): New variable.
23205         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23206         (cimag_test_data): New variable.
23207         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23208         (creal_test_data): New variable.
23209         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23211         * math/libm-test.inc (struct test_if_f_data): New type.
23212         (RUN_TEST_LOOP_if_f): New macro.
23213         (jn_test_data): New variable.
23214         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23215         (yn_test_data): New variable.
23216         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23218         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23220 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23222         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23223         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23225 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23227         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23228         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23229         (bench-deps): Add bench-timing.h.
23230         * benchtests-bench-skeleton.c: Include bench-timing.h.
23231         (main): Use TIMING_* macros instead of clock_gettime.
23232         * benchtests/bench-timing.h: New file.
23234         [BZ #14582]
23235         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23236         Renamed from _LIB_VERSION.
23237         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23239 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23241         * math/libm-test.inc (struct test_fff_f_data): New type.
23242         (RUN_TEST_LOOP_fff_f): New macro.
23243         (fma_test_data): New variable.
23244         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23245         (fma_towardzero_test_data): New variable.
23246         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23247         (fma_downward_test_data): New variable.
23248         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23249         (fma_upward_test_data): New variable.
23250         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23252         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23253         (struct test_c_c_data): New type.
23254         (RUN_TEST_LOOP_c_c): New macro.
23255         (cacos_test_data): New variable.
23256         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23257         (cacosh_test_data): New variable.
23258         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23259         (casin_test_data): New variable.
23260         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23261         (casinh_test_data): New variable.
23262         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23263         (catan_test_data): New variable.
23264         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23265         (catanh_test_data): New variable.
23266         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23267         (ccos_test_data): New variable.
23268         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23269         (ccosh_test_data): New variable.
23270         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23271         (cexp_test_data): New variable.
23272         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23273         (clog_test_data): New variable.
23274         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23275         (clog10_test_data): New variable.
23276         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23277         (conj_test_data): New variable.
23278         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23279         (cproj_test_data): New variable.
23280         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23281         (csin_test_data): New variable.
23282         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23283         (csinh_test_data): New variable.
23284         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23285         (csqrt_test_data): New variable.
23286         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23287         (ctan_test_data): New variable.
23288         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23289         (ctan_tonearest_test_data): New variable.
23290         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23291         (ctan_towardzero_test_data): New variable.
23292         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23293         (ctan_downward_test_data): New variable.
23294         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23295         (ctan_upward_test_data): New variable.
23296         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23297         (ctanh_test_data): New variable.
23298         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23299         (ctanh_tonearest_test_data): New variable.
23300         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23301         (ctanh_towardzero_test_data): New variable.
23302         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23303         (ctanh_downward_test_data): New variable.
23304         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23305         (ctanh_upward_test_data): New variable.
23306         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23307         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23308         of BUILD_COMPLEX.
23310         * math/libm-test.inc (struct test_ff_f_data): New type.
23311         (struct test_ff_f_data_nexttoward): Likewise.
23312         (RUN_TEST_LOOP_2_f): New macro.
23313         (RUN_TEST_LOOP_ff_f): Likewise.
23314         (atan2_test_data): New variable.
23315         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23316         (copysign_test_data): New variable.
23317         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23318         (fdim_test_data): New variable.
23319         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23320         (fmax_test_data): New variable.
23321         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23322         (fmin_test_data): New variable.
23323         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23324         (fmod_test_data): New variable.
23325         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23326         (hypot_test_data): New variable.
23327         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23328         (nextafter_test_data): New variable.
23329         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23330         (nexttoward_test_data): New variable.
23331         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23332         (pow_test_data): New variable.
23333         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23334         (pow_tonearest_test_data): New variable.
23335         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23336         (pow_towardzero_test_data): New variable.
23337         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23338         (pow_downward_test_data): New variable.
23339         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23340         (pow_upward_test_data): New variable.
23341         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23342         (remainder_test_data): New variable.
23343         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23344         (scalb_test_data): New variable.
23345         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23346         * sysdeps/i386/fpu/libm-test-ulps: Update.
23348 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23350         * math/libm-test.inc (fma_test): Use max_value instead of local
23351         variable fltmax.
23352         (nextafter_test): Likewise.
23354         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23355         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23356         (acos_downward_test_data): New variable.
23357         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23358         (acos_upward_test_data): New variable.
23359         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23360         (acosh_test_data): New variable.
23361         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23362         (asin_test_data): New variable.
23363         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23364         (asin_tonearest_test_data): New variable.
23365         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23366         (asin_towardzero_test_data): New variable.
23367         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23368         (asin_downward_test_data): New variable.
23369         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23370         (asin_upward_test_data): New variable.
23371         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23372         (asinh_test_data): New variable.
23373         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23374         (atan_test_data): New variable.
23375         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23376         (atanh_test_data): New variable.
23377         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23378         (cbrt_test_data): New variable.
23379         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23380         (ceil_test_data): New variable.
23381         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23382         (cos_test_data): New variable.
23383         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23384         (cos_tonearest_test_data): New variable.
23385         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23386         (cos_towardzero_test_data): New variable.
23387         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23388         (cos_downward_test_data): New variable.
23389         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23390         (cos_upward_test_data): New variable.
23391         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23392         (cosh_test_data): New variable.
23393         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23394         (cosh_tonearest_test_data): New variable.
23395         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23396         (cosh_towardzero_test_data): New variable.
23397         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23398         (cosh_downward_test_data): New variable.
23399         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23400         (cosh_upward_test_data): New variable.
23401         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23402         (erf_test_data): New variable.
23403         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23404         (erfc_test_data): New variable.
23405         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23406         (exp_test_data): New variable.
23407         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23408         (exp_tonearest_test_data): New variable.
23409         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23410         (exp_towardzero_test_data): New variable.
23411         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23412         (exp_downward_test_data): New variable.
23413         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23414         (exp_upward_test_data): New variable.
23415         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23416         (exp10_test_data): New variable.
23417         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23418         (exp2_test_data): New variable.
23419         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23420         (expm1_test_data): New variable.
23421         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23422         (fabs_test_data): New variable.
23423         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23424         (floor_test_data): New variable.
23425         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23426         (j0_test_data): New variable.
23427         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23428         (j1_test_data): New variable.
23429         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23430         (log_test_data): New variable.
23431         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23432         (log10_test_data): New variable.
23433         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23434         (log1p_test_data): New variable.
23435         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23436         (log2_test_data): New variable.
23437         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23438         (logb_test_data): New variable.
23439         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23440         (logb_downward_test_data): New variable.
23441         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23442         (nearbyint_test_data): New variable.
23443         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23444         (rint_test_data): New variable.
23445         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23446         (rint_tonearest_test_data): New variable.
23447         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23448         (rint_towardzero_test_data): New variable.
23449         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23450         (rint_downward_test_data): New variable.
23451         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23452         (rint_upward_test_data): New variable.
23453         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23454         (round_test_data): New variable.
23455         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23456         (sin_test_data): New variable.
23457         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23458         (sin_tonearest_test_data): New variable.
23459         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23460         (sin_towardzero_test_data): New variable.
23461         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23462         (sin_downward_test_data): New variable.
23463         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23464         (sin_upward_test_data): New variable.
23465         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23466         (sinh_test_data): New variable.
23467         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23468         (sinh_tonearest_test_data): New variable.
23469         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23470         (sinh_towardzero_test_data): New variable.
23471         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23472         (sinh_downward_test_data): New variable.
23473         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23474         (sinh_upward_test_data): New variable.
23475         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23476         (sqrt_test_data): New variable.
23477         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23478         (tan_test_data): New variable.
23479         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23480         (tan_tonearest_test_data): New variable.
23481         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23482         (tan_towardzero_test_data): New variable.
23483         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23484         (tan_downward_test_data): New variable.
23485         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23486         (tan_upward_test_data): New variable.
23487         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23488         (tanh_test_data): New variable.
23489         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23490         (tgamma_test_data): New variable.
23491         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23492         (trunc_test_data): New variable.
23493         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23494         (y0_test_data): New variable.
23495         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23496         (y1_test_data): New variable.
23497         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23498         (significand_test_data): New variable.
23499         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23501 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23503         [BZ #12387]
23504         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23506 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23508         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23510 2013-05-10  Andreas Jaeger  <aj@suse.de>
23512         [BZ #15448]
23513         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23514         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23516 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23518         * math/gen-libm-test.pl (adjust_arg): New function.
23519         (special_functions): Handle generating output in both functions
23520         and arrays.
23521         (parse_args): Likewise.
23522         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23523         $in_func argument to parse_args.
23524         * math/libm-test.inc (struct test_f_f_data): New type.
23525         (IF_ROUND_INIT_): New macro.
23526         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23527         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23528         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23529         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23530         (ROUND_RESTORE_): Likewise.
23531         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23532         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23533         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23534         (ROUND_RESTORE_FE_UPWARD): Likewise.
23535         (RUN_TEST_LOOP_f_f): New macro.
23536         (acos_test_data): New variable.
23537         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23538         (acos_tonearest_test_data): New variable.
23539         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23541 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23543         * benchtests/bench-skeleton.c (startup): Fix coding style.
23545 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23547         [BZ #6809]
23548         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23549         negative infinity argument.
23550         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23551         negative infinity argument.
23552         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23553         negative infinity argument.
23554         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23555         domain errors.
23557 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23559         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23560         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23561         * iconv/iconv_prog.c (main): Likewise.
23562         * locale/programs/charmap-dir.c (charmap_readdir)
23563         (fopen_uncompressed): Likewise.
23564         * locale/programs/locfile.c (siblings_uncached)
23565         (write_locale_data): Use lstat64 instead of lstat.
23566         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23567         stat.
23569 2013-05-10  Andreas Jaeger  <aj@suse.de>
23571         [BZ #15395]
23572         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23573         localization.
23574         Include <locale.h>.
23576 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23578         * elf/dl-close.c (_dl_close_worker): Add comments.
23580 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23582         [BZ #15359]
23583         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23584         high part of pi/2.
23585         (__ieee754_rem_pio2l): Update comments.
23587         [BZ #15429]
23588         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23589         high part of pi/2.
23590         (__ieee754_rem_pio2l): Update comments.
23592         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23593         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23595         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23596         M_PI_4l.
23598         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23599         (M_PI_34_LOG10El): Likewise.
23600         (M_PI2_LOG10El): Likewise.
23601         (M_PI4_LOG10El): Likewise.
23602         (M_PI_LOG10El): Likewise.
23604 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23608 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23610         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23611         (MINUS_ZERO_INIT): Likewise.
23612         (PLUS_INFTY_INIT): Likewise.
23613         (MINUS_INFTY_INIT): Likewise.
23614         (QNAN_VALUE_INIT): Likewise.
23615         (MAX_VALUE_INIT): Likewise.
23616         (MIN_VALUE_INIT): Likewise.
23617         (MIN_SUBNORM_VALUE_INIT): Likewise.
23618         (plus_zero): Initialize with PLUS_ZERO_INIT.
23619         (minus_zero): Initialize with MINUS_ZERO_INIT.
23620         (plus_infty): Initialize with PLUS_INFTY_INIT.
23621         (minus_infty): Initialize with MINUS_INFTY_INIT.
23622         (qnan_value): Initialize with QNAN_VALUE_INIT.
23623         (max_value): Initialize with MAX_VALUE_INIT.
23624         (min_value): Initialize with MIN_VALUE_INIT.
23625         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23627         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23628         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23629         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23630         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23632         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23633         (RUN_TEST_2_f): Likewise.
23634         (RUN_TEST_ff_f): Likewise.
23635         (RUN_TEST_fi_f): Likewise.
23636         (RUN_TEST_fl_f): Likewise.
23637         (RUN_TEST_fff_f): Likewise.
23638         (RUN_TEST_c_f): Likewise.
23639         (RUN_TEST_f_f1): Likewise.
23640         (RUN_TEST_fF_f1): Likewise.
23641         (RUN_TEST_fI_f1): Likewise.
23642         (RUN_TEST_ffI_f1): Likewise.
23643         (RUN_TEST_c_c): Likewise.
23644         (RUN_TEST_cc_c): Likewise.
23645         (RUN_TEST_f_i): Likewise.
23646         (RUN_TEST_f_i_tg): Likewise.
23647         (RUN_TEST_ff_i_tg): Likewise.
23648         (RUN_TEST_f_b): Likewise.
23649         (RUN_TEST_f_b_tg): Likewise.
23650         (RUN_TEST_f_l): Likewise.
23651         (RUN_TEST_f_L): Likewise.
23652         (RUN_TEST_sincos): Likewise.
23653         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23654         whether to show exceptions.  Do not include ");\n" in return
23655         value.
23656         (special_functions): Output call to RUN_TEST_sincos instead of
23657         check_float calls.  Update calls to new_test.
23658         (parse_args): Output call to single RUN_TEST_* macro instead of
23659         check_* calls and other assignments.  Update calls to new_test.
23661         [BZ #2546]
23662         [BZ #2560]
23663         [BZ #5159]
23664         [BZ #15426]
23665         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23666         input to result for tgamma overflow.
23667         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23668         (gamma_coeff): New variable.
23669         (NCOEFF): New macro.
23670         (gamma_positive): New function.
23671         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23672         underflow here.  Use gamma_positive instead of exp (lgamma) for
23673         other arguments.
23674         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23675         (gamma_coeff): New variable.
23676         (NCOEFF): New macro.
23677         (gammaf_positive): New function.
23678         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23679         underflow here.  Use gamma_positive instead of exp (lgamma) for
23680         other arguments.
23681         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23682         (gamma_coeff): New variable.
23683         (NCOEFF): New macro.
23684         (gammal_positive): New function.
23685         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23686         underflow here.  Use gamma_positive instead of exp (lgamma) for
23687         other arguments.
23688         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23689         (gamma_coeff): New variable.
23690         (NCOEFF): New macro.
23691         (gammal_positive): New function.
23692         (__ieee754_gammal_r): Handle positive infinity, overflow and
23693         underflow here.  Handle NaN the same as positive infinity.  Remove
23694         check x < 0xffffffff for negative integers.  Use gamma_positive
23695         instead of exp (lgamma) for other arguments.
23696         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23697         (gamma_coeff): New variable.
23698         (NCOEFF): New macro.
23699         (gammal_positive): New function.
23700         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23701         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23702         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23703         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23704         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23705         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23706         * sysdeps/generic/math_private.h (__gamma_productf): New
23707         prototype.
23708         (__gamma_product): Likewise.
23709         (__gamma_productl): Likewise.
23710         * math/Makefile (libm-calls): Add gamma_product.
23711         * math/libm-test.inc (tgamma_test): Add more tests.
23712         * sysdeps/i386/fpu/libm-test-ulps: Update.
23713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23715 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23717         * benchtests/bench-skeleton.c (main): Preheat CPU.
23719 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23721         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23723 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23725         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23726         and _dl_skip_args_internal.
23728 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23730         * manual/message.texi (Message Translation): Talk about users.
23731         Message to key mapping impacts design.
23733 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23735         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23737         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23739         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23740         * sysdeps/wordsize-64/glob64.c: ... here.
23742         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23743         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23744         New macros.
23746         * debug/getlogin_r_chk.c: Moved to ...
23747         * login/getlogin_r_chk.c: ... here.
23748         * debug/Makefile (routines): Move getlogin_r_chk to ...
23749         * login/Makefile (routines): ... here.
23750         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23751         * login/Versions (libc: GLIBC_2.4): ... here.
23753         * io/poll.c (__poll): Renamed from poll.
23754         Add libc_hidden_def.
23755         (poll): Define as weak alias.
23757         * debug/ptsname_r_chk.c: Moved to ...
23758         * login/ptsname_r_chk.c: ... here.
23759         * debug/Makefile (routines): Move ptsname_r_chk to ...
23760         * login/Makefile (routines): ... here.
23761         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23762         * login/Versions (libc: GLIBC_2.4): ... here.
23764         * posix/getlogin.c: Moved to ...
23765         * login/getlogin.c: ... here.
23766         * posix/getlogin_r.c: Moved to ...
23767         * login/getlogin_r.c: ... here.
23768         * posix/getlogin_r.c: Moved to ...
23769         * login/getlogin_r.c: ... here.
23770         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23771         * login/Makefile (routines): ... here.
23772         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23773         * login/Versions (libc: GLIBC_2.0): ... here.
23775         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23776         (setrlimit): Define as weak alias.
23778         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23779         Call __ names for open, ftruncate, and close.
23780         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23781         (truncate): Define as weak alias.
23783 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23785         * math/gen-libm-test.pl (parse_args): Initialize x before each
23786         test of frexp, modf and remquo.
23788         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23789         test signgam value.
23791 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23793         [BZ #15418]
23794         [BZ #15419]
23795         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23796         internal tests.
23797         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23801         * elf/dl-writev.h: New file.
23802         * elf/dl-misc.c: Include it.
23803         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23804         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23806 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23808         * math/libm-test.inc (noXFails): Remove variable.
23809         (noXPasses): Likewise.
23810         (BUILD_COMPLEX_INT): Remove macro.
23811         (print_screen): Remove xfail argument.
23812         (print_screen_max_error): Likewise.
23813         (update_stats): Likewise.
23814         (print_max_error): Likewise.  Update calls to other affected
23815         functions.
23816         (print_complex_max_error): Likewise.
23817         (test_single_exception): Update calls to print_screen.
23818         (test_single_errno): Likewise.
23819         (check_float_internal): Remove xfail argument.  Update calls to
23820         other affected functions.
23821         (check_float): Likewise.
23822         (check_complex): Likewise.
23823         (check_int): Likewise.
23824         (check_long): Likewise.
23825         (check_bool): Likewise.
23826         (check_longlong): Likewise.
23827         (main): Don't print noXFails and noXPasses.
23828         * math/gen-libm-test.pl (top level): Don't mention expected
23829         failure handling in comment.
23830         (new_test): Don't handle expected failures.
23831         (parse_args): Don't mention expected failure handling in comment.
23832         (generate_testfile): Don't handle expected failures.
23833         (parse_ulps): Likewise.
23834         (print_ulps_file): Likewise.
23835         (get_failure): Remove function.
23836         (output_test): Don't handle expected failures.
23837         * make/README.libm-test: Don't mention expected failure handling.
23839         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23840         (minus_zero): Likewise.
23841         (plus_infty): Likewise.
23842         (minus_infty): Likewise.
23843         (qnan_value): Likewise.
23844         (max_value): Likewise.
23845         (min_value): Likewise.
23846         (min_subnorm_value): Likewise.
23847         (initialize): Do not initialize those variables dynamically.
23849 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23851         * io/open.c (__open_2): Moved to ...
23852         * io/open_2.c: ... this new file.
23853         * io/open64.c (__open64_2): Moved to ...
23854         * io/open64_2.c: ... this new file.
23855         * io/openat.c (__openat_2): Moved to ...
23856         * io/openat_2.c: ... this new file.
23857         * io/openat64.c (__openat64_2): Moved to ...
23858         * io/openat64_2.c: ... this new file.
23859         * io/Makefile (routines): Add them.
23860         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23861         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23862         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23863         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23864         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23865         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23866         (__openat64): Add hidden_ver.
23867         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23868         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23870         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23871         Separately conditionalize setting of GLRO(dl_sysinfo) so
23872         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23873         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23875 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23877         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23878         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23879         definition.
23880         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23881         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23882         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23883         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23884         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23886 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23888         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23889         test signgam value.
23891         * math/libm-test.inc (hypot_test): Do not use
23892         IGNORE_ZERO_INF_SIGN.
23894 2013-05-03  Andreas Jaeger  <aj@suse.de>
23896         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23897         Linux 3.9.
23898         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23899         (PF_MAX): Adjust for VSOCK change.
23901 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23905 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23907         [BZ #15264]
23908         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23909         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23910         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23912 2013-05-02  David S. Miller  <davem@davemloft.net>
23914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23916 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23918         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23920 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23922         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23924 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23926         [BZ #14952]
23927         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23928         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23929         Use __attribute__ ((__gnu_inline__)).
23930         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23931         Don't use __attribute__ ((__gnu_inline__)).
23933 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #15423]
23936         * math/s_catan.c (__catan): Handle small real or imaginary part of
23937         input specially to avoid spurious underflow.
23938         * math/s_catanf.c (__catanf): Likewise.
23939         * math/s_catanh.c (__catanh): Likewise.
23940         * math/s_catanhf.c (__catanhf): Likewise.
23941         * math/s_catanhl.c (__catanhl): Likewise.
23942         * math/s_catanl.c (__catanl): Likewise.
23943         * math/libm-test.inc (catan_test): Add more tests.
23944         (catanh_test): Likewise.
23945         * sysdeps/i386/fpu/libm-test-ulps: Update.
23946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23952 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23954         [BZ #15416]
23955         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23956         accurately for denominator in atan2.
23957         * math/s_catanf.c (__catanf): Likewise.
23958         * math/s_catanh.c (__catanh): Likewise.
23959         * math/s_catanhf.c (__catanhf): Likewise.
23960         * math/s_catanhl.c (__catanhl): Likewise.
23961         * math/s_catanl.c (__catanl): Likewise.
23962         * math/libm-test.inc (catan_test): Add more tests.
23963         (catanh_test): Likewise.
23964         * sysdeps/i386/fpu/libm-test-ulps: Update.
23965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23967 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23971         * benchtests/Makefile (bench): Remove slow benchmarks.
23972         * benchtests/atan-inputs: Add slow benchmark inputs.
23973         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23974         (BENCH_FUNC): Accept variant offset.
23975         (VARIANT): Define.
23976         * benchtests/bench-skeleton.c (main): Run benchmark for each
23977         variant.
23978         * benchtests/cos-inputs: Add slow benchmark inputs.
23979         * benchtests/exp-inputs: Likewise.
23980         * benchtests/pow-inputs: Likewise.
23981         * benchtests/sin-inputs: Likewise.
23982         * benchtests/slowatan-inputs: Remove.
23983         * benchtests/slowatan.c: Remove.
23984         * benchtests/slowcos-inputs: Remove.
23985         * benchtests/slowcos.c: Remove.
23986         * benchtests/slowexp-inputs: Remove.
23987         * benchtests/slowexp.c: Remove.
23988         * benchtests/slowpow-inputs: Remove.
23989         * benchtests/slowpow.c: Remove.
23990         * benchtests/slowsin-inputs: Remove.
23991         * benchtests/slowsin.c: Remove.
23992         * benchtests/slowtan-inputs: Remove.
23993         * benchtests/slowtan.c: Remove.
23994         * benchtests/tan-inputs: Add slow benchmark inputs.
23995         * scripts/bench.pl: Parse comments and directives.
23997         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23998         in CPPFLAGS.
23999         ($(objpfx)bench-%.c): Remove *-ITER.
24000         * benchtests/bench-modf.c: Remove definition of ITER.
24001         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24002         (main): Loop for DURATION seconds instead of fixed number of
24003         iterations.
24004         * scripts/bench.pl: Don't expect iterations in parameters.
24006 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24008         * io/fchdir.c (__fchdir): Renamed from fchdir.
24009         (fchdir): Define as weak alias.
24011 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24013         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24014         (ERRNO_EDOM): Likewise.
24015         (ERRNO_ERANGE): Likewise.
24016         (noErrnoTests): New variable.
24017         (init_max_error): Set errno to 0.
24018         (test_single_errno): New function.
24019         (test_errno): Likewise.
24020         (check_float_internal): Call test_errno.  Set errno to 0.
24021         (check_complex): Refer to errno tests in comment.
24022         (check_int): Call test_errno.  Set errno to 0.
24023         (check_long): Likewise.
24024         (check_bool): Likewise.
24025         (check_longlong): Likewise.
24026         (cos_test): Use ERRNO_* flags for errno tests instead of
24027         check_int.
24028         (expm1_test): Likewise.
24029         (fmod_test): Likewise.
24030         (ilogb_test): Likewise.
24031         (lgamma_test): Likewise.
24032         (pow_test): Likewise.
24033         (remainder_test): Likewise.
24034         (sin_test): Likewise.
24035         (tan_test): Likewise.
24036         (yn_test): Likewise.
24037         (initialize): Set errno to 0.
24038         (main): Print number of errno tests.
24039         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24041 2013-04-29  Andreas Jaeger  <aj@suse.de>
24043         [BZ #15084]
24044         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24045         and RES_USEVC.
24047         [BZ #15085]
24048         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24049         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24050         unimplemented.
24052         [BZ #15380]
24053         * stdlib/random.c (__initstate): Return NULL if
24054         __initstate fails.
24056         [BZ #15086]
24057         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24058         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24059         RES_SNGLKUPREOP.
24061 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24065 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24067         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24068         of individual tests.
24069         (casin_test): Likewise.
24070         (casinh_test): Likewise.
24072 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24074         [BZ #15409]
24075         * math/s_catan.c (__catan): Handle arguments with large real or
24076         imaginary part separately without squaring.
24077         * math/s_catanf.c (__catanf): Likewise.
24078         * math/s_catanh.c (__catanh): Likewise.
24079         * math/s_catanhf.c (__catanhf): Likewise.
24080         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24081         and redefine.
24082         (__catanhl): Handle arguments with large real or imaginary part
24083         separately without squaring.
24084         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24085         and redefine.
24086         (__catanl): Handle arguments with large real or imaginary part
24087         separately without squaring.
24088         * math/libm-test.inc (catan_test): Add more tests.
24089         (catanh_test): Likewise.
24090         * sysdeps/i386/fpu/libm-test-ulps: Update.
24091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24093 2013-04-27  Andreas Jaeger  <aj@suse.de>
24095         [BZ #15007]
24096         * stdlib/stdlib.h: Update guards for qecvt.
24097         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24098         <stdlib.h>.
24100 2013-04-27  Allan McRae  <allan@archlinux.org>
24102         * sysdeps/i386/fpu/libm-test-ulps: Update.
24104 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24106         [BZ #15406]
24107         * math/s_catan.c: Include <float.h>.
24108         (__catan): Ensure underflow exception occurs for underflowed
24109         result.
24110         * math/s_catanf.c: Include <float.h>.
24111         (__catanf): Ensure underflow exception occurs for underflowed
24112         result.
24113         * math/s_catanh.c: Include <float.h>.
24114         (__catanh): Ensure underflow exception occurs for underflowed
24115         result.
24116         * math/s_catanhf.c: Include <float.h>.
24117         (__catanhf): Ensure underflow exception occurs for underflowed
24118         result.
24119         * math/s_catanhl.c: Include <float.h>.
24120         (__catanhl): Ensure underflow exception occurs for underflowed
24121         result.
24122         * math/s_catanl.c: Include <float.h>.
24123         (__catanl): Ensure underflow exception occurs for underflowed
24124         result.
24125         * math/libm-test.inc (catan_test): Add more tests.
24126         (catanh_test): Likewise.
24128         [BZ #15405]
24129         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24130         underflowed result.
24131         * math/s_ccoshf.c (__ccoshf): Likewise.
24132         * math/s_ccoshl.c (__ccoshl): Likewise.
24133         * math/s_csin.c (__csin): Likewise.
24134         * math/s_csinf.c (__csinf): Likewise.
24135         * math/s_csinh.c (__csinh): Likewise.
24136         * math/s_csinhf.c (__csinhf): Likewise.
24137         * math/s_csinhl.c (__csinhl): Likewise.
24138         * math/s_csinl.c (__csinl): Likewise.
24139         * math/libm-test.inc (ccos_test): Add more tests.
24140         (ccosh_test): Likewise.
24141         (csin_test): Likewise.
24142         (csinh_test): Likewise.
24144 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24146         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24147         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24148         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24149         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24150         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24151         powerpc/power5+/fpu folders.
24152         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24155 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24159 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24161         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24162         additions to variable.
24163         [$(config-machine) = x86_64] (modules-names): Likewise.
24164         ($(objpfx)tst-audit3): Remove dependency.
24165         ($(objpfx)tst-audit3.out): Likewise.
24166         ($(objpfx)tst-audit4): Likewise.
24167         ($(objpfx)tst-audit4.out): Likewise.
24168         ($(objpfx)tst-audit5): Likewise.
24169         ($(objpfx)tst-audit5.out): Likewise.
24170         ($(objpfx)tst-audit6): Likewise.
24171         ($(objpfx)tst-audit6.out): Likewise.
24172         ($(objpfx)tst-audit7): Likewise.
24173         ($(objpfx)tst-audit7.out): Likewise.
24174         (tst-audit3-ENV): Remove variable.
24175         (tst-audit4-ENV): Likewise.
24176         (tst-audit5-ENV): Likewise.
24177         (tst-audit6-ENV): Likewise.
24178         (tst-audit7-ENV): Likewise.
24179         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24180         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24181         addition to variable.
24182         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24183         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24184         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24185         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24186         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24187         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24188         tst-audit3, tst-audit4 and tst-audit5.
24189         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24190         tst-audit6 and tst-audit7.
24191         [$(subdir) = elf] (modules-names): Add audit modules for those
24192         tests.
24193         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24194         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24195         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24196         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24197         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24198         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24199         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24200         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24201         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24202         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24203         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24204         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24205         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24206         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24207         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24208         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24209         Likewise.
24210         [$(subdir) = elf && $(config-cflags-avx) = yes]
24211         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24212         [$(subdir) = elf && $(config-cflags-avx) = yes]
24213         (CFLAGS-tst-auditmod4a.c): Likewise.
24214         [$(subdir) = elf && $(config-cflags-avx) = yes]
24215         (CFLAGS-tst-auditmod4b.c): Likewise.
24216         [$(subdir) = elf && $(config-cflags-avx) = yes]
24217         (CFLAGS-tst-auditmod6b.c): Likewise.
24218         [$(subdir) = elf && $(config-cflags-avx) = yes]
24219         (CFLAGS-tst-auditmod6c.c): Likewise.
24220         [$(subdir) = elf && $(config-cflags-avx) = yes]
24221         (CFLAGS-tst-auditmod7b.c): Likewise.
24222         * elf/tst-audit3.c: Move to ...
24223         * sysdeps/x86_64/tst-audit3.c: ... here.
24224         * elf/tst-audit4.c: Move to ...
24225         * sysdeps/x86_64/tst-audit4.c: ... here.
24226         * elf/tst-audit5.c: Move to ...
24227         * sysdeps/x86_64/tst-audit5.c: ... here.
24228         * elf/tst-audit6.c: Move to ...
24229         * sysdeps/x86_64/tst-audit6.c: ... here.
24230         * elf/tst-audit7.c: Move to ...
24231         * sysdeps/x86_64/tst-audit7.c: ... here.
24232         * elf/tst-auditmod3a.c: Move to ...
24233         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24234         * elf/tst-auditmod3b.c: Move to ...
24235         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24236         * elf/tst-auditmod4a.c: Move to ...
24237         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24238         * elf/tst-auditmod4b.c: Move to ...
24239         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24240         * elf/tst-auditmod5a.c: Move to ...
24241         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24242         * elf/tst-auditmod5b.c: Move to ...
24243         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24244         * elf/tst-auditmod6a.c: Move to ...
24245         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24246         * elf/tst-auditmod6b.c: Move to ...
24247         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24248         * elf/tst-auditmod6c.c: Move to ...
24249         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24250         * elf/tst-auditmod7a.c: Move to ...
24251         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24252         * elf/tst-auditmod7b.c: Move to ...
24253         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24255 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24257         [BZ #15366]
24258         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24259         define unconditionally.
24260         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24261         define unconditionally.
24262         (INT8_C, INT16_C, etc.): Likewise.
24264 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24266         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24267         __ehdr_start with hidden visibility.
24269         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24271 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24273         * math/libm-test.inc (cos_test): Use accurate hex constants.
24274         (sincost_test): Likewise.
24276 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24278         * math/libm-test.inc (catan_test): Add more tests.
24279         (catanh_test): Likewise.
24281         * math/s_catanf.c (__catanf): Use suffixed floating-point
24282         constants.
24283         * math/s_catanhf.c (__catanhf): Likewise.
24284         * math/s_catanhl.c (__catanhl): Likewise.
24285         * math/s_catanl.c (__catanl): Likewise.
24287         [BZ #15394]
24288         * math/s_catan.c (__catan): Calculate imaginary part of result
24289         with log1p not log unless computing log of number close to 0.
24290         * math/s_catanf.c (__catanf): Likewise.
24291         * math/s_catanl.c (__catanl): Likewise.
24292         * math/s_catanh.c (__catanh): Calculate real part of result with
24293         log1p not log unless computing log of number close to 0.
24294         * math/s_catanhf.c (__catanhf): Likewise.
24295         * math/s_catanhl.c (__catanhl): Likewise.
24296         * math/libm-test.inc (catan_test): Add more tests.
24297         (catanh_test): Likewise.
24298         * sysdeps/i386/fpu/libm-test-ulps: Update.
24299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24301 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24303         * benchtests/Makefile: Mention files in which fast and slow
24304         paths of math functions are implemented.
24306 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24308         * sysdeps/posix/timespec_get.c: New file.
24310 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24312         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24313         POWER.
24314         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24315         for POWER.
24316         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24317         powerpc/power5/fpu folders.
24318         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24319         * benchtests/Makefile: Add modf testcase.
24320         * benchtests/bench-modf.c: New file: Benchmark test for mo
24322 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24324         [BZ #14888]
24325         * time/Makefile (tests): Add tst-strptime-whitespace.
24326         * time/strptime_l.c (get_number): Use ISSPACE.
24327         (__strptime_internal): Likewise.
24328         * time/tst-strptime-whitespace.c: New test case.
24330 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24332         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24333         member.
24334         (_nss_files_init): Set it here.
24336 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24338         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24339         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24340         unsigned.
24342 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24344         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24346 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24349         size just once.
24351 2013-04-21  David S. Miller  <davem@davemloft.net>
24353         * po/ru.po: Update Russion translation from translation project.
24355 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24357         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24358         and setfsgid.
24360 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24362         * configure.in: Remove i386 configure warning. Remove i386 case.
24363         * configure: Regenerate.
24364         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24365         Add example to error message.
24366         * sysdeps/i386/configure: Regenerate.
24368 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24370         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24371         slowtan.
24372         * benchtests/cos-inputs: New file.
24373         * benchtests/slowcos-inputs: New file.
24374         * benchtests/slowcos.c: New file.
24375         * benchtests/slowtan-inputs: New file.
24376         * benchtests/slowtan.c: New file.
24377         * benchtests/tan-inputs: New file.
24379 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24381         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24382         considered kosher.
24384 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24386         * benchtests/Makefile: Include cppflags-iterator.mk to add
24387         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24389         * Makefile.in (bench-clean): New target.
24390         * benchtests/Makefile (bench-clean): Likewise.
24392 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24394         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24396 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24398         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24400 2013-04-15  Andreas Schwab  <schwab@suse.de>
24402         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24404         * nscd/pwdcache.c (cache_addpw): Likewise.
24405         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24406         more than recsize.
24408 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24410         * benchtests/Makefile (bench): Write all output to
24411         bench-out.tmp together.
24413 2013-04-15  Andreas Schwab  <schwab@suse.de>
24415         * nscd/nscd.c (main): Don't fork again after closing files.
24417 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24419         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24421         * benchtests/Rules (bench-deps): Collect dependencies into a
24422         single variable.  Add Makefile to dependencies.
24423         ($(objpfx)bench-%.c): Depend on bench-deps.
24425 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24426             Xavier Roche  <roche+kml2@exalead.com>
24428         [BZ #15361]
24429         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24430         just that it's a file descriptor.
24431         * manual/llio.texi (Synchronizing AIO Operations): Update description
24432         for EBADF error from aio_fsync.
24434 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24436         * Rules (bench): Move target definition...
24437         * benchtests/Makefile: ... here.
24439 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24441         * math/libm-test.inc (cos_test): Fix PI/2 test.
24442         (sincos_test): Likewise.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24444         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24446 2013-04-11  Andreas Schwab  <schwab@suse.de>
24448         [BZ #13988]
24449         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24450         accept exponent character only when digits were seen.
24451         * stdio-common/Makefile (tests): Add bug26.
24452         * stdio-common/bug26.c: New file.
24454         [BZ #14293]
24455         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24456         non-freeable.
24458 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24460         * Makeconfig (rtld-prefix): Define built linker prefix.
24461         * Rules (run-bench): Use it.
24462         * math/Makefile (run-regen-ulps): Likewise.
24464         * Rules (bench): Remove eval.
24466 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24467             Roland McGrath  <roland@hack.frob.com>
24468             Ondrej Bilka  <neleai@seznam.cz>
24470         [BZ #15346]
24471         * time/getdate.c: Include ctype.h and alloca.h.
24472         (__getdate_r): Trim leading and trailing spaces of input.
24473         * time/tst-getdate.c (tests): Add tests with leading and
24474         trailing spaces.
24476 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24478         [BZ #14280]
24479         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24480         when computing value.
24482 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24484         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24485         Use testrun.sh to run libm tests.
24487         [BZ #15309]
24488         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24490 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24492         [BZ #15264]
24493         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24495 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24497         * Makefile.in (regen-ulps): New target.
24498         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24499         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24500         [ifneq (no,$(PERL)] (regen-ulps): New target.
24501         [ifeq (no,$(PERL)] (regen-ulps): New target.
24502         * math/libm-test.inc (ulps_file_name): Define.
24503         (output_dir): New variable.
24504         (options): Add "output-dir" option.
24505         (parse_opt): Handle 'o' case.
24506         (main): If output_dir is non-NULL use it as a prefix
24507         otherwise use "".
24508         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24510 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24512         [BZ #10060, #10062]
24513         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24514         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24515         fail configure if __sync_val_compare_and_swap is not inlined.
24516         * sysdeps/i386/configure: Regenerate.
24517         * configure.in: Build for i686 when configured for i386.
24518         * configure: Regenerate.
24519         * README: Remove i386 reference.
24521 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24523         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24524         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24526 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24528         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24529         (lmsnanval): New variables.
24530         (F): Add conversion tests.
24531         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24532         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24534         * stdio-common/tstdiomisc.c (F): Properly collect individual
24535         tests' results.
24537         [BZ #14686, #15336]
24538         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24539         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24540         Instead, use input NaN values or generate a qNaN by arithmetic
24541         operation.  Also fix bugs to comply with the standard.
24542         * math/libm-test.inc (remainder_test): Add more tests.
24544         [BZ #15335, #15342]
24545         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24547         input NaN values or generate a qNaN by arithmetic operation.
24549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24550         unreachable code.
24552         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24553         definitions.
24555 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24557         [BZ #14478]
24558         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24559         underflowed result.
24560         * math/s_cexpf.c (__cexpf): Likewise.
24561         * math/s_cexpl.c (__cexpl): Likewise.
24562         * math/libm-test.inc (cexp_test): Add more tests.
24564 2013-04-03  Andreas Schwab  <schwab@suse.de>
24566         [BZ #15330]
24567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24568         order arrays from heap if bigger than alloca cutoff.
24570 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24572         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24573         (SNAN_TESTS_double): Refer to GCC PR56831.
24574         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24575         GCC PR56828.
24577 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24579         * Rules (bench): Move bench.out after the run is complete.
24581         * Rules (bench): Echo currently running benchmark.
24583         * benchtests/Makefile (bench): Add atan and slowatan.
24584         * benchtests/atan-inputs: New file.
24585         * benchtests/slowatan-inputs: New file.
24586         * benchtests/slowatan.c: New file.
24588         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24589         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24590         its value.
24592         [BZ #15305]
24593         * sysdeps/unix/sysv/linux/kernel-features.h
24594         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24595         __ASSUME_XFS_RESTRICTED_CHOWN.
24596         * sysdeps/unix/sysv/linux/pathconf.c
24597         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24598         Save and restore errno.
24600 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24602         [BZ #15327]
24603         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24604         arguments using __kernel_casinh.
24605         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24606         arguments using __kernel_casinhf.
24607         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24608         arguments using __kernel_casinhl.
24609         * math/libm-test.inc (cacosh_test): Add more tests.
24610         * sysdeps/i386/fpu/libm-test-ulps: Update.
24611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24613 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24618         * bench/Makefile (bench): Add sin and slowsin.
24619         * benchtests/sin-inputs: New file.
24620         * benchtests/slowsin-inputs: New file.
24621         * benchtests/slowsin.c: New file.
24623         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24624         (bench): Add slowexp and slowpow.
24625         (exp-ITER): Increase iterations.
24626         (pow-ITER): Likewise.
24627         * benchtests/exp-inputs: Change input.
24628         * benchtests/pow-inputs: Likewise.
24629         * benchtests/slowexp-inputs: New file.
24630         * benchtests/slowexp.c: New file.
24631         * benchtests/slowpow-inputs: New file.
24632         * benchtests/slowpow.c: New file.
24634 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24636         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24637         instructions.
24638         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24639         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24640         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24641         * benchtests/Makefile: Add rint benchtest.
24642         * benchtests/rint-inputs: Input for rint benchtest.
24644 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24646         * Versions.def (libm): Add GLIBC_2.18.
24647         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24648         hidden libm prototypes.
24649         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24650         * math/Makefile (libm-calls): Add s_issignaling.
24651         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24652         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24653         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24654         declaration.
24655         * math/math.h [__USE_GNU] (issignaling): New macro.
24656         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24657         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24658         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24659         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24662         * manual/arith.texi (issignaling): New section.
24663         * manual/libm-err-tab.pl (@all_functions): Update comment.
24664         * math/gen-libm-test.pl (parse_args): Apply special handling for
24665         issignaling.
24666         * math/libm-test.inc (print_float, issignaling_test): New
24667         functions.
24668         (check_float_internal): Add issignaling checks.
24669         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24670         default definition.
24671         * sysdeps/powerpc/math-tests.h: New file.
24672         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24673         tests.
24674         * math/test-snan.c (TEST_FUNC): Likewise.
24676 2013-03-30  David S. Miller  <davem@davemloft.net>
24678         * po/de.po: Update from translation team.
24680 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24682         [BZ #10357]
24683         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24684         imaginary part less than 1.0 and real part less than 0.5
24685         specially.
24686         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24687         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24688         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24689         (cacos_test): Add more tests.
24690         (casin_test): Likewise.
24691         (casinh_test): Likewise.
24692         * sysdeps/i386/fpu/libm-test-ulps: Update.
24693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24695 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24697         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24698         ONE with its value.
24700         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24701         (__pow_mp): Replace ONE and MONE with their values.
24702         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24703         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24704         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24705         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24706         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24707         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24709         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24711         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24712         (__pow_mp): Replace ZERO and MZERO with their values.
24713         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24714         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24715         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24717         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24718         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24719         (__sqr): Likewise.
24721         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24723         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24725 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24727         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24728         Declare with __attribute__ ((weak)).
24729         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24730         Call __call_tls_dtors only if it's not NULL.
24732 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24734         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24735         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24736         magic __ehdr_start linker symbol if it's defined.
24737         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24738         them up here if it was already done.
24740         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24741         (_dl_aux_init): Use const in cast when setting it.
24742         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24743         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24744         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24746         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24747         Declare them here.
24748         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24749         * csu/libc-tls.c: Nor here.
24750         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24752         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24753         (__libc_message): Never call vsyslog.
24755 2013-03-28  Alan Modra  <amodra@gmail.com>
24757         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24758         Define as empty.
24759         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24760         Likewise.
24762 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24764         [BZ #15214]
24765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24766         underflow.
24767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24769 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771         [BZ #15304]
24772         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24773         Don't add gid passed as argument.
24775         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24777 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24779         [BZ #15307]
24780         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24781         imaginary part between 1.0 and 1.5 and real part less than 0.5
24782         specially.
24783         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24784         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24785         * math/libm-test.inc (cacos_test): Add more tests.
24786         (casin_test): Likewise.
24787         (casinh_test): Likewise.
24788         * sysdeps/i386/fpu/libm-test-ulps: Update.
24789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24793         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24794         constants.
24795         (norm): Likewise.
24796         (denorm): Likewise.
24797         (__dbl_mp): Likewise.
24798         (add_magnitudes): Likewise.
24799         (sub_magnitudes): Likewise.
24800         (__add): Likewise.
24801         (__sub): Likewise.
24802         (__mul): Likewise.
24803         (__sqr): Likewise.
24804         (__inv): Likewise.
24805         (__dvd): Likewise.
24807         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24808         commented code.
24809         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24810         (__dubcos): Likewise.
24811         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24812         (__ieee754_acos): Likewise.
24813         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24814         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24815         (__exp1): Likewise.
24816         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24818         (log1): Likewise.
24819         (my_log2): Likewise.
24820         (checkint): Likewise.
24821         * sysdeps/ieee754/dbl-64/e_remainder.c
24822         (__ieee754_remainder): Likewise.
24823         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24825         (bsloww): Likewise.
24826         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24828         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24829         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24830         MANTISSA_STORE_T to store computations on mantissa.  Use
24831         macros for rounding and division.
24832         (denorm): Likewise.
24833         (__dbl_mp): Likewise.
24834         (add_magnitudes): Likewise.
24835         (sub_magnitudes): Likewise.
24836         (__mul): Likewise.
24837         (__sqr): Likewise.
24838         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24839         powers of two in terms of TWOPOW macro.
24840         (mp_no): Make type of mantissa as MANTISSA_T.
24841         [!RADIXI]: Define RADIXI.
24842         [!TWO52]: Define TWO52.
24843         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24845 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24847         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24848         llroundl symbol when building for PPC32.
24850 2013-03-24  Mark H Weaver  <mhw@netris.org>
24852         * manual/arith.texi (Normalization Functions): Fix prototypes for
24853         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24855 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24857         [BZ #13889]
24858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24859         high value to check if expl overflow.
24860         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24861         to check for underflow and overflow.
24862         * math/libm-test.inc: Add exp test.
24864 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24866         [BZ #11120]
24867         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24868         with NOT_IN_libc.
24870 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24872         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24873         symbol.
24875 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24877         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24878         wrap blocks consisting of several statements.
24880         * sysdeps/generic/math-tests.h: New file.
24881         * sysdeps/i386/fpu/math-tests.h: Likewise.
24882         * math/test-snan.c: Include it.
24883         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24885 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24887         [BZ #15285]
24888         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24889         (__ieee754_j0l): Do not improve calculations using cos of twice
24890         input for inputs above LDBL_MAX / 2.0L.
24891         (__ieee754_y0l): Likewise.
24892         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24893         (__ieee754_j1l): Do not improve calculations using cos of twice
24894         input for inputs above LDBL_MAX / 2.0L.
24895         (__ieee754_y1l): Likewise.
24896         * math/libm-test.inc (j0_test): Add another test.
24897         (j1_test): Likewise.
24898         (y0_test): Likewise.
24899         (y1_test): Likewise.
24900         * sysdeps/i386/fpu/libm-test-ulps: Update.
24902 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24904         * Rules ($(objpfx)bench-%.c): Include code from a C source
24905         file.
24907 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24909         [BZ #15287]
24910         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24911         imaginary part 1.0 and real part less than 0.5 specially.
24912         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24913         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24914         * math/libm-test.inc (cacos_test): Add more tests.
24915         (casin_test): Likewise.
24916         (casinh_test): Likewise.
24917         * sysdeps/i386/fpu/libm-test-ulps: Update.
24918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24920 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24922         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24923         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24925 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24927         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24928         * config.make.in (config-cflags-sse4): Remove variable.
24929         (config-cflags-avx): Likewise.
24930         (config-cflags-sse2avx): Likewise.
24931         (config-cflags-novzeroupper): Likewise.
24932         (config-asflags-i686): Likewise.
24933         (have-mfma4): Likewise.
24934         (have-as-vis3): Likewise.
24935         (MIG): Likewise.
24936         * configure.in (MIG): Do not AC_SUBST.
24937         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24938         (libc_cv_cc_sse4): Do not AC_SUBST.
24939         (libc_cv_cc_avx): Likewise.
24940         (libc_cv_cc_sse2avx): Likewise.
24941         (libc_cv_cc_novzeroupper): Likewise.
24942         (libc_cv_cc_fma4): Likewise.
24943         (libc_cv_as_i686): Likewise.
24944         (libc_cv_sparc_as_vis3): Likewise.
24945         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24946         LIBC_CONFIG_VAR.
24947         (config-asflags-i686): Likewise.
24948         (config-cflags-avx): Likewise.
24949         (config-cflags-sse2avx): Likewise.
24950         (have-mfma4): Likewise.
24951         (config-cflags-novzeroupper): Likewise.
24952         * sysdeps/mach/configure.in (MIG): Likewise.
24953         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24954         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24955         LIBC_CONFIG_VAR.
24956         (config-cflags-avx): Likewise.
24957         (config-cflags-sse2avx): Likewise.
24958         (have-mfma4): Likewise.
24959         (config-cflags-novzeroupper): Likewise.
24960         * configure: Regenerated.
24961         * sysdeps/i386/configure: Likewise.
24962         * sysdeps/mach/configure: Likewise.
24963         * sysdeps/sparc/configure: Likewise.
24964         * sysdeps/x86_64/configure: Likewise.
24966 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24968         [BZ #14812]
24969         * locale/programs/localedef.c (options): Put N_ translation marker
24970         on argument names, not just descriptions.
24972 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24974         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24976 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24978         [BZ #14176]
24979         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24981 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24983         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24984         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24985         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24986         [!BEFORE_ABORT] (before_abort): New function.
24987         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24988         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24989         (writev_for_fatal): New function.
24990         (WRITEV_FOR_FATAL): New macro; call that.
24991         (backtrace_and_maps): New function.
24992         (BEFORE_ABORT): New macro; call that.
24993         (struct str_list): Type removed.
24994         (__libc_message, __libc_fatal): Functions removed.
24995         Include <sysdeps/posix/libc_fatal.c> instead.
24997 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24999         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25000         constants.
25001         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25002         double constants.
25004 2013-03-19  Andreas Schwab  <schwab@suse.de>
25006         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25007         * sysdeps/gnu/configure: Regenerate.
25009         * configure.in: Substitute libc_cv_rtlddir.
25010         * configure: Regenerate.
25011         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25012         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25013         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25014         * elf/Makefile (install-others, CFLAGS-interp.c)
25015         (ldso_install, common-ldd-rewrite): Likewise.
25016         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25017         $(inst_slibdir)/$(rtld-installed-name).
25018         * scripts/rellns-sh: Add -p option.
25019         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25020         for source.
25022 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25024         * manual/nptl.texi: Renamed to ...
25025         * manual/threads.texi: ... this.
25026         * manual/Makefile (chapters): Update.
25028 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25030         [BZ #14812]
25031         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25032         on argument names, not just descriptions.
25033         * malloc/memusagestat.c (options): Likewise.
25034         * nss/getent.c (options): Likewise.
25036 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25038         [BZ #14812]
25039         * iconv/iconv_prog.c (options): Put N_ translation marker
25040         on argument names, not just descriptions.
25041         * iconv/iconvconfig.c (options): Likewise.
25043 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25045         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25046         implementation which is faster on all x86_64 architectures.
25047         Tested on AMD, Intel Nehalem, SNB, IVB.
25048         * sysdeps/x86_64/strnlen.S: Likewise.
25050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25051         Remove all multiarch strlen and strnlen versions.
25052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25053         Remove strlen and strnlen related parts.
25055         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25056         Inline strlen part.
25057         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25059         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25060         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25061         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25062         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25063         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25064         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25066 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25068         * manual/memory.texi (Malloc Tunable Parameters):
25069         Sort parameters alphabetically. Add comments for missing entries.
25071 2013-03-17  David S. Miller  <davem@davemloft.net>
25073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25075 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25077         [BZ #15283]
25078         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25079         for arguments at most half maximum finite value.
25080         * math/libm-test.inc (j0_test): Add more tests.
25081         (j1_test): Likewise.
25082         (y0_test): Likewise.
25083         (y1_test): Likewise.
25084         * sysdeps/i386/fpu/libm-test-ulps: Update.
25085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25087         [BZ #14155]
25088         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25089         1 / x and functions P and Q for arguments above 0x1p256L.
25090         (__ieee754_y0l): Likewise.
25091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25092         (__ieee754_y1l): Likewise.
25093         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25094         (j1_test): Likewise.
25095         (y0_test): Likewise.
25096         (y1_test): Likewise.
25098 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25100         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25101         variable.
25103 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25105         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25106         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25107         zero since it's initialized to EXEC_PAGESIZE.
25109         * sysdeps/unix/sysv/linux/ldsodefs.h
25110         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25111         * sysdeps/generic/ldsodefs.h: ... here.
25113 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25115         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25117         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25118         math/test-snan.c.
25119         * math/test-snan.c: Renamed from
25120         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25121         * math/Makefile (tests): Add test-snan.
25122         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25123         test-powerpc-snan.
25125         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25126         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25127         functions.
25128         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25129         __builtin_nan family of functions.
25130         * math/libm-test.inc (initialize): Initialize qnan_value with
25131         __builtin_nan family of functions.
25132         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25133         Remove variables.
25134         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25135         Remove functions.
25136         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25137         storage class.  Initialize qNaN_var and sNaN_var with
25138         __builtin_nan and __builtin_nans families of functions,
25139         respectively.
25141         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25142         (sqrt_test): Remove duplicate test with qNaN input.
25143         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25144         (round_test, signbit_test, significand_test): Note missing +/-Inf
25145         as well as qNaN tests.
25147         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25148         qNaN_var.  Fix a few strings, too.
25149         * math/libm-test.inc (nan_value): Rename to qnan_value.
25150         * math/gen-libm-test.pl (%beautify): Adjust to that.
25151         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25152         * math/test-misc.c (main): Likewise.
25153         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25154         to __qnan_bytes, and __qnan_union, respectively.
25155         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25156         Likewise.
25157         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25158         and lqnanval, respectively.
25159         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25160         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25161         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25162         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25164         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25165         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25166         doubles.
25168         * math/test-misc.c (main): Fix copy'n'pastos.
25169         * misc/tst-efgcvt.c (special): Likewise.
25171         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25172         Remove declarations.
25174 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25176         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25177         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25178         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25179         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25181 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25184         macro to return vdso values correctly in IFUNC implementations.
25185         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25186         Optimization by using IFUNC.
25188 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25189             Richard Henderson  <rth@redhat.com>
25190             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25192         * Makefile.in (bench): New target.
25193         * NEWS: Mention the benchmark framework.
25194         * Rules (bench): Likewise.
25195         (binaries-bench): Generate binaries for functions to
25196         benchmark.
25197         * benchtests/Makefile: New makefile for benchmark tests.
25198         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25199         programs.
25200         * benchtests/exp-inputs: New input file for EXP function.
25201         * benchtests/pow-inputs: New input file for POW function.
25202         * scripts/bench.pl: New script to generate source files for
25203         benchmark programs.
25205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25207         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25208         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25209         computations on mantissa.  Use macros for rounding and
25210         division.
25211         (denorm): Likewise.
25212         (__dbl_mp): Likewise.
25213         (add_magnitudes): Likewise.
25214         (sub_magnitudes): Likewise.
25215         (__mul): Likewise.
25216         (__sqr): Likewise.
25217         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25218         powers of two in terms of TWOPOW macro.
25219         (mp_no): Make type of mantissa as MANTISSA_T.
25220         [!RADIXI]: Define RADIXI.
25221         [!TWO52]: Define TWO52.
25222         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25224         * manual/nptl.texi (cindex): Modify threads to pthreads.
25226 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25228         * sysdeps/x86_64/preconfigure: Regenerated.
25230 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25232         [BZ #14155]
25233         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25234         0x1p28 and above.
25235         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25236         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25237         0x1p28 and above.
25238         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25239         * math/libm-test.inc (j0_test): Do not allow one spurious
25240         underflow exception.
25241         (y1_test): Likewise.
25243 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25245         * manual/Makefile (chapters): Add nptl.
25246         * manual/debug.texi (Debugging Support): Add link to Threads
25247         chapter.
25248         * manual/nptl.texi: New file.
25250         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25252 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25254         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25255         for non-NULL pointer before the memory validity test. Pointed
25256         out by Holger Brunck <holger.brunck@keymile.com>.
25258 2013-03-13  Andreas Schwab  <schwab@suse.de>
25260         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25261         instead of .os.
25263 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25265         * timezone/zic.c: Update from tzcode 2013b.
25267 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25269         * manual/install.texi (Configuring and compiling):
25270         Mention i686 and i586.
25271         * INSTALL: Regenerate.
25273 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25275         * sysdeps/init_array/elf-init.c: New file.
25276         * csu/elf-init.c
25277         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25278         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25280         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25281         __gmon_start__ as global, but as static with a .preinit_array pointer.
25282         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25283         * sysdeps/init_array/crti.S: New file, empty except for comments.
25284         * sysdeps/init_array/crtn.S: Likewise.
25286 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25288         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25289         definining bcopy.
25290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25291         Remove Prefer_SSE_for_memop.
25292         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25293         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25294         HAS_PREFER_SSE_FOR_MEMOP.
25295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25296         memset-x86-64.
25297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25298         Remove bzero, memset ifunc support.
25299         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25300         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25301         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25304 2013-03-11  Andreas Schwab  <schwab@suse.de>
25306         [BZ #15234]
25307         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25308         by SHLIB_COMPAT.
25309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25310         (GLIBC_2.16): Remove pthread_atfork.
25312 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25314         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25315         (ptestcases.h): Likewise.
25317 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25319         * Makeconfig ($(common-objpfx)config.status): Depend on
25320         sysdeps/*/preconfigure{,.in} too.
25322 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25324         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25325         (__free_hook): Use void * instead of __malloc_ptr_t.
25326         (__malloc_hook): Likewise.
25327         (__realloc_hook): Likewise.
25328         (__memalign_hook): Likewise.
25329         (__after_morecore_hook): Likewise.
25330         * malloc/arena.c (save_malloc_hook): Likewise.
25331         (save_free_hook): Likewise.
25332         * malloc/hooks.c (malloc_hook_ini): Likewise.
25333         (realloc_hook_ini): Likewise.
25334         (memalign_hook_ini): Likewise.
25335         * malloc/malloc.c (malloc_hook_ini): Likewise.
25336         (realloc_hook_ini): Likewise.
25337         (memalign_hook_ini): Likewise.
25338         (__free_hook): Likewise.
25339         (__malloc_hook): Likewise.
25340         (__realloc_hook): Likewise.
25341         (__memalign_hook): Likewise.
25342         (__libc_malloc): Likewise.
25343         (__libc_free): Likewise.
25344         (__libc_realloc): Likewise.
25345         (__libc_memalign): Likewise.
25346         (__libc_valloc): Likewise.
25347         (__libc_pvalloc): Likewise.
25348         (__libc_calloc): Likewise.
25349         (__posix_memalign): Likewise.
25350         * malloc/morecore.c (__sbrk): Likewise.
25351         (__default_morecore): Likewise.
25353         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25355         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25356         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25357         __malloc_ptrdiff_t.
25359         * malloc/malloc.h (__malloc_size_t): Remove macro.
25360         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25361         __malloc_size_t.
25362         (old_memalign_hook): Likewise.
25363         (old_realloc_hook): Likewise.
25364         (struct hdr): Likewise.
25365         (flood): Likewise.
25366         (mallochook): Likewise.
25367         (memalignhook): Likewise.
25368         (reallochook): Likewise.
25369         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25370         (tr_old_realloc_hook): Likewise.
25371         (tr_old_memalign_hook): Likewise.
25372         (tr_mallochook): Likewise.
25373         (tr_reallochook): Likewise.
25374         (tr_memalignhook): Likewise.
25376 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25379         default_ldbl_pack and using as default implementation.
25380         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25381         implementation.
25382         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25383         redundant definition.
25384         (ldbl_insert_mantissa): Likewise.
25385         (ldbl_canonicalize): Likewise.
25386         (ldbl_nearbyint): Likewise.
25387         (ldbl_pack): Rename to ldbl_pack_ppc.
25388         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25389         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25390         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25392 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25395         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25396         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25397         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25399         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25400         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25401         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25403 2013-03-07  Andreas Jaeger  <aj@suse.de>
25405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25406         bits/mman-linux.h.
25408 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25410         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25411         Include mpa.h and declare __MPEXP.
25412         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25413         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25414         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25415         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25416         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25417         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25418         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25420         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25421         (__slowpow): Use long double EXPL and LOGL functions to
25422         compute POW.
25423         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25424         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25425         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25426         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25427         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25428         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25431         intermediate variable to calculate exponent.
25432         (__sqr): Likewise.
25433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25434         Likewise.
25435         (__sqr): Likewise.
25437         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25438         [!NO__SQR]: Define __sqr.
25439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25440         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25441         sysdeps/ieee754/dbl-64/mpa.c.
25442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25444         [BZ #12723]
25445         * posix/Makefile (tests): Add tst-pathconf.
25446         * posix/tst-pathconf.c: New test case.
25447         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25448         _PC_PIPE_BUF.
25449         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25451 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25453         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25455 2013-03-06  Andreas Jaeger  <aj@suse.de>
25457         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25458         definition via __MAP_ANONYMOUS.
25460         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25461         it's not part of Linux headers.
25463         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25464         (MAP_HUGE_MASK): Define.
25466         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25467         Define.
25468         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25469         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25470         Define.
25471         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25472         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25473         Define.
25474         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25475         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25476         Define.
25477         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25479         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25480         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25481         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25482         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25483         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25484         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25486         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25487         Handle f2fs.
25489         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25490         Handle f2fs and efivarfs.
25492         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25493         f2fs.
25495         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25496         (EFIVARFS_MAGIC): Add.
25497         (F2FS_LINK_MAX): Add.
25499 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25501         * stdio-common/vfprintf.c: Replace __builtin_expect with
25502         __glibc_unlikely.
25504 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25506         [BZ #13550]
25507         * sysdeps/generic/bp-sym.h: Remove file.
25508         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25509         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25510         <bp-sym.h> and <bp-asm.h>.
25511         (__longjmp): Don't use BP_SYM.
25512         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25513         and <bp-asm.h>.
25514         (memcpy): Don't use BP_SYM.
25515         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25516         <bp-sym.h> and <bp-asm.h>.
25517         (memcpy): Don't use BP_SYM.
25518         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25519         <bp-asm.h>.
25520         (memcpy): Don't use BP_SYM.
25521         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25522         <bp-asm.h>.
25523         (memset): Don't use BP_SYM.
25524         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25525         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25526         (__bzero): Don't use BP_SYM.
25527         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25528         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25530         <bp-sym.h> and <bp-asm.h>.
25531         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25532         pointers.
25533         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25534         <bp-sym.h> and <bp-asm.h>.
25535         (memcpy): Don't use BP_SYM.
25536         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25537         <bp-sym.h> and <bp-asm.h>.
25538         (memset): Don't use BP_SYM.
25539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25541         (__bzero): Don't use BP_SYM.
25542         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25543         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25544         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25545         <bp-sym.h> and <bp-asm.h>.
25546         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25547         pointers.
25548         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25549         <bp-sym.h> and <bp-asm.h>.
25550         (memcpy): Don't use BP_SYM.
25551         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25552         <bp-sym.h> and <bp-asm.h>.
25553         (memset): Don't use BP_SYM.
25554         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25555         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25556         (__bzero): Don't use BP_SYM.
25557         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25558         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25559         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25560         <bp-sym.h> and <bp-asm.h>.
25561         (__memchr): Don't use BP_SYM.
25562         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25563         <bp-sym.h> and <bp-asm.h>.
25564         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25565         pointers.
25566         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25567         <bp-sym.h> and <bp-asm.h>.
25568         (memcpy): Don't use BP_SYM.
25569         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25570         <bp-sym.h> and <bp-asm.h>.
25571         (__mempcpy): Don't use BP_SYM.
25572         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25573         <bp-sym.h> and <bp-asm.h>.
25574         (__memrchr): Don't use BP_SYM.
25575         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25576         <bp-sym.h> and <bp-asm.h>.
25577         (memset): Don't use BP_SYM.
25578         (__bzero): Likewise.
25579         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25580         <bp-sym.h> and <bp-asm.h>.
25581         (__rawmemchr): Don't use BP_SYM.
25582         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25583         <bp-sym.h> and <bp-asm.h>.
25584         (__STRCMP): Don't use BP_SYM.
25585         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25586         <bp-sym.h> and <bp-asm.h>.
25587         (strchr): Don't use BP_SYM.
25588         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25589         <bp-sym.h> and <bp-asm.h>.
25590         (__strchrnul): Don't use BP_SYM.
25591         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25592         <bp-sym.h> and <bp-asm.h>.
25593         (strlen): Don't use BP_SYM.
25594         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25595         <bp-sym.h> and <bp-asm.h>.
25596         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25597         pointers.
25598         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25599         <bp-sym.h> and <bp-asm.h>.
25600         (__strnlen): Don't use BP_SYM.
25601         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25602         <bp-sym.h> and <bp-asm.h>.
25603         (__GI__setjmp): Don't use BP_SYM.
25604         (_setjmp): Likewise.
25605         (__sigsetjmp): Likewise.
25606         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25607         (L(start_addresses)): Don't use BP_SYM.
25608         (_start): Likewise.
25609         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25610         <bp-asm.h>.
25611         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25612         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25613         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25614         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25615         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25616         <bp-asm.h>.
25617         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25618         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25619         about bounded pointers.
25620         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25621         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25622         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25623         <bp-asm.h>.
25624         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25625         about bounded pointers.  Remove GKM FIXME comments.
25626         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25627         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25628         <bp-asm.h>.
25629         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25630         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25631         Remove GKM FIXME comments.
25632         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25633         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25634         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25635         <bp-asm.h>.
25636         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25637         about bounded pointers.  Remove GKM FIXME comment.
25638         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25639         and <bp-asm.h>.
25640         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25641         pointers.
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25643         <bp-sym.h> and <bp-asm.h>.
25644         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25646         <bp-sym.h> and <bp-asm.h>.
25647         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25648         comment.
25650 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25652         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25653         call free(NULL).
25655 2013-03-05  David S. Miller  <davem@davemloft.net>
25657         * po/es.po: Update from translation team.
25659 2013-03-05  Andreas Jaeger  <aj@suse.de>
25661         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25662         <bits/mman-linux.h>.
25663         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25664         is fine.
25665         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25666         <bits/mman-linux.h> to end of file.
25667         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25668         is fine.
25669         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25670         <bits/mman-linux.h> to end of file.
25671         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25672         is fine.
25673         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25674         <bits/mman-linux.h> to end of file.
25676         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25677         (MCL_CURRENT, MCL_FUTURE): Define here.
25679 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25681         [BZ #15232]
25682         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25683         attribute_hidden.
25684         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25686 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25688         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25689         fourth parameter needed for rt_sigprocmask syscall.
25690         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25691         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25693         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25694         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25695         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25697 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25699         [BZ #13550]
25700         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25701         comment about bounded pointers.
25702         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25703         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25705 2013-03-04  Andreas Jaeger  <aj@suse.de>
25707         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25708         common definitions.
25710         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25711         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25712         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25713         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25714         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25715         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25717 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25719         [BZ #15055]
25720         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25721         __ieee754_sqrl instead of __sqrl.
25723 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25725         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25726         * sysdeps/powerpc/fpu_control.h: ... here.
25727         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25728         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25729         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25730         * sysdeps/powerpc/bits/mathinline.h: ... here.
25732 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25734         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25735         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25736         to just [NEED_DL_SYSINFO_DSO].
25737         * elf/dl-support.c: Likewise.
25738         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25739         * elf/rtld.c (dl_main): Likewise.
25740         * elf/setup-vdso.h (setup_vdso): Likewise.
25741         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25742         * sysdeps/unix/sysv/linux/dl-sysdep.c
25743         (_dl_discover_osversion): Likewise.
25745 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25747         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25748         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25750 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25752         * NEWS: Mention libm performance improvements and non-x86 PI
25753         futex support.
25755         * csu/libc-start.c (__pthread_initialize_minimal): Change
25756         function arguments.
25757         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25759 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25761         [BZ #13550]
25762         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25763         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25764         <bp-sym.h> and <bp-asm.h>.
25765         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25766         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25767         and <bp-asm.h>.
25768         (memcpy): Don't use BP_SYM.
25769         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25770         <bp-asm.h>.
25771         (__mpn_add_n): Don't use BP_SYM.
25772         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25773         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25774         and <bp-asm.h>.
25775         (__mpn_addmul_1): Don't use BP_SYM.
25776         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25777         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25778         <bp-sym.h>.
25779         (_setjmp): Don't use BP_SYM.
25780         (__novmx_setjmp): Likewise.
25781         (__GI__setjmp): Likewise.
25782         (__vmx_setjmp): Likewise.
25783         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25784         <bp-sym.h>.
25785         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25786         (__bzero): Don't use BP_SYM.
25787         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25788         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25789         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25790         <bp-sym.h> and <bp-asm.h>.
25791         (memcpy): Don't use BP_SYM.
25792         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25793         <bp-sym.h> and <bp-asm.h>.
25794         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25795         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25796         <bp-sym.h> and <bp-asm.h>.
25797         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25798         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25799         <bp-asm.h>.
25800         (__mpn_lshift): Don't use BP_SYM.
25801         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25802         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25803         <bp-asm.h>.
25804         (memset): Don't use BP_SYM.
25805         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25806         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25807         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25808         <bp-asm.h>.
25809         (__mpn_mul_1): Don't use BP_SYM.
25810         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25811         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25812         <bp-sym.h> and <bp-asm.h>.
25813         (memcmp): Don't use BP_SYM.
25814         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25815         <bp-sym.h> and <bp-asm.h>.
25816         (memcpy): Don't use BP_SYM.
25817         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25818         <bp-sym.h> and <bp-asm.h>.
25819         (memset): Don't use BP_SYM.
25820         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25821         <bp-sym.h> and <bp-asm.h>.
25822         (strncmp): Don't use BP_SYM.
25823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25824         <bp-sym.h> and <bp-asm.h>.
25825         (memcpy): Don't use BP_SYM.
25826         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25827         <bp-sym.h> and <bp-asm.h>.
25828         (memset): Don't use BP_SYM.
25829         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25830         <bp-sym.h> and <bp-asm.h>.
25831         (__memchr): Don't use BP_SYM.
25832         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25833         <bp-sym.h> and <bp-asm.h>.
25834         (memcmp): Don't use BP_SYM.
25835         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25836         <bp-sym.h> and <bp-asm.h>.
25837         (memcpy): Don't use BP_SYM.
25838         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25839         <bp-sym.h> and <bp-asm.h>.
25840         (__mempcpy): Don't use BP_SYM.
25841         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25842         <bp-sym.h> and <bp-asm.h>.
25843         (__memrchr): Don't use BP_SYM.
25844         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25845         <bp-sym.h> and <bp-asm.h>.
25846         (memset): Don't use BP_SYM.
25847         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25848         <bp-sym.h> and <bp-asm.h>.
25849         (__rawmemchr): Don't use BP_SYM.
25850         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25851         <bp-sym.h> and <bp-asm.h>.
25852         (__STRCMP): Don't use BP_SYM.
25853         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25854         <bp-sym.h> and <bp-asm.h>.
25855         (strchr): Don't use BP_SYM.
25856         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25857         <bp-sym.h> and <bp-asm.h>.
25858         (__strchrnul): Don't use BP_SYM.
25859         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25860         <bp-sym.h> and <bp-asm.h>.
25861         (strlen): Don't use BP_SYM.
25862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25863         <bp-sym.h> and <bp-asm.h>.
25864         (strncmp): Don't use BP_SYM.
25865         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25866         <bp-sym.h> and <bp-asm.h>.
25867         (__strnlen): Don't use BP_SYM.
25868         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25869         <bp-asm.h>.
25870         (__mpn_rshift): Don't use BP_SYM.
25871         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25872         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25873         <bp-sym.h> and <bp-asm.h>.
25874         (__sigsetjmp): Don't use BP_SYM.
25875         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25876         (L(start_addresses)): Don't use BP_SYM.
25877         (_start): Likewise.
25878         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25879         <bp-asm.h>.
25880         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25881         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25882         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25883         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25884         <bp-asm.h>.
25885         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25886         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25887         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25888         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25889         <bp-asm.h>.
25890         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25891         comments.
25892         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25893         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25894         <bp-asm.h>.
25895         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25896         FIXME comments.
25897         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25898         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25899         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25900         <bp-asm.h>.
25901         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25902         comment.
25903         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25904         and <bp-asm.h>.
25905         (strncmp): Don't use BP_SYM,
25906         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25907         <bp-asm.h>.
25908         (__mpn_sub_n): Don't use BP_SYM.
25909         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25910         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25911         and <bp-asm.h>.
25912         (__mpn_submul_1): Don't use BP_SYM.
25913         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25915         <bp-sym.h> and <bp-asm.h>.
25916         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25918         <bp-sym.h> and <bp-asm.h>.
25919         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25920         comment.
25922 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25925         Use ZK to minimize writes to Z.
25926         (sub_magnitudes): Simplify code a bit.
25927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25928         Use ZK to minimize writes to Z.
25929         (sub_magnitudes): Simplify code a bit.
25931 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25933         * csu/gmon-start.c: Add special exception to license text.
25935 2013-02-27  Richard Henderson  <rth@redhat.com>
25937         * scripts/config.guess: Update from config.git.
25938         * scripts/config.sub: Likewise.
25940 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25942         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25944         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25946         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25948         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25950         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25952 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25954         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25955         [$(build-shared = yes].
25957 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25959         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25960         (__mul): Reduce iterations for calculating mantissa.
25962         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25963         MPTWO.
25964         (__mpranred): Likewise.
25966         [BZ #15160]
25967         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25968         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25970 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25972         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25973         Define __attribute__.
25975 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25977         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25978         unused.
25979         * posix/regex_internal.h (__attribute): Remove.
25980         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25981         (re_string_context_at): Likewise.
25982         (bitset_not): Use __attribute__ and mark function as possibly
25983         unused.
25984         (bitset_merge): Likewise.
25985         (bitset_mask): Likewise.
25986         (re_string_char_size_at): Likewise.
25987         (re_string_wchar_at): Likewise.
25988         (re_string_elem_size_at): Likewise.
25990 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25992         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25993         code.
25994         (cc32): Likewise.
25996         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25997         (__acr): Likewise.
25998         (__cpy): Likewise.
25999         (norm): Likewise.
26000         (denorm): Likewise.
26001         (__dbl_mp): Likewise.
26002         (add_magnitudes): Likewise.
26003         (sub_magnitudes): Likewise.
26004         (__mul): Likewise.
26005         (__inv): Likewise.
26007         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26008         style.
26010         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26011         style.
26013         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26014         code.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26017         up changes with default code.
26018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26019         Likewise.
26021 2013-02-24  Allan McRae  <allan@archlinux.org>
26023         * manual/socket.texi (The Internet Namespace): Order menu items
26024         to match that in the file.
26026         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26027         node listing of the info page menu.
26029 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26031         [BZ #13550]
26032         * sysdeps/i386/bp-asm.h: Remove file.
26033         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26034         (PARMS): Do not use macros from bp-asm.h.
26035         (S1): Likewise.
26036         (S2): Likewise.
26037         (SIZE): Likewise.
26038         (__mpn_add_n): Do not use BP_SYM
26039         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26040         "bp-asm.h".
26041         (PARMS): Do not use macros from bp-asm.h.
26042         (S1): Likewise.
26043         (SIZE): Likewise.
26044         (__mpn_addmul_1): Do not use BP_SYM
26045         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26046         "bp-asm.h".
26047         (PARMS): Do not use macros from bp-asm.h.
26048         (SIGMSK): Likewise.
26049         (_setjmp): Likewise.  Do not use BP_SYM.
26050         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26051         "bp-asm.h".
26052         (PARMS): Do not use macros from bp-asm.h.
26053         (SIGMSK): Likewise.
26054         (setjmp): Likewise.  Do not use BP_SYM.
26055         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26056         "bp-asm.h".
26057         (PARMS): Do not use macros from bp-asm.h.
26058         (__frexp): Do not use BP_SYM.
26059         (frexp): Likewise.
26060         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26061         "bp-asm.h".
26062         (PARMS): Do not use macros from bp-asm.h.
26063         (__frexpf): Do not use BP_SYM.
26064         (frexpf): Likewise.
26065         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26066         "bp-asm.h".
26067         (PARMS): Do not use macros from bp-asm.h.
26068         (__frexpl): Do not use BP_SYM.
26069         (frexpl): Likewise.
26070         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26071         "bp-asm.h".
26072         (PARMS): Do not use macros from bp-asm.h.
26073         (__remquo): Do not use BP_SYM.
26074         (remquo): Likewise.
26075         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26076         "bp-asm.h".
26077         (PARMS): Do not use macros from bp-asm.h.
26078         (__remquof): Do not use BP_SYM.
26079         (remquof): Likewise.
26080         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26081         "bp-asm.h".
26082         (PARMS): Do not use macros from bp-asm.h.
26083         (__remquol): Do not use BP_SYM.
26084         (remquol): Likewise.
26085         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26086         "bp-asm.h".
26087         (PARMS): Do not use macros from bp-asm.h.
26088         (DEST): Likewise.
26089         (SRC): Likewise.
26090         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26091         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26092         "bp-asm.h".
26093         (PARMS): Do not use macros from bp-asm.h.
26094         (strlen): Do not use BP_SYM.
26095         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26096         "bp-asm.h".
26097         (PARMS): Do not use macros from bp-asm.h.
26098         (S1): Likewise.
26099         (S2): Likewise.
26100         (SIZE): Likewise.
26101         (__mpn_add_n): Do not use BP_SYM.
26102         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26103         "bp-asm.h".
26104         (PARMS): Do not use macros from bp-asm.h.
26105         (S1): Likewise.
26106         (SIZE): Likewise.
26107         (__mpn_addmul_1): Do not use BP_SYM.
26108         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26109         weak_alias.
26110         (bzero): Likewise.
26111         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26112         "bp-asm.h".
26113         (PARMS): Do not use macros from bp-asm.h.
26114         (S): Likewise.
26115         (SIZE): Likewise.
26116         (__mpn_lshift): Do not use BP_SYM.
26117         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26118         "bp-asm.h".
26119         (PARMS): Do not use macros from bp-asm.h.
26120         (DEST): Likewise.
26121         (SRC): Likewise.
26122         (LEN): Likewise.
26123         (memcpy): Likewise.  Do not use BP_SYM.
26124         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26125         libc_hidden_def and weak_alias.
26126         (mempcpy): Do not use BP_SYM in weak_alias.
26127         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26128         "bp-asm.h".
26129         (PARMS): Do not use macros from bp-asm.h.
26130         (DEST): Likewise.
26131         (LEN): Likewise.
26132         [!BZERO_P] (CHR): Likewise.
26133         (memset): Likewise.  Do not use BP_SYM.
26134         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26135         "bp-asm.h".
26136         (PARMS): Do not use macros from bp-asm.h.
26137         (S1): Likewise.
26138         (SIZE): Likewise.
26139         (__mpn_mul_1): Do not use BP_SYM.
26140         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26141         "bp-asm.h".
26142         (PARMS): Do not use macros from bp-asm.h.
26143         (S): Likewise.
26144         (SIZE): Likewise.
26145         (__mpn_rshift): Do not use BP_SYM.
26146         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26147         "bp-asm.h".
26148         (PARMS): Do not use macros from bp-asm.h.
26149         (STR): Likewise.
26150         (CHR): Likewise.
26151         (strchr): Likewise.  Do not use BP_SYM.
26152         (index): Do not use BP_SYM in weak_alias.
26153         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26154         "bp-asm.h".
26155         (PARMS): Do not use macros from bp-asm.h.
26156         (DEST): Likewise.
26157         (SRC): Likewise.
26158         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26159         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26160         "bp-asm.h".
26161         (PARMS): Do not use macros from bp-asm.h.
26162         (strlen): Do not use BP_SYM.
26163         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26164         "bp-asm.h".
26165         (PARMS): Do not use macros from bp-asm.h.
26166         (S1): Likewise.
26167         (S2): Likewise.
26168         (SIZE): Likewise.
26169         (__mpn_sub_n): Do not use BP_SYM.
26170         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26171         "bp-asm.h".
26172         (PARMS): Do not use macros from bp-asm.h.
26173         (S1): Likewise.
26174         (SIZE): Likewise.
26175         (__mpn_submul_1): Do not use BP_SYM.
26176         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26177         "bp-asm.h".
26178         (PARMS): Do not use macros from bp-asm.h.
26179         (S1): Likewise.
26180         (S2): Likewise.
26181         (SIZE): Likewise.
26182         (__mpn_add_n): Do not use BP_SYM.
26183         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26184         weak_alias.
26185         (bzero): Likewise.
26186         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26187         "bp-asm.h".
26188         (PARMS): Do not use macros from bp-asm.h.
26189         (BLK2): Likewise.
26190         (LEN): Likewise.
26191         (memcmp): Do not use BP_SYM.
26192         (bcmp): Do not use BP_SYM in weak_alias.
26193         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26194         "bp-asm.h".
26195         (PARMS): Do not use macros from bp-asm.h.
26196         (DEST): Likewise.
26197         (SRC): Likewise.
26198         (LEN): Likewise.
26199         (memcpy): Likewise.  Do not use BP_SYM.
26200         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26201         "bp-asm.h".
26202         (PARMS): Do not use macros from bp-asm.h.
26203         (DEST): Likewise.
26204         (SRC): Likewise.
26205         (LEN): Likewise.
26206         (memmove): Likewise.  Do not use BP_SYM.
26207         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26208         "bp-asm.h".
26209         (PARMS): Do not use macros from bp-asm.h.
26210         (DEST): Likewise.
26211         (SRC): Likewise.
26212         (LEN): Likewise.
26213         (__mempcpy): Likewise.  Do not use BP_SYM.
26214         (mempcpy): Do not use BP_SYM in weak_alias.
26215         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26216         "bp-asm.h".
26217         (PARMS): Do not use macros from bp-asm.h.
26218         (DEST): Likewise.
26219         (LEN): Likewise.
26220         [!BZERO_P] (CHR): Likewise.
26221         (memset): Likewise.  Do not use BP_SYM.
26222         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26223         "bp-asm.h".
26224         (PARMS): Do not use macros from bp-asm.h.
26225         (STR2): Likewise.
26226         (strcmp): Do not use BP_SYM.
26227         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26228         "bp-asm.h".
26229         (PARMS): Do not use macros from bp-asm.h.
26230         (STR): Likewise.
26231         (DELIM): Likewise.
26232         [USE_AS_STRTOK_R] (SAVE): Likewise.
26233         (FUNCTION): Likewise.  Do not use BP_SYM.
26234         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26235         aliases.
26236         (strtok_r): Likewise.
26237         (__GI___strtok_r): Likewise.
26238         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26239         (PARMS): Do not use macros from bp-asm.h.
26240         (S): Likewise.
26241         (SIZE): Likewise.
26242         (__mpn_lshift): Do not use BP_SYM.
26243         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26244         (PARMS): Do not use macros from bp-asm.h.
26245         (STR): Likewise.
26246         (CHR): Likewise.
26247         (__memchr): Do not use BP_SYM.
26248         (memchr): Do not use BP_SYM in weak_alias.
26249         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26250         (PARMS): Do not use macros from bp-asm.h.
26251         (BLK2): Likewise.
26252         (LEN): Likewise.
26253         (memcmp): Do not use BP_SYM.
26254         (bcmp): Do not use BP_SYM in weak_alias.
26255         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26256         (PARMS): Do not use macros from bp-asm.h.
26257         (S1): Likewise.
26258         (SIZE): Likewise.
26259         (__mpn_mul_1): Do not use BP_SYM.
26260         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26261         "bp-asm.h".
26262         (PARMS): Do not use macros from bp-asm.h.
26263         (STR): Likewise.
26264         (CHR): Likewise.
26265         (__rawmemchr): Do not use BP_SYM.
26266         (rawmemchr): Do not use BP_SYM in weak_alias.
26267         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26268         (PARMS): Do not use macros from bp-asm.h.
26269         (S): Likewise.
26270         (SIZE): Likewise.
26271         (__mpn_rshift): Do not use BP_SYM.
26272         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26273         (PARMS): Do not use macros from bp-asm.h.
26274         (SIGMSK): Likewise.
26275         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26276         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26277         (_start): Do not use BP_SYM.
26278         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26279         (PARMS): Do not use macros from bp-asm.h.
26280         (DEST): Likewise.
26281         (SRC): Likewise.
26282         (__stpcpy): Likewise.  Do not use BP_SYM.
26283         (stpcpy): Do not use BP_SYM in weak_alias.
26284         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26285         "bp-asm.h".
26286         (PARMS): Do not use macros from bp-asm.h.
26287         (DEST): Likewise.
26288         (SRC): Likewise.
26289         (LEN): Likewise.
26290         (__stpncpy): Likewise.  Do not use BP_SYM.
26291         (stpncpy): Do not use BP_SYM in weak_alias.
26292         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26293         (PARMS): Do not use macros from bp-asm.h.
26294         (STR): Likewise.
26295         (CHR): Likewise.
26296         (strchr): Likewise.  Do not use BP_SYM.
26297         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26298         "bp-asm.h".
26299         (PARMS): Do not use macros from bp-asm.h.
26300         (STR): Likewise.
26301         (CHR): Likewise.
26302         (__strchrnul): Likewise.  Do not use BP_SYM.
26303         (strchrnul): Do not use BP_SYM in weak_alias.
26304         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26305         "bp-asm.h".
26306         (PARMS): Do not use macros from bp-asm.h.
26307         (STOP): Likewise.
26308         (strcspn): Do not use BP_SYM.
26309         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26310         "bp-asm.h".
26311         (PARMS): Do not use macros from bp-asm.h.
26312         (STR): Likewise.
26313         (STOP): Likewise.
26314         (strpbrk): Likewise.  Do not use BP_SYM.
26315         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26316         "bp-asm.h".
26317         (PARMS): Do not use macros from bp-asm.h.
26318         (STR): Likewise.
26319         (CHR): Likewise.
26320         (strrchr): Likewise.  Do not use BP_SYM.
26321         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26322         (PARMS): Do not use macros from bp-asm.h.
26323         (SKIP): Likewise.
26324         (strspn): Do not use BP_SYM.
26325         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26326         (PARMS): Do not use macros from bp-asm.h.
26327         (STR): Likewise.
26328         (DELIM): Likewise.
26329         (SAVE): Likewise.
26330         (FUNCTION): Likewise.  Do not use BP_SYM.
26331         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26332         aliases.
26333         (strtok_r): Likewise.
26334         (__GI___strtok_r): Likewise.
26335         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26336         (PARMS): Do not use macros from bp-asm.h.
26337         (S1): Likewise.
26338         (S2): Likewise.
26339         (SIZE): Likewise.
26340         (__mpn_sub_n): Do not use BP_SYM.
26341         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26342         "bp-asm.h".
26343         (PARMS): Do not use macros from bp-asm.h.
26344         (S1): Likewise.
26345         (SIZE): Likewise.
26346         (__mpn_submul_1): Do not use BP_SYM.
26347         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26348         <bp-sym.h>.
26349         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26350         and <bp-asm.h>.
26351         (PARMS): Do not use macros from bp-asm.h.
26352         (FLAGS): Likewise.
26353         (PTID): Likewise.
26354         (TLS): Likewise.
26355         (CTID): Likewise.
26356         (__clone): Do not use BP_SYM.
26357         (clone): Do not use BP_SYM in weak_alias.
26358         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26359         and <bp-asm.h>.
26360         (PARMS): Do not use macros from bp-asm.h.
26361         (LEN): Likewise.
26362         (__mmap64): Do not use BP_SYM.
26363         (mmap64): Do not use BP_SYM in weak_alias.
26364         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26365         <bp-sym.h> and <bp-asm.h>.
26366         (PARMS): Do not use macros from bp-asm.h.
26367         (__posix_fadvise64_l64): Do not use BP_SYM.
26368         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26369         (PARMS): Do not use macros from bp-asm.h.
26370         (NSOPS): Likewise.
26371         (semtimedop): Do not use BP_SYM.
26372         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26373         and <bp-asm.h>.
26375 2013-02-21  Allan McRae  <allan@archlinux.org>
26377         * manual/message.texi (Charset conversion in gettext):
26378         Move @end statement to beginning of line.
26380 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26383         static.
26384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26385         Likewise.
26387         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26388         (denorm): Likewise.
26389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26392 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26394         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26395         tail-call to the resolved function if pltexit isn't needed.
26397 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26400         or Y being zero as being unlikely.
26401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26402         Likewise.
26404 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26406         * manual/nss.texi (System Databases and Name Service Switch):
26407         Remove frobnicate @pxref.
26409 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26411         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26412         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26414 2013-02-20  Petr Machata  <pmachata@redhat.com>
26416         * elf/elf.h (R_ARM_TARGET1): New macro.
26417         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26418         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26419         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26420         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26421         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26422         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26423         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26424         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26425         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26426         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26427         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26428         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26429         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26430         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26431         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26432         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26433         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26434         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26435         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26436         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26437         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26438         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26439         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26440         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26441         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26442         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26443         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26444         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26445         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26446         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26447         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26448         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26449         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26450         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26451         (R_ARM_THM_GOT_BREL12): Likewise.
26452         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26453         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26454         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26455         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26456         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26457         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26458         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26459         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26460         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26462 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26464         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26465         __attribute_used__ to __attribute__ ((unused)).
26467 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26469         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26470         powerpc mpa.c.
26471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26472         comment formatting.
26473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26475 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26477         [BZ #13550]
26478         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26479         Remove macro.
26480         (ENTER): Remove both macro definitions.
26481         (LEAVE): Likewise.
26482         (CHECK_BOUNDS_LOW): Likewise.
26483         (CHECK_BOUNDS_HIGH): Likewise.
26484         (CHECK_BOUNDS_BOTH): Likewise.
26485         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26486         (RETURN_BOUNDED_POINTER): Likewise.
26487         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26488         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26489         (POP_ERRNO_LOCATION_RETURN): Likewise.
26490         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26491         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26492         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26493         macros.
26494         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26495         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26496         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26497         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26498         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26499         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26500         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26501         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26502         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26503         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26504         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26505         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26506         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26507         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26508         removed macros.
26509         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26510         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26511         macros.
26512         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26513         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26514         * sysdeps/i386/i586/memset.S (memset): Likewise.
26515         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26516         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26517         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26518         macros.
26519         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26520         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26521         Change uses of L(2) to L(out).
26522         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26523         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26524         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26525         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26526         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26527         removed macros.
26528         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26529         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26530         macros.
26531         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26532         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26533         (RETURN): Do not use macro LEAVE.
26534         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26535         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26536         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26537         * sysdeps/i386/i686/memset.S (memset): Likewise.
26538         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26539         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26540         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26541         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26542         Likewise.
26543         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26544         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26545         L(1_2) and L(1_3) into L(1).
26546         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26547         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26548         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26549         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26550         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26551         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26552         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26553         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26554         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26555         macros.
26556         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26557         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26558         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26559         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26560         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26561         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26562         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26563         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26564         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26565         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26566         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26567         * sysdeps/i386/strspn.S (strspn): Likewise.
26568         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26569         conditional code.
26570         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26571         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26572         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26573         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26574         L(1_3) into L(1_1).
26575         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26576         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26577         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26578         macros.
26579         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26581 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26583         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26584         macro.
26586 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26588         * math/atest-exp.c (exp_mpn): Remove ROUND.
26589         * math/atest-exp2.c (exp_mpn): Likewise.
26590         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26592         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26593         * stdlib/tst-tls-atexit-lib.c: Likewise.
26594         * stdlib/tst-tls-atexit.c: Likewise.
26596 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26598         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26599         and __attribute_alloc_size__.
26601 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26603         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26604         __attribute_alloc_size__.
26605         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26606         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26608 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26610         * include/programs/xmalloc.h: New file.
26611         * catgets/gencat.c: Include it.
26612         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26613         * elf/pldd.c: Likewise.
26614         * iconv/iconv_charmap.c: Likewise.
26615         * iconv/iconvconfig.c: Likewise.
26616         * iconv/strtab.c: Likewise.
26617         * locale/programs/locale.c: Likewise.
26618         * locale/programs/localedef.h: Likewise.
26619         * locale/programs/simple-hash.c: Likewise.
26620         * nscd/nscd.h: Likewise.
26621         * nss/makedb.c: Likewise.
26622         * sysdeps/generic/ldconfig.h: Likewise.
26624 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626         * Versions.def: Add GLIBC_2.18.
26627         * include/link.h (struct link_map): New member l_tls_dtor_count.
26628         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26629         (__call_tls_dtors): Likewise.
26630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26631         __cxa_thread_atexit_impl.
26632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26633         Likewise.
26634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26635         Likewise.
26636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26637         Likewise.
26638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26639         Likewise.
26640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26642         Likewise.
26643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26644         Likewise.
26645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26647         Likewise.
26648         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26649         (tests): Add test case tst-tls-atexit.
26650         (modules-names): Add shared library for tst-tls-atexit.
26651         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26652         (GLIBC_PRIVATE): Add __call_tls_dtors.
26653         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26654         for libstdc++.
26655         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26656         * stdlib/tst-tls-atexit.c: New test case.
26657         * stdlib/tst-tls-atexit-lib.c: New test case.
26659         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26661         * elf/Versions (ld): Add _dl_find_dso_for_object.
26662         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26663         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26664         (dl_open_worker): Use _dl_find_dso_for_object.
26665         * elf/dl-sym.c (do_sym): Likewise.
26666         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26668 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26670         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26671         Syntactic changes only.
26672         (_dl_runtime_profile): Do a tail-call to the resolved function.
26674 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26676         [BZ #13550]
26677         * sysdeps/x86_64/bp-asm.h: Remove file.
26678         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26679         <bp-sym.h> and <bp-asm.h>.
26680         (__clone): Do not use BP_SYM.
26681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26682         <bp-sym.h> and <bp-asm.h>.
26683         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26684         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26685         "bp-asm.h".
26686         (_setjmp): Do not use BP_SYM.
26687         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26688         "bp-asm.h".
26689         (setjmp): Do not use BP_SYM.
26690         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26691         libc_hidden_def.
26692         (mempcpy): Do not use BP_SYM in weak_alias.
26693         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26694         "bp-asm.h".
26695         (strchr): Do not use BP_SYM.
26696         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26697         "bp-asm.h".
26698         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26699         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26700         (_start): Do not use BP_SYM.
26701         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26702         "bp-asm.h".
26703         (strcat): Do not use BP_SYM.
26704         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26705         "bp-asm.h".
26706         (STRCMP): Do not use BP_SYM.
26707         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26708         "bp-asm.h".
26709         (STRCPY): Do not use BP_SYM.
26710         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26711         "bp-asm.h".
26712         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26713         "bp-asm.h".
26714         (FUNCTION): Do not use BP_SYM.
26715         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26716         weak_alias.
26717         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26719 2013-02-17  Andreas Jaeger  <aj@suse.de>
26721         * time/Versions: Sort entries.
26722         * string/Versions: Likewise.
26723         * resolv/Versions: Likewise.
26724         * posix/Versions: Likewise.
26725         * iconv/Versions: Likewise.
26726         * elf/Versions: Likewise.
26727         * wcsmbs/Versions: Likewise.
26729 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26732         loop termination condition.
26734         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26735         variable to calculate EZ.
26736         (__sqr): Likewise.
26738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26739         the lower precision input.
26741 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26743         [BZ #13550]
26744         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26745         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26746         (run-via-rtld-prefix): Do not handle %-bp tests.
26747         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26748         (all-object-suffixes): Remove .ob.
26749         (bppfx): Remove variable.
26750         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26751         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26752         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26753         [$(build-bounded) = yes] (libtype.ob): Likewise.
26754         * Makerules (elide-routines.ob): Remove variable.
26755         (do-tests-clean): Do not handle *-bp.out.
26756         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26757         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26758         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26759         (tests): Do not include $(tests-bp.out).
26760         (xtests): Do not include $(xtests-bp.out).
26761         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26762         [$(build-bounded) = yes] ($(addprefix
26763         $(objpfx),$(binaries-bounded))): Remove rule.
26764         ($(objpfx)%-bp.out): Remove rule.
26765         * config.make.in (build-bounded): Remove variable.
26766         * crypt/Makefile [$(build-bounded) = yes]
26767         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26768         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26769         append to variable.
26770         [$(build-bounded) = yes] (install-lib): Likewise.
26771         [$(build-bounded) = yes] (generated): Likewise.
26772         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26773         Remove rule.
26774         * intl/Makefile [$(build-bounded) = yes]
26775         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26776         * math/Makefile [$(build-bounded) = yes]
26777         ($(tests:%=$(objpfx)%-bp): Likewise.
26778         * misc/Makefile [$(build-bounded) = yes]
26779         ($(objpfx)tst-tsearch-bp): Likewise.
26780         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26781         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26782         Remove dependency.
26783         * string/Makefile (o-objects.ob): Remove variable.
26784         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26785         (CFLAGS-.ob): Remove variable.
26786         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26787         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26788         both definitions of variable.
26789         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26790         (ASFLAGS-.ob): Remove variable.
26792 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26794         [BZ #13550]
26795         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26796         Remove __BOUNDED_POINTERS__ from condition.
26797         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26798         * string/bits/string2.h [!__NO_STRING_INLINES &&
26799         !__BOUNDED_POINTERS__]: Likewise.
26800         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26801         Likewise.
26802         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26803         Remove conditional code.
26804         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26805         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26806         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26807         condition.
26809         [BZ #13550]
26810         * csu/libc-start.c: Do not include <bp-sym.h>.
26811         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26812         * elf/dl-open.c: Do not include <bp-sym.h>.
26813         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26814         * math/fegetenv.c: Do not include <bp-sym.h>.
26815         (fegetenv): Do not use BP_SYM in versioned symbols.
26816         * nptl/sysdeps/pthread/bits/libc-lockP.h
26817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26818         <bp-sym.h>.
26819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26820         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26822         (__pthread_mutex_destroy): Likewise.
26823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26824         (__pthread_mutex_lock): Likewise.
26825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26826         (__pthread_mutex_trylock): Likewise.
26827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26828         (__pthread_mutex_unlock): Likewise.
26829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26830         (__pthread_mutexattr_init): Likewise.
26831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26832         (__pthread_mutexattr_destroy): Likewise.
26833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26834         (__pthread_mutexattr_settype): Likewise.
26835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26836         (__pthread_rwlock_init): Likewise.
26837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26838         (__pthread_rwlock_destroy): Likewise.
26839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26840         (__pthread_rwlock_rdlock): Likewise.
26841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26842         (__pthread_rwlock_tryrdlock): Likewise.
26843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26844         (__pthread_rwlock_wrlock): Likewise.
26845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26846         (__pthread_rwlock_trywrlock): Likewise.
26847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26848         (__pthread_rwlock_unlock): Likewise.
26849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26850         (__pthread_key_create): Likewise.
26851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26852         (__pthread_setspecific): Likewise.
26853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26854         (__pthread_getspecific): Likewise.
26855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26856         Likewise.
26857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26858         (_pthread_cleanup_push_defer): Likewise.
26859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26860         (_pthread_cleanup_pop_restore): Likewise.
26861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26862         (pthread_setcancelstate): Likewise.
26863         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26864         <bp-sym.h>.
26865         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26866         (memchr): Do not use BP_SYM in weak_alias.
26867         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26868         (fegetenv): Do not use BP_SYM in versioned symbols.
26869         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26870         (fesetenv): Do not use BP_SYM in versioned symbols.
26871         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26872         (feupdateenv): Do not use BP_SYM in versioned symbols.
26873         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26874         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26875         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26876         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26877         (open64): Do not use BP_SYM in weak_alias.
26878         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26879         (fegetenv): Do not use BP_SYM in versioned symbols.
26880         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26881         (fesetenv): Do not use BP_SYM in versioned symbols.
26882         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26883         (feupdateenv): Do not use BP_SYM in versioned symbols.
26884         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26885         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26886         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26887         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26888         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26889         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26890         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26891         <bp-sym.h>.
26892         (__libc_start_main): Do not use BP_SYM.
26894 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26897         redundant return line.
26898         (norm): Likewise.
26899         (denorm): Likewise.
26900         (dbl_mp): Likewise.
26901         (sub_magnitudes): Likewise.
26902         (__add): Likewise.
26903         (__sub): Likewise.
26904         (__mul): Likewise.
26905         (__inv): Likewise.
26906         (__dvd): Likewise.
26907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26908         (norm): Likewise.
26909         (denorm): Likewise.
26910         (dbl_mp): Likewise.
26911         (sub_magnitudes): Likewise.
26912         (__add): Likewise.
26913         (__sub): Likewise.
26914         (__mul): Likewise.
26915         (__inv): Likewise.
26916         (__dvd): Likewise.
26918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26919         instead of __mul.
26920         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26921         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26922         (cc32): Likewise.
26924         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26925         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26927         of __mul for squares.
26928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26929         function
26930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26931         Likewise.
26932         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26933         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26935 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26937         [BZ #13550]
26938         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26939         code.
26940         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26941         prototype or function definition.  Rename ubp_* variables and
26942         parameters.  Remove argv definitions conditional on
26943         [__BOUNDED_POINTERS__].
26944         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26945         * elf/dl-runtime.c (_dl_fixup): Likewise.
26946         * include/set-hooks.h (RUN_HOOK): Likewise.
26947         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26948         definition.
26949         * string/strcpy.c (strcpy): Do not use __unbounded.
26950         * sysdeps/generic/frame.h (struct layout): Likewise.
26951         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26952         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26953         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26954         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26955         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26956         (__backtrace): Likewise.
26957         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26958         use __ptrvalue.
26959         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26960         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26961         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26962         Likewise.
26963         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26964         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26965         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26966         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26967         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26968         Do not use __unbounded.
26969         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26970         Rename __unboundedrlimits parameter to rlimits in prototype.
26971         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26972         Do not use __unbounded.
26973         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26974         not use __ptrvalue.
26975         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26976         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26977         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26978         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26979         __ptrvalue or __unbounded.
26980         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26981         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26982         use __unbounded.
26983         (__new_msgctl): Do not use __ptrvalue.
26984         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26985         __unbounded.
26986         (__libc_msgrcv): Do not use __ptrvalue.
26987         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26988         startup_info): Do not use __unbounded.
26989         (__libc_start_main): Likewise.  Rename ubp_* variables and
26990         parameters.  Remove argv definitions conditional on
26991         [__BOUNDED_POINTERS__].
26992         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26993         __ptrvalue.
26994         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26995         use __unbounded.
26996         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26997         or __ptrvalue.
26998         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26999         use __unbounded.
27000         (__new_shmctl): Do not use __ptrvalue.
27001         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27002         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27003         Likewise.
27004         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27005         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27006         (__libc_sigaction): Likewise.
27007         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27008         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27009         Likewise.
27010         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27012 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27014         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27016         * string/mempcpy.c: Implement by calling memcpy.
27018 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27023         evaluation.
27025         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27026         values in the mantissa.
27028         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27029         minimize writes to Z.
27030         (sub_magnitudes): Simplify code a bit.
27032 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27034         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27035         from the message.  The linker prefixes all warnings with that already.
27037 2013-02-12  Andreas Schwab  <schwab@suse.de>
27039         [BZ #15078]
27040         * posix/regexec.c (extend_buffers): Add parameter min_len.
27041         (check_matching): Pass minimum needed length.
27042         (clean_state_log_if_needed): Likewise.
27043         (get_subexp): Likewise.
27044         * posix/Makefile (tests): Add bug-regex34.
27045         (bug-regex34-ENV): Define.
27046         * posix/bug-regex34.c: New file.
27048         [BZ #11561]
27049         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27050         elements compare against the byte sequence of it, not its name.
27051         * posix/Makefile (tests): Add bug-regex35.
27052         (bug-regex35-ENV): Define.
27053         * posix/bug-regex35.c: New file.
27055 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27057         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27058         comment.
27059         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27060         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27061         (CHECK_EOL): Add undef.
27063 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27065         * bits/stdlib-bsearch.h: New file.
27066         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27067         * stdlib/stdlib.h: Likewise.
27069 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27071         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27072         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27073         declaration.
27074         * manual/search.texi (Array Search Function): Add missing const in
27075         lfind prototype.
27076         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27077         declaration to use rlim_t.
27078         (Basic Scheduling Functions): Remove erroneous const from
27079         sched_getparam prototype.  Remove erroneous * from
27080         sched_get_priority_max and sched_get_priority_min prototypes.
27081         (Resource Usage): Fix summary @comment on vtimes to refer to
27082         sys/vtimes.h rather than vtimes.h.
27083         Add missing *s in vtimes prototype.
27084         (Limits on Resources): Fix ulimit prototype to return long int.
27085         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27086         prototypes to use long int rather than double.
27087         (BSD Random): Fix initstate and setstate to use char *, not void *.
27088         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27089         prototype to make second argument 'struct aiocb64 *const[]'.
27090         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27091         (Status of AIO Operations): Remove erroneous const in aio_return and
27092         aio_return64 prototypes.
27093         (Synchronizing I/O): Fix sync prototype to return void.
27094         * manual/startup.texi (Suboptions): Remove an erroneous const in
27095         getsubopt prototype.
27096         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27097         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27098         use size_t rather than int.
27099         (Scanning All Users): Likewise for getpwent_r.
27100         (Setting Groups): Add missing const to setgroups prototype.
27101         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27102         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27103         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27104         'const void *' rather than 'const char *'.
27105         (Host Address Functions): Likewise for inet_ntop.
27106         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27107         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27108         ssize_t for return value.
27109         (Sending Data): Likewise for send, sendto, sendmsg.
27110         (Socket Option Functions): Add a missing const in setsockopt prototype.
27111         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27112         use wchar_t for the argument.
27113         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27114         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27115         take no arguments.
27116         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27117         double/float/long double for second argument.
27118         Fix return types of significand, significandf, significandl.
27119         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27120         argument in fchmod prototype.
27121         (File Owner): Use uid_t and gid_t in fchown prototype.
27122         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27123         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27124         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27125         use 'const struct dirent **' as argument types to CMP function pointer
27126         argument.
27127         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27128         (File Times): Fix summary magic @comment for struct utimbuf and utime
27129         to refer to utime.h, not time.h.
27130         * manual/string.texi (Argz Functions): Add missing const in
27131         argz_extract and argz_next prototypes.
27132         (Finding Tokens in a String): Likewise for basename.
27133         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27134         (Copying and Concatenation): Fix typo in wmemmove prototype.
27135         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27136         (Signal Stack): Remove erroneous const in sigstack prototype.
27137         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27138         prototype.
27139         (Simple Calendar Time): Likewise for stime.
27140         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27141         prototype.
27142         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27143         say sys/sysctl.h instead.
27144         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27145         and vsyslog prototypes.
27147 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27149         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27150         Remove.
27152 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27154         * misc/sys/mman.h: Fix typo in mremap comment.
27156 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27158         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27159         the '\0' terminator.
27161 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27163         [BZ #13550]
27164         * debug/segfault.c: Don't include <bp-checks.h>.
27165         * sysdeps/generic/bp-checks.h: Remove file.
27166         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27167         (__GETDENTS): Don't use CHECK_N.
27168         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27169         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27170         (__getgroups): Don't use CHECK_N.
27171         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27172         (setgroups): Don't use CHECK_N.
27173         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27174         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27175         (__libc_msgrcv): Don't use CHECK_N.
27176         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27177         (__libc_msgsnd): Don't use CHECK_N.
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27179         <bp-checks.h>.
27180         (__libc_pread): Don't use CHECK_N.
27181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27182         include <bp-checks.h>.
27183         (__libc_pread64): Don't use CHECK_N.
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27185         include <bp-checks.h>.
27186         (__libc_pwrite): Don't use CHECK_N.
27187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27188         include <bp-checks.h>.
27189         (__libc_pwrite64): Don't use CHECK_N.
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27191         <bp-checks.h>.
27192         (__libc_pread): Don't use CHECK_N.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27194         include <bp-checks.h>.
27195         (__libc_pread64): Don't use CHECK_N.
27196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27197         include <bp-checks.h>.
27198         (__libc_pwrite): Don't use CHECK_N.
27199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27200         include <bp-checks.h>.
27201         (__libc_pwrite64): Don't use CHECK_N.
27202         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27203         (do_pread): Don't use CHECK_N.
27204         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27205         (do_pread64): Don't use CHECK_N.
27206         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27207         (do_pwrite): Don't use CHECK_N.
27208         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27209         (do_pwrite64): Don't use CHECK_N.
27210         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27211         (__libc_readv): Don't use CHECK_N.
27212         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27213         (semop): Don't use CHECK_N.
27214         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27215         <bp-checks.h>.
27216         (semtimedop): Don't use CHECK_N.
27217         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27218         (__libc_pread): Don't use CHECK_N.
27219         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27220         <bp-checks.h>.
27221         (__libc_pread64): Don't use CHECK_N.
27222         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27223         <bp-checks.h>.
27224         (__libc_pwrite): Don't use CHECK_N.
27225         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27226         <bp-checks.h>.
27227         (__libc_pwrite64): Don't use CHECK_N.
27228         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27229         <bp-checks.h>.
27230         (__libc_msgrcv): Don't use CHECK_N.
27231         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27232         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27233         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27234         (__libc_writev): Don't use CHECK_N.
27236 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27238         * string/strcpy.c: Removed unused variable.
27240         * Makeconfig (+sysdep-includes): Define with := rather than =.
27241         Use an existing include/ subdir of each sysdeps dir before it.
27243 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27245         * nscd/connection.c (register_traced_file): Comment function.
27246         [HAVE_INOTIFY] (union __inev): Define.
27247         [HAVE_INOTIFY] (inotify_check_files): New function.
27248         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27249         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27250         clear_db_cache.
27251         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27253 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27255         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27256         loaded if not already and that a failure is permanent.
27258 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27260         [BZ #15006]
27261         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27262         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27264 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #13550]
27267         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27268         (CHECK_1_NULL_OK): Likewise.
27269         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27270         (__fxstat): Do not use CHECK_1.
27271         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27272         <bp-checks.h>.
27273         (___fxstat64): Do not use CHECK_1.
27274         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27275         <bp-checks.h>.
27276         (__fxstatat): Do not use CHECK_1.
27277         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27278         <bp-checks.h>.
27279         (__fxstatat64): Do not use CHECK_1.
27280         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27281         <bp-checks.h>.
27282         (__fxstat): Do not use CHECK_1.
27283         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27284         <bp-checks.h>.
27285         (__fxstatat): Do not use CHECK_1.
27286         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27287         <bp-checks.h>.
27288         (__getresgid): Do not use CHECK_1.
27289         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27290         <bp-checks.h>.
27291         (__getresuid): Do not use CHECK_1.
27292         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27293         <bp-checks.h>.
27294         (__lxstat): Do not use CHECK_1.
27295         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27296         <bp-checks.h>.
27297         (__old_msgctl): Do not use CHECK_1.
27298         (__new_msgctl): Likewise.
27299         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27300         <bp-checks.h>.
27301         (__new_setrlimit): Do not use CHECK_1.
27302         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27303         <bp-checks.h>.
27304         (__old_shmctl): Do not use CHECK_1.
27305         (__new_shmctl): Likewise.
27306         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27307         <bp-checks.h>.
27308         (__xstat): Do not use CHECK_1.
27309         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27310         (__lxstat): Do not use CHECK_1.
27311         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27312         <bp-checks.h>.
27313         (___lxstat64): Do not use CHECK_1.
27314         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27315         (__old_msgctl): Do not use CHECK_1.
27316         (__new_msgctl): Likewise.
27317         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27318         <bp-checks.h>.
27319         (__gettimeofday): Do not use CHECK_1.
27320         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27321         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27322         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27323         <bp-checks.h>.
27324         (__gettimeofday): Do not use CHECK_1.
27325         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27326         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27327         (__new_shmctl): Do not use CHECK_1.
27328         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27329         <bp-checks.h>.
27330         (do_sigtimedwait): Do not use CHECK_1.
27331         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27332         <bp-checks.h>.
27333         (do_sigwaitinfo): Do not use CHECK_1.
27334         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27335         <bp-checks.h>.
27336         (msgctl): Do not use CHECK_1.
27337         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27338         <bp-checks.h>.
27339         (shmctl): Do not use CHECK_1.
27340         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27341         (ustat): Do not use CHECK_1.
27342         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27343         <bp-checks.h>.
27344         (__fxstat): Do not use CHECK_1.
27345         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27346         <bp-checks.h>.
27347         (__fxstatat): Do not use CHECK_1.
27348         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27349         <bp-checks.h>.
27350         (__lxstat): Do not use CHECK_1.
27351         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27352         <bp-checks.h>.
27353         (__xstat): Do not use CHECK_1.
27354         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27355         (__xstat): Do not use CHECK_1.
27356         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27357         (___xstat64): Do not use CHECK_1.
27359         [BZ #13550]
27360         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27361         definitions.
27362         (CHECK_BOUNDS_HIGH): Likewise.
27363         * string/strcpy.c: Do not include <bp-checks.h>.
27364         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27366 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27368         * nscd/nscd-client.h (__nscd_drop_map_ref):
27369         Add __attribute__ ((unused)).
27370         * nis/nss-nisplus.h (niserr2nss): Likewise.
27372         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27373         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27375         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27376         Remove inline keyword.
27377         * include/rounding-mode.h (round_away): Likewise.
27378         * libio/wfileops.c (adjust_wide_data): Likewise.
27379         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27380         (__m128i_strloadu_tolower): Likewise.
27381         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27382         (__m128i_strloadu_tolower): Likewise.
27383         * time/mktime.c (ydhms_diff): Likewise.
27384         * locale/elem-hash.h (elem_hash): Likewise.
27385         * locale/setlocale.c (setdata): Likewise.
27386         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27387         (re_string_wchar_at): Likewise.
27388         (bitset_not, bitset_merge, bitset_mask): Likewise.
27389         [!(__GNUC__ > 3)] (inline): Remove macro.
27390         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27391         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27392         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27393         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27394         * string/memcmp.c (memcmp_bytes): Likewise.
27395         * locale/programs/locarchive.c (compute_hashval): Likewise.
27396         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27397         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27398         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27399         * nss/getent.c (print_rpc, print_protocols): Likewise.
27400         (print_passwd, print_group, print_aliases): Likewise.
27401         * nis/nss-nisplus.h (niserr2nss): Likewise.
27402         * nscd/connections.c (restart_p): Likewise.
27403         Change return type to bool.
27405 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27407         * Makeconfig (all-Depend-files): Add existing
27408         $(sorted-subdirs:=/Depend) files.
27409         (all-subdirs): Remove nss.
27410         * sysdeps/unix/inet/Subdirs: Add it here instead.
27411         * hesiod/Depend: New file.
27413         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27414         instead of calling alloca.
27416         * io/lseek.c (__lseek): Rename to __libc_lseek.
27417         Define __lseek as an alias.
27419         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27421 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27423         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27424         else clause and remove check for non-standard endianness.
27426 2013-02-04  David S. Miller  <davem@davemloft.net>
27428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27430 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27432         [BZ #13550]
27433         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27434         (__ubp_memchr): Remove prototype.
27435         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27436         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27437         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27438         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27439         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27440         Remove alias.
27441         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27442         (__ubp_memchr): Likewise.
27443         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27444         (__ubp_memchr): Likewise.
27445         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27446         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27447         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27448         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27449         CHECK_STRING.
27450         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27451         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27452         (__getcwd): Do not use CHECK_STRING.
27453         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27454         <bp-checks.h>.
27455         (__real_chown): Do not use CHECK_STRING.
27456         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27457         <bp-checks.h>.
27458         (fchownat): Do not use CHECK_STRING.
27459         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27460         CHECK_STRING.
27461         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27462         <bp-checks.h>.
27463         (__lchown): Do not use CHECK_STRING.
27464         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27465         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27466         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27467         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27469         include <bp-checks.h>.
27470         (truncate64): Do not use CHECK_STRING.
27471         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27472         <bp-checks.h>.
27473         (__real_chown): Do not use CHECK_STRING.
27474         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27475         <bp-checks.h>.
27476         (__lchown): Do not use CHECK_STRING.
27477         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27478         <bp-checks.h>.
27479         (__chown): Do not use CHECK_STRING.
27480         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27481         <bp-checks.h>.
27482         (truncate64): Do not use CHECK_STRING.
27483         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27484         Likewise.
27485         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27486         (__xmknod): Do not use CHECK_STRING.
27487         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27488         <bp-checks.h>.
27489         (__xmknodat): Do not use CHECK_STRING.
27490         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27491         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27493 2013-02-04  Andreas Schwab  <schwab@suse.de>
27495         [BZ #14142]
27496         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27497         * include/netdb.h: Likewise for h_errno.
27498         * elf/tst-stackguard1.c: Include <tls.h>.
27500 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27502         * elf/link.h (struct link_map): Extend the l_addr comment.
27503         * include/link.h (struct link_map): Likewise.
27505 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27507         [BZ #13550]
27508         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27509         (BOUNDED_1): Remove macro.
27510         * debug/backtrace.c: Don't include <bp-checks.h>.
27511         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27512         (__backtrace): Likewise.
27513         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27514         <bp-checks.h>.
27515         (__backtrace): Don't use BOUNDED_1.
27516         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27517         <bp-checks.h>.
27518         (__backtrace): Don't use BOUNDED_1.
27519         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27520         (__backtrace): Don't use BOUNDED_1.
27521         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27522         (shmat): Don't use BOUNDED_N.
27524 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27526         [BZ #13550]
27527         * sysdeps/generic/bp-start.h: Remove file.
27528         * csu/libc-start.c: Don't include <bp-start.h>.
27529         (LIBC_START_MAIN): Set up __environ directly instead of using
27530         INIT_ARGV_and_ENVIRON.
27531         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27532         <bp-start.h>.
27534         [BZ #13550]
27535         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27536         definitions.
27537         (CHECK_FCNTL): Likewise.
27538         (CHECK_N_PAGES): Likewise.
27540         [BZ #13550]
27541         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27542         definitions.
27543         (CHECK_SIGSET_NULL_OK): Likewise.
27544         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27545         <bp-checks.h>.
27546         (sigpending): Don't use CHECK_SIGSET.
27547         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27548         <bp-checks.h>.
27549         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27550         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27551         <bp-checks.h>.
27552         (do_sigsuspend): Don't use CHECK_SIGSET.
27553         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27554         use CHECK_SIGSET.
27555         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27556         (do_sigwait): Don't use CHECK_SIGSET.
27557         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27558         use CHECK_SIGSET.
27559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27560         include <bp-checks.h>.
27561         (sigpending): Don't use CHECK_SIGSET.
27562         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27563         include <bp-checks.h>.
27564         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27565         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27566         <bp-checks.h>.
27567         (sigpending): Don't use CHECK_SIGSET.
27568         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27569         <bp-checks.h>.
27570         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27572         [BZ #13550]
27573         * sysdeps/generic/bp-semctl.h: Remove file.
27574         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27575         <bp-checks.h> and <bp-semctl.h>.
27576         (__old_semctl): Don't use CHECK_SEMCTL.
27577         (__new_semctl): Likewise.
27578         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27579         and <bp-semctl.h>.
27580         (__old_semctl): Don't use CHECK_SEMCTL.
27581         (__new_semctl): Likewise.
27582         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27583         <bp-checks.h> and <bp-semctl.h>.
27584         (__old_semctl): Don't use CHECK_SEMCTL.
27585         (__new_semctl): Likewise.
27586         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27587         <bp-checks.h> and <bp-semctl.h>.
27588         (semctl): Don't use CHECK_SEMCTL.
27590         [BZ #13550]
27591         * Makerules (elide-bp-thunks): Remove variable.
27592         (elide-routines.oS): Don't use $(elide-bp-thunks).
27593         (elide-routines.os): Likewise.
27594         (elide-routines.o): Likewise.
27595         (elide-routines.op): Likewise.
27596         (elide-routines.og): Likewise.
27597         (objects): Don't use $(bp-thunks).
27598         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27599         include.
27600         (common-generated): Do not add s-proto-bp.d.
27601         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27602         (int): Likewise.
27603         (typ): Likewise.
27604         Do not generate makefile rules for bounded-pointer thunks.
27605         * sysdeps/generic/bp-thunks.h: Remove file.
27606         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27607         * sysdeps/unix/s-proto-bp.S: Likewise.
27609         [BZ #15062]
27610         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27611         parts of result separately when argument is not close to line from
27612         -i to i and one part of argument is small.
27613         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27614         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27615         * math/libm-test.inc (cacos_test): Add more tests.
27616         (casin_test): Likewise.
27617         (casinh_test): Likewise.
27618         * sysdeps/i386/fpu/libm-test-ulps: Update.
27619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621 2013-01-31  David S. Miller  <davem@davemloft.net>
27623         * po/de.po: Update from translation team.
27625 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27627         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27629 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27631         * configure.in (_AC_PROG_CC_C89): New definition.
27632         * configure: Regenerate.
27634         * configure.in (AC_PROG_CPP): New definition.
27635         * configure: Regenerate.
27637 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27639         * debug/tst-backtrace.h: New file.
27640         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27641         (ret): Remove variable.
27642         (x): Likewise.
27643         (FAIL): Remove macro.
27644         (NO_INLINE): Likewise.
27645         (fn1): Use match function instead of strstr.
27646         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27647         (ret): Remove variable.
27648         (x): Likewise.
27649         (FAIL): Remove macro.
27650         (NO_INLINE): Likewise.
27651         (fn): Use match function instead of strstr.
27652         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27653         (ret): Remove variable.
27654         (x): Likewise.
27655         (FAIL): Remove macro.
27656         (NO_INLINE): Likewise.
27657         (handle_signal): Use match function instead of strstr.
27658         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27659         (ret): Remove variable.
27660         (x): Likewise.
27661         (FAIL): Remove macro.
27662         (NO_INLINE): Likewise.
27663         (handle_signal): Use match function instead of strstr.
27665 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27667         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27669 2013-01-23  David S. Miller  <davem@davemloft.net>
27671         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27672         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27673         argument of CAS if possible.
27674         * sysdeps/sparc/sparc64/bits/atomic.h
27675         (__arch_compare_and_exchange_val_32_acq): Likewise.
27676         (__arch_compare_and_exchange_val_64_acq): Likewise.
27678 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27680         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27681         * sysdeps/posix/ulimit.c: ... this.
27682         Include <limits.h>.
27683         * sysdeps/unix/bsd/ulimit.c: Remove file.
27685 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27687         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27688         (LDFLAGS-tst-array5): Likewise.
27690 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27692         [BZ #15036]
27693         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27694         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27695         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27696         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27698 2013-01-21  David S. Miller  <davem@davemloft.net>
27700         * sysdeps/sparc/backtrace.c: New file.
27701         * sysdeps/sparc/sparc32/backtrace.h: New file.
27702         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27703         * sysdeps/sparc/sparc64/backtrace.h: New file.
27704         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27705         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27706         -funwind-tables.
27708 2013-01-21  Andreas Schwab  <schwab@suse.de>
27710         [BZ #15020]
27711         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27712         closed its stdout.
27714 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27717         "mpa2.h".
27718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27720 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27721             Mark Mitchell  <mark@codesourcery.com>
27722             Tom de Vries  <tom@codesourcery.com>
27723             Paul Pluzhnikov  <ppluzhnikov@google.com>
27725         * debug/tst-backtrace2.c: New file.
27726         * debug/tst-backtrace3.c: Likewise.
27727         * debug/tst-backtrace4.c: Likewise.
27728         * debug/tst-backtrace5.c: Likewise.
27729         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27730         (CFLAGS-tst-backtrace3.c): Likewise.
27731         (CFLAGS-tst-backtrace4.c): Likewise.
27732         (CFLAGS-tst-backtrace5.c): Likewise.
27733         (LDFLAGS-tst-backtrace2): Likewise.
27734         (LDFLAGS-tst-backtrace3): Likewise.
27735         (LDFLAGS-tst-backtrace4): Likewise.
27736         (LDFLAGS-tst-backtrace5): Likewise.
27737         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27738         tst-backtrace4 and tst-backtrace5.
27740 2013-01-18  Anton Blanchard  <anton@samba.org>
27741             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27743         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27744         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27746         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27748         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27749         "+r" and remove output regs list as redundant.  Add explicit inline
27750         asm to specify register of return val to work around compiler codegen
27751         bug.  Remove (int) cast on return value.  Add return type parameter to
27752         use in macro so that this macro does not truncate return value for
27753         64-bit values.
27754         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27755         pass to INTERNAL_VSYSCALL_NCS.
27756         (INLINE_VSYSCALL): Add 'long int' as return type to
27757         INTERNAL_VSYSCALL_NCS macro invocation.
27758         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27759         INTERNAL_VSYSCALL_NCS macro invocation.
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27762 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27764         [BZ #14496]
27765         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27766         Fix application of SIMD FP exception mask.
27768         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27769         mp_no from a power of two.
27770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27771         __mpexp_twomm1.  Use __pow_mp.
27773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27774         multiplication.
27776 2013-01-17  David S. Miller  <davem@davemloft.net>
27778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27780 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #15023]
27783         * include/complex.h: Condition contents on [!_COMPLEX_H].
27784         (__kernel_casinhf): New prototype.
27785         (__kernel_casinh): Likewise.
27786         (__kernel_casinhl): Likewise.
27787         * math/Makefile (libm_calls): Add k_casinh.
27788         * math/k_casinh.c: New file.
27789         * math/k_casinhf.c: Likewise.
27790         * math/k_casinhl.c: Likewise.
27791         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27792         finite nonzero arguments.
27793         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27794         finite nonzero arguments.
27795         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27796         finite nonzero arguments.
27797         * math/s_casinh.c: Do not include <float.h>.
27798         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27799         * math/s_casinhf.c: Do not include <float.h>.
27800         (__casinhf): Move code for finite nonzero arguments to
27801         k_casinhf.c.
27802         * math/s_casinhl.c: Do not include <float.h>.
27803         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27804         redefine.
27805         (__casinhl): Move code for finite nonzero arguments to
27806         k_casinhl.c.
27807         * math/libm-test.inc (cacos_test): Add more tests.
27808         * sysdeps/i386/fpu/libm-test-ulps: Update.
27809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27813         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27814         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27815         [!HAVE_MREMAP]: Remove [defined linux] case.
27816         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27818 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27820         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27822 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27824         * elf/elf.h (R_386_SIZE32): New relocation.
27825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27826         R_386_SIZE32.
27827         (elf_machine_rela): Likewise.
27828         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27829         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27831 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27833         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27834         (FP_FAST_FMA): Do not define.
27835         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27836         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27837         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27838         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27839         !_SOFT_FLOAT]: Likewise.
27840         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27841         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27842         value.
27843         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27844         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27845         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27846         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27847         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27848         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27849         file.
27851 2013-01-16  Andreas Schwab  <schwab@suse.de>
27853         [BZ #14327]
27854         * include/stdlib.h (__mktemp): Add declaration.
27855         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27856         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27858 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27860         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27861         definitions.
27862         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27863         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27864         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27865         definitions here.
27866         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27867         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27868         definitions.
27869         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27870         and ONE.
27871         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27872         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27873         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27874         definitions.
27875         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27876         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27877         definitions.
27878         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27880         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27882 2013-01-15  David S. Miller  <davem@davemloft.net>
27884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27885         trunc{,f} to libm-sysdep_routes.
27886         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27888         file.
27889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27891         file.
27892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27893         file.
27894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27896         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27897         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27898         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27899         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27900         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27901         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27904         nearbyint{,f} to libm-sysdep_routes.
27905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27907         New file.
27908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27909         file.
27910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27911         New file.
27912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27913         file.
27914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27916         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27917         file.
27918         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27919         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27920         file.
27921         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27922         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27923         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27925         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27926         libc_feholdexcept and libc_fesetenv.
27928 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27930         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27932 2013-01-14  David S. Miller  <davem@davemloft.net>
27934         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27935         (SPARC_ASM_VIS2_IFUNC): Likewise.
27936         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27938         use of 'siam' instruction.
27939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27940         Likewise.
27941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27942         Likewise.
27943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27944         Likewise.
27945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27950         file.
27951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27952         file.
27953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27954         file.
27955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27956         file.
27957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27962         new VIS2 routines.
27963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27966         Likewise.
27967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27972         routines to libm-sysdep_routines.
27973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27976         fdim/fdimf to libm-sysdep_routines.
27977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27978         file.
27979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27981         file.
27982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27985         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27986         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27987         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27988         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27990 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27992         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27993         to optimize copies.
27995         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28000         local variable MPTWO.
28001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28002         Likewise.
28004 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28006         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28007         GLOB_NOESCAPE.
28009 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28011         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28013 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28015         * manual/pattern.texi (glob_t): Document gl_flags.
28016         (glob64_t): Likewise.
28018 2013-01-11  David S. Miller  <davem@davemloft.net>
28020         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28021         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28022         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28023         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28024         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28025         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28026         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28027         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28028         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28029         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28030         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28031         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28032         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28034         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28035         sparc V9 rather than using V8 code.
28036         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28037         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28039         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28040         Move to...
28041         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28042         Here.
28044 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28046         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28047         not in the main loop.
28048         * configure: Regenerated.
28050 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28052         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28053         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28054         to just #else.
28055         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28056         [!__GLIBC_HAVE_LONG_LONG] case.
28057         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28058         condition to just #else.
28059         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28060         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28061         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28062         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28063         unconditional.
28064         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28065         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28066         #elif condition to just #else.
28067         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28068         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28069         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28070         #elif condition to just #else.
28072 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28074         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28075         (EF_MIPS_ARCH_64): Fix value.
28076         (EF_MIPS_ARCH_32R2): New.
28077         (EF_MIPS_ARCH_64R2): New.
28079 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28081         * Makeconfig (+link-pie-before-libc): New.
28082         (+link-pie-after-libc): Likewise.
28083         (+link-pie-tests): Likewise.
28084         (+link-pie): Rewritten.
28085         (link-before-libc): Remove $(config-LDFLAGS).
28086         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28087         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28088         (config-LDFLAGS): Renamed to ...
28089         (rtld-LDFLAGS): This.
28090         (rtld-tests-LDFLAGS): New macro.
28091         (link-libc-rpath-link): Likewise.
28092         (link-libc-tests-rpath-link): Likewise.
28093         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28094         (link-libc): Prepand $(link-libc-rpath-link).
28095         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28096         (test-program-prefix): New macro.
28097         (test-via-rtld-prefix): Likewise.
28098         (test-program-cmd): Likewise.
28099         (host-test-program-cmd): Likewise.
28100         * Makefile ($(common-objpfx)testrun.sh): Replace
28101         $(run-program-prefix) with $(test-program-prefix).
28102         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28103         $(rtld-LDFLAGS).
28104         ($(common-objpfx)shlib.lds): Likewise.
28105         (build-module-helper): Likewise.
28106         ($(common-objpfx)format.lds): Likewise.
28107         * Rules (binaries-pie-tests): New.
28108         (binaries-pie-notests): Likewise.
28109         (binaries-pie): Rewritten.
28110         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28111         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28112         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28113         (make-test-out): Replace $(host-built-program-cmd) with
28114         $(host-test-program-cmd).
28115         * config.make.in (build-hardcoded-path-in-tests): New variable.
28116         * configure.in (--enable-hardcoded-path-in-tests): New configure
28117         option.
28118         (hardcoded_path_in_tests): New AC_SUBST.
28119         * configure: Regenerated.
28120         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28121         $(built-program-cmd) with $(test-program-cmd).
28122         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28123         (test_program_cmd): This.
28124         * elf/Makefile ($(objpfx)order.out): Run test with
28125         $(test-program-prefix).
28126         ($(objpfx)order2.out): Likewise.
28127         ($(objpfx)tst-initorder.out): Likewise.
28128         ($(objpfx)tst-initorder2.out): Likewise.
28129         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28130         $(test-program-cmd).
28131         ($(objpfx)tst-array1-static.out): Likewise.
28132         ($(objpfx)tst-array2.out): Likewise.
28133         ($(objpfx)tst-array3.out): Likewise.
28134         ($(objpfx)tst-array4.out): Likewise.
28135         ($(objpfx)tst-array5.out): Likewise.
28136         ($(objpfx)tst-array5-static.out): Likewise.
28137         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28138         $(test-program-cmd).
28139         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28140         $(run-program-prefix) with $(test-program-prefix).
28141         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28142         (test_program_prefix): This.
28143         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28144         $(run-program-prefix) with $(test-program-prefix).
28145         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28146         (test_program_prefix): This.
28147         * iconvdata/tst-tables.sh: Likewise.
28148         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28149         $(run-program-prefix) with $(test-program-prefix).
28150         ($(objpfx)tst-translit.out): Likewise.
28151         ($(objpfx)tst-gettext2.out): Likewise.
28152         ($(objpfx)tst-gettext4.out): Likewise.
28153         ($(objpfx)tst-gettext6.out): Likewise.
28154         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28155         (test_program_prefix): This.
28156         * intl/tst-gettext2.sh: Likewise.
28157         * intl/tst-gettext4.sh  Likewise.
28158         * intl/tst-gettext6.sh: Likewise.
28159         * intl/tst-translit.sh: Likewise.
28160         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28161         with $(test-program-cmd).
28162         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28163         $(run-program-prefix) with $(test-program-prefix).
28164         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28165         (test_program_prefix): This.
28166         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28167         $(run-program-prefix) with $(test-program-prefix).
28168         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28169         (test_program_prefix): This.
28170         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28171         * posix/Makefile ($(objpfx)globtest.out): Replace
28172         $(run-via-rtld-prefix) and $(test-wrapper) with
28173         $(test-program-prefix) and $(test-via-rtld-prefix).
28174         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28175         $(test-program-prefix).
28176         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28177         $(host-test-program-cmd).
28178         (tst-spawn-ARGS): Likewise.
28179         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28180         $(test-program-prefix).
28181         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28182         (test_via_rtld_prefix): This.
28183         (test_wrapper): Renamed to ...
28184         (test_program_prefix): This.
28185         (run_program_prefix): Replaced by test_program_prefix.
28186         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28187         (test_program_prefix): This.
28188         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28189         with $(host-test-program-cmd).
28190         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28191         $(run-program-prefix) with $(test-program-prefix).
28192         ($(objpfx)tst-printf.out): Likewise.
28193         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28194         $(test-program-cmd).
28195         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28196         (test_program_prefix): This.
28197         * stdio-common/tst-unbputc.sh: Likewise.
28198         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28199         $(run-program-prefix) with $(test-program-prefix).
28200         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28201         (test_program_prefix): This.
28202         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28203         $(built-program-cmd) with $(test-program-cmd).
28205 2013-01-11  Andreas Jaeger  <aj@suse.de>
28207         [BZ #15003]
28208         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28209         value. Sync with Linux 3.7.
28211 2013-01-10  David S. Miller  <davem@davemloft.net>
28213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28214         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28215         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28217 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28219         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28220         never set.
28221         * configure: Regenerated.
28223 2013-01-10  David S. Miller  <davem@davemloft.net>
28225         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28226         sparc V9 rather than using V8 code.
28227         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28228         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28230 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28232         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28233         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28234         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28235         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28236         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28237         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28238         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28239         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28240         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28241         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28242         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28243         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28244         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28245         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28246         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28247         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28248         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28249         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28250         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28251         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28252         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28253         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28254         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28255         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28256         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28257         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28258         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28260 2013-01-10  David S. Miller  <davem@davemloft.net>
28262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28264 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28266         * posix/Makefile (tests-static): New variable.
28267         (tests): Add $(tests-static).
28268         (tst-exec-static-ARGS): New variable.
28269         (tst-spawn-static-ARGS): Likewise.
28270         * posix/tst-exec-static.c: New file.
28271         * posix/tst-spawn-static.c: Likewise.
28272         * posix/tst-exec.c: Support run directly.
28273         * posix/tst-spawn.c: Likewise.
28275 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28277         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28278         long.
28279         * math/bits/mathcalls.h (llrint): Likewise.
28280         (llround): Likewise.
28281         * stdlib/stdlib.h (struct drand48_data): Likewise.
28282         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28283         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28284         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28285         Likewise.
28286         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28287         Likewise.
28288         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28289         (elf_greg_t): Likewise.
28290         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28291         (__jmp_buf): Likewise.
28292         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28293         definitions.
28294         (llrint): Likewise, for all definitions.
28295         (llrintl): Likewise.
28297         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28298         Remove [__GNUC__] condition.
28299         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28300         condition to just [__USE_ISOC99].
28301         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28303 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28305         [BZ #14200]
28306         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28307         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28308         defined.
28309         (_POSIX_V6_ILP32_OFF32): Likewise.
28310         (_XBS5_ILP32_OFF32): Likewise.
28311         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28312         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28314 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28316         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28319         doubles __mpexp_twomm1.  Adjust usage.
28320         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28321         Remove.
28323 2013-01-10  Andreas Schwab  <schwab@suse.de>
28325         [BZ #14964]
28326         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28327         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28329 2013-01-09  David S. Miller  <davem@davemloft.net>
28331         [BZ #15003]
28332         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28333         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28334         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28335         (TCP_FASTOPEN): Define.
28336         (tcp_repair_opt): New structure.
28337         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28338         enum values.
28339         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28340         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28341         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28342         (tcp_cookie_transactions): New structure.
28344 2013-01-09  Anton Blanchard  <anton@samba.org>
28346         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28347         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28349         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28351 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28353         * include/features.h (__USE_ANSI): Remove.
28355 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28357         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28359         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28361 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28363         * sysdeps/s390/fpu/libm-test-ulps: Update.
28365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28367         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28368         (__acr): Likewise.
28369         (__cpy): Likewise.
28370         (norm): Likewise.
28371         (denorm): Likewise.
28372         (__mp_dbl): Likewise.
28373         (__dbl_mp): Likewise.
28374         (add_magnitudes): Likewise.
28375         (sub_magnitudes): Likewise.
28376         (__add): Likewise.
28377         (__sub): Likewise.
28378         (__mul): Likewise.
28379         (__inv): Likewise.
28380         (__dvd): Likewise.
28381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28382         (__acr): Likewise.
28383         (__cpy): Likewise.
28384         (norm): Likewise.
28385         (denorm): Likewise.
28386         (__mp_dbl): Likewise.
28387         (__dbl_mp): Likewise.
28388         (add_magnitudes): Likewise.
28389         (sub_magnitudes): Likewise.
28390         (__add): Likewise.
28391         (__sub): Likewise.
28392         (__mul): Likewise.
28393         (__inv): Likewise.
28394         (__dvd): Likewise.
28395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28396         (__acr): Likewise.
28397         (__cpy): Likewise.
28398         (norm): Likewise.
28399         (denorm): Likewise.
28400         (__mp_dbl): Likewise.
28401         (__dbl_mp): Likewise.
28402         (add_magnitudes): Likewise.
28403         (sub_magnitudes): Likewise.
28404         (__add): Likewise.
28405         (__sub): Likewise.
28406         (__mul): Likewise.
28407         (__inv): Likewise.
28408         (__dvd): Likewise.
28410 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28412         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28413         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28414         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28415         2 && __USE_EXTERN_INLINES]: Likewise.
28417 2013-01-08  Andreas Jaeger  <aj@suse.de>
28419         [BZ# 14985]
28420         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28421         Remove.
28422         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28423         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28425 2013-01-07  Anton Blanchard  <anton@samba.org>
28427         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28428         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28429         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28430         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28431         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28432         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28433         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28434         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28436         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28437         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28438         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28440         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28441         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28442         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28443         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28444         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28445         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28446         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28447         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28448         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28449         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28450         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28451         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28452         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28453         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28454         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28457         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28460         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28461         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28462         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28463         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28465         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28466         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28467         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28468         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28469         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28471 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28473         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28474         (__MALLOC_PMT): Likewise.
28475         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28476         [__GNUC__], only on [_LIBC].
28477         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28478         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28479         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28480         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28481         forward declaration.
28482         (realloc_hook_ini): Likewise.
28483         (memalign_hook_ini): Likewise.
28484         (__libc_memalign): Do not use __MALLOC_PMT in variable
28485         declaration.
28486         (__libc_valloc): Likewise.
28487         (__libc_pvalloc): Likewise.
28488         (__libc_calloc): Likewise.
28489         (__posix_memalign): Likewise.
28491         [BZ #14996]
28492         * math/s_casinh.c: Include <float.h>.
28493         (__casinh): Do not do computation with squaring and square root
28494         for large arguments.
28495         * math/s_casinhf.c: Include <float.h>.
28496         (__casinhf): Do not do computation with squaring and square root
28497         for large arguments.
28498         * math/s_casinhl.c: Include <float.h>.
28499         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28500         (__casinhl): Do not do computation with squaring and square root
28501         for large arguments.
28502         * math/libm-test.inc (casin_test): Add more tests.
28503         (casinh_test): Likewise.
28504         * sysdeps/i386/fpu/libm-test-ulps: Update.
28505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28507 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28509         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28510         (__x86_64_raw_data_cache_size): Likewise.
28511         (__x86_64_data_cache_size_half): Likewise.
28512         (__x86_64_raw_data_cache_size_half): Likewise.
28513         (__x86_64_shared_cache_size): Likewise.
28514         (__x86_64_raw_shared_cache_size): Likewise.
28515         (__x86_64_shared_cache_size_half): Likewise.
28516         (__x86_64_raw_shared_cache_size_half): Likewise.
28517         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28518         to ...
28519         (__x86_data_cache_size): This.
28520         (__x86_64_raw_data_cache_size): Renamed to ...
28521         (__x86_raw_data_cache_size): This.
28522         (__x86_64_data_cache_size_half): Renamed to ...
28523         (__x86_data_cache_size_half): This.
28524         (__x86_64_raw_data_cache_size_half): Renamed to ...
28525         (__x86_raw_data_cache_size_half): This.
28526         (__x86_64_shared_cache_size): Renamed to ...
28527         (__x86_shared_cache_size): This.
28528         (__x86_64_raw_shared_cache_size): Renamed to ...
28529         (__x86_raw_shared_cache_size): This.
28530         (__x86_64_shared_cache_size_half): Renamed to ...
28531         (__x86_shared_cache_size_half): This.
28532         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28533         (__x86_raw_shared_cache_size_half): This.
28534         * sysdeps/x86_64/memcpy.S: Updated.
28535         * sysdeps/x86_64/memset.S: Likewise.
28536         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28537         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28538         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28540 2013-01-04  David S. Miller  <davem@davemloft.net>
28542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28544 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28546         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28547         1 to avoid redefinition warning.
28548         (__USE_GNU): Don't define.
28549         (init_signaling_nan): Protoize.
28551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28553 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28555         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28557         (__cpymn): Likewise.
28558         (norm): Remove commented code.
28559         (denorm): Likewise.
28560         (__mp_dbl): Likewise.
28561         (__inv): Likewise.
28562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28563         (__cpymn): Likewise.
28564         (norm): Remove commented code.
28565         (denorm): Likewise.
28566         (__mp_dbl): Likewise.
28567         (__inv): Likewise.
28569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28570         mp_no value for 1.0 and 2.0.
28571         (norm): Use RADIXI instead of radixi.d.
28572         (denorm): Likewise.
28573         (__mul): Use 0.0 instead of zero.d.
28574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28575         mp_no value for 1.0 and 2.0.
28576         (norm): Use RADIXI instead of radixi.d.
28577         (denorm): Likewise.
28578         (__mul): Use 0.0 instead of zero.d.
28580 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28582         [BZ #14994]
28583         * math/s_casinh.c (__casinh): Reduce finite argument to first
28584         quadrant then set signs of results at the end.
28585         * math/s_casinhf.c (__casinhf): Likewise.
28586         * math/s_casinhl.c (__casinhl): Likewise.
28587         * math/libm-test.inc (casin_test): Add more tests.
28588         (casinh_test): Likewise.
28589         * sysdeps/i386/fpu/libm-test-ulps: Update.
28590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28592 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28594         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28596         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28598         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28599         declarations.
28600         (denorm): Likewise.
28601         (__mp_dbl): Likewise.
28602         (__inv): Likewise.
28604         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28605         and adjust the header comment.
28607         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28608         variable name from declaration.
28610 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28613         Initialize COMMON_CPUID_INDEX_7 element.
28614         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28615         (CPUID_RTM): Likewise.
28616         (HAS_RTM): Likewise.
28617         (COMMON_CPUID_INDEX_7): New enum.
28619 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28621         [BZ #14981]
28622         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28623         size is zero, record memory as freed.
28625 2013-01-03  Andreas Jaeger  <aj@suse.de>
28627         * po/ia.po: Add new Interlingua translation.
28629 2012-01-03  Allan McRae  <allan@archlinux.org>
28631         * locale/programs/localedef.c: Fix description of '--posix' flag.
28633 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28635         * NEWS: Update dates in second copyright notice.
28636         * README: Update copyright dates in example.
28637         * manual/libc.texinfo: Update copyright dates.
28638         * scripts/test-installation.pl: Update copyright date in --version
28639         output.
28641         * hurd/ctty-input.c: Fix copyright notice formatting.
28642         * hurd/ctty-output.c: Likewise.
28643         * hurd/dtable.c: Likewise.
28644         * hurd/hurd-raise.c: Likewise.
28645         * hurd/hurdprio.c: Likewise.
28646         * hurd/msgportdemux.c: Likewise.
28647         * misc/sys/file.h: Likewise.
28648         * misc/sys/ioctl.h: Likewise.
28649         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28650         * sysdeps/mach/hurd/chdir.c: Likewise.
28651         * sysdeps/mach/hurd/fchdir.c: Likewise.
28652         * sysdeps/mach/hurd/rename.c: Likewise.
28653         * sysdeps/mach/hurd/rmdir.c: Likewise.
28654         * sysdeps/mach/hurd/seekdir.c: Likewise.
28655         * sysdeps/mach/hurd/setsid.c: Likewise.
28656         * sysdeps/posix/wait3.c: Likewise.
28658         * All files with FSF copyright notices: Update copyright dates
28659         using scripts/update-copyrights.
28660         * intl/plural.c: Regenerated.
28661         * locale/programs/charmap-kw.h: Likewise.
28662         * locale/programs/locfile-kw.h: Likewise.
28664 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28666         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28667         four values.
28669         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28670         calculation loop and add branch prediction.
28672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28673         check access beyond bounds of m1np.
28675         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28676         MPTWO.
28677         (__inv): Remove local variable MPTWO to use the global
28678         constant.
28679         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28680         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28681         variable MPTWO.
28682         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28683         MP3HALFS static const.
28685 2013-01-01  David S. Miller  <davem@davemloft.net>
28687         * po/ca.po: Update from translation team.
28689 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28691         * scripts/update-copyrights: New file.
28692         * Makeconfig: Reformat copyright notice.
28693         * ctype/ctype.h: Likewise.
28694         * debug/swprintf_chk.c: Likewise.
28695         * elf/dl-cache.c: Likewise.
28696         * elf/dl-debug.c: Likewise.
28697         * elf/dl-object.c: Likewise.
28698         * grp/initgroups.c: Likewise.
28699         * hurd/Makefile: Likewise.
28700         * hurd/hurd/signal.h: Likewise.
28701         * hurd/hurdfault.c: Likewise.
28702         * hurd/hurdioctl.c: Likewise.
28703         * hurd/hurdlookup.c: Likewise.
28704         * hurd/intr-msg.c: Likewise.
28705         * iconv/gconv_open.c: Likewise.
28706         * libio/swprintf.c: Likewise.
28707         * locale/lc-ctype.c: Likewise.
28708         * locale/nl_langinfo.c: Likewise.
28709         * mach/Machrules: Likewise.
28710         * mach/Makefile: Likewise.
28711         * malloc/obstack.h: Likewise.
28712         * manual/Makefile: Likewise.
28713         * manual/tsort.awk: Likewise.
28714         * misc/bits/stab.def: Likewise.
28715         * nis/nis_print_group_entry.c: Likewise.
28716         * nis/nis_table.c: Likewise.
28717         * nis/nss_compat/compat-pwd.c: Likewise.
28718         * nis/nss_compat/compat-spwd.c: Likewise.
28719         * po/Makefile: Likewise.
28720         * posix/fnmatch.c: Likewise.
28721         * posix/regex.h: Likewise.
28722         * resolv/Makefile: Likewise.
28723         * resolv/nss_dns/dns-network.c: Likewise.
28724         * resolv/res_hconf.c: Likewise.
28725         * scripts/gen-sorted.awk: Likewise.
28726         * soft-fp/soft-fp.h: Likewise.
28727         * stdio-common/printf.h: Likewise.
28728         * stdlib/monetary.h: Likewise.
28729         * stdlib/random.c: Likewise.
28730         * stdlib/random_r.c: Likewise.
28731         * sysdeps/generic/Makefile: Likewise.
28732         * sysdeps/gnu/Makefile: Likewise.
28733         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28734         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28735         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28737         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28739         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28740         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28743         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28744         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28747         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28749         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28750         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28751         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28753         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28754         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28755         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28756         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28757         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28758         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28759         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28760         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28761         * sysdeps/mach/hurd/errnos.awk: Likewise.
28762         * sysdeps/mach/hurd/fork.c: Likewise.
28763         * sysdeps/mach/hurd/getcwd.c: Likewise.
28764         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28765         * sysdeps/mach/hurd/mmap.c: Likewise.
28766         * sysdeps/mach/hurd/utimes.c: Likewise.
28767         * sysdeps/mach/hurd/xmknod.c: Likewise.
28768         * sysdeps/posix/profil.c: Likewise.
28769         * sysdeps/posix/readdir_r.c: Likewise.
28770         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28771         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28772         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28773         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28775         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28777         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28779         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28780         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28781         * sysdeps/pthread/lio_listio.c: Likewise.
28782         * sysdeps/sparc/dl-procinfo.h: Likewise.
28783         * sysdeps/unix/i386/sysdep.S: Likewise.
28784         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28785         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28786         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28787         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28789         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28790         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28791         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28792         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28793         * sysdeps/wordsize-32/divdi3.c: Likewise.
28794         * time/sys/time.h: Likewise.
28795         * wcsmbs/Makefile: Likewise.
28797 2013-01-01  David S. Miller  <davem@davemloft.net>
28799         * po/fr.po: Update from translation team.
28801         * catgets/gencat.c: Update copyright year.
28802         * csu/version.c: Likewise.
28803         * debug/catchsegv.sh: Likewise.
28804         * debug/pcprofiledump.c: Likewise.
28805         * debug/xtrace.sh: Likewise.
28806         * elf/ldconfig.c: Likewise.
28807         * elf/ldd.bash.in: Likewise.
28808         * elf/pldd.c: Likewise.
28809         * elf/sotruss.ksh: Likewise.
28810         * elf/sprof.c: Likewise.
28811         * iconv/iconv_prog.c: Likewise.
28812         * iconv/iconvconfig.c: Likewise.
28813         * locale/programs/locale.c: Likewise.
28814         * locale/programs/localedef.c: Likewise.
28815         * login/programs/pt_chown.c: Likewise.
28816         * malloc/memusage.sh: Likewise.
28817         * malloc/memusagestat.c: Likewise.
28818         * malloc/mtrace.pl: Likewise.
28819         * nscd/nscd.c: Likewise.
28820         * nss/getent.c: Likewise.
28821         * nss/makedb.c: Likewise.
28822         * posix/getconf.c: Likewise.
28824 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28826         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28827         numbers.
28829 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28831         * math/bits/mathcalls.h (modf): Use __nonnull.
28833 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28835         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28836         (split): Use macro CN instead of the bare value.
28837         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28838         could be used.
28839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28840         instead of the bare value.
28841         (power1): Likewise.
28843 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28846         __ATAN_TWOM.
28847         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28849         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28850         their values.
28851         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28853         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28854         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28856 2012-12-28  Andreas Jaeger  <aj@suse.de>
28858         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28859         values are from Linux 3.7.
28861         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28862         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28864 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28866         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28867         TRUE case.
28869         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28870         (norm): Likewise.
28871         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28872         variables with preprocessor constants.
28873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28874         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28875         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28877 2012-12-27  Bruno Haible  <bruno@clisp.org>
28879         [BZ #14317]
28880         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28881         only if needed.
28883 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28885         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28886         and use variable directly.
28887         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28889         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28890         MPONE.
28891         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28892         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28893         variable MPONE.
28894         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28895         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28896         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28897         include directive.  Remove local variable MPONE.
28898         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28899         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28900         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28902 2012-12-25  David S. Miller  <davem@davemloft.net>
28904         * version.h (RELEASE): Set to "development".
28905         (VERSION): Set to "2.17.90".
28906         * NEWS: Add 2.18 section.
28908 2012-12-21  David S. Miller  <davem@davemloft.net>
28910         * po/hr.po: Update from translation team.
28912 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28914         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28916 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28918         * NEWS:  Mention new memcpy for MIPS.
28920 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28922         * manual/contrib.texi (Contributors): Spelling correction.
28924 2012-12-15  David S. Miller  <davem@davemloft.net>
28926         * po/ru.po: Update from translation team.
28928 2012-12-13  David S. Miller  <davem@davemloft.net>
28930         * NEWS: Mention IFUNC testsuite enhancements.
28932         * po/pl.po: Update from translation team.
28933         * po/bg.po: Likewise.
28935         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28936         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28938 2012-12-11  David S. Miller  <davem@davemloft.net>
28940         * po/sv.po: Update from translation team.
28942         * po/vi.po: Update from translation team.
28944         * po/cs.po: Update from translation team.
28946         * po/de.po: Update from translation team.
28947         * po/eo.po: Likewise.
28948         * po/nl.po: Likewise.
28950 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952         [BZ #14246]
28953         * manual/argp.texi (Argp Helper Functions): Move node to follow
28954         Argp Parsing State.
28956         [BZ #14872]
28957         * manual/conf.texi (Limits on File System Capacity): Mention if
28958         terminating null is included in the max size.
28960 2012-12-10  Andreas Jaeger  <aj@suse.de>
28962         * po/cs.po: Update from translation team.
28964 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28966         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28967         void pointer and cast to uintptr_t.
28968         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28969         path.
28970         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28971         * sysdeps/s390/s390-64/memset.S: Likewise.
28973 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28975         [BZ #14833]
28976         * menual/message.texi (Message Translation): Fix typos.
28977         (Helper programs for gettext): Likewise.
28979 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28981         [BZ #14898]
28982         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28983         Change to -1.
28985 2012-12-07  David S. Miller  <davem@davemloft.net>
28987         * po/libc.pot: Update.
28989 2012-12-07  Richard Henderson  <rth@redhat.com>
28991         [BZ #10114]
28992         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28993         normal/normal case to before the switch.
28994         (_FP_DIV): Likewise.
28996 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28997             Mike Frysinger  <vapier@gentoo.org>
28999         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29000         check for __NR_fadvise64_64.
29002 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29004         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29005         0, not just to plain "0" as a statement.
29006         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29007         with cw.
29009 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29011         * NEWS: Use sourceware.org in Bugzilla URL.
29013 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29016         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29018         * stdio-common/tst-put-error.c (do_test): Add newline to the
29019         padded test to ensure flush.
29021 2012-12-05  Jeff Law  <law@redhat.com>
29023         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29025 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29027         * README: Don't refer to ports add-on as distributed separately.
29028         Mention AArch64 in list of systems supported in the ports add-on.
29030         * LICENSES: Add more non-FSF copyright and license notices.
29032         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29033         ((unused)).
29035         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29037         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29038         10000 as width of padded output.
29040 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29042         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29044         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29045         variable LX with __attribute__ ((unused)).
29046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29047         Likewise.
29048         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29050         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29051         with __attribute__ ((unused)).
29053 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29055         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29057 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29059         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29060         (CFLAGS-nldbl-acos.c): New variable.
29061         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29062         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29063         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29064         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29065         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29066         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29067         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29068         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29069         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29070         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29071         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29072         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29073         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29074         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29075         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29076         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29077         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29078         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29079         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29080         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29081         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29082         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29083         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29084         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29085         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29086         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29087         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29088         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29089         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29090         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29091         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29092         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29093         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29094         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29095         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29096         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29097         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29098         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29099         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29100         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29101         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29102         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29103         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29104         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29105         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29106         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29107         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29108         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29109         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29110         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29111         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29112         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29113         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29114         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29115         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29116         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29117         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29118         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29119         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29120         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29121         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29122         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29123         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29124         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29125         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29126         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29127         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29128         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29129         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29130         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29131         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29132         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29133         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29134         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29135         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29136         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29137         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29138         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29139         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29140         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29141         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29142         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29143         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29144         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29145         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29146         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29147         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29148         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29149         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29150         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29151         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29152         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29153         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29154         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29155         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29156         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29157         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29160         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29162         [BZ #14914]
29163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29164         whole low double instead of just low 47 bits when splitting values
29165         into two parts.
29167 2012-12-03  Allan McRae  <allan@archlinux.org>
29169         * manual/stdio.texi (Predefined Printf Handlers): Remove
29170         @hsep and @vsep usage.
29172 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29174         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29175         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29177 2012-12-03  Jeff Law  <law@redhat.com>
29179         * time/sys/time.h (settimeofday): Do not mark TV argument
29180         as __nonnull.
29182 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29184         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29185         when currently writing and seek to current position when not.
29186         * libio/Makefile (tests): Remove bug-fclose1.
29187         * libio/bug-fclose1.c: Delete.
29189 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29191         * manual/arith.texi (feenableexcept): Fix typo.
29192         (fedisableexcept): Likewise.
29194 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29196         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29197         second, differently-typed declaration, rather than a cast.
29199 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29201         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29202         * include/rpc/svc.h: ... here.
29204 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29206         [BZ #13013]
29207         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29208         depending n and resplen2 to catch cases where answer
29209         equals answerp2.
29211 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29213         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29214         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29216 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29218         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29220 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29222         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29224 2012-11-28  Jeff Law  <law@redhat.com>
29226         [BZ #13761]
29227         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29228         dataset_temporary.  Track alloca usage into alloca_used.
29229         If dataset is large allocate and release it via malloc/free.
29231 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29233         [BZ #14197]
29234         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29236 2012-11-28  David S. Miller  <davem@davemloft.net>
29238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29240 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29242         [BZ #14803]
29243         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29244         of pi/2 rounded to nearest to 64 bits.
29245         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29246         nearest to 64 bits.
29247         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29248         bits.
29250 2012-11-28  Jeff Law <law@redhat.com>
29251             Martin Osvald <mosvald@redhat.com>
29253         [BZ #14889]
29254         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29255         * sunrpc/svc.c: Include time.h.
29256         (__svc_accept_failed): New function.
29257         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29258         any reason other than EINTR, call __svc_accept_failed.
29259         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29260         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29262 2012-11-28  Andreas Schwab  <schwab@suse.de>
29264         * scripts/abilist.awk: Also handle indirect functions in .opd
29265         section.
29267 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #13881]
29270         * sysdeps/x86/fpu/powl_helper.c: New file.
29271         * sysdeps/x86/fpu/Makefile: Likewise.
29272         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29273         (p3): New object.
29274         (__ieee754_powl): Use __powl_helper for finite arguments except
29275         integer exponents below 8.
29276         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29277         (p3): New object.
29278         (__ieee754_powl): Use __powl_helper for finite arguments except
29279         integer exponents below 8.
29280         * math/libm-test.inc (pow_test): Add more tests and enable some
29281         previously disabled tests.
29282         * sysdeps/i386/fpu/libm-test-ulps: Update.
29283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29285 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29286             Carlos O'Donell  <carlos_odonell@mentor.com>
29288         * nss/makedb.c (is_prime): Assert that input is odd and greater
29289         than 4.  Note that fact in a comment too.
29290         (next_prime): Add 4 to input.
29292 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29294         [BZ #11741]
29295         * libio/Makefile (tests): Add test case tst-fwrite-error.
29296         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29297         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29298         * libio/tst-fwrite-error.c: New test case.
29300 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29302         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29303         before casting to void *.
29304         * include/libc-internal.h (__pointer_type): New macro.
29305         (__integer_if_pointer_type_sub): Likewise.
29306         (__integer_if_pointer_type): Likewise.
29307         (cast_to_integer): Likewise.
29308         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29309         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29310         before casting to atomic64_t.
29311         (atomic_exchange_acq): Likewise.
29312         (__arch_exchange_and_add_body): Likewise.
29313         (__arch_add_body): Likewise.
29314         (atomic_add_negative): Likewise.
29315         (atomic_add_zero): Likewise.
29317 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29319         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29320         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29321         (add_fdes): Likewise.
29322         (linear_search_fdes): Likewise.
29323         (binary_search_unencoded_fdes): Likewise.
29325 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29327         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29329 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29331         * configure.in: Autodetect C++ header directories.
29332         * configure: Regenerated.
29334 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29336         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29338 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29342 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29344         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29345         LDBL_MANT_DIG == 106]: Disable some tests.
29346         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29347         Likewise.
29348         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29349         Likewise.
29351         [BZ #14871]
29352         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29353         input for small inputs.  Return +/- pi/2 for large inputs.
29354         * math/libm-test.inc (atan_test): Add more tests.
29356         * sysdeps/generic/unwind-dw2-fde-glibc.c
29357         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29358         __attribute__ ((unused)).
29360         [BZ #14645]
29361         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29362         x * y if x and y are nonzero and z is zero.
29364         [BZ #14811]
29365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29366         nonzero exponents with absolute value below 0x1p-117 to +/-
29367         0x1p-117.
29369         [BZ #14869]
29370         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29371         up arguments below 2**-450, not just those below 2**-500.
29372         * math/libm-test.inc (hypot_test): Add another test.
29374         [BZ #14868]
29375         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29376         Return a+b for ratio over 2**120, not 2**60.
29377         * math/libm-test.inc (hypot_test): Add another test.
29379         * math/libm-test.inc (clog_test): Use
29380         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29381         (clog10_test): Likewise.
29383         [BZ #6778]
29384         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29386 2012-11-22  Andreas Schwab  <schwab@suse.de>
29388         * sysdeps/i386/fpu/libm-test-ulps: Update.
29390 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29392         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29393         printf output with newline.
29395 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29397         [BZ #14865]
29398         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29399         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29400         -z nodlopen, -z initfirst and -z execstack support.
29401         * configure: Regenerated.
29403         * elf/elf.h (DF_1_NODIRECT): New macro.
29404         (DF_1_IGNMULDEF): Likewise.
29405         (DF_1_NOKSYMS): Likewise.
29406         (DF_1_NOHDR): Likewise.
29407         (DF_1_EDITED): Likewise.
29408         (DF_1_NORELOC): Likewise.
29409         (DF_1_SYMINTPOSE): Likewise.
29410         (DF_1_GLOBAUDIT): Likewise.
29411         (DF_1_SINGLETON): Likewise.
29412         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29413         DT_1_SUPPORTED_MASK bits.
29414         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29416 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29418         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29420 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29422         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29423         macro.
29425         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29426         (sendmmsg): Move declarations...
29427         * socket/sys/socket.h: ... here.
29428         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29429         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29430         include it from...
29431         * socket/recvmmsg.c: ... this new file.
29432         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29433         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29434         definition of __sendmmsg hidden.
29435         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29436         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29437         Move ENOSYS stub into and include it from...
29438         * socket/sendmmsg.c: ... this new file.
29439         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29440         (sysdep_routines): Move recvmmsg and sendmmsg...
29441         * socket/Makefile (routines): ... here.
29442         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29443         (GLIBC_PRIVATE): Add __sendmmsg.
29444         * include/sys/socket.h (__sendmmsg): Add declarations.
29445         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29446         sendmmsg.
29448 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29450         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29451         variable I1 with __attribute__ ((unused)).
29452         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29454 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29456         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29457         DUMMY variables with __attribute__ ((unused)).
29459         * bits/byteswap.h: Include <bits/types.h>.
29460         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29462 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29464         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29465         string_t.  Do not manually set errno.
29466         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29467         length with __strnlen.  Make sure to both set errno and return it on
29468         failure.
29470 2012-11-19  David S. Miller  <davem@davemloft.net>
29472         With help from Joseph Myers.
29473         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29474         very large arguments properly.
29475         * math/libm-test.inc (atan_test): New tests.
29476         (atan2_test): New tests.
29477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29480 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29482         [BZ #14856]
29483         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29484         Define to 3.
29486         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29487         [POSIX] (EADDRNOTAVAIL): Likewise.
29488         [POSIX] (EAFNOSUPPORT): Likewise.
29489         [POSIX] (EALREADY): Likewise.
29490         [POSIX] (ECONNABORTED): Likewise.
29491         [POSIX] (ECONNREFUSED): Likewise.
29492         [POSIX] (ECONNRESET): Likewise.
29493         [POSIX] (EDESTADDRREQ): Likewise.
29494         [POSIX] (EDQUOT): Likewise.
29495         [POSIX] (EHOSTUNREACH): Likewise.
29496         [POSIX] (EIDRM): Likewise.
29497         [POSIX] (EISCONN): Likewise.
29498         [POSIX] (ELOOP): Likewise.
29499         [POSIX] (EMULTIHOP): Likewise.
29500         [POSIX] (ENETDOWN): Likewise.
29501         [POSIX] (ENETUNREACH): Likewise.
29502         [POSIX] (ENOBUFS): Likewise.
29503         [POSIX] (ENODATA): Likewise.
29504         [POSIX] (ENOLINK): Likewise.
29505         [POSIX] (ENOMSG): Likewise.
29506         [POSIX] (ENOPROTOOPT): Likewise.
29507         [POSIX] (ENOSR): Likewise.
29508         [POSIX] (ENOSTR): Likewise.
29509         [POSIX] (ENOTCONN): Likewise.
29510         [POSIX] (ENOTSOCK): Likewise.
29511         [POSIX] (EOPNOTSUPP): Likewise.
29512         [POSIX] (EOVERFLOW): Likewise.
29513         [POSIX] (EPROTO): Likewise.
29514         [POSIX] (EPROTONOSUPPORT): Likewise.
29515         [POSIX] (EPROTOTYPE): Likewise.
29516         [POSIX] (ESTALE): Likewise.
29517         [POSIX] (ETIME): Likewise.
29518         [POSIX] (ETXTBSY): Likewise.
29519         [POSIX] (EWOULDBLOCK): Likewise.
29520         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29521         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29522         [POSIX] (SEEK_CUR): Likewise.
29523         [POSIX] (SEEK_END): Likewise.
29524         [POSIX || UNIX98] (mode_t): Do not require.
29525         [POSIX] (off_t): Likewise.
29526         [POSIX] (pid_t): Likewise.
29527         [POSIX] (sys/stat.h): Do not allow header.
29528         [POSIX] (unistd.h): Likewise.
29529         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29530         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29531         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29532         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29533         require.
29534         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29535         sigevent): Specify elements.
29536         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29537         entry.
29538         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29539         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29541         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29542         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29543         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29544         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29545         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29546         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29547         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29548         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29549         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29550         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29551         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29552         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29553         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29554         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29555         Likewise.
29556         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29557         Likewise.
29558         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29559         Likewise.
29560         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29561         Likewise.
29562         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29563         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29564         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29565         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29566         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29567         Specify lower bound on value.
29568         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29569         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29570         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29571         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29572         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29573         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29574         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29575         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29576         value.
29577         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29578         as optional.
29579         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29580         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29581         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29582         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29583         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29584         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29585         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29586         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29587         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29588         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29589         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29590         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29591         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29592         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29593         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29594         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29595         entry.
29596         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29597         optional.
29598         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29599         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29600         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29601         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29602         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29603         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29604         Likewise.
29605         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29606         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29607         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29608         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29609         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29610         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29611         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29612         as optional.
29613         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29614         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29615         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29616         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29617         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29618         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29619         specify as optional.
29620         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29621         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29622         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29623         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29624         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29625         [XPG3] (NL_LANGMAX): Likewise.
29626         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29627         [POSIX || XPG3] (NL_NMAX): Likewise.
29628         [POSIX || XPG3] (NL_SETMAX): Likewise.
29629         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29630         [XPG3] (NZERO): Likewise.
29631         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29632         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29633         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29634         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29635         (REG_ERANGE): Expect.
29636         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29637         optional-constant.
29638         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29639         Use (void) in prototype.
29640         [POSIX] (*_t): Allow.
29641         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29642         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29643         (WRDE_BADVAL): Expect.
29645         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29646         expect.
29647         [XPG3 || XPG4] (O_RSYNC): Likewise.
29648         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29649         Likewise.
29650         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29651         [XPG3 || XPG4] (sigqueue): Likewise.
29652         [XPG3 || XPG4] (sigtimedwait): Likewise.
29653         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29654         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29655         [XPG3 || XPG4] (vsnprintf): Likewise.
29656         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29657         Likewise.
29658         [XPG3 || XPG4] (blksize_t): Likewise.
29659         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29660         Likewise.
29661         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29662         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29663         [XPG3 || XPG4] (struct itimerspec): Likewise.
29664         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29665         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29666         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29667         [XPG3 || XPG4] (clockid_t): Likewise.
29668         [XPG3 || XPG4] (timer_t): Likewise.
29669         [XPG3 || XPG4] (clock_getres): Likewise.
29670         [XPG3 || XPG4] (clock_gettime): Likewise.
29671         [XPG3 || XPG4] (clock_settime): Likewise.
29672         [XPG3 || XPG4] (nanosleep): Likewise.
29673         [XPG3 || XPG4] (timer_create): Likewise.
29674         [XPG3 || XPG4] (timer_delete): Likewise.
29675         [XPG3 || XPG4] (timer_gettime): Likewise.
29676         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29677         [XPG3 || XPG4] (timer_settime): Likewise.
29678         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29679         [XPG3 || XPG4] (getlogin_r): Likewise.
29680         [XPG3 || XPG4] (pread): Likewise.
29681         [XPG3 || XPG4] (pthread_atfork): Likewise.
29682         [XPG3 || XPG4] (pwrite): Likewise.
29684         [BZ #14835]
29685         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29686         <bits/siginfo.h>.
29688 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29690         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29691         finalizing MALLSTREAM.
29693         * sysdeps/mach/hurd/syncfs.c: New file.
29695 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29697         [BZ #14719]
29698         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29699         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29701         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29702         (_nss_dns_gethostbyname4_r): Likewise.
29703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29704         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29706 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29708         [BZ #13763]
29709         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29711 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29713         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29714         * elf/cache.c (print_entry): Print ",AArch64" for
29715         FLAG_AARCH64_LIB64
29717         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29718         * elf/cache.c (print_entry): Print ",hard-float" for
29719         FLAG_ARM_LIBHF.
29721 2012-11-18  David S. Miller  <davem@davemloft.net>
29723         With help from Joseph Myers.
29724         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29725         cutoff to 2**-13.
29726         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29727         cutoff to 2**-25.
29728         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29729         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29730         small.
29731         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29732         * math/libm-test.inc (y0_test): New tests.
29733         (y1_test): New tests.
29734         * sysdeps/i386/fpu/libm-test-ulps: Update.
29735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29738 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29740         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29741         64-bit targets.
29742         * configure: Regenerated.
29744 2012-11-17  David S. Miller  <davem@davemloft.net>
29746         [BZ #14811]
29747         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29748         nonzero exponents with absolute value below 0x1p-128 to +/-
29749         0x1p-128.
29751 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29753         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29755         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29757         * posix/getconf-speclist.c: New file.
29758         * posix/posix-envs.def: Likewise.
29759         * posix/confstr.c (START_ENV_GROUP): New macro.
29760         (END_ENV_GROUP): Likewise.
29761         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29762         (KNOWN_PRESENT_ENV_STRING): Likewise.
29763         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29764         (UNKNOWN_ENVIRONMENT): Likewise.
29765         (confstr): Include posix-envs.def instead of handling
29766         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29767         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29768         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29769         (END_ENV_GROUP): Likewise.
29770         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29771         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29772         (UNKNOWN_ENVIRONMENT): Likewise.
29773         (__sysconf): Include posix-envs.def instead of handling associated
29774         cases directly here.
29775         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29776         preprocessing getconf-speclist.c rather than running getconf or
29777         generating empty file.
29779 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29781         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29783 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29785         [BZ #14672]
29786         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29788 2012-11-16  David S. Miller  <davem@davemloft.net>
29790         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29791         smaller than LDBL_EPSILON/2.0L, just return xm1.
29793 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29795         * elf/tst-array1.c (init): Set constructor priority to 1000.
29796         (fini): Set destructor priority to 1000.
29797         * elf/tst-array2dep.c: Likewise.
29799 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29801         [BZ #11741]
29802         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29803         (_IO_new_file_xsputn): Also return EOF if none of the input
29804         data was written when overflow failed.
29805         * libio/iopadn.c (_IO_padn): Likewise.
29806         * libio/iowpadn.c (_IO_wpadn): Likewise.
29807         * stdio-common/tst-put-error.c: Add copyright notice.
29808         (do_test): Add case for printing padded string.
29809         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29810         _IO_padn returned error.
29811         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29812         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29813         return EOF.
29815 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29817         * libio/libioP.h: Add comment note that the references to C++
29818         bits are now obsolete.
29820 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29822         * math/libm-test.inc (check_complex): Use asprintf.
29824 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29826         * debug/pcprofiledump.c (print_version): Update copyright year.
29827         * malloc/memusagestat.c (print_version): Likewise.
29829 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29831         [BZ #14831]
29832         * elf/Makefile (tests): Add tst-audit8.
29833         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29834         ($(objpfx)tst-audit8.out): New target.
29835         (tst-audit8-ENV): New variable.
29836         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29837         audit if l_reloc_result is NULL.
29838         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29839         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29840         * elf/tst-audit8.c: New file.
29842 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29844         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29845         * misc/Makefile (CFLAGS-select.c): Define.
29846         * posix/Makefile (CFLAGS-pause.c): Define.
29848 2012-11-13  David S. Miller  <davem@davemloft.net>
29850         * crypt/Makefile: Move test targets after toplevel Rules
29851         inclusion.  Grab any necessary sysdep routines when linking.
29852         * crypt/md5.c (md5_process_block): Remove define, we will always
29853         name it __md5_process_block.
29854         (md5_finish_ctx): Update md5_process_block call.
29855         (md5_stream): Likewise.
29856         (md5_process_bytes): Likewise.
29857         (md5_process_block): Rename to __md5_process_block and move to ...
29858         * crypt/md5-block.c: ... here.
29859         * crypt/sha256.c (sha256_process_block): Move to ...
29860         * crypt/sha256-block.c: ... here.
29861         * crypt/sha512.c (sha512_process_block): Move to ...
29862         * crypt/sha512-block.c: ... here.
29863         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29864         path.
29865         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29866         * sysdeps/sparc/sparc64/multiarch/Makefile
29867         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29868         crypt subdir.
29869         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29870         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29871         multiarch changes.
29872         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29873         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29874         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29875         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29876         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29877         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29878         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29879         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29880         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29881         file.
29882         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29883         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29884         file.
29885         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29887 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29889         * timezone/tzselect.ksh: Update from tzcode git revision
29890         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29891         * timezone/zdump.c: Likewise.
29892         * timezone/zic.c: Likewise.
29893         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29894         in TZVERSION setting, not $(PKGVERSION).
29895         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29896         REPORT_BUGS_TO settings.
29898         [BZ #14838]
29899         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29900         macro.
29902 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29904         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29905         detection to immediately after _FP_ROUND().
29906         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29907         bits are 0.
29909 2012-11-11  David S. Miller  <davem@davemloft.net>
29911         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29912         inttypes.h
29913         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29914         __close rather than their public counterparts.
29916 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29918         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29919         file.
29920         [UNIX98] (sem_timedwait): Do not expect.
29921         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29922         [XPG4 || UNIX98] (sockatmark): Do not expect.
29923         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29924         (clock_getcpuclockid): Do not expect.
29925         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29926         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29927         Do not expect.
29928         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29929         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29930         [UNIX98] (vwscanf): Likewise.
29931         [UNIX98] (vswscanf): Likewise.
29933 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29935         * timezone/version.h: Remove file.
29936         * timezone/README: Do not refer to version.h.
29937         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29938         $(objpfx)version.h.
29939         ($(objpfx)zdump.o): Likewise.
29940         ($(objpfx)version.h): New target.
29942         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29943         2012i.
29944         * timezone/README: Don't mention modification to tzselect.ksh.
29945         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29946         work on unmodified tzselect.ksh.  Substitute version numbers in
29947         tzselect.ksh.
29949         * Makefile (format-me): Remove.
29950         (INSTALL): Adjust indentation.  Use commands directly instead of
29951         using $(format-me).
29953         * aclocal.m4 (ACX_PKGVERSION): New macro.
29954         (ACX_BUGURL): Likewise.
29955         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29956         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29957         (REPORT_BUGS_TO): Likewise.
29958         * configure: Regenerated.
29959         * config.h.in (PKGVERSION): New macro.
29960         (REPORT_BUGS_TO): Likewise.
29961         * config.make.in (PKGVERSION): New variable.
29962         (PKGVERSION_TEXI): Likewise.
29963         (REPORT_BUGS_TO): Likewise.
29964         (REPORT_BUGS_TEXI): Likewise.
29965         * Makefile (format-me): Use -I$(common-objpfx)manual.
29966         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29967         ($(common-objpfx)manual/%): New target.
29968         (manual/%): Remove target.
29969         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29970         (print_version): Use PKGVERSION.
29971         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29972         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29973         and REPORT_BUGS_TO.
29974         ($(objpfx)xtrace): Likewise.
29975         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29976         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29977         (print_version): Use PKGVERSION.
29978         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29979         (do_version): Use PKGVERSION.
29980         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29981         REPORT_BUGS_TO.
29982         (common-ldd-rewrite): Likewise.
29983         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29984         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29985         (print_version): Use PKGVERSION.
29986         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29987         * elf/pldd.c (argp_program_bug_address): Remove variable.
29988         (more_help): New function.
29989         (argp): Use more_help.
29990         (print_version): Use PKGVERSION.
29991         * elf/sln.c (main): Use PKGVERSION.
29992         (usage): Use REPORT_BUGS_TO.
29993         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29994         (top level): Use PKGVERSION.
29995         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29996         (print_version): Use PKGVERSION.
29997         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29998         (print_version): Use PKGVERSION.
29999         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30000         (print_version): Use PKGVERSION.
30001         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30002         (print_version): Use PKGVERSION.
30003         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30004         (print_version): Use PKGVERSION.
30005         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30006         (print_version): Use PKGVERSION.
30007         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30008         and BUGURL.
30009         ($(objpfx)memusage): Likewise.
30010         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30011         (do_version): Use PKGVERSION.
30012         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30013         (print_version): Use PKGVERSION.
30014         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30015         ($PKGVERSION): New variable.
30016         ($REPORT_BUGS_TO): Likewise.
30017         (usage): Use $REPORT_BUGS_TO.
30018         (top level): Use $PKGVERSION.
30019         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30020         ($(objpfx)pkgvers.texi): New rule.
30021         ($(objpfx)stamp-pkgvers): Likewise.
30022         * manual/install.texi: Include pkgvers.texi.
30023         (--with-pkgversion): Document new configure option.
30024         (--with-bugurl): Likewise.
30025         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30026         than necessarily for this particular distribution.  Use
30027         REPORT_BUGS_TO for where to report bugs.
30028         * INSTALL: Regenerated.
30029         * manual/libc.texinfo: Include pkgvers.texi.
30030         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30031         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30032         (print_version): Use PKGVERSION.
30033         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30034         (print_version): Use PKGVERSION.
30035         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30036         (print_version): Use PKGVERSION.
30037         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30038         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30039         macro.
30040         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30041         (print_version): Use PKGVERSION.
30042         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30043         (print_version): Use PKGVERSION.
30044         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30045         and PKGVERSION.
30047         * timezone/checktab.awk: Update from tzcode 2012i.
30048         * timezone/ialloc.c: Likewise.
30049         * timezone/private.h: Likewise.
30050         * timezone/scheck.c: Likewise.
30051         * timezone/tzfile.h: Likewise.
30052         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30053         (TZVERSION): Hardcode tzcode version number.
30054         * timezone/zdump.c: Update from tzcode 2012i.
30055         * timezone/zic.c: Likewise.
30056         * timezone/version.h: New file.
30057         * timezone/README: Describe version.h.  Update upstream location.
30059         [BZ #14824]
30060         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30061         (mktemp): Enable declaration.
30062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30063         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30065         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30066         Likewise.
30067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30068         Likewise.
30069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30070         Likewise.
30071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30072         Likewise.
30073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30074         Likewise.
30075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30076         Likewise.
30078         [BZ #14821]
30079         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30080         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30081         for copies of such integer values.
30082         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30083         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30085 2012-11-09  Andreas Jaeger  <aj@suse.de>
30087         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30088         definitions and declarations that are provided by
30089         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30091 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30093         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30094         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30095         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30096         definition.
30098 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30100         * elf/elf.h: Update comment before AArch64 relocations.
30102 2012-11-07  David S. Miller  <davem@davemloft.net>
30104         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30105         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30106         (__start_context): Declare.
30107         (__makecontext_ret): Delete.
30108         (__makecontext): Hook up __start_context instead of
30109         __makecontext_ret.
30110         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30111         (sysdep_routines): Add __start_context when in stdlib.
30113 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30115         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30116         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30117         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30118         hardcoded "nm".
30119         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30120         (READELF): New variable.  Use it instead of hardcoded "readelf".
30122 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30124         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30125         * sysdeps/x86/Makefile: Here.
30126         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30127         * sysdeps/x86/tst-xmmymm.sh: This.
30129 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30131         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30132         expectations.
30133         [UNIX98] (pthread_barrier_t): Do not expect.
30134         [UNIX98] (pthread_barrierattr_t): Likewise.
30135         [UNIX98] (pthread_spinlock_t): Likewise.
30136         [UNIX98] (pthread_barrier_destroy): Likewise.
30137         [UNIX98] (pthread_barrier_init): Likewise.
30138         [UNIX98] (pthread_barrier_wait): Likewise.
30139         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30140         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30141         [UNIX98] (pthread_barrierattr_init): Likewise.
30142         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30143         [UNIX98] (pthread_getcpuclockid): Likewise.
30144         [UNIX98] (pthread_mutex_timedlock): Likewise.
30145         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30146         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30147         [UNIX98] (pthread_sigmask): Likewise.
30148         [UNIX98] (pthread_spin_destroy): Likewise.
30149         [UNIX98] (pthread_spin_init): Likewise.
30150         [UNIX98] (pthread_spin_lock): Likewise.
30151         [UNIX98] (pthread_spin_trylock): Likewise.
30152         [UNIX98] (pthread_spin_unlock): Likewise.
30153         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30154         Do not expect.
30155         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30156         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30157         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30158         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30159         [XPG3 || XPG4] (pthread_key_t): Likewise.
30160         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30161         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30162         [XPG3 || XPG4] (pthread_once_t): Likewise.
30163         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30164         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30165         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30166         [XPG3 || XPG4] (pthread_t): Likewise.
30168         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30169         not expect.
30170         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30172         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30173         Change function return type to int.
30175         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30176         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30177         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30178         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30179         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30180         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30181         [!POSIX] (posix_madvise): Likewise.
30182         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30183         && !UNIX98].
30184         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30185         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30186         (mode_t): Likewise.
30187         (posix_mem_offset): Likewise.
30188         (posix_typed_mem_get_info): Likewise.
30189         (posix_typed_mem_open): Likewise.
30191         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30192         Change condition to [XOPEN2K8].
30194         * conform/conformtest.pl: Preprocess allow-header data with -x c
30195         instead of from stdin.
30196         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30197         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30198         [C99-based standards] (cerfc): Likewise.
30199         [C99-based standards] (cexp2): Likewise.
30200         [C99-based standards] (cexpm1): Likewise.
30201         [C99-based standards] (clog10): Likewise.
30202         [C99-based standards] (clog1p): Likewise.
30203         [C99-based standards] (clog2): Likewise.
30204         [C99-based standards] (clgamma): Likewise.
30205         [C99-based standards] (ctgamma): Likewise.
30206         [C99-based standards] (cerff): Likewise.
30207         [C99-based standards] (cerfcf): Likewise.
30208         [C99-based standards] (cexp2f): Likewise.
30209         [C99-based standards] (cexpm1f): Likewise.
30210         [C99-based standards] (clog10f): Likewise.
30211         [C99-based standards] (clog1pf): Likewise.
30212         [C99-based standards] (clog2f): Likewise.
30213         [C99-based standards] (clgammaf): Likewise.
30214         [C99-based standards] (ctgammaf): Likewise.
30215         [C99-based standards] (cerfl): Likewise.
30216         [C99-based standards] (cerfcl): Likewise.
30217         [C99-based standards] (cexp2l): Likewise.
30218         [C99-based standards] (cexpm1l): Likewise.
30219         [C99-based standards] (clog10l): Likewise.
30220         [C99-based standards] (clog1pl): Likewise.
30221         [C99-based standards] (clog2l): Likewise.
30222         [C99-based standards] (clgammal): Likewise.
30223         [C99-based standards] (ctgammal): Likewise.
30224         * conform/data/inttypes.h-data [C99-based standards]: Include
30225         stdint.h-data.  Remove all expectations for stdint.h contents.
30226         [C99-based standards] (PRI*): Do not allow.
30227         [C99-based standards] (SCN*): Likewise.
30228         [C99-based standards] (*_t): Likewise.
30229         [C99-based-standards] (PRId8): Expect macro.
30230         [C99-based-standards] (PRIi8): Likewise.
30231         [C99-based-standards] (PRIo8): Likewise.
30232         [C99-based-standards] (PRIu8): Likewise.
30233         [C99-based-standards] (PRIx8): Likewise.
30234         [C99-based-standards] (PRIX8): Likewise.
30235         [C99-based-standards] (SCNd8): Likewise.
30236         [C99-based-standards] (SCNi8): Likewise.
30237         [C99-based-standards] (SCNo8): Likewise.
30238         [C99-based-standards] (SCNu8): Likewise.
30239         [C99-based-standards] (SCNx8): Likewise.
30240         [C99-based-standards] (PRIdLEAST8): Likewise.
30241         [C99-based-standards] (PRIiLEAST8): Likewise.
30242         [C99-based-standards] (PRIoLEAST8): Likewise.
30243         [C99-based-standards] (PRIuLEAST8): Likewise.
30244         [C99-based-standards] (PRIxLEAST8): Likewise.
30245         [C99-based-standards] (PRIXLEAST8): Likewise.
30246         [C99-based-standards] (SCNdLEAST8): Likewise.
30247         [C99-based-standards] (SCNiLEAST8): Likewise.
30248         [C99-based-standards] (SCNoLEAST8): Likewise.
30249         [C99-based-standards] (SCNuLEAST8): Likewise.
30250         [C99-based-standards] (SCNxLEAST8): Likewise.
30251         [C99-based-standards] (PRIdFAST8): Likewise.
30252         [C99-based-standards] (PRIiFAST8): Likewise.
30253         [C99-based-standards] (PRIoFAST8): Likewise.
30254         [C99-based-standards] (PRIuFAST8): Likewise.
30255         [C99-based-standards] (PRIxFAST8): Likewise.
30256         [C99-based-standards] (PRIXFAST8): Likewise.
30257         [C99-based-standards] (SCNdFAST8): Likewise.
30258         [C99-based-standards] (SCNiFAST8): Likewise.
30259         [C99-based-standards] (SCNoFAST8): Likewise.
30260         [C99-based-standards] (SCNuFAST8): Likewise.
30261         [C99-based-standards] (SCNxFAST8): Likewise.
30262         [C99-based-standards] (PRId16): Likewise.
30263         [C99-based-standards] (PRIi16): Likewise.
30264         [C99-based-standards] (PRIo16): Likewise.
30265         [C99-based-standards] (PRIu16): Likewise.
30266         [C99-based-standards] (PRIx16): Likewise.
30267         [C99-based-standards] (PRIX16): Likewise.
30268         [C99-based-standards] (SCNd16): Likewise.
30269         [C99-based-standards] (SCNi16): Likewise.
30270         [C99-based-standards] (SCNo16): Likewise.
30271         [C99-based-standards] (SCNu16): Likewise.
30272         [C99-based-standards] (SCNx16): Likewise.
30273         [C99-based-standards] (PRIdLEAST16): Likewise.
30274         [C99-based-standards] (PRIiLEAST16): Likewise.
30275         [C99-based-standards] (PRIoLEAST16): Likewise.
30276         [C99-based-standards] (PRIuLEAST16): Likewise.
30277         [C99-based-standards] (PRIxLEAST16): Likewise.
30278         [C99-based-standards] (PRIXLEAST16): Likewise.
30279         [C99-based-standards] (SCNdLEAST16): Likewise.
30280         [C99-based-standards] (SCNiLEAST16): Likewise.
30281         [C99-based-standards] (SCNoLEAST16): Likewise.
30282         [C99-based-standards] (SCNuLEAST16): Likewise.
30283         [C99-based-standards] (SCNxLEAST16): Likewise.
30284         [C99-based-standards] (PRIdFAST16): Likewise.
30285         [C99-based-standards] (PRIiFAST16): Likewise.
30286         [C99-based-standards] (PRIoFAST16): Likewise.
30287         [C99-based-standards] (PRIuFAST16): Likewise.
30288         [C99-based-standards] (PRIxFAST16): Likewise.
30289         [C99-based-standards] (PRIXFAST16): Likewise.
30290         [C99-based-standards] (SCNdFAST16): Likewise.
30291         [C99-based-standards] (SCNiFAST16): Likewise.
30292         [C99-based-standards] (SCNoFAST16): Likewise.
30293         [C99-based-standards] (SCNuFAST16): Likewise.
30294         [C99-based-standards] (SCNxFAST16): Likewise.
30295         [C99-based-standards] (PRId32): Likewise.
30296         [C99-based-standards] (PRIi32): Likewise.
30297         [C99-based-standards] (PRIo32): Likewise.
30298         [C99-based-standards] (PRIu32): Likewise.
30299         [C99-based-standards] (PRIx32): Likewise.
30300         [C99-based-standards] (PRIX32): Likewise.
30301         [C99-based-standards] (SCNd32): Likewise.
30302         [C99-based-standards] (SCNi32): Likewise.
30303         [C99-based-standards] (SCNo32): Likewise.
30304         [C99-based-standards] (SCNu32): Likewise.
30305         [C99-based-standards] (SCNx32): Likewise.
30306         [C99-based-standards] (PRIdLEAST32): Likewise.
30307         [C99-based-standards] (PRIiLEAST32): Likewise.
30308         [C99-based-standards] (PRIoLEAST32): Likewise.
30309         [C99-based-standards] (PRIuLEAST32): Likewise.
30310         [C99-based-standards] (PRIxLEAST32): Likewise.
30311         [C99-based-standards] (PRIXLEAST32): Likewise.
30312         [C99-based-standards] (SCNdLEAST32): Likewise.
30313         [C99-based-standards] (SCNiLEAST32): Likewise.
30314         [C99-based-standards] (SCNoLEAST32): Likewise.
30315         [C99-based-standards] (SCNuLEAST32): Likewise.
30316         [C99-based-standards] (SCNxLEAST32): Likewise.
30317         [C99-based-standards] (PRIdFAST32): Likewise.
30318         [C99-based-standards] (PRIiFAST32): Likewise.
30319         [C99-based-standards] (PRIoFAST32): Likewise.
30320         [C99-based-standards] (PRIuFAST32): Likewise.
30321         [C99-based-standards] (PRIxFAST32): Likewise.
30322         [C99-based-standards] (PRIXFAST32): Likewise.
30323         [C99-based-standards] (SCNdFAST32): Likewise.
30324         [C99-based-standards] (SCNiFAST32): Likewise.
30325         [C99-based-standards] (SCNoFAST32): Likewise.
30326         [C99-based-standards] (SCNuFAST32): Likewise.
30327         [C99-based-standards] (SCNxFAST32): Likewise.
30328         [C99-based-standards] (PRId64): Likewise.
30329         [C99-based-standards] (PRIi64): Likewise.
30330         [C99-based-standards] (PRIo64): Likewise.
30331         [C99-based-standards] (PRIu64): Likewise.
30332         [C99-based-standards] (PRIx64): Likewise.
30333         [C99-based-standards] (PRIX64): Likewise.
30334         [C99-based-standards] (SCNd64): Likewise.
30335         [C99-based-standards] (SCNi64): Likewise.
30336         [C99-based-standards] (SCNo64): Likewise.
30337         [C99-based-standards] (SCNu64): Likewise.
30338         [C99-based-standards] (SCNx64): Likewise.
30339         [C99-based-standards] (PRIdLEAST64): Likewise.
30340         [C99-based-standards] (PRIiLEAST64): Likewise.
30341         [C99-based-standards] (PRIoLEAST64): Likewise.
30342         [C99-based-standards] (PRIuLEAST64): Likewise.
30343         [C99-based-standards] (PRIxLEAST64): Likewise.
30344         [C99-based-standards] (PRIXLEAST64): Likewise.
30345         [C99-based-standards] (SCNdLEAST64): Likewise.
30346         [C99-based-standards] (SCNiLEAST64): Likewise.
30347         [C99-based-standards] (SCNoLEAST64): Likewise.
30348         [C99-based-standards] (SCNuLEAST64): Likewise.
30349         [C99-based-standards] (SCNxLEAST64): Likewise.
30350         [C99-based-standards] (PRIdFAST64): Likewise.
30351         [C99-based-standards] (PRIiFAST64): Likewise.
30352         [C99-based-standards] (PRIoFAST64): Likewise.
30353         [C99-based-standards] (PRIuFAST64): Likewise.
30354         [C99-based-standards] (PRIxFAST64): Likewise.
30355         [C99-based-standards] (PRIXFAST64): Likewise.
30356         [C99-based-standards] (SCNdFAST64): Likewise.
30357         [C99-based-standards] (SCNiFAST64): Likewise.
30358         [C99-based-standards] (SCNoFAST64): Likewise.
30359         [C99-based-standards] (SCNuFAST64): Likewise.
30360         [C99-based-standards] (SCNxFAST64): Likewise.
30361         [C99-based-standards] (PRIdMAX): Likewise.
30362         [C99-based-standards] (PRIiMAX): Likewise.
30363         [C99-based-standards] (PRIoMAX): Likewise.
30364         [C99-based-standards] (PRIuMAX): Likewise.
30365         [C99-based-standards] (PRIxMAX): Likewise.
30366         [C99-based-standards] (PRIXMAX): Likewise.
30367         [C99-based-standards] (SCNdMAX): Likewise.
30368         [C99-based-standards] (SCNiMAX): Likewise.
30369         [C99-based-standards] (SCNoMAX): Likewise.
30370         [C99-based-standards] (SCNuMAX): Likewise.
30371         [C99-based-standards] (SCNxMAX): Likewise.
30372         [C99-based-standards] (PRIdPTR): Likewise.
30373         [C99-based-standards] (PRIiPTR): Likewise.
30374         [C99-based-standards] (PRIoPTR): Likewise.
30375         [C99-based-standards] (PRIuPTR): Likewise.
30376         [C99-based-standards] (PRIxPTR): Likewise.
30377         [C99-based-standards] (PRIXPTR): Likewise.
30378         [C99-based-standards] (SCNdPTR): Likewise.
30379         [C99-based-standards] (SCNiPTR): Likewise.
30380         [C99-based-standards] (SCNoPTR): Likewise.
30381         [C99-based-standards] (SCNuPTR): Likewise.
30382         [C99-based-standards] (SCNxPTR): Likewise.
30383         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30384         allow.
30385         * conform/data/stdint.h-data: Update comments to clarify
30386         requirements.
30387         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30388         type.
30389         [C99-based standards] (INT8_MAX): Likewise.
30390         [C99-based standards] (INT16_MIN): Likewise.
30391         [C99-based standards] (INT16_MAX): Likewise.
30392         [C99-based standards] (INT32_MIN): Likewise.
30393         [C99-based standards] (INT32_MAX): Likewise.
30394         [C99-based standards] (INT64_MIN): Likewise.
30395         [C99-based standards] (INT64_MAX): Likewise.
30396         [C99-based standards] (UINT8_MAX): Likewise.
30397         [C99-based standards] (UINT16_MAX): Likewise.
30398         [C99-based standards] (UINT32_MAX): Likewise.
30399         [C99-based standards] (UINT64_MAX): Likewise.
30400         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30401         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30402         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30403         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30404         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30405         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30406         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30407         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30408         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30409         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30410         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30411         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30412         [C99-based standards] (INT_FAST8_MIN): Likewise.
30413         [C99-based standards] (INT_FAST8_MAX): Likewise.
30414         [C99-based standards] (INT_FAST16_MIN): Likewise.
30415         [C99-based standards] (INT_FAST16_MAX): Likewise.
30416         [C99-based standards] (INT_FAST32_MIN): Likewise.
30417         [C99-based standards] (INT_FAST32_MAX): Likewise.
30418         [C99-based standards] (INT_FAST64_MIN): Likewise.
30419         [C99-based standards] (INT_FAST64_MAX): Likewise.
30420         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30421         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30422         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30423         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30424         [C99-based standards] (INTPTR_MIN): Likewise.
30425         [C99-based standards] (INTPTR_MAX): Likewise.
30426         [C99-based standards] (UINTPTR_MAX): Likewise.
30427         [C99-based standards] (INTMAX_MIN): Likewise.
30428         [C99-based standards] (INTMAX_MAX): Likewise.
30429         [C99-based standards] (UINTMAX_MAX): Likewise.
30430         [C99-based standards] (PTRDIFF_MIN): Likewise.
30431         [C99-based standards] (PTRDIFF_MAX): Likewise.
30432         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30433         [C99-based standards] (SIZE_MAX): Likewise.
30434         [C99-based standards] (WCHAR_MAX): Likewise.
30435         [C99-based standards] (WINT_MAX): Likewise.
30436         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30437         constraint on value.
30438         [C99-based standards] (WCHAR_MIN): Likewise.
30439         [C99-based standards] (WINT_MIN): Likewise.
30440         [C99-based standards] (*_t): Allow.
30441         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30442         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30443         Include math.h-data and complex.h-data.  Remove all expectations
30444         of math.h and complex.h contents.
30445         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30446         at end of line.
30447         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30448         (struct tm): Expect tag.
30449         [C99-based-standards] (wcstof): Expect function.
30450         [C99-based-standards] (wcstold): Likewise.
30451         [C99-based-standards] (wcstoll): Likewise.
30452         [C99-based-standards] (wcstoull): Likewise.
30453         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30454         macro-int-constant.  Specify type.
30455         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30456         constraint on value.
30457         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30458         Specify type.
30459         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30460         Specify value.
30461         [ISO C standards]: Do not allow headers.
30462         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30463         wcs[abcdefghijklmnopqrstuvwxyz]*.
30464         [ISO C standards] (*_t): Do not allow.
30465         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30466         Expect function.
30467         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30468         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30469         Specify type.
30470         [ISO C standards]: Do not allow headers.
30471         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30472         is[abcdefghijklmnopqrstuvwxyz]*.
30473         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30474         to[abcdefghijklmnopqrstuvwxyz]*.
30475         [ISO C standards] (*_t): Do not allow.
30476         * conform/data/stdalign.h-data: New file.
30477         * conform/data/stdbool.h-data: Likewise.
30478         * conform/data/stdnoreturn.h-data: Likewise.
30480 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30482         [BZ #14815]
30483         * manual/filesys.texi (Directory Entries): Typo fix.
30484         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30486 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30488         * elf/elf.h (EM_AARCH64): New macro.
30489         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30490         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30491         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30492         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30493         (R_AARCH64_TLSDESC): Likewise.
30494         (NT_ARM_TLS): Likewise.
30495         (NT_ARM_HW_BREAK): Likewise.
30496         (NT_ARM_HW_WATCH): Likewise.
30498 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30500         [BZ #14811]
30501         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30502         (__ieee754_powl): Saturate nonzero exponents with absolute value
30503         below 0x1p-79 to +/- 0x1p-79.
30504         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30505         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30506         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30507         nonzero exponents with absolute value below 0x1p-32 to +/-
30508         0x1p-32.
30509         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30510         (__ieee754_powl): Saturate nonzero exponents with absolute value
30511         below 0x1p-79 to +/- 0x1p-79.
30512         * math/libm-test.inc (pow_test): Add more tests.
30514 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30516         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30517         _dl_s390_cap_flags with kernel. Increase string length.
30518         (_dl_s390_platforms): Add z196 and zEC12.
30520 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30522         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30523         Change XOPEN21K to XOPEN2K.
30525 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30527         * string/memmove.c: Use memcpy when possible.
30529 2012-11-06  Andreas Jaeger  <aj@suse.de>
30531         * po/eo.po: Update from translation team.
30533 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #14793]
30536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30537         exponent and small x and y exponents, scale x or y up.  Increase
30538         by 2 the exponent used in scaling up.
30539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30541         * math/libm-test.inc (fma_test): Add more tests.
30542         (fma_test_towardzero): Likewise.
30543         (fma_test_downward): Likewise.
30544         (fma_test_upward): Likewise.
30546 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30548         [BZ #14805]
30549         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30550         fenv_t *.
30552         [BZ #14801]
30553         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30554         namespace for names of struct fields.
30555         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30556         fenv_t fields.
30557         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30558         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30560 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30562         [BZ #3665]
30563         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30565 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30567         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30568         PTR_DEMANGLE.
30570         [BZ #5246]
30571         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30572         PTR_DEMANGLE.
30574 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30576         [BZ #14797]
30577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30578         definitely overflow as x * y not x * y + z.
30579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30581         * math/libm-test.inc (fma_test): Add more tests.
30582         (fma_test_towardzero): Likewise.
30583         (fma_test_downward): Likewise.
30584         (fma_test_upward): Likewise.
30586 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30588         [BZ #157]
30590         * include/stub-tag.h: Remove file.
30591         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30592         '#include' of it.
30593         * manual/maint.texi (Porting): Don't reference it.
30594         * Makerules ($(objpfx)stubs): Likewise.
30595         * dirent/closedir.c: Don't include <stub-tag.h>.
30596         * dirent/dirfd.c: Likewise.
30597         * dirent/fdopendir.c: Likewise.
30598         * dirent/getdents.c: Likewise.
30599         * dirent/getdents64.c: Likewise.
30600         * dirent/opendir.c: Likewise.
30601         * dirent/readdir.c: Likewise.
30602         * dirent/readdir64.c: Likewise.
30603         * dirent/readdir64_r.c: Likewise.
30604         * dirent/readdir_r.c: Likewise.
30605         * dirent/rewinddir.c: Likewise.
30606         * dirent/seekdir.c: Likewise.
30607         * dirent/telldir.c: Likewise.
30608         * gmon/profil.c: Likewise.
30609         * grp/setgroups.c: Likewise.
30610         * inet/if_index.c: Likewise.
30611         * io/access.c: Likewise.
30612         * io/chdir.c: Likewise.
30613         * io/chmod.c: Likewise.
30614         * io/chown.c: Likewise.
30615         * io/close.c: Likewise.
30616         * io/dup.c: Likewise.
30617         * io/dup2.c: Likewise.
30618         * io/dup3.c: Likewise.
30619         * io/euidaccess.c: Likewise.
30620         * io/faccessat.c: Likewise.
30621         * io/fchdir.c: Likewise.
30622         * io/fchmod.c: Likewise.
30623         * io/fchmodat.c: Likewise.
30624         * io/fchown.c: Likewise.
30625         * io/fchownat.c: Likewise.
30626         * io/fcntl.c: Likewise.
30627         * io/flock.c: Likewise.
30628         * io/fstatfs.c: Likewise.
30629         * io/fstatfs64.c: Likewise.
30630         * io/fstatvfs.c: Likewise.
30631         * io/fstatvfs64.c: Likewise.
30632         * io/futimens.c: Likewise.
30633         * io/fxstat.c: Likewise.
30634         * io/fxstat64.c: Likewise.
30635         * io/fxstatat.c: Likewise.
30636         * io/fxstatat64.c: Likewise.
30637         * io/getcwd.c: Likewise.
30638         * io/isatty.c: Likewise.
30639         * io/lchmod.c: Likewise.
30640         * io/lchown.c: Likewise.
30641         * io/link.c: Likewise.
30642         * io/linkat.c: Likewise.
30643         * io/lseek.c: Likewise.
30644         * io/lseek64.c: Likewise.
30645         * io/lxstat64.c: Likewise.
30646         * io/mkdir.c: Likewise.
30647         * io/mkdirat.c: Likewise.
30648         * io/mkfifo.c: Likewise.
30649         * io/mkfifoat.c: Likewise.
30650         * io/open.c: Likewise.
30651         * io/open64.c: Likewise.
30652         * io/openat.c: Likewise.
30653         * io/openat64.c: Likewise.
30654         * io/pipe.c: Likewise.
30655         * io/pipe2.c: Likewise.
30656         * io/poll.c: Likewise.
30657         * io/posix_fadvise.c: Likewise.
30658         * io/posix_fadvise64.c: Likewise.
30659         * io/posix_fallocate.c: Likewise.
30660         * io/posix_fallocate64.c: Likewise.
30661         * io/read.c: Likewise.
30662         * io/readlink.c: Likewise.
30663         * io/readlinkat.c: Likewise.
30664         * io/rmdir.c: Likewise.
30665         * io/sendfile.c: Likewise.
30666         * io/sendfile64.c: Likewise.
30667         * io/statfs.c: Likewise.
30668         * io/statfs64.c: Likewise.
30669         * io/statvfs.c: Likewise.
30670         * io/statvfs64.c: Likewise.
30671         * io/symlink.c: Likewise.
30672         * io/symlinkat.c: Likewise.
30673         * io/ttyname.c: Likewise.
30674         * io/ttyname_r.c: Likewise.
30675         * io/umask.c: Likewise.
30676         * io/unlink.c: Likewise.
30677         * io/unlinkat.c: Likewise.
30678         * io/utime.c: Likewise.
30679         * io/utimensat.c: Likewise.
30680         * io/write.c: Likewise.
30681         * io/xmknod.c: Likewise.
30682         * io/xmknodat.c: Likewise.
30683         * io/xstat.c: Likewise.
30684         * io/xstat64.c: Likewise.
30685         * login/getpt.c: Likewise.
30686         * login/grantpt.c: Likewise.
30687         * login/unlockpt.c: Likewise.
30688         * math/e_acoshl.c: Likewise.
30689         * math/e_acosl.c: Likewise.
30690         * math/e_asinl.c: Likewise.
30691         * math/e_atan2l.c: Likewise.
30692         * math/e_atanhl.c: Likewise.
30693         * math/e_coshl.c: Likewise.
30694         * math/e_expl.c: Likewise.
30695         * math/e_fmodl.c: Likewise.
30696         * math/e_gammal_r.c: Likewise.
30697         * math/e_hypotl.c: Likewise.
30698         * math/e_j0l.c: Likewise.
30699         * math/e_j1l.c: Likewise.
30700         * math/e_jnl.c: Likewise.
30701         * math/e_lgammal_r.c: Likewise.
30702         * math/e_log10l.c: Likewise.
30703         * math/e_log2l.c: Likewise.
30704         * math/e_logl.c: Likewise.
30705         * math/e_powl.c: Likewise.
30706         * math/e_rem_pio2l.c: Likewise.
30707         * math/e_sinhl.c: Likewise.
30708         * math/e_sqrtl.c: Likewise.
30709         * math/fclrexcpt.c: Likewise.
30710         * math/fedisblxcpt.c: Likewise.
30711         * math/feenablxcpt.c: Likewise.
30712         * math/fegetenv.c: Likewise.
30713         * math/fegetexcept.c: Likewise.
30714         * math/fegetround.c: Likewise.
30715         * math/feholdexcpt.c: Likewise.
30716         * math/fesetenv.c: Likewise.
30717         * math/fesetround.c: Likewise.
30718         * math/feupdateenv.c: Likewise.
30719         * math/fgetexcptflg.c: Likewise.
30720         * math/fraiseexcpt.c: Likewise.
30721         * math/fsetexcptflg.c: Likewise.
30722         * math/ftestexcept.c: Likewise.
30723         * math/k_cosl.c: Likewise.
30724         * math/k_rem_pio2l.c: Likewise.
30725         * math/k_sinl.c: Likewise.
30726         * math/k_tanl.c: Likewise.
30727         * math/s_asinhl.c: Likewise.
30728         * math/s_atanl.c: Likewise.
30729         * math/s_cbrtl.c: Likewise.
30730         * math/s_erfl.c: Likewise.
30731         * math/s_expm1l.c: Likewise.
30732         * math/s_log1pl.c: Likewise.
30733         * math/s_tanhl.c: Likewise.
30734         * misc/acct.c: Likewise.
30735         * misc/brk.c: Likewise.
30736         * misc/chflags.c: Likewise.
30737         * misc/chroot.c: Likewise.
30738         * misc/fchflags.c: Likewise.
30739         * misc/fgetxattr.c: Likewise.
30740         * misc/flistxattr.c: Likewise.
30741         * misc/fremovexattr.c: Likewise.
30742         * misc/fsetxattr.c: Likewise.
30743         * misc/fsync.c: Likewise.
30744         * misc/ftruncate.c: Likewise.
30745         * misc/futimes.c: Likewise.
30746         * misc/futimesat.c: Likewise.
30747         * misc/getdomain.c: Likewise.
30748         * misc/getdtsz.c: Likewise.
30749         * misc/gethostid.c: Likewise.
30750         * misc/gethostname.c: Likewise.
30751         * misc/getloadavg.c: Likewise.
30752         * misc/getpagesize.c: Likewise.
30753         * misc/getsysstats.c: Likewise.
30754         * misc/getxattr.c: Likewise.
30755         * misc/gtty.c: Likewise.
30756         * misc/ioctl.c: Likewise.
30757         * misc/lgetxattr.c: Likewise.
30758         * misc/listxattr.c: Likewise.
30759         * misc/llistxattr.c: Likewise.
30760         * misc/lremovexattr.c: Likewise.
30761         * misc/lsetxattr.c: Likewise.
30762         * misc/lutimes.c: Likewise.
30763         * misc/madvise.c: Likewise.
30764         * misc/mincore.c: Likewise.
30765         * misc/mlock.c: Likewise.
30766         * misc/mlockall.c: Likewise.
30767         * misc/mmap.c: Likewise.
30768         * misc/mprotect.c: Likewise.
30769         * misc/msync.c: Likewise.
30770         * misc/munlock.c: Likewise.
30771         * misc/munlockall.c: Likewise.
30772         * misc/munmap.c: Likewise.
30773         * misc/preadv.c: Likewise.
30774         * misc/preadv64.c: Likewise.
30775         * misc/ptrace.c: Likewise.
30776         * misc/pwritev.c: Likewise.
30777         * misc/pwritev64.c: Likewise.
30778         * misc/readv.c: Likewise.
30779         * misc/reboot.c: Likewise.
30780         * misc/remap_file_pages.c: Likewise.
30781         * misc/removexattr.c: Likewise.
30782         * misc/revoke.c: Likewise.
30783         * misc/select.c: Likewise.
30784         * misc/setdomain.c: Likewise.
30785         * misc/setegid.c: Likewise.
30786         * misc/seteuid.c: Likewise.
30787         * misc/sethostid.c: Likewise.
30788         * misc/sethostname.c: Likewise.
30789         * misc/setregid.c: Likewise.
30790         * misc/setreuid.c: Likewise.
30791         * misc/setxattr.c: Likewise.
30792         * misc/sstk.c: Likewise.
30793         * misc/stty.c: Likewise.
30794         * misc/swapoff.c: Likewise.
30795         * misc/swapon.c: Likewise.
30796         * misc/sync.c: Likewise.
30797         * misc/syncfs.c: Likewise.
30798         * misc/syscall.c: Likewise.
30799         * misc/truncate.c: Likewise.
30800         * misc/ualarm.c: Likewise.
30801         * misc/usleep.c: Likewise.
30802         * misc/ustat.c: Likewise.
30803         * misc/utimes.c: Likewise.
30804         * misc/vhangup.c: Likewise.
30805         * misc/writev.c: Likewise.
30806         * posix/_exit.c: Likewise.
30807         * posix/alarm.c: Likewise.
30808         * posix/execve.c: Likewise.
30809         * posix/fexecve.c: Likewise.
30810         * posix/fork.c: Likewise.
30811         * posix/fpathconf.c: Likewise.
30812         * posix/getaddrinfo.c: Likewise.
30813         * posix/getegid.c: Likewise.
30814         * posix/geteuid.c: Likewise.
30815         * posix/getgid.c: Likewise.
30816         * posix/getgroups.c: Likewise.
30817         * posix/getlogin.c: Likewise.
30818         * posix/getlogin_r.c: Likewise.
30819         * posix/getpgid.c: Likewise.
30820         * posix/getpid.c: Likewise.
30821         * posix/getppid.c: Likewise.
30822         * posix/getresgid.c: Likewise.
30823         * posix/getresuid.c: Likewise.
30824         * posix/getsid.c: Likewise.
30825         * posix/getuid.c: Likewise.
30826         * posix/glob64.c: Likewise.
30827         * posix/nanosleep.c: Likewise.
30828         * posix/pathconf.c: Likewise.
30829         * posix/pause.c: Likewise.
30830         * posix/posix_madvise.c: Likewise.
30831         * posix/pread.c: Likewise.
30832         * posix/pread64.c: Likewise.
30833         * posix/pwrite.c: Likewise.
30834         * posix/pwrite64.c: Likewise.
30835         * posix/sched_getaffinity.c: Likewise.
30836         * posix/sched_getp.c: Likewise.
30837         * posix/sched_gets.c: Likewise.
30838         * posix/sched_primax.c: Likewise.
30839         * posix/sched_primin.c: Likewise.
30840         * posix/sched_rr_gi.c: Likewise.
30841         * posix/sched_setaffinity.c: Likewise.
30842         * posix/sched_setp.c: Likewise.
30843         * posix/sched_sets.c: Likewise.
30844         * posix/sched_yield.c: Likewise.
30845         * posix/setgid.c: Likewise.
30846         * posix/setlogin.c: Likewise.
30847         * posix/setpgid.c: Likewise.
30848         * posix/setresgid.c: Likewise.
30849         * posix/setresuid.c: Likewise.
30850         * posix/setsid.c: Likewise.
30851         * posix/setuid.c: Likewise.
30852         * posix/sleep.c: Likewise.
30853         * posix/spawni.c: Likewise.
30854         * posix/sysconf.c: Likewise.
30855         * posix/times.c: Likewise.
30856         * posix/wait.c: Likewise.
30857         * posix/wait3.c: Likewise.
30858         * posix/wait4.c: Likewise.
30859         * posix/waitpid.c: Likewise.
30860         * resolv/gai_sigqueue.c: Likewise.
30861         * resource/getpriority.c: Likewise.
30862         * resource/getrlimit.c: Likewise.
30863         * resource/getrusage.c: Likewise.
30864         * resource/nice.c: Likewise.
30865         * resource/setpriority.c: Likewise.
30866         * resource/setrlimit.c: Likewise.
30867         * resource/ulimit.c: Likewise.
30868         * rt/aio_cancel.c: Likewise.
30869         * rt/aio_fsync.c: Likewise.
30870         * rt/aio_read.c: Likewise.
30871         * rt/aio_sigqueue.c: Likewise.
30872         * rt/aio_suspend.c: Likewise.
30873         * rt/aio_write.c: Likewise.
30874         * rt/clock_getres.c: Likewise.
30875         * rt/clock_gettime.c: Likewise.
30876         * rt/clock_nanosleep.c: Likewise.
30877         * rt/clock_settime.c: Likewise.
30878         * rt/lio_listio.c: Likewise.
30879         * rt/mq_close.c: Likewise.
30880         * rt/mq_getattr.c: Likewise.
30881         * rt/mq_notify.c: Likewise.
30882         * rt/mq_open.c: Likewise.
30883         * rt/mq_receive.c: Likewise.
30884         * rt/mq_send.c: Likewise.
30885         * rt/mq_setattr.c: Likewise.
30886         * rt/mq_timedreceive.c: Likewise.
30887         * rt/mq_timedsend.c: Likewise.
30888         * rt/mq_unlink.c: Likewise.
30889         * rt/shm_open.c: Likewise.
30890         * rt/shm_unlink.c: Likewise.
30891         * rt/timer_create.c: Likewise.
30892         * rt/timer_delete.c: Likewise.
30893         * rt/timer_getoverr.c: Likewise.
30894         * rt/timer_gettime.c: Likewise.
30895         * rt/timer_settime.c: Likewise.
30896         * setjmp/__longjmp.c: Likewise.
30897         * setjmp/setjmp.c: Likewise.
30898         * signal/kill.c: Likewise.
30899         * signal/killpg.c: Likewise.
30900         * signal/raise.c: Likewise.
30901         * signal/sigaction.c: Likewise.
30902         * signal/sigaltstack.c: Likewise.
30903         * signal/sigblock.c: Likewise.
30904         * signal/sigignore.c: Likewise.
30905         * signal/sigintr.c: Likewise.
30906         * signal/signal.c: Likewise.
30907         * signal/sigpause.c: Likewise.
30908         * signal/sigpending.c: Likewise.
30909         * signal/sigqueue.c: Likewise.
30910         * signal/sigreturn.c: Likewise.
30911         * signal/sigset.c: Likewise.
30912         * signal/sigsetmask.c: Likewise.
30913         * signal/sigstack.c: Likewise.
30914         * signal/sigsuspend.c: Likewise.
30915         * signal/sigtimedwait.c: Likewise.
30916         * signal/sigvec.c: Likewise.
30917         * signal/sigwait.c: Likewise.
30918         * signal/sigwaitinfo.c: Likewise.
30919         * signal/sysv_signal.c: Likewise.
30920         * socket/accept.c: Likewise.
30921         * socket/accept4.c: Likewise.
30922         * socket/bind.c: Likewise.
30923         * socket/connect.c: Likewise.
30924         * socket/getpeername.c: Likewise.
30925         * socket/getsockname.c: Likewise.
30926         * socket/getsockopt.c: Likewise.
30927         * socket/isfdtype.c: Likewise.
30928         * socket/listen.c: Likewise.
30929         * socket/recv.c: Likewise.
30930         * socket/recvfrom.c: Likewise.
30931         * socket/recvmsg.c: Likewise.
30932         * socket/send.c: Likewise.
30933         * socket/sendmsg.c: Likewise.
30934         * socket/sendto.c: Likewise.
30935         * socket/setsockopt.c: Likewise.
30936         * socket/shutdown.c: Likewise.
30937         * socket/sockatmark.c: Likewise.
30938         * socket/socket.c: Likewise.
30939         * socket/socketpair.c: Likewise.
30940         * stdio-common/ctermid.c: Likewise.
30941         * stdio-common/cuserid.c: Likewise.
30942         * stdio-common/remove.c: Likewise.
30943         * stdio-common/rename.c: Likewise.
30944         * stdio-common/renameat.c: Likewise.
30945         * stdio-common/tempname.c: Likewise.
30946         * stdlib/getcontext.c: Likewise.
30947         * stdlib/makecontext.c: Likewise.
30948         * stdlib/setcontext.c: Likewise.
30949         * stdlib/swapcontext.c: Likewise.
30950         * stdlib/system.c: Likewise.
30951         * streams/fattach.c: Likewise.
30952         * streams/fdetach.c: Likewise.
30953         * streams/getmsg.c: Likewise.
30954         * streams/getpmsg.c: Likewise.
30955         * streams/putmsg.c: Likewise.
30956         * streams/putpmsg.c: Likewise.
30957         * sysdeps/unix/bsd/getpt.c: Likewise.
30958         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30959         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30960         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30962         Likewise.
30963         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30964         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30965         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30966         * sysvipc/msgctl.c: Likewise.
30967         * sysvipc/msgget.c: Likewise.
30968         * sysvipc/msgrcv.c: Likewise.
30969         * sysvipc/msgsnd.c: Likewise.
30970         * sysvipc/semctl.c: Likewise.
30971         * sysvipc/semget.c: Likewise.
30972         * sysvipc/semop.c: Likewise.
30973         * sysvipc/semtimedop.c: Likewise.
30974         * sysvipc/shmat.c: Likewise.
30975         * sysvipc/shmctl.c: Likewise.
30976         * sysvipc/shmdt.c: Likewise.
30977         * sysvipc/shmget.c: Likewise.
30978         * termios/tcdrain.c: Likewise.
30979         * termios/tcflow.c: Likewise.
30980         * termios/tcflush.c: Likewise.
30981         * termios/tcgetattr.c: Likewise.
30982         * termios/tcgetpgrp.c: Likewise.
30983         * termios/tcsendbrk.c: Likewise.
30984         * termios/tcsetattr.c: Likewise.
30985         * termios/tcsetpgrp.c: Likewise.
30986         * time/adjtime.c: Likewise.
30987         * time/clock.c: Likewise.
30988         * time/getitimer.c: Likewise.
30989         * time/gettimeofday.c: Likewise.
30990         * time/setitimer.c: Likewise.
30991         * time/settimeofday.c: Likewise.
30992         * time/stime.c: Likewise.
30993         * time/time.c: Likewise.
30995 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30997         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30998         /usr/old/bin.
31000         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31001         instead of spaces.
31002         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31004 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31006         [BZ #14796]
31007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31008         FE_TONEAREST before applying Dekker multiplication and Knuth
31009         addition.  Clear inexact exceptions and check for exact zero
31010         results afterwards.
31011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31014         * math/libm-test.inc (fma_test): Add more tests.
31015         (fma_test_towardzero): Likewise.
31016         (fma_test_downward): Likewise.
31017         (fma_test_upward): Likewise.
31018         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31019         function.
31020         (libc_fesetround): New macro.
31021         (libc_fesetroundf): Likewise.
31022         (libc_fesetroundl): Likewise.
31023         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31024         function.
31025         (libc_fesetround_387): Likewise.
31026         (libc_fesetroundf): New macro.
31027         (libc_fesetround): Likewise.
31028         (libc_fesetroundl): Likewise.
31029         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31030         function.
31031         (libc_fesetroundf): New macro.
31032         (libc_fesetround): Likewise.
31033         (libc_fesetroundl): Likewise.
31034         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31035         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31036         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31037         libm_hidden_ver.
31038         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31039         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31040         libm_hidden_def.
31041         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31042         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31043         libm_hidden_ver.
31044         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31045         libm_hidden_def.
31047         [BZ #3439]
31048         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31049         integer constant usable in #if and use that to give value to enum
31050         constant.
31051         (FE_DIVBYZERO): Likewise.
31052         (FE_UNDERFLOW): Likewise.
31053         (FE_OVERFLOW): Likewise.
31054         (FE_INVALID): Likewise.
31055         (FE_INVALID_SNAN): Likewise.
31056         (FE_INVALID_ISI): Likewise.
31057         (FE_INVALID_IDI): Likewise.
31058         (FE_INVALID_ZDZ): Likewise.
31059         (FE_INVALID_IMZ): Likewise.
31060         (FE_INVALID_COMPARE): Likewise.
31061         (FE_INVALID_SOFTWARE): Likewise.
31062         (FE_INVALID_SQRT): Likewise.
31063         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31064         (FE_TONEAREST): Likewise.
31065         (FE_TOWARDZERO): Likewise.
31066         (FE_UPWARD): Likewise.
31067         (FE_DOWNWARD): Likewise.
31068         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31069         (FE_DIVBYZERO): Likewise.
31070         (FE_OVERFLOW): Likewise.
31071         (FE_UNDERFLOW): Likewise.
31072         (FE_INEXACT): Likewise.
31073         (FE_TONEAREST): Likewise.
31074         (FE_DOWNWARD): Likewise.
31075         (FE_UPWARD): Likewise.
31076         (FE_TOWARDZERO): Likewise.
31077         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31078         (FE_UNDERFLOW): Likewise.
31079         (FE_OVERFLOW): Likewise.
31080         (FE_DIVBYZERO): Likewise.
31081         (FE_INVALID): Likewise.
31082         (FE_TONEAREST): Likewise.
31083         (FE_TOWARDZERO): Likewise.
31084         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31085         (FE_OVERFLOW): Likewise.
31086         (FE_UNDERFLOW): Likewise.
31087         (FE_DIVBYZERO): Likewise.
31088         (FE_INEXACT): Likewise.
31089         (FE_TONEAREST): Likewise.
31090         (FE_TOWARDZERO): Likewise.
31091         (FE_UPWARD): Likewise.
31092         (FE_DOWNWARD): Likewise.
31093         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31094         (FE_DIVBYZERO): Likewise.
31095         (FE_OVERFLOW): Likewise.
31096         (FE_UNDERFLOW): Likewise.
31097         (FE_INEXACT): Likewise.
31098         (FE_TONEAREST): Likewise.
31099         (FE_DOWNWARD): Likewise.
31100         (FE_UPWARD): Likewise.
31101         (FE_TOWARDZERO): Likewise.
31103 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31105         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31107 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31109         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31110         commands.  Quote $PWD.
31111         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31112         -x" by "export".
31113         (remove_newlines): Remove.
31115 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31117         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31118         * stdlib/stdlib.h (atof): Moved to ...
31119         * include/bits/stdlib-float.h: Here.  New file.
31120         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31121         * stdlib/bits/stdlib-float.h: New file.
31122         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31123         -mno-sse -mno-mmx.
31124         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31125         <xmmintrin.h>.
31127 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31129         * conform/conformtest.pl (@headers): Add fenv.h.
31130         * conform/data/fenv.h-data: New file.
31131         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31132         include of <math/fenv.h>.
31134         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31135         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31136         && !UNIX98].  Enables tests for XOPEN2K8.
31137         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31138         POSIX2008]: Likewise.
31140         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31141         (struct rusage): Do not expect type or its members.
31143         [BZ #3439]
31144         * math/math.h (FP_NAN): Define macro to integer constant usable in
31145         #if and use that to give value to enum constant.
31146         (FP_INFINITE): Likewise.
31147         (FP_ZERO): Likewise.
31148         (FP_SUBNORMAL): Likewise.
31149         (FP_NORMAL): Likewise.
31151 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31153         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31154         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31155         arguments.
31157 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31159         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31160         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31161         autoconf-time if not.
31162         * configure.in: Remove AC_PREREQ.
31164 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31166         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31167         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31168         of the internal implementation.
31170 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31172         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31173         except include of <misc/sys/syslog.h>.
31175 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31178         function returns with a NULL context exit with zero.
31180 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31182         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31184 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31186         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31187         (run_program_cmd): This.
31188         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31189         (tst_langinfo): New variable.  Use it.
31191 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31193         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31194         floating point opcodes.
31196 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31198         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31199         variable.
31201         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31203         * sysdeps/mach/hurd/powerpc: Remove directory.
31204         * sysdeps/mach/powerpc: Likewise.
31206 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31208         * scripts/check-local-headers.sh: Ignore c++ headers.
31210 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31212         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31213         __libc_cleanup_region_start argument.
31215 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31217         [BZ #14784]
31218         [BZ #14785]
31219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31220         x * y using scaling, not as x * y + z.
31221         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31223         * math/libm-test.inc (fma_test): Add more tests.
31224         (fma_test_towardzero): Likewise.
31225         (fma_test_downward): Likewise.
31226         (fma_test_upward): Likewise.
31228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31230         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31232 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31234         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31235         New variable.
31237 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31239         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31241 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31244         Fix sort order.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31246         Likewise.
31248 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31251         Fix the order of the list for glibc 2.17.
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31253         Likewise.
31255 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31259 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31261         [BZ #14610]
31262         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31263         for low part of x being zero before using __atanl (y).
31264         * math/libm-test.inc (atan2_test): Add another test.
31266         * manual/install.texi (Configuring and compiling): Document
31267         general use of test-wrapper and test-wrapper-env.
31268         * INSTALL: Regenerated.
31270         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31271         (__fma): Do not extract and scale down low bits on after-rounding
31272         systems when result rounded to normal precision would have normal
31273         exponent.
31274         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31275         (__fmal): Do not extract and scale down low bits on after-rounding
31276         systems when result rounded to normal precision would have normal
31277         exponent.
31278         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31279         (__fmal): Do not extract and scale down low bits on after-rounding
31280         systems when result rounded to normal precision would have normal
31281         exponent.
31282         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31283         macro.
31284         (fma_test): Add more tests.
31285         (fma_test_towardzero): Likewise.
31286         (fma_test_downward): Likewise.
31287         (fma_test_upward): Likewise.
31289 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31291         * sysdeps/i386/tininess.h: Renamed to ...
31292         * sysdeps/x86/tininess.h: This.
31293         * sysdeps/x86_64/tininess.h: Removed.
31295 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31297         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31298         input.  Use $(build-program-cmd).
31299         ($(objpfx)tst-array1-static.out): Likewise.
31300         ($(objpfx)tst-array2.out): Likewise.
31301         ($(objpfx)tst-array3.out): Likewise.
31302         ($(objpfx)tst-array4.out): Likewise.
31303         ($(objpfx)tst-array5.out): Likewise.
31304         ($(objpfx)tst-array5-static.out): Likewise.
31306 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31308         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31309         if defined.
31311         * nss/nsswitch.h (nss_interface_function): Provide new
31312         macro for use with NSS functions.
31313         * grp/initgroups.c: Use new macro.
31314         * nss/getXXbyYY.c: Likewise.
31315         * nss/getXXbyYY_r.c: Likewise.
31316         * nss/getXXent.c: Likewise.
31317         * nss/getXXent_r.c: Likewise.
31318         * sysdeps/posix/getaddrinfo.c: Likewise.
31320 2012-10-30  Andreas Jaeger  <aj@suse.de>
31322         * po/ru.po: Update Russion translation from translation project.
31324 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31326         [BZ #14152]
31327         [BZ #14783]
31328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31329         result and shift together with sticky bit instead of replicating
31330         round-to-nearest rounding.
31331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31333         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31334         missing underflow exceptions.
31335         (fma_test_towardzero): Add more tests.
31336         (fma_test_downward): Likewise.
31337         (fma_test_upward): Likewise.
31339         [BZ #14047]
31340         * sysdeps/generic/tininess.h: New file.
31341         * sysdeps/i386/tininess.h: Likewise.
31342         * sysdeps/sh/tininess.h: Likewise.
31343         * sysdeps/x86_64/tininess.h: Likewise.
31344         * stdlib/tst-strtod-underflow.c: Likewise.
31345         * stdlib/tst-tininess.c: Likewise.
31346         * stdlib/strtod_l.c: Include <tininess.h>.
31347         (round_and_return): Do not set errno for exact underflow cases.
31348         Force an underflow exception when setting errno for underflow.
31349         Determine underflow based on rounding to normal precision if
31350         TININESS_AFTER_ROUNDING.
31351         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31352         ERANGE for exact underflow cases.
31353         * stdlib/Makefile (tests): Add tst-tininess and
31354         tst-strtod-underflow.
31355         ($(objpfx)tst-tininess): Use $(link-libm).
31356         ($(objpfx)tst-strtod-underflow): Likewise.
31358 2012-10-30  Andreas Jaeger  <aj@suse.de>
31360         [BZ#14767]
31361         * elf/Makefile (tests): Remove conditional for have-initfini-array
31362         since this is now always required and the variable does not exist
31363         anymore.
31364         (tests-static): Likewise.
31365         (modules-names): Likewise.
31367         * po/eo.po: Add Esperanto translation from translation project.
31369         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31370         merged with constructor/destructor.
31371         (init_array): Likewise.
31372         * elf/tst-array2dep.c (fini_array): Likewise.
31373         (init_array): Likewise.
31375 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31377         * manual/message.texi: Delete @cartouche tags.
31379 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31381         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31382         EOPNOTSUPP.
31383         * sysdeps/mach/hurd/fsync.c: Likewise.
31385         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31386         [_POSIX_REALTIME_SIGNALS]: Change condition to
31387         [_POSIX_REALTIME_SIGNALS > 0].
31389 2012-10-27  Andreas Jaeger  <aj@suse.de>
31391         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31392         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31394         [__WORDSIZE != 64]: Likewise.
31396 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31398         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31399         *  iconvdata/tst-tables.sh: Likewise.
31401 2012-10-25  David S. Miller  <davem@davemloft.net>
31403         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31404         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31405         of strtoull.
31407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31408         ifunc-impl-list.c
31409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31410         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31411         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31412         file.
31414 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31417         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31418         __getdirentries.
31420 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31421             Jim Blandy  <jimb@codesourcery.com>
31423         * scripts/cross-test-ssh.sh: New file.
31424         * manual/install.texi (Configuring and compiling): Document use of
31425         cross-test-ssh.sh.
31426         * INSTALL: Regenerated.
31428 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31430         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31431         EOPNOTSUPP.
31433 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31435         * Makeconfig (run-program-prefix): Fix comment.
31437 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31438             Jim Blandy  <jimb@codesourcery.com>
31440         * Makeconfig (test-wrapper): New variable,
31441         (test-wrapper-env): Likewise.
31442         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31443         (run-built-tests): Define to yes.
31444         (run-program-prefix): Use $(test-wrapper).
31445         (built-program-cmd): Likewise.
31446         * Rules (make-test-out): Use $(test-wrapper-env) and
31447         $(host-built-program-cmd).
31448         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31449         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31450         tst-pathopt.sh.
31451         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31452         $(test-wrapper-env) to tst-rtld-load-self.sh.
31453         ($(objpfx)order2.out): Use $(test-wrapper).
31454         ($(objpfx)tst-initorder.out): Likewise.
31455         ($(objpfx)tst-initorder2.out): Likewise.
31456         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31457         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31458         (test_wrapper_env): New variable.  Use it to run ld.so.
31459         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31460         Use it to run ld.so.
31461         (test_wrapper_env): Likewise.
31462         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31463         $(test-wrapper) to run-iconv-test.sh.
31464         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31465         (ICONV): Use $test_wrapper.
31466         * posix/Makefile ($(objpfx)globtest.out): Pass
31467         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31468         globtest.sh, not $(run-program-prefix).
31469         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31470         (test_wrapper): Likewise.
31471         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31472         set together with run_via_rtld_prefix.
31473         (run_program_prefix): Define in terms of test_wrapper and
31474         run_via_rtld_prefix.
31476 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31478         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31479         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31480         Targets removed.
31482         [BZ #14743]
31483         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31484         Declare __clock_getres, __clock_gettime, __clock_settime,
31485         __clock_nanosleep, and __clock_getcpuclockid.
31486         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31487         Remove librt_hidden_def (clock_gettime).
31488         * sysdeps/unix/clock_gettime.c: Likewise.
31489         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31491         * rt/clock_getres.c: Define __clock_getres as an alias.
31492         * sysdeps/posix/clock_getres.c: Likewise.
31493         * rt/clock_settime.c: Define __clock_settime as an alias.
31494         * sysdeps/unix/clock_settime.c: Likewise.
31495         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31496         * sysdeps/unix/clock_nanosleep.c: Likewise.
31497         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31498         * rt/clock-compat.c: New file.
31499         * rt/Makefile (librt-routines): Add clock-compat and move
31500         $(clock-routines) to ...
31501         (routines): ... here, new variable.
31502         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31503         Don't add get_clockfreq here.
31504         * rt/Versions (libc: GLIBC_2.17): New version set.
31505         Add clock_* symbols here.
31506         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31507         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31508         (GLIBC_2.17): Add clock_* symbols.
31509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31511         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31513         Likewise.
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31515         Likewise.
31516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31520         * NEWS: Mention the move.
31522         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31523         Use __open, __read, __close rather than their public counterparts.
31524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31525         (__get_clockfreq_via_cpuinfo): Likewise.
31526         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31527         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31529         * config.h.in (HAVE_IFUNC): New #undef.
31530         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31531         was successful.
31532         * configure: Regenerated.
31534 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31536         * configure.in: Move READELF check to start of file.
31537         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31538         libc_cv_asm_gnu_indirect_function in the process.
31539         * configure: Regenerated.
31541 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31543         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31544         send the output to /dev/null.
31545         (libc_cv_cc_with_libunwind): Likewise.
31546         (libc_cv_as_noexecstack): Likewise.
31547         * configure: Regenerate.
31549 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31551         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31553         * posix/globtest.sh (TMPDIR): Do not set.
31554         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31555         (testout): Likewise.
31557 2012-10-24  Andreas Jaeger  <aj@suse.de>
31559         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31560         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31561         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31562         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31563         posix_fadvise64, posix_fallocate64.
31565         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31566         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31567         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31568         Likewise.
31569         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31570         Likewise.
31571         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31574         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31575         <bits/fcntl-linux.h>.
31576         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31579         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31580         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31581         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31582         [__WORDSIZE != 64]: Likewise.
31584 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31586         * Makeconfig (run-built-tests): New variable.
31587         * Rules [$(cross-compiling) = yes]: Change condition to
31588         [$(run-built-tests) = no].
31589         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31590         to [$(run-built-tests) = yes].
31591         * elf/Makefile [$(cross-compiling) = no]: Likewise
31592         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31593         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31594         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31595         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31596         * io/Makefile [$(cross-compiling) = no]: Likewise.
31597         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31598         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31599         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31600         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31601         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31602         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31603         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31604         * string/Makefile [$(cross-compiling) = no]: Likewise.
31606         * posix/Makefile ($(objpfx)globtest.out): Pass
31607         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31608         $(rtld-installed-name).
31609         * posix/globtest.sh (elf_objpfx): Remove variable.
31610         (rtld_installed_name): Likewise.
31611         (library_path): Likewise.
31612         (run_program_prefix): New variable.  Use for running globtest
31613         binary.
31615 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31616             Joseph Myers  <joseph@codesourcery.com>
31618         * Makeconfig (host-built-program-cmd): New variable.
31619         * elf/Makefile (tst-stackguard1-ARGS): Use
31620         $(host-built-program-cmd).
31621         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31622         (tst-spawn-ARGS): Likewise.
31623         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31625 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31626             Jim Blandy  <jimb@codesourcery.com>
31628         * Makeconfig (run-via-rtld-prefix): New variable.
31629         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31630         (built-program-cmd): Likewise.
31632 2012-10-22  Andreas Jaeger  <aj@suse.de>
31634         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31635         __O_RSYNC if it exists, otherwise to O_SYNC.
31637 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31638             Joseph Myers  <joseph@codesourcery.com>
31640         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31641         /dev/null.
31642         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31643         from /dev/null
31644         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31645         /dev/null.
31647 2012-10-22  Andreas Jaeger  <aj@suse.de>
31649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31650         Define always.
31651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31654         bits/fcntl-linux.h.
31656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31657         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31660         to __O_LARGEFILE.
31661         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31662         to __O_LARGEFILE.
31664 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31665             Joseph Myers  <joseph@codesourcery.com>
31667         * config.make.in (NM): New variable.
31669 2012-10-21  Andreas Jaeger  <aj@suse.de>
31671         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31672         definitions and declarations that are provided by
31673         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31675 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31677         [BZ #14683]
31678         * elf/Makefile (tests-static): Add tst-leaks1-static.
31679         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31680         ($(objpfx)tst-leaks1-static): New rule.
31681         ($(objpfx)tst-leaks1-static-mem): Likewise.
31682         (tst-leaks1-static-ENV): New macro.
31683         * elf/dl-open.c (dl_open_worker): Check the main application
31684         only if SHARED is defined.
31685         * elf/tst-leaks1-static.c: New file.
31687 2012-10-20  Andreas Jaeger  <aj@suse.de>
31689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31690         generic values for Linux.
31691         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31692         and declarations that are provided by <bits/fcntl-linux.h> and
31693         include <bits/fcntl-linux.h>.
31694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31697 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31699         * io/fcntl.h: Move include of <bits/types.h> to the top and
31700         include it unconditionally.
31702 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31704         * wcsmbs/Makefile (tests-ifunc): New variable.
31705         (tests): Add $(tests-ifunc).
31706         * wcsmbs/test-wcschr-ifunc.c: New file.
31707         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31708         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31709         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31710         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31711         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31713         * string/Makefile (tests-ifunc): New variable.
31714         (tests): Add $(tests-ifunc).
31715         * string/test-memccpy.c (TEST_NAME): New macro.
31716         * string/test-memchr.c (TEST_NAME): Likewise.
31717         * string/test-memcmp.c (TEST_NAME): Likewise.
31718         * string/test-memcpy.c (TEST_NAME): Likewise.
31719         * string/test-memmem.c (TEST_NAME): Likewise.
31720         * string/test-memmove.c (TEST_NAME): Likewise.
31721         * string/test-memset.c (TEST_NAME): Likewise.
31722         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31723         * string/test-stpcpy.c (TEST_NAME): Likewise.
31724         * string/test-stpncpy.c (TEST_NAME): Likewise.
31725         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31726         * string/test-strcasestr.c (TEST_NAME): Likewise.
31727         * string/test-strcat.c (TEST_NAME): Likewise.
31728         * string/test-strchr.c (TEST_NAME): Likewise.
31729         * string/test-strcmp.c(TEST_NAME): Likewise.
31730         * string/test-strcpy.c (TEST_NAME): Likewise.
31731         * string/test-strcspn.c (TEST_NAME): Likewise.
31732         * string/test-strlen.c (TEST_NAME): Likewise.
31733         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31734         * string/test-strncmp.c (TEST_NAME): Likewise.
31735         * string/test-strncpy.c (TEST_NAME): Likewise.
31736         * string/test-strnlen.c (TEST_NAME): Likewise.
31737         * string/test-strpbrk.c (TEST_NAME): Likewise.
31738         * string/test-strrchr.c (TEST_NAME): Likewise.
31739         * string/test-strspn.c (TEST_NAME): Likewise.
31740         * string/test-strstr.c (TEST_NAME): Likewise.
31741         * string/test-bcopy-ifunc.c: New file.
31742         * string/test-bzero-ifunc.c: Likewise.
31743         * string/test-memccpy-ifunc.c: Likewise.
31744         * string/test-memchr-ifunc.c: Likewise.
31745         * string/test-memcmp-ifunc.c: Likewise.
31746         * string/test-memcpy-ifunc.c: Likewise.
31747         * string/test-memmem-ifunc.c: Likewise.
31748         * string/test-memmove-ifunc.c: Likewise.
31749         * string/test-mempcpy-ifunc.c: Likewise.
31750         * string/test-memset-ifunc.c: Likewise.
31751         * string/test-rawmemchr-ifunc.c: Likewise.
31752         * string/test-stpcpy-ifunc.c: Likewise.
31753         * string/test-stpncpy-ifunc.c: Likewise.
31754         * string/test-strcasecmp-ifunc.c: Likewise.
31755         * string/test-strcasestr-ifunc.c: Likewise.
31756         * string/test-strcat-ifunc.c: Likewise.
31757         * string/test-strchr-ifunc.c: Likewise.
31758         * string/test-strchrnul-ifunc.c: Likewise.
31759         * string/test-strcmp-ifunc.c: Likewise.
31760         * string/test-strcpy-ifunc.c: Likewise.
31761         * string/test-strcspn-ifunc.c: Likewise.
31762         * string/test-strlen-ifunc.c: Likewise.
31763         * string/test-strncasecmp-ifunc.c: Likewise.
31764         * string/test-strncat-ifunc.c: Likewise.
31765         * string/test-strncmp-ifunc.c: Likewise.
31766         * string/test-strncpy-ifunc.c: Likewise.
31767         * string/test-strnlen-ifunc.c: Likewise.
31768         * string/test-strpbrk-ifunc.c: Likewise.
31769         * string/test-strrchr-ifunc.c: Likewise.
31770         * string/test-strspn-ifunc.c: Likewise.
31771         * string/test-strstr-ifunc.c: Likewise.
31773         * debug/Makefile (tests-ifunc): New variable.
31774         (tests): Add $(tests-ifunc).
31775         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31776         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31777         * debug/test-stpcpy_chk-ifunc.c: New file.
31778         * debug/test-strcpy_chk-ifunc.c: Likewise.
31780 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31782         [BZ #13601]
31783         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31784         header is not read in.
31786 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31788         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31789         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31790         directly.  Pass built executable to script as
31791         $(built-program-cmd).
31792         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31793         $testprogram without using LD_LIBRARY_PATH and $ldso.
31795         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31796         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31797         $(rtld-installed-name).
31798         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31799         (rtld_installed_name): Likewise.
31800         (library_path): Likewise.
31801         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31802         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31803         $(run-program-prefix) to tst-tables.sh.
31804         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31805         it to run tst-table-from and tst-table-to.
31806         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31807         Pass it to tst-table.sh.
31808         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31809         $(run-program-prefix) to tst-gettext.sh.
31810         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31811         tst-translit.sh.
31812         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31813         tst-gettext2.sh.
31814         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31815         to run tst-gettext.
31816         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31817         to run tst-gettext2.
31818         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31819         to run tst-translit.
31820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31821         $(run-program-prefix) to tst-mtrace.sh.
31822         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31823         to run tst-mtrace.
31824         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31825         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31826         $(rtld-installed-name).
31827         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31828         (rtld_installed_name): Likewise.
31829         (run_program_prefix): New variable.  Use it to run wordexp-test.
31831         * Makeconfig (ARCH): Remove all definitions.
31832         (machine): Likewise.
31833         [ARCH]: Remove conditional code.
31834         [!objdir]: Give error.
31835         [!objdir] (objpfx): Remove.
31836         [!objdir] (common-objpfx): Likewise.
31837         [!objdir] (common-objdir): Likewise.
31838         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31839         AC_CONFIG_FILES call.
31840         * configure: Regenerated.
31842         [BZ #13888]
31843         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31844         or TMPDIR.
31845         (testout): Likewise.
31847         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31848         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31849         $(rtld-installed-name).
31850         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31851         (rtld_installed_name): Likwise.
31852         (runit): Remove function.
31853         (run_getconf): New variable,  Use it for running getconf binary.
31855 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31857         [BZ #14716]
31858         * string/test-memmem.c (check_result): New function.
31859         (do_one_test): Use it.
31860         (check1): New function.
31861         (test_main): Use it.
31863 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31865         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31867 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31869         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31870         (_G_LSEEK64): Likewise.
31871         (_G_MMAP64): Likewise.
31872         (_G_FSTAT64): Likewise.
31873         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31874         (_G_LSEEK64): Likewise.
31875         (_G_MMAP64): Likewise.
31876         (_G_FSTAT64): Likewise.
31877         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31878         unconditional.  Call __mmap64 directly.
31879         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31880         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31881         __lseek64 directly.
31882         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31883         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31884         __mmap64 directly.
31885         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31886         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31887         __lseek64 directly.
31888         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31889         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31890         __lseek64 directly.
31891         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31892         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31893         __lseek64 directly.
31894         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31895         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31896         __fxstat64 directly.
31897         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31898         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31899         unconditional.
31900         (freopen64) [!_G_OPEN64]: Remove conditional code.
31901         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31902         unconditional.
31903         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31904         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31905         unconditional.
31906         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31907         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31908         unconditional.
31909         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31910         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31911         unconditional.
31912         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31913         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31914         unconditional.
31915         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31916         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31917         unconditional.
31918         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31919         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31920         unconditional.
31921         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31923 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31925         [BZ #12140]
31926         * manual/memory.texi (Malloc Tunable Parameters): Add note
31927         about free list pointers overwriting some perturb bytes.
31928         Wording suggested by Roland McGrath.
31930 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31932         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31933         (lgamma_test): Likewise.
31934         (tgamma_test): Likewise.
31936 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31938         [BZ #14700]
31939         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31940         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31942 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31944         * NEWS: Mention BZ #14716.
31945         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31946         when removing AVAILABLE1_USES_J macro.
31948 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31950         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31951         (__bswap_64): __uint64_t for unsigned 64-bit int.
31953 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31955         * include/string.h (memmem): Declare libc hidden alias.
31956         * string/memmem.c (memmem): Define libc hidden alias.
31957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31958         __read, __close instead of open, read, close.
31960 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31963         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31964         global and hidden.
31965         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31966         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31967         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31968         Likewise.
31969         (__rawmemchr_sse2): Likewise.
31970         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31971         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31972         (__strchr_sse2): Likewise.
31973         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31974         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31975         (__strcasecmp_sse2): Likewise.
31976         (__strncasecmp_sse2): Likewise.
31977         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31978         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31979         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31980         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31981         (__strrchr_sse2): Likewise.
31982         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31983         ifunc-impl-list.c.
31984         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31985         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31986         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31987         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31988         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31989         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31990         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31991         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31992         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31993         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31994         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31995         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31996         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31997         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31998         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31999         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32000         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32001         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32002         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32003         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32004         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32005         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32006         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32007         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32008         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32009         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32010         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32011         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32012         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32013         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32015         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32016         global and hidden.
32017         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32018         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32019         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32020         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32021         Likewise.
32022         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32023         Likewise.
32024         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32025         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32026         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32027         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32028         ifunc-impl-list.c.
32029         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32030         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32031         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32032         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32033         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32034         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32035         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32036         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32037         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32038         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32039         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32040         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32041         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32042         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32043         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32044         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32045         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32046         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32047         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32048         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32049         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32050         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32051         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32052         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32053         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32054         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32055         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32056         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32057         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32058         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32059         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32060         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32061         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32062         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32063         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32064         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32065         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32066         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32067         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32068         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32069         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32071         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32072         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32073         * include/ifunc-impl-list.h: New file.
32074         * misc/ifunc-impl-list.c: Likewise.
32075         * misc/Makefile (routines): Add ifunc-impl-list.
32076         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32077         * string/test-string.h: Include <ifunc-impl-list.h>.
32078         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32079         TEST_NAME]: New variables.
32080         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32081         are defined.
32082         (test_init): Call __libc_ifunc_impl_list to initialize
32083         func_list if TEST_IFUNC and TEST_NAME are defined.
32085         * string/Makefile (strop-tests): Add bcopy and bzero.
32086         * string/test-bcopy.c: New file.
32087         * string/test-bzero.c: Likewise.
32088         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32089         defined.
32090         * string/test-memset.c: Support bzero test if TEST_BZERO is
32091         defined.
32092         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32093         __libc_memmove.
32094         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32095         __libc_memset.
32096         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32097         of memset.
32099 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32101         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32102         * configure: Regenerated.
32104         * Makeconfig (+link-static-before-libc): Don't include
32105         $(link-static-libc).
32107         * libio/libio.h (_IO_pos_t): Remove.
32109 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32111         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32112         McGrath.
32114 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32116         * crypt/crypt-entry.c: Include fips-private.h.
32117         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32118         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32119         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32120         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32122 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32124         * crypt/crypt-private.h: Include stdbool.h.
32125         (_ufc_setup_salt_r): Return bool.
32126         * crypt/crypt-entry.c: Include errno.h.
32127         (__crypt_r): Return NULL with EINVAL for bad salt.
32128         * crypt/crypt_util.c (bad_for_salt): New.
32129         (_ufc_setup_salt_r): Check that salt is long enough and within
32130         the specified alphabet.
32131         * crypt/badsalttest.c: New file.
32132         * crypt/Makefile (tests): Add it.
32133         ($(objpfx)badsalttest): New.
32135 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32137         * NEWS: Add entry for BZ #14602.
32139 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32141         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32142         type-generic.
32143         * math/libm-test.inc: Update comment listing what functions and
32144         macros are tested.
32145         (isgreater_test): New function.
32146         (isgreaterequal_test): Likewise.
32147         (isless_test): Likewise.
32148         (islessequal_test): Likewise.
32149         (islessgreater_test): Likewise.
32150         (isunordered_test): Likewise.
32151         (main): Call the new functions.
32153 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32155         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32156         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32157         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32158         * sysdeps/i386/configure: Regenerated.
32159         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32160         * sysdeps/mach/configure: Regenerated.
32161         * sysdeps/mach/hurd/configure: Regenerated.
32162         * sysdeps/powerpc/configure: Regenerated.
32163         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32164         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32165         * sysdeps/s390/s390-32/configure: Regenerated.
32166         * sysdeps/s390/s390-64/configure: Regenerated.
32167         * sysdeps/sh/configure: Regenerated.
32168         * sysdeps/sparc/configure: Regenerated.
32169         * sysdeps/unix/sysv/linux/configure: Regenerated.
32170         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32171         * sysdeps/x86_64/configure: Regenerated.
32173         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32174         defined.  Don't check if MAP is NULL.
32176 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32178         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32179         (_G_stat64): Likewise.
32180         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32181         (_G_stat64): Likewise.
32182         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32183         instead of struct _G_stat64.
32184         * libio/fileops.c (mmap_remap_check): Likewise.
32185         (decide_maybe_mmap): Likewise.
32186         (_IO_new_file_seekoff): Likewise.
32187         (_IO_file_stat): Likewise.
32188         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32189         _G_off64_t.
32190         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32191         instead of struct _G_stat64.
32192         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32194 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32196         [BZ #14602]
32197         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32198         Replace with ...
32199         (CHECK_EOL): New macro.
32200         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32201         CHECK_EOL.
32202         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32203         Replace with CHECK_EOL.
32204         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32205         Replace with CHECK_EOL.
32207 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32209         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32210         type-generic.
32211         * math/libm-test.inc: Update comment listing what functions and
32212         macros are tested.
32213         (finite_test): New function.
32214         (isinf_test): Likewise.
32215         (isnan_test): Likewise.
32216         (fpclassify_test): Test subnormal input.
32217         (isfinite_test): Likewise.
32218         (isnormal_test): Likewise.
32219         (main): Call the new functions.
32221 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32223         [BZ #14660]
32224         * Makerules (%.dynsym): Force C locale when running
32225         $(OBJDUMP) --dynamic-syms.
32227 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32229         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32230         <stdint.h>.
32232 2012-10-06  David S. Miller  <davem@davemloft.net>
32234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32235         upper 32-bits of the length value in %o2 since we use branch-on-register
32236         tests which consider the entire 64-bit register.
32238 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32240         * string/test-strstr.c (check2): Add a test for page boundary.
32242 2012-10-05  David S. Miller  <davem@davemloft.net>
32244         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32245         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32246         file.
32247         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32248         sysdep_routines.
32249         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32250         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32251         and bzero when HWCAP_SPARC_CRYPTO is present.
32253 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32255         [BZ #14602]
32256         * string/test-strstr.c (check2): New function.
32257         (test_main): Call check2.
32259         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32260         and bug-strchr1.
32261         * string/bug-strcasestr1.c (do_test): Moved to ...
32262         * string/test-strcasestr.c (check1): Here.  New function.
32263         (do_one_test): Break out result checking code into ...
32264         (check_result): This.  New function.
32265         (do_one_test): Call check_result.
32266         (test_main): Call check1.
32267         * string/bug-strchr1.c (do_test): Moved to ...
32268         * string/test-strchr.c (check1): Here.  New function.
32269         (do_one_test): Break out result checking code into ...
32270         (check_result): This.  New function.
32271         (do_one_test): Call check_result.
32272         (test_main): Call check1.
32273         * string/bug-strstr1.c (main): Moved to ...
32274         * string/test-strstr.c (check1): Here.  New function.
32275         (do_one_test): Break out result checking code into ...
32276         (check_result): This.  New function.
32277         (do_one_test): Call check_result.
32278         (test_main): Call check1.
32279         * string/bug-strcasestr1.c: Removed.
32280         * string/bug-strchr1.c: Likewise.
32281         * string/bug-strstr1.c: Likewise.
32283         * elf/Makefile (dl-routines): Add hwcaps.
32284         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32285         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32286         (_dl_important_hwcaps): Moved to ...
32287         * elf/dl-hwcaps.c: Here.  New file.
32288         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32290         [BZ #14557]
32291         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32292         if IS_IN_rtld isn't defined.
32294         * elf/dl-support.c (_dl_sysinfo_map): New.
32295         Include "get-dynamic-info.h" and "setup-vdso.h".
32296         (_dl_non_dynamic_init): Call setup_vdso.
32297         * elf/dynamic-link.h: Don't include <assert.h>.
32298         (elf_get_dynamic_info): Moved to ...
32299         * elf/get-dynamic-info.h: Here.  New file.
32300         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32301         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32302         * elf/setup-vdso.h: Here.  New file.
32303         * elf/rtld.c: Include "setup-vdso.h".
32304         (dl_main): Call setup_vdso.
32306 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32308         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32309         creal in comment listing functions tested.  List finite, isinf,
32310         isnan, isless, islessequal, isgreater, isgreaterequal,
32311         islessgreater, isunordered, lgamma_r and pow10 as functions and
32312         macros not tested.  Mention which functions not tested are aliases
32313         for other functions.  Fix typo.  Note that signs of NaNs are not
32314         tested.
32316         * scripts/config.guess: Update from config.git.
32317         * scripts/config.sub: Likewise.
32319 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32321         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32322         * misc/madvise.c (madvise): Renamed to __madvise.
32323         Make madvise a weak alias.
32324         * include/sys/mman.h: Declare __madvise.
32325         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32326         * sysdeps/unix/syscalls.list
32327         (madvise): Make __madvise the strong name, and madvise a weak alias.
32328         * sysdeps/unix/sysv/linux/syscalls.list
32329         (madvise, mmap): Remove redundant entries.
32330         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32331         * malloc/malloc.c (mtrim): Likewise.
32332         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32334 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32336         * sysdeps/mach/hurd/dl-cache.c: File removed.
32337         * config.h.in (USE_LDCONFIG): New #undef.
32338         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32339         * configure: Regenerated.
32340         * elf/Makefile (dl-routines): Add dl-cache only under
32341         [$(use-ldconfig) = yes].
32342         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32343         cache on [USE_LDCONFIG].
32344         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32345         [USE_LDCONFIG].
32346         * elf/rtld.c (dl_main): Likewise.
32348 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32350         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32351         _SC_LEVEL4_CACHE_LINESIZE.
32353 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32355         * sysdeps/unix/bsd/confstr.h: File removed.
32357 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32359         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32360         sys/sdt-config.h.
32362 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32364         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32365         Make 'mapoff' field ElfW(Off) rather than off_t.
32367 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32369         * nscd/Makefile: Remove nscd-cflags and all its users.
32370         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32371         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32373         [BZ #10631]
32374         * malloc.c (malloc_printerr): Clarify error message.
32376 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32378         [BZ #14648]
32379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32380         Set bit_FMA_Usable if FMA is supported.
32381         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32382         macro.
32383         (bit_FMA4_Usable): Updated.
32384         (index_FMA_Usable): New macro.
32385         (CPUID_FMA): Likewise
32386         (HAS_FMA): Defined with bit_FMA_Usable.
32388 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32390         * bits/types.h (__swblk_t): Type removed.
32391         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32392         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32394         (__SWBLK_T_TYPE): Likewise.
32395         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32396         (__SWBLK_T_TYPE): Likewise.
32397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32398         (__SWBLK_T_TYPE): Likewise.
32399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32400         (__SWBLK_T_TYPE): Likewise.
32402 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32403             Honza Horak <hhorak@redhat.com>
32405         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32406         (xdr_mapname): Use YPMAXMAP as maxsize.
32407         (xdr_peername): Use YPMAXPEER as maxsize.
32408         (xdr_keydat): Use YPAXRECORD as maxsize.
32409         (xdr_valdat): Use YPMAXRECORD as maxsize.
32411 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32413         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32415         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32416         * csu/init-first.c: ... here.
32417         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32418         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32419         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32420         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32421         * sysdeps/i386/init-first.c: File removed.
32422         * sysdeps/sh/init-first.c: File removed.
32424 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32426         [BZ #14645]
32427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32428         if x * y might underflow to zero and z is zero.
32429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32431         * math/libm-test.inc (min_subnorm_value): New variable.
32432         (fma_test): Add more tests.
32433         (fma_test_towardzero): Likewise.
32434         (fma_test_downward): Likewise
32435         (fma_test_upward): Likewise.
32436         (initialize): Set min_subnorm_value.
32438 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32440         [BZ #14638]
32441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32442         0 + 0.
32443         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32444         mode for addition resulting in exact zero.
32445         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32447         exact 0 + 0.
32448         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32449         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32450         * math/libm-test.inc (fma_test): Add more tests.
32451         (fma_test_towardzero): New function.
32452         (fma_test_downward): Likewise.
32453         (fma_test_upward): Likewise.
32454         (main): Call the new functions.
32456 2012-09-28  David S. Miller  <davem@davemloft.net>
32458         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32460 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32462         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32463         instead of SIGALRM.
32465         * sysdeps/gnu/_G_config.h: Moved to ...
32466         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32467         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32468         * sysdeps/generic/_G_config.h: ... here.
32470         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32472         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32474         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32475         Conditionalize target on [libnss_test1.so-version].
32477         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32479         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32480         (elfobjdir): Move out of conditionals.
32482         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32483         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32484         (__nss_lookup_function): Conditionalize label remove_from_tree on
32485         [!DO_STATIC_NSS || SHARED], matching its only use.
32487 2012-09-28  David S. Miller  <davem@davemloft.net>
32489         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32490         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32491         file.
32492         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32493         sysdep_routines.
32494         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32496         when HWCAP_SPARC_CRYPTO is present.
32498 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32500         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32502 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32504         [BZ #6530]
32505         * stdio-common/vfprintf.c (process_string_arg): Revert
32506         2000-07-22 change.
32508 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32510         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32511         for testcase.
32512         * stdio-common/tst-sprintf.c: Include <locale.h>
32513         (main): Test sprintf's handling of incomplete multibyte
32514         characters.
32516 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32518         * elf/dl-runtime.c (VERSYMIDX): Removed.
32519         * elf/dl-version.c (VERSYMIDX): Likewise.
32520         * elf/do-rel.h (VERSYMIDX): Likewise.
32521         (VALIDX): Likewise.
32522         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32523         * elf/rtld.c (VALIDX): Likewise.
32524         (ADDRIDX): Likewise.
32525         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32526         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32527         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32528         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32529         (VALIDX): Likewise.
32530         (ADDRIDX): Likewise.
32532 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32534         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32536 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32538         [BZ #11438]
32539         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32540         to global scope.
32541         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32542         addresses are in the same scope as 192.0.2/24.
32543         * posix/gai.conf: Document new scope table defaults.
32545 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         [BZ #5298]
32548         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32549         for ftell.  Compute offsets from write pointers instead.
32550         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32552 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32554         [BZ #14543]
32555         * libio/Makefile (tests): New test case tst-fseek.
32556         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32557         combination works in wide mode.
32558         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32559         state when the external buffer state changes.
32561 2012-09-27  David S. Miller  <davem@davemloft.net>
32563         [BZ #14376]
32564         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32565         pass reloc->r_addend in as the 'high' argument to
32566         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32570 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32572         * rt/tst-aio2.c: Include <pthread.h>.
32573         * rt/tst-aio3.c: Likewise.
32575 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32577         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32579 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32581         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32582         contents on [SHARED].
32584 2012-09-26  Marek Polacek  <polacek@redhat.com>
32586         [BZ #14530]
32587         [BZ #13741]
32588         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32589         for C++ and GCC <4.3 as well as for non GCC compilers.
32591 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32595 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32597         * Makefile.in (all, install): Declare with .PHONY.
32598         Reported by Michael Hope <michael.hope@linaro.org>.
32600 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32602         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32603         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32604         system header.
32605         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32606         Likewise.
32607         (sydep_routines): Add the new and the internal functions.
32608         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32609         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32611         (GLIBC_2.17): Add the new function.
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32613         (GLIBC_2.17): Likewise.
32614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32615         (GLIBC_2.17): Likewise.
32616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32617         (GLIBC_2.17): Likewise.
32618         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32620 2012-09-25  Alan Modra  <amodra@gmail.com>
32622         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32623         Add release barrier before setting once_control to say
32624         initialisation is done.  Add hints on lwarx.  Use macro in
32625         place of isync.
32626         (clear_once_control): Add release barrier.
32628 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32630         [BZ #13629]
32631         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32632         specially.
32633         * math/s_clog10.c (__clog10): Likewise.
32634         * math/s_clog10f.c (__clog10f): Likewise.
32635         * math/s_clog10l.c (__clog10l): Likewise.
32636         * math/s_clogf.c (__clogf): Likewise.
32637         * math/s_clogl.c (__clogl): Likewise.
32638         * math/Makefile (libm-calls): Add x2y2m1.
32639         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32640         (__x2y2m1): Likewise.
32641         (__x2y2m1l): Likewise.
32642         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32643         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32644         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32645         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32646         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32647         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32648         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32649         * sysdeps/i386/fpu/libm-test-ulps: Update.
32650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32652         [BZ #14621]
32653         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32654         int as type of variable DEPTH.
32655         (glob): Use size_t instead of int as type of variables NEWCOUNT
32656         and OLD_PATHC.
32658 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32660         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32661         Add s_sincosf-sse2.
32662         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32663         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32664         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32665         macros for using routine as __sincosf_ia32.
32666         Use macro for function declaration and weak_alias.
32667         * sysdeps/i386/fpu/libm-test-ulps: Update.
32669         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32672         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32673         subnormal argument.
32674         * math/s_cexpf.c (__cexpf): Likewise.
32675         * math/s_csinf.c (__csinf): Likewise.
32676         * math/s_csinhf.c (__csinhf): Likewise.
32677         * math/s_ctanf.c (__ctanf): Likewise.
32678         * math/s_ctanhf.c (__ctanhf): Likewise.
32679         * math/s_ccosh.c (__ccoshf): Likewise.
32680         * math/s_cexp.c (__cexpl): Likewise.
32681         * math/s_csin.c (__csin): Likewise.
32682         * math/s_csinh.c (__csinh): Likewise.
32683         * math/s_ctan.c (__ctan): Likewise.
32684         * math/s_ctanh.c (ctanh): Likewise.
32685         * math/s_ccoshl.c (__ccoshl): Likewise.
32686         * math/s_cexpl.c (__cexpl): Likewise.
32687         * math/s_csinl.c (__csinl): Likewise.
32688         * math/s_csinhl.c (__csinhl): Likewise.
32689         * math/s_ctanl.c (__ctanl): Likewise.
32690         * math/s_ctanhl.c (__ctanhl): Likewise.
32692 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32694         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32695         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32696         (_IO_off_t): Define to __off_t, not _G_off_t.
32697         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32698         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32699         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32700         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32701         type of __dummy and __dummy2 fields.
32702         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32703         (_G_ssize_t): Likewise.
32704         (_G_off_t): Likewise.
32705         (_G_pid_t): Likewise.
32706         (_G_uid_t): Likewise.
32707         (_G_wchar_t): Likewise.
32708         (_G_wint_t): Likewise.
32709         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32710         (_G_ssize_t): Likewise.
32711         (_G_off_t): Likewise.
32712         (_G_pid_t): Likewise.
32713         (_G_uid_t): Likewise.
32714         (_G_wchar_t): Likewise.
32715         (_G_wint_t): Likewise.
32716         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32717         (_G_ssize_t): Likewise.
32718         (_G_off_t): Likewise.
32719         (_G_pid_t): Likewise.
32720         (_G_uid_t): Likewise.
32721         (_G_wchar_t): Likewise.
32722         (_G_wint_t): Likewise.
32724 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32726         * malloc/arena.c: Include malloc-sysdep.h.
32727         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32728         is sufficient to shrink the heap or an unmap is needed.
32729         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32730         new function check_may_shrink_heap.
32731         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32732         new function check_may_shrink_heap.
32734 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32736         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32737         comments.
32739 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32741         * catgets/test-gencat.sh: Add "set -e".
32742         * elf/tst-pathopt.sh: Likewise.
32743         * grp/tst_fgetgrent.sh: Likewise.
32744         * iconvdata/run-iconv-test.sh: Likewise.
32745         * intl/tst-gettext.sh: Likewise.
32746         * intl/tst-gettext2.sh: Likewise.
32747         * intl/tst-gettext4.sh: Likewise.
32748         * intl/tst-gettext6.sh: Likewise.
32749         * intl/tst-translit.sh: Likewise.
32750         * io/ftwtest-sh: Likewise.
32751         * libio/test-freopen.sh: Likewise.
32752         * malloc/tst-mtrace.sh: Likewise.
32753         * posix/globtest.sh: Likewise.
32754         * posix/tst-getconf.sh: Likewise.
32755         * posix/wordexp-tst.sh: Likewise.
32756         * stdio-common/tst-printf.sh: Likewise.
32757         * stdio-common/tst-unbputc.sh: Likewise.
32758         * stdlib/tst-fmtmsg.sh: Likewise.
32759         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32760         * catgets/Makefile: Do not specify -e option when running
32761         testsuite shell scripts.
32762         * elf/Makefile: Likewise.
32763         * grp/Makefile: Likewise.
32764         * iconvdata/Makefile: Likewise.
32765         * intl/Makefile: Likewise.
32766         * io/Makefile: Likewise.
32767         * libio/Makefile: Likewise.
32768         * malloc/Makefile: Likewise.
32769         * posix/Makefile: Likewise.
32770         * stdio-common/Makefile: Likewise.
32771         * stdlib/Makefile: Likewise.
32772         * sysdeps/x86_64/Makefile: Likewise.
32774         * io/ftwtest-sh: Add copyright header.
32775         * posix/globtest.sh: Likewise.
32776         * posix/tst-getconf.sh: Likewise.
32777         * posix/wordexp-tst.sh: Likewise.
32778         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32780 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32782         [BZ #13679]
32783         * Makeconfig (+link): Defined as $(+link-static) if
32784         $(build-shared) isn't yes.
32785         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32786         isn't yes.
32787         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32789         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32791         [BZ #14562]
32792         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32793         new chunk size with MALLOC_ALIGN_MASK.
32795 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32797         [BZ #5044]
32798         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32799         <rounding-mode.h>.
32800         (__printf_fphex): Determine rounding using get_rounding_mode and
32801         round_away.
32802         * stdio-common/tst-printf-round.c (struct hex_test): New
32803         structure.
32804         (hex_tests): New variable.
32805         (test_hex_in_one_mode): New function.
32806         (do_test): Also run tests for hex float output.
32808 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32810         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32811         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32812         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32813         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32814         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32815         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32816         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32817         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32819 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32821         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32822         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32823         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32824         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32826 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32828         [BZ #14579]
32829         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32830         mode only.
32831         * elf/tst-rtld-load-self.sh: New test.
32832         * elf/Makefile: Run it.
32834 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32836         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32837         (tst-writev-ENV): Remove.
32838         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32840 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32842         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32844 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32846         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32847         unconditional.
32848         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32849         Likewise.
32850         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32851         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32852         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32853         Likewise.
32855 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32857         [BZ #14587]
32858         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32859         * config.make.in (have-cpp-asm-debuginfo): Removed.
32860         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32861         * configure: Regenerated.
32863 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32865         [BZ #5044]
32866         * stdio-common/printf_fp.c: Include <stdbool.h> and
32867         <rounding-mode.h>.
32868         (___printf_fp): Determine rounding using get_rounding_mode and
32869         round_away.
32870         * stdio-common/tst-printf-round.c: New file.
32871         * stdio-common/Makefile (tests): Add tst-printf-round.
32872         (link-libm): New variable.
32873         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32875 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32877         [BZ #14576]
32878         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32879         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32880         Likewise.
32881         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32882         Likewise.
32884 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32886         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32887         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32888         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32889         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32891 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32893         [BZ #14518]
32894         * include/rounding-mode.h: New file.
32895         * sysdeps/generic/get-rounding-mode.h: Likewise.
32896         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32897         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32898         (MAX_VALUE): New macro.
32899         (MIN_VALUE): Likewise.
32900         (overflow_value): New function.
32901         (underflow_value): Likewise.
32902         (round_and_return): Use overflow_value and underflow_value to
32903         determine return values in overflow and underflow cases.  Use
32904         round_away to determine rounding depending on rounding mode.
32905         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32906         determine return values in overflow and underflow cases.
32907         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32908         (struct test_results): New structure.
32909         (struct test): Use struct test_results to store expected results
32910         for all rounding modes.
32911         (TEST): Include expected results for all rounding modes.
32912         (test_in_one_mode): New function.
32913         (do_test): Use test_in_one_mode to compute and check results.
32914         Check results for all rounding modes.
32915         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32916         $(link-libm).
32918 2012-12-09  Allan McRae  <allan@archlinux.org>
32920         * sysdeps/i386/fpu/libm-test-ulps: Update
32922 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32924         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32925         (_G_int32_t): Likewise.
32926         (_G_uint16_t): Likewise.
32927         (_G_uint32_t): Likewise.
32928         (_G_HAVE_BOOL): Likewise.
32929         (_G_HAVE_ATEXIT): Likewise.
32930         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32931         (_G_HAVE_IO_FILE_OPEN): Likewise.
32932         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32933         (_G_int32_t): Likewise.
32934         (_G_uint16_t): Likewise.
32935         (_G_uint32_t): Likewise.
32936         (_G_HAVE_BOOL): Likewise.
32937         (_G_HAVE_ATEXIT): Likewise.
32938         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32939         (_G_HAVE_IO_FILE_OPEN): Likewise.
32940         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32941         (_G_int32_t): Likewise.
32942         (_G_uint16_t): Likewise.
32943         (_G_uint32_t): Likewise.
32944         (_G_HAVE_BOOL): Likewise.
32945         (_G_HAVE_ATEXIT): Likewise.
32946         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32947         (_G_HAVE_IO_FILE_OPEN): Likewise.
32949 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32951         * csu/libc-tls.c: Update copyright years.
32953 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32955         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32956         [!_G_USING_THUNKS]: Remove conditional code.
32957         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32958         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32960         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32961         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32962         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32963         (_G_VTABLE_LABEL_PREFIX): Likewise.
32964         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32965         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32966         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32967         (_G_VTABLE_LABEL_PREFIX): Likewise.
32968         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32969         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32970         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32971         (_G_VTABLE_LABEL_PREFIX): Likewise.
32972         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32974 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32976         * libio/Makefile: Include ../Makeconfig before tests.
32977         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32978         only if $(build-shared) is yes.
32980         * iconv/gconv_db.c: Update copyright years.
32982 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32984         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32985         unwind info if defined PIC. Fix special cases description.
32986         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32988         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32989         DP_HI_MASK entry.
32990         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32992 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32994         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32996         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32997         is NULL.
32999         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33000         (LDLIBS-tst-chk4): This.
33001         (LDFLAGS-tst-chk5): Renamed to ...
33002         (LDLIBS-tst-chk5): This.
33003         (LDFLAGS-tst-chk6): Renamed to ...
33004         (LDLIBS-tst-chk6): This.
33005         (LDFLAGS-tst-lfschk4): Renamed to ...
33006         (LDLIBS-tst-lfschk4): This.
33007         (LDFLAGS-tst-lfschk5): Renamed to ...
33008         (LDLIBS-tst-lfschk5): This.
33009         (LDFLAGS-tst-lfschk6): Renamed to ...
33010         (LDLIBS-tst-lfschk6): This.
33012         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33013         on $(common-objpfx)soversions.mk.
33015 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #10014]
33018         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33019         example host name.
33021 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33023         * malloc/arena.c (arena_get_retry): New function that gets
33024         another arena for the caller to try its request on.
33025         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33026         current arena cannot fulfill the request.
33027         (__libc_memalign): Likewise.
33028         (__libc_memalign): Likewise.
33029         (__libc_pvalloc): Likewise.
33030         (__libc_calloc): Likewise.
33032 2012-09-05  John Tobey  <john.tobey@gmail.com>
33034         [BZ #13542]
33035         * manual/arith.texi (Operations on Complex): Fix description
33036         of carg branch cut.
33038 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33040         [BZ #10014]
33041         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33042         host name.
33044         [BZ #10038]
33045         * manual/memory.texi (Memory): Make order of menu items match
33046         order of sections.
33048 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33050         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33051         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33052         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33054 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33056         * csu/libc-tls.c (static_dtv): Renamed to ...
33057         (_dl_static_dtv): This.  Make it global.
33058         (_dl_initial_dtv): Removed.
33059         (__libc_setup_tls): Updated.
33060         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33061         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33062         DL_INITIAL_DTV.
33064 2012-09-06  Petr Machata  <pmachata@redhat.com>
33066         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33067         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33068         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33069         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33071 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33073         [BZ #14545]
33074         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33075         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33076         freeing dtv[-1].
33078 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33080         [BZ #14544]
33081         * Makeconfig (link-static-before-libc): Replace $(+prector)
33082         with $(+prectorT).
33083         (link-static-after-libc): Replace $(+postctor) with
33084         $(+postctorT).
33085         (link-bounded): Replace $(+prector)/$(+postctor) with
33086         $(+prectorT)/$(+postctorT).
33087         (+prectorT): New macro.
33088         (+postctorT): Likewise.
33090 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33092         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33093         (round_str): Handle values above the maximum for IBM long double
33094         as inexact.
33095         * stdlib/tst-strtod-round.c (tests): Regenerated.
33097 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33099         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33100         assembler flag.
33101         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33102         zarch_nohighgprs around the zarch optimized routines.
33103         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33104         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33106         for zarch.
33108 2012-09-05  David S. Miller  <davem@davemloft.net>
33110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33112         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33113         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33114         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33115         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33116         entries.
33118 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33120         * malloc/arena.c: Fold copyright years.
33121         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33123 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33125         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33127 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33129         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33131 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33133         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33134         change internal state upon failure.
33136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33138         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33139         * malloc/memusage.c (mmap): Likewise.
33140         (mmap64, mremap): Likewise.  Adjust name in comment.
33142 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33144         * libio/fileops.c: Fix typos in comments.
33145         * libio/oldfileops.c: Likewise.
33146         * libio/wfileops.c: Likewise.
33148 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33150         [BZ #1349]
33151         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33152         (tst-malloc-usable-ENV): Set environment for test case.
33153         * malloc/hooks.c (malloc_check_get_size): New function to get
33154         requested size.
33155         * malloc/malloc.c (musable): Use malloc_check_get_size.
33156         * malloc/tst-malloc-usable.c: New test case.
33158 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33160         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33162 2012-09-05  Allan McRae  <allan@archlinux.org>
33164         [BZ #13966]
33165         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33166         determine header location.
33167         * configure: Regenerated.
33169 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33171         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33172         float format.
33173         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33174         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33175         format.
33176         (test): Regenerate.
33178 2012-09-04  David S. Miller  <davem@davemloft.net>
33180         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33181         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33182         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33184 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33186         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33187         failures.
33189         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33191 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33193         [BZ #9914]
33194         * libio/iogetdelim.c: Include <limits.h>.
33195         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33196         + len + 1 would overflow.
33198 2012-09-03  Andreas Jaeger  <aj@suse.de>
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33201         * sysdeps/i386/fpu/libm-test-ulps: Update.
33203 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33205         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33206         Add s_sinf-sse2, s_conf-sse2.
33208         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33209         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33210         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33211         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33213         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33214         for using routine as __sinf_ia32.
33215         Use macro for function declaration and weak_alias.
33216         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33217         for using routine as __cosf_ia32.
33218         Use macro for function declaration and weak_alias.
33220         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33221         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33223         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33224         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33227         * math/libm-test.inc (cos_test): Add more test cases.
33228         (sin_test): Likewise.
33229         (sincos_test): Likewise.
33231 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33233         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33234         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33235         hidden.
33236         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33238 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33240         [BZ #14538]
33241         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33242         first element of the GOT.
33243         (elf_machine_load_address): Return the difference between
33244         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33246 2012-09-01  Allan McRae  <allan@archlinux.org>
33248         [BZ #13412]
33249         * configure.in (AWK): Require gawk version 3.0 or later.
33250         * configure: Regenerated.
33252 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33254         * sysdeps/unix/sysv/linux/kernel-features.h
33255         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33256         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33257         [__NR_clock_getres]: Make code unconditional.
33258         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33259         (clock_getcpuclockid): Remove code left unreachable by removal of
33260         conditionals.
33261         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33262         code unconditional.
33263         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33264         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33265         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33266         Make code unconditional.
33267         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33268         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33269         * sysdeps/unix/sysv/linux/clock_settime.c
33270         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33271         conditional code.
33272         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33273         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33275 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33277         [BZ #14476]
33278         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33279         scripts/test-installation.pl.
33281         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33282         and $ld_so_version if it is set.
33284 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33286         [BZ #14516]
33287         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33288         failure if reading from procfs failed.
33289         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33291 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33293         * sysdeps/unix/sysv/linux/kernel-features.h
33294         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33295         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33296         Remove conditional code.
33297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33298         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33299         Remove conditional code.
33300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33301         * sysdeps/unix/sysv/linux/i386/fxstat.c
33302         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33304         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33305         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33307         * sysdeps/unix/sysv/linux/i386/lxstat.c
33308         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33310         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33311         Remove conditional code.
33312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33313         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33314         Remove conditional code.
33315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33317         <kernel-features.h>.
33318         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33319         Remove.
33320         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33321         Remove conditional code.
33322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33323         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33324         Remove conditional.
33326 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33328         [BZ #5400]
33329         * NEWS: Add fixed bug number.
33331 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33333         [BZ #14519]
33334         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33335         underflowing exponent in case of negative sign.
33336         * stdlib/tst-strtod-round-data: Add more tests.
33337         * stdlib/tst-strtod-round.c (tests): Regenerated.
33339         [BZ #3479]
33340         * stdlib/strtod_l.c (NDIG): Remove.
33341         (HEXNDIG): Likewise.
33342         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33343         smallest representable value.
33344         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33345         lie within an exact representation of 1/2 ulp of the result.
33346         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33347         unconditionally.
33348         (TENS_P9_IDX): Define unconditionally.
33349         (TENS_P9_SIZE): Likewise.
33350         (TENS_P10_IDX): Likewise.
33351         (TENS_P10_SIZE): Likewise.
33352         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33353         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33354         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33355         entries for 10^2^13 and 10^2^14.
33356         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33357         (TENS_P13_IDX): Define.
33358         (TENS_P13_SIZE): Likewise.
33359         (TENS_P14_IDX): Likewise.
33360         (TENS_P14_SIZE): Likewise.
33361         (_fpioconst_pow10): Change array size to
33362         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33363         unconditional.
33364         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33365         1024]: Add entries for 10^2^13 and 10^2^14.
33366         [LAST_POW10 > _LAST_POW10]: Remove #error.
33367         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33368         (_fpioconst_pow10): Change array size to
33369         FPIOCONST_POW10_ARRAY_SIZE.
33370         * stdlib/gen-fpioconst.c: New file.
33371         * stdlib/gen-tst-strtod-round.c: Likewise.
33372         * stdlib/tst-strtod-round-data: Likewise.
33373         * stdlib/tst-strtod-round.c: Likewise.
33374         * stdlib/Makefile (tests): Add tst-strtod-round.
33376         [BZ #14459]
33377         * stdlib/strtod_l.c: Include <stdint.h>.
33378         (NDEBUG): Do not define.
33379         (round_and_return): Change EXPONENT parameter to type intmax_t.
33380         Rearrange calculations to avoid internal overflow possibilities.
33381         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33382         Rearrange calculations to avoid internal overflow possibilities.
33383         Assert that number fits inside MPNSIZE limbs.
33384         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33385         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33386         calculations and add assertions to avoid internal overflow
33387         possibilities.  Add casts to avoid signed/unsigned operations.
33388         * stdlib/tst-strtod-overflow.c: New file.
33389         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33391 2012-08-25  Marek Polacek  <polacek@redhat.com>
33393         * time/time.h: Fix some typos in comments.
33395 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33397         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33398         * posix/tst-rfc3484-2.c: Likewise.
33399         * posix/tst-rfc3484-3.c: Likewise.
33401 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33403         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33404         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33406 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33408         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33409         #include of fxstatat64.c.
33411 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33413         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33414         * shadow/getspent_r.c: Likewise.
33415         * shadow/getspnam.c: Likewise.
33416         * shadow/getspnam_r.c: Likewise.
33417         * gshadow/getsgent.c: Likewise.
33418         * gshadow/getsgent_r.c: Likewise.
33419         * gshadow/getsgnam.c: Likewise.
33420         * gshadow/getsgnam_r.c: Likewise.
33421         * inet/getnetbyad.c: Likewise.
33422         * inet/getnetbyad_r.c: Likewise.
33423         * inet/getnetbynm.c: Likewise.
33424         * inet/getnetbynm_r.c: Likewise.
33425         * inet/getnetent.c: Likewise.
33426         * inet/getnetent_r.c: Likewise.
33427         * inet/getproto.c: Likewise.
33428         * inet/getproto_r.c: Likewise.
33429         * inet/getprtent.c: Likewise.
33430         * inet/getprtent_r.c: Likewise.
33431         * inet/getprtname.c: Likewise.
33432         * inet/getprtname_r.c: Likewise.
33433         * inet/getrpcbyname.c: Likewise.
33434         * inet/getrpcbyname_r.c: Likewise.
33435         * inet/getrpcbynumber.c: Likewise.
33436         * inet/getrpcbynumber_r.c: Likewise.
33437         * inet/getrpcent.c: Likewise.
33438         * inet/getrpcent_r.c: Likewise.
33439         * inet/getaliasent.c: Likewise.
33440         * inet/getaliasent_r.c: Likewise.
33441         * inet/getaliasname.c: Likewise.
33442         * inet/getaliasname_r.c: Likewise.
33443         * nscd/getgrgid_r.c: Likewise.
33444         * nscd/getgrnam_r.c: Likewise.
33445         * nscd/gethstbyad_r.c: Likewise.
33446         * nscd/gethstbynm3_r.c: Likewise.
33447         * nscd/getpwnam_r.c: Likewise.
33448         * nscd/getpwuid_r.c: Likewise.
33449         * nscd/getsrvbynm_r.c: Likewise.
33450         * nscd/getsrvbypt_r.c: Likewise.
33451         * nscd/gai.c: Likewise.
33453         * configure.in (build_nscd): New substituted variable, set
33454         by --disable-build-nscd and defaults to $use_nscd.
33455         * configure: Regenerated.
33456         * config.make.in (build-nscd): New substituted variable.
33457         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33458         Change conditional to require [$(build-nscd) = yes] as well.
33459         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33461         [BZ# 13696]
33462         * configure.in (use_nscd): New substituted variable, set by
33463         --disable-nscd.  If enabled, define USE_NSCD.
33464         * configure: Regenerated.
33465         * config.h.in: Add USE_NSCD.
33466         * config.make.in (use-nscd): New substituted variable.
33467         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33468         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33469         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33470         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33471         (CFLAGS-getgrnam_r.c): Likewise.
33472         (CFLAGS-initgroups.c): Likewise.
33473         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33474         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33475         Variables removed.
33476         * inet/getnetgrent_r.c
33477         (nscd_setnetgrent): New function, broken out of ...
33478         (setnetgrent): ... here.  Call it.
33479         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33480         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33481         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33482         * nscd/Makefile (routines, aux): Move definitions after include of
33483         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33484         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33485         Conditionalize on [USE_NSCD].
33486         (is_nscd, nscd_init_cb): Likewise.
33487         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33488         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33489         * nss/nss_db/db-init.c: Likewise.
33490         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33491         [USE_NSCD].
33492         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33493         (make_request): Use it.
33494         (cache_valid_p): New function.
33495         (__check_pf): Use it.
33496         * NEWS: Add item for --disable-nscd.
33498 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33500         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33501         to support sed >= 4.2.1-20-ga9bf076.
33502         * configure: Regenerated.
33504 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33506         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33507         Conditionalize whole body on [IREL].
33509 2012-08-22  Jeff Law <law@redhat.com>
33511         [BZ #14505]
33512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33513         if the family is PF_UNSPEC.
33515 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33517         * Makerules (lib-version): Rename from V.
33518         (install-lib-nosubdir): Change V to lib-version.
33520 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33522         [BZ #14252]
33523         * powerpc32/power6/wcschr.c: New file.
33524         * powerpc32/power6/wcscpy.c: New file.
33525         * powerpc32/power6/wcsrchr.c: New file.
33526         * powerpc64/power6/wcschr.c: New file.
33527         * powerpc64/power6/wcscpy.c: New file.
33528         * powerpc64/power6/wcsrchr.c: New file.
33530 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33532         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33533         (two_way_short_needle): Use it.
33534         * string/strstr.c (AVAILABLE1_USES_J): Define.
33535         * string/strcasestr.c: Likewise.
33537         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33538         array references.
33539         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33541         [BZ #11607]
33542         * NEWS: Add an entry.
33543         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33544         define their defaults.
33545         (two_way_short_needle): Detect end-of-string on-the-fly.
33546         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33547         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33548         * string/bug-strcasestr1.c: New test.
33549         * string/Makefile: Run it.
33551 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33553         [BZ #11607]
33554         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33555         the first character.
33557 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33559         * csu/elf-init.c (__libc_csu_irel): Function removed.
33560         * csu/libc-start.c (apply_irel): New function.
33561         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33563 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33565         * sysdeps/unix/sysv/linux/kernel-features.h
33566         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33567         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33568         <kernel-features.h>.
33569         [__NR_fadvise64_64]: Make code unconditional.
33570         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33571         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33572         !__NR_fadvise64_64)]: Likewise.
33573         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33574         !__NR_fadvise64_64))]: Likewise.
33575         [__NR_fadvise64]: Make code unconditional.
33576         [!__NR_fadvise64]: Remove conditional code.
33577         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33578         <kernel-features.h>.
33579         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33580         unconditional.
33581         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33582         conditional code.
33583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33584         not include <kernel-features.h>.
33585         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33586         unconditional.
33587         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33588         conditional code.
33589         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33590         include <kernel-features.h>.
33591         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33592         unconditional.
33593         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33594         conditional code.
33596 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33598         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33599         slight instruction rearrangements per scrollpipe analysis.
33600         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33602 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33604         * manual/syslog.texi (syslog; vsyslog, closelog):
33605         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33606         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33608         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33609         DSOCAPS to match condition on defining it.
33611 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33613         * sysdeps/unix/sysv/linux/kernel-features.h
33614         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33616         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33617         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33619         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33620         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33622         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33623         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33625         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33626         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33628         * sysdeps/unix/sysv/linux/kernel-features.h
33629         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33630         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33631         unconditional.
33632         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33633         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33634         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33635         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33636         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33637         Make code unconditional.
33638         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33639         (__mmap64) [!__NR_mmap2]: Likewise.
33640         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33641         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33642         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33643         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33644         [__NR_mmap2]: Make code unconditional.
33645         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33646         (__mmap64) [!__NR_mmap2]: Likewise.
33648 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33650         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33652 2012-08-18  Andreas Jaeger  <aj@suse.de>
33654         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33656 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33658         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33659         * include/unistd.h (__have_sock_cloexec): Likewise.
33660         (__have_pipe2): Likewise.
33661         (__have_dup3): Likewise.
33663 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33665         [BZ #9685]
33666         * include/unistd.h (__have_pipe2): Change define into an extern int.
33667         (__have_dup3): Likewise.
33668         * socket/have_sock_cloexec.c: Include fcntl.h.
33669         (__have_pipe2): New variable.
33670         (__have_dup3): Likewise.
33672 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33674         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33676 2012-08-17  Marek Polacek  <polacek@redhat.com>
33678         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33679         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33681 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33683         * configure.in: Add AC_SUBST for sysheaders.
33684         * configure: Regenerated.
33685         * config.make.in (sysheaders): New substituted variable.
33687         * sysdeps/unix/mkfifo.c: Moved ...
33688         * sysdeps/posix/mkfifo.c: ... here.
33689         * sysdeps/unix/mkfifoat.c: Moved ...
33690         * sysdeps/posix/mkfifoat.c: ... here.
33692         * sysdeps/unix/utime.c: Moved ...
33693         * sysdeps/posix/utime.c: ... here.
33695         * sysdeps/unix/time.c: Moved ...
33696         * sysdeps/posix/time.c: ... here.
33697         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33698         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33700         * sysdeps/unix/nice.c: Moved ...
33701         * sysdeps/posix/nice.c: ... here.
33703         * sysdeps/unix/alarm.c: Moved ...
33704         * sysdeps/posix/alarm.c: ... here.
33706         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33708 2012-08-17  Jeff Law <law@redhat.com>
33710         * intl/Makefile (codeset_mo): New variable.
33711         ($(codeset_mo)): New target.
33712         (tst-codeset.out): Depend on that.  Remove explicit rule.
33713         (tst-gettext3.out, tst-gettext5.out): Likewise.
33714         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33715         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33716         * intl/tst-codeset.sh: Remove.
33717         * intl/tst-gettext3.sh: Likewise.
33718         * intl/tst-gettext5.sh: Likewise.
33720 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33722         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33723         * sysdeps/unix/syscalls.list: ... here.
33725         * sysdeps/posix/getaddrinfo.c
33726         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33727         (gaiconf_init, gaiconf_reload): Use them.
33728         [!_STATBUF_ST_NSEC]
33729         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33730         Define using time_t rather than struct timespec.
33732         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33733         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33734         Macros removed.
33735         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33736         [!NO_THREADS].
33737         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33738         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33739         Likewise.
33741         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33742         __libc_cleanup_push argument.
33744         * bits/param.h: New file.
33745         * misc/sys/param.h: New file.
33746         * include/sys/param.h: New file.
33747         * misc/Makefile (headers): Add bits/param.h.
33748         * sysdeps/generic/sys/param.h: File removed.
33749         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33750         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33751         * sysdeps/mach/hurd/bits/param.h: New file.
33752         * sysdeps/mach/hurd/sys/param.h: File removed.
33754         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33755         last change.
33757         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33758         [_IO_MTSAFE_IO].
33759         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33760         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33761         New macros.
33763         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33764         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33765         rather than -D_IO_MTSAFE_IO conditionally.
33766         * stdio-common/Makefile (CPPFLAGS): Likewise.
33767         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33768         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33769         Use $(libio-mtsafe).
33770         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33771         of -D_IO_MTSAFE_IO.
33772         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33773         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33774         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33775         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33776         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33777         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33778         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33779         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33780         (CFLAGS-fread_u_chk.c): Likewise.
33781         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33782         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33783         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33784         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33785         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33786         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33787         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33788         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33789         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33791         * libio/Makefile: Test [$(libc-reentrant) = yes]
33792         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33794         * Makeconfig
33795         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33796         * sysdeps/pthread/configure: File removed.
33797         * sysdeps/pthread/Makeconfig: New file.
33798         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33799         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33801 2012-08-16  Gary Benson  <gbenson@redhat.com>
33803         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33804         unmapping the first object in a namespace.
33806 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33808         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33809         (__internal_setnetgrent): ... this.  Add internal_function to
33810         definition.  Add libc_hidden_def.
33811         (setnetgrent): Update caller.
33812         (internal_endnetgrent): Renamed to ...
33813         (__internal_endnetgrent): ... this.  Add internal_function to
33814         definition.  Add libc_hidden_def.
33815         (endnetgrent): Update caller.
33816         (internal_getnetgrent_r): Renamed to ...
33817         (__internal_getnetgrent_r): ... this.  Add internal_function to
33818         definition.  Add libc_hidden_def.
33819         (__getnetgrent_r): Update caller.
33820         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33822 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33824         * stdlib/longlong.h: Update from GCC.
33826 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33828         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33829         on _QL, which is set by umul_ppmm but never used.
33830         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33831         variables, which are set by GMP macros but never used.
33832         * stdio-common/_itowa.c (_itowa): Likewise.
33833         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33834         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33836 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33838         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33839         struct La_sh_regs is not constant.
33840         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33841         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33842         and struct La_sparc64_regs are not constant.
33844 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33846         * sysdeps/unix/sysv/linux/kernel-features.h
33847         (__ASSUME_POSIX_TIMERS): Remove.
33848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33849         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33850         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33851         Make code unconditional.
33852         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33853         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33854         Make code unconditional.
33855         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33856         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33857         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33859         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33860         Make code unconditional.
33861         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33862         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33863         (__libc_missing_posix_timers): Remove.
33865 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33867         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33868         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33870         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33872         * elf/dl-sym.c: Include <stdlib.h>.
33874         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33875         constants, which avoids warnings in 32-bit builds.
33877         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33878         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33880         * misc/lseek.c: File moved to ...
33881         * io/lseek.c: ... here.
33883         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33885         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33886         shifting LEN more than 31 bits at once.
33888 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33890         [BZ #14195]
33891         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33892         segmentation fault for a case of two empty input strings.
33893         * string/test-strncasecmp.c (check1): Renamed to...
33894         (bz12205): ...this.
33895         (bz14195): Add new testcase for two empty input strings and N > 0.
33896         (test_main): Call new testcase, adapt for renamed function.
33898 2012-08-15  Andreas Jaeger  <aj@suse.de>
33900         [BZ #14090]
33901         * crypt/md5test2.c: New test, based on test supplied by Serge
33902         Belyshev <belyshev@depni.sinp.msu.ru>.
33903         * crypt/Makefile (xtests): Add md5test-giant..
33904         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33906 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33908         [BZ #14090]
33909         * crypt/md5.c (md5_process_block): Don't assume the buffer
33910         length is less than 2**32.
33911         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33912         length is less than 2**64.
33914 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33916         * string/str-two-way.h: Include <sys/param.h>.
33917         (MAX): Macro removed.
33919         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33920         Move #define and #undef of memmove to just before and after
33921         including <string.h>.
33923         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33924         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33925         and after including <string.h>.  Move declarations of
33926         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33927         to before #include "string/memmove.c".
33929         * include/dirent.h: Declare __getdirentries.
33931         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33932         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33934 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33936         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33937         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33938         * sysdeps/i386/configure: Regenerated.
33939         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33940         STABS_CURRENT_FILE, and STABS_FUN.
33941         (END): Remove call to STABS_FUN_END.
33942         (STABS_CURRENT_FILE1): Delete.
33943         (STABS_CURRENT_FILE): Likewise.
33944         (STABS_FUN): Likewise.
33945         (STABS_FUN_END): Likewise.
33946         (STABS_FUN2): Likewise.
33947         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33948         * sysdeps/x86_64/configure: Regenerated.
33950 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33952         * elf/dl-open.c: Include <atomic.h>.
33953         * elf/dl-lookup.c: Likewise.
33955 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33957         * sysdeps/unix/sysv/linux/kernel-features.h
33958         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33959         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33960         unconditionally.
33961         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33962         unconditionally.
33963         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33964         condition on __ASSUME_CLONE_THREAD_FLAGS.
33966 2012-08-14  Andreas Jaeger  <aj@suse.de>
33968         * sysdeps/i386/fpu/libm-test-ulps: Update.
33970 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33972         * include/atomic.h (atomic_exchange_and_add): Split into ...
33973         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33974         New atomic macros.
33976 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33980 2012-08-13  Jeff Law <law@redhat.com>
33982         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33983         null byte in the output string.
33985 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33987         * sysdeps/unix/sysv/linux/kernel-features.h
33988         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33989         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33990         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33991         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33992         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33993         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33994         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33996 2012-08-09  Jeff Law <law@redhat.com>
33998         [BZ #13939]
33999         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34000         When avoid_arena is set, don't retry in the that arena.  Pick the
34001         next one, whatever it might be.
34002         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34003         (arena_lock): Pass in new parameter to arena_get2.
34004         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34005         arena_get2.
34006         (__libc_malloc): Unify retrying after main arena failure with
34007         __libc_memalign version.
34008         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34010 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34012         [BZ #14166]
34013         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34014         to __redirect_strstr.
34015         (__strstr_sse42): Use typeof __redirect_strstr.
34016         (__strstr_ia32): Likewise.
34017         (__libc_strstr): New prototype.
34018         (strstr): Renamed to ...
34019         (__libc_strstr): This.
34020         (strstr): New strong alias of __libc_strstr.
34021         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34022         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34023         __redirect_time.
34024         Include <time.h>.
34025         (__libc_time): New prototype.
34026         (time_ifunc): Replace time with __libc_time.
34027         (time): New strong alias and hidden definition of __libc_time.
34028         (__GI_time): Remove strong alias.
34029         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34030         Include <stddef.h>.
34031         (memmove): Redefined to __redirect_memmove.
34032         (__memmove_sse2): Use typeof __redirect_memmove.
34033         (__memmove_ssse3): Likewise.
34034         (__memmove_ssse3_back): Likewise.
34035         (__libc_memmove): New prototype.
34036         (memmove): Renamed to ...
34037         (__libc_memmove): This.
34038         (memmove): New strong alias of __libc_memmove.
34040 2012-08-08  Mark Salter  <msalter@redhat.com>
34042         * elf/elf.h
34043         (R_MN10300_TLS_GD): Define.
34044         (R_MN10300_TLS_LD): Likewise.
34045         (R_MN10300_TLS_LDO): Likewise.
34046         (R_MN10300_TLS_GOTIE): Likewise.
34047         (R_MN10300_TLS_IE): Likewise.
34048         (R_MN10300_TLS_LE): Likewise.
34049         (R_MN10300_TLS_DTPMOD): Likewise.
34050         (R_MN10300_TLS_DTPOFF): Likewise.
34051         (R_MN10300_TLS_TPOFF): Likewise.
34052         (R_MN10300_SYM_DIFF): Likewise.
34053         (R_MN10300_ALIGN): Likewise.
34054         (R_MN10300_NUM): Update.
34056 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34058         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34059         Remove.
34061 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34063         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34065         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34066         sysdeps/unix -> sysdeps/posix move.
34067         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34069 2012-08-07      Allan McRae     <allan@archlinux.org>
34071         [BZ #14303]
34072         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34073         (SUNOS_CPP): Likewise.
34074         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34075         not found.
34076         (open_input): Call CPP using execvp.
34078 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34080         * sysdeps/unix/sysv/linux/kernel-features.h
34081         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34082         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34083         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34084         (__ASSUME_WAITID_SYSCALL): Likewise.
34085         * sysdeps/unix/sysv/linux/dl-execstack.c
34086         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34087         code unconditional.
34088         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34089         conditional code.
34090         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34091         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34092         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34093         code.
34094         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34095         unconditional.
34096         [__ASSUME_WAITID_SYSCALL]: Likewise.
34097         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34099 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34101         * sysdeps/unix/closedir.c: Renamed to ...
34102         * sysdeps/posix/closedir.c: ... here.
34103         * sysdeps/unix/dirfd.c: Renamed to ...
34104         * sysdeps/posix/dirfd.c: ... here.
34105         * sysdeps/unix/dirstream.h: Renamed to ...
34106         * sysdeps/posix/dirstream.h: ... here.
34107         * sysdeps/unix/fdopendir.c: Renamed to ...
34108         * sysdeps/posix/fdopendir.c: ... here.
34109         * sysdeps/unix/opendir.c: Renamed to ...
34110         * sysdeps/posix/opendir.c: ... here.
34111         * sysdeps/unix/readdir.c: Renamed to ...
34112         * sysdeps/posix/readdir.c: ... here.
34113         * sysdeps/unix/readdir_r.c: Renamed to ...
34114         * sysdeps/posix/readdir_r.c: ... here.
34115         * sysdeps/unix/rewinddir.c: Renamed to ...
34116         * sysdeps/posix/rewinddir.c: ... here.
34117         * sysdeps/unix/seekdir.c: Renamed to ...
34118         * sysdeps/posix/seekdir.c: ... here.
34119         * sysdeps/unix/telldir.c: Renamed to ...
34120         * sysdeps/posix/telldir.c: ... here.
34121         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34122         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34123         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34124         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34126         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34127         * bits/fcntl.h: ... here.
34129         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34130         not 0.
34131         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34132         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34133         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34134         (struct flock): Move l_start, l_len to the beginning.
34135         Use __pid_t for l_pid.
34136         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34137         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34138         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34139         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34140         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34141         [__USE_LARGEFILE64] (struct flock64): New type.
34142         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34144         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34145         * bits/dirent.h: ... here.
34147         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34148         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34150 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34152         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34153         Change from 2.6.0 to 2.6.16.
34154         * sysdeps/unix/sysv/linux/configure: Regenerated.
34155         * sysdeps/unix/sysv/linux/kernel-features.h
34156         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34157         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34158         version.
34159         (__ASSUME_UTIMES): Likewise.
34160         (__ASSUME_CLONE_STOPPED): Remove.
34161         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34162         architectures, not kernel version.
34163         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34164         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34165         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34166         (__ASSUME_WAITID_SYSCALL): Likewise.
34167         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34168         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34169         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34170         refer to older versions.
34172 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34174         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34175         Define alphasort64 as an alias.
34176         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34177         Define versionsort64 as an alias.
34178         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34179         Define scandir64 as an alias.
34180         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34181         Define scandirat64 as an alias.
34182         * dirent/alphasort64.c (alphasort64):
34183         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34184         * dirent/versionsort64.c: Likewise.
34185         * dirent/scandir64.c: Likewise.
34186         * dirent/scandirat64.c: Likewise.
34187         * sysdeps/wordsize-64/alphasort.c: File removed.
34188         * sysdeps/wordsize-64/alphasort64.c: File removed.
34189         * sysdeps/wordsize-64/scandir.c: File removed.
34190         * sysdeps/wordsize-64/scandir64.c: File removed.
34191         * sysdeps/wordsize-64/scandirat.c: File removed.
34192         * sysdeps/wordsize-64/scandirat64.c: File removed.
34193         * sysdeps/wordsize-64/versionsort.c: File removed.
34194         * sysdeps/wordsize-64/versionsort64.c: File removed.
34195         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34196         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34197         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34198         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34199         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34200         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34201         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34202         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34204         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34205         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34206         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34207         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34208         [defined __arch64__ || defined __sparcv9]
34209         (__INO_T_MATCHES_INO64_T): New macro.
34210         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34211         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34212         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34213         * sysdeps/unix/sysv/linux/bits/dirent.h
34214         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34215         (_DIRENT_MATCHES_DIRENT64): New macro.
34217         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34218         Define lockf64 as an alias.
34219         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34220         Define fseeko64 as an alias.
34221         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34222         Define ftello64 as an alias.
34223         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34224         Define _IO_fgetpos64 and fgetpos64 as aliases.
34225         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34226         Define _IO_fsetpos64 and fsetpos64 as aliases.
34227         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34228         Conditionalize body on this.
34229         * libio/fseeko64.c: Likewise.
34230         * libio/ftello64.c: Likewise.
34231         * libio/iofgetpos64.c: Likewise.
34232         * libio/iofsetpos64.c: Likewise.
34233         * sysdeps/wordsize-64/lockf.c: File removed.
34234         * sysdeps/wordsize-64/lockf64.c: File removed.
34235         * sysdeps/wordsize-64/fseeko.c: File removed.
34236         * sysdeps/wordsize-64/fseeko64.c: File removed.
34237         * sysdeps/wordsize-64/ftello.c: File removed.
34238         * sysdeps/wordsize-64/ftello64.c: File removed.
34239         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34240         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34241         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34242         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34243         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34245         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34247         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34248         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34249         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34250         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34251         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34252         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34254         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34255         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34256         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34258         [defined __arch64__ || defined __sparcv9]
34259         (__OFF_T_MATCHES_OFF64_T): New macro.
34260         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34261         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34262         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34263         (__OFF_T_MATCHES_OFF64_T): New macro.
34265 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34267         * stdlib/secure-getenv.c (__secure_getenv): Replace
34268         GLIBC_2_16 with GLIBC_2_17.
34270 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34272         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34273         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34275 2012-08-03  David S. Miller  <davem@davemloft.net>
34277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34279 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34281         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34282         Remove.
34283         (__ASSUME_CORRECT_SI_PID): Likewise.
34284         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34285         (__ASSUME_TMPFS_NAME): Likewise.
34286         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34287         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34288         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34289         (HAVE_AUX_SECURE): Make definition unconditional.
34290         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34291         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34293 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34295         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34296         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34297         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34298         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34299         __eloop_threshold instead of SYMLOOP_MAX.
34301         * sysdeps/generic/eloop-threshold.h: New file.
34302         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34303         of MAXSYMLINKS.
34304         * elf/chroot_canon.c (chroot_canon): Likewise.
34306 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34308         [BZ #13717]
34309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34310         Change to 2.6.0 everywhere.
34311         * sysdeps/unix/sysv/linux/configure: Regenerated.
34312         * sysdeps/unix/sysv/linux/kernel-features.h
34313         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34314         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34315         kernel versions.
34316         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34317         (__ASSUME_FUTEX_REQUEUE): Remove.
34318         (__ASSUME_STATFS64): Define unconditionally.
34319         (__ASSUME_AT_SECURE): Likewise.
34320         (__ASSUME_CORRECT_SI_PID): Likewise.
34321         (__ASSUME_TGKILL): Define without depending on kernel version for
34322         i386.
34323         (__ASSUME_UTIMES): Likewise.
34324         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34325         kernel version.
34326         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34327         (__ASSUME_TMPFS_NAME): Likewise.
34328         * README: Update reference to Linux kernel versions.
34330 2012-08-02  Marek Polacek  <polacek@redhat.com>
34332         [BZ# 14150]
34333         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34334         libc_cv_asm_type_prefix with %.
34335         * configure: Regenerated.
34336         * include/libc-symbols.h: Remove comment about
34337         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34338         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34339         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34340         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34341         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34342         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34343         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34344         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34345         * elf/tst-unique2mod1.c: Likewise.
34346         * elf/tst-unique1mod2.c: Likewise.
34347         * elf/tst-unique1mod1.c: Likewise.
34348         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34349         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34350         Replace ASM_TYPE_DIRECTIVE with .type.
34351         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34352         * sysdeps/i386/sysdep.h: Likewise.
34353         * sysdeps/x86_64/sysdep.h: Likewise.
34354         * sysdeps/sh/sysdep.h: Likewise.
34355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34356         Do not define ASM_TYPE_DIRECTIVE.
34357         * sysdeps/powerpc/sysdep.h: Likewise.
34358         * sysdeps/powerpc/powerpc32/sysdep.h:
34359         Replace ASM_TYPE_DIRECTIVE with .type.
34360         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34361         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34362         * sysdeps/i386/fpu/e_powf.S: Likewise.
34363         * sysdeps/i386/fpu/e_expl.S: Likewise.
34364         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34365         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34366         * sysdeps/i386/fpu/e_pow.S: Likewise.
34367         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34368         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34369         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34370         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34371         * sysdeps/i386/fpu/e_log2.S: Likewise.
34372         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34373         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34374         * sysdeps/i386/fpu/e_powl.S: Likewise.
34375         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34376         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34377         * sysdeps/i386/fpu/e_logl.S: Likewise.
34378         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34379         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34380         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34381         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34382         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34383         * sysdeps/i386/fpu/e_log.S: Likewise.
34384         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34385         * sysdeps/i386/fpu/e_logf.S: Likewise.
34386         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34387         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34388         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34389         * sysdeps/i386/fpu/e_log10.S: Likewise.
34390         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34391         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34392         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34393         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34394         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34395         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34396         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34397         * sysdeps/i386/i686/strtok.S: Likewise.
34398         * sysdeps/i386/i386-mcount.S: Likewise.
34399         * sysdeps/i386/strtok.S: Likewise.
34400         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34401         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34403         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34404         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34405         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34406         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34407         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34408         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34409         * sysdeps/x86_64/_mcount.S: Likewise.
34410         * sysdeps/x86_64/strtok.S: Likewise.
34411         * sysdeps/sh/_mcount.S: Likewise.
34413 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34415         * libio/iofopen.c: Include <fcntl.h>.
34416         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34417         (_IO_fopen64, fopen64): Define as aliases.
34418         * libio/iofopen64.c: Include <fcntl.h>.
34419         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34420         Conditionalize body on this.
34421         * sysdeps/wordsize-64/iofopen.c: File removed.
34422         * sysdeps/wordsize-64/iofopen64.c: File removed.
34424 2012-08-01  Marek Polacek  <polacek@redhat.com>
34426         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34427         Use dlfcn directly instead of a variable.
34428         (binfmt-subdir): Do not define.
34429         (dlfcn): Likewise.
34431 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34434         Remove all definitions.
34435         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34436         <kernel-features.h>.
34437         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34438         (miss_F_GETOWN_EX): Remove all definitions.
34439         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34440         macro definition.
34441         [!__ASSUME_FCNTL64]: Remove conditional code.
34442         [__ASSUME_FCNTL64]: Make code unconditional.
34443         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34444         <kernel-features.h>.
34445         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34446         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34447         (lockf64) [__NR_fcntl64]: Make code unconditional.
34448         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34450         * sysdeps/unix/sysv/linux/kernel-features.h
34451         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34452         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34453         Make code unconditional.
34454         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34455         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34457         [__NR_vfork]: Make code unconditional.
34458         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34459         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34461         [__NR_vfork]: Make code unconditional.
34462         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34463         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34465 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34467         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34468         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34470         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34471         Define mkstemp64 as an alias.
34472         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34473         Define mkstemps64 as an alias.
34474         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34475         Define mkostemp64 as an alias.
34476         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34477         Define mkostemps64 as an alias.
34478         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34479         Conditionalize body on this.
34480         * misc/mkostemp64.c: Likewise.
34481         * misc/mkostemps64.c: Likewise.
34482         * misc/mkstemps64.c: Likewise.
34483         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34484         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34485         * sysdeps/wordsize-64/mkostemp.c: File removed.
34486         * sysdeps/wordsize-64/mkstemp.c: File removed.
34487         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34488         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34489         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34490         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34492         [BZ #14138]
34493         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34494         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34495         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34496         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34498         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34499         compat_symbol macros from <shlib-compat.h> rather than the underlying
34500         default_symbol_version and symbol_version macros, so that DEFAULT
34501         lines in shlib-versions are respected.
34502         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34504 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34506         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34507         Declare with warn_unused_result.
34508         (setgid, setregid, setegid, setresgid): Likewise.
34509         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34510         Likewise.
34511         * WUR-REPORT: Remove set*id functions.
34513 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34515         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34517 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34519         [BZ #10191]
34520         * include/sys/socket.h (__libc_accept, __libc_accept4):
34521         Add attribute_hidden.
34522         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34524         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34525         use of PTR_MANGLE.
34526         * inet/getnetgrent_r.c (setup): Likewise.
34528         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34530 2012-07-31  David S. Miller  <davem@davemloft.net>
34532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34534 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34536         [BZ #13629]
34537         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34538         value between 1.0 and 2.0 and smaller part has absolute value less
34539         than 1.0.
34540         * math/s_clog10.c (__clog10): Likewise.
34541         * math/s_clog10f.c (__clog10f): Likewise.
34542         * math/s_clog10l.c (__clog10l): Likewise.
34543         * math/s_clogf.c (__clogf): Likewise.
34544         * math/s_clogl.c (__clogl): Likewise.
34545         * math/libm-test.inc (clog_test): Add more tests.
34546         (clog10_test): Likewise.
34547         * sysdeps/i386/fpu/libm-test-ulps: Update.
34548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34550 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34552         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34553         Exit with zero in case no suitable GID is found, and write a
34554         message to standard error.
34556 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34558         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34559         rather than to 1.
34560         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34561         (MAXPATHLEN): Removed.
34562         (NOGROUP, NODEV): New macros.
34563         (setbit, clrbit, isset, isclr): New macros.
34564         (howmany, roundup, powerof2): New macros.
34565         (DEV_BSIZE): New macro.
34567         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34568         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34570         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34571         definition on [!__NO_LONG_DOUBLE_MATH].
34573         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34574         PTR_MANGLE and PTR_DEMANGLE.
34576         * socket/accept4.c (accept4): Rename to __libc_accept4.
34577         Define accept4 as a weak alias.
34579         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34580         on [_DIRENT_HAVE_D_TYPE].
34581         * io/ftw.c (ftw_dir): Likewise.
34583         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34585         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34587         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34588         Use the BSD numbers rather than the arbitrary ones we had.
34589         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34590         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34591         (SIGXCPU, SIGXFSZ): New macros.
34592         (_NSIG): Now 32.
34594         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34595         initializer on [_LIBC_REENTRANT].
34597         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34598         definitions inside [_POSIX_MAPPED_FILES].
34600         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34602         * dirent/opendir.c: Include <fcntl.h>.
34604         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34605         (__libc_getspecific): Likewise.
34606         (__libc_key_create): Likewise.
34608         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34609         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34610         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34611         (tmpfile64): Define as alias.
34612         * sysdeps/wordsize-64/tmpfile.c: File removed.
34613         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34614         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34615         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34617         * stdio-common/vfscanf.c: Include <stdbool.h>.
34618         * nss/makedb.c: Likewise.
34619         * stdio-common/_i18n_number.h: Likewise.
34620         * argp/argp-help.c: Likewise.
34621         * posix/wordexp.c: Likewise.
34622         * sysdeps/posix/spawni.c: Likewise.
34623         * nss/nss_files/files-initgroups.c: Likewise.
34624         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34625         * nss/nss_files/files-initgroups.c: Likewise.
34626         * nss/nss_db/db-netgrp.c: Likewise.
34627         * nss/nss_db/db-initgroups.c: Likewise.
34628         * io/fchmodat.c: Include <sys/stat.h>.
34630         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34631         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34633         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34634         [HAVE_MMAP].
34636         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34637         Add multiple inclusion protection.
34639 2012-07-27  David S. Miller  <davem@davemloft.net>
34641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34643 2012-07-27  Gary Benson  <gbenson@redhat.com>
34645         [BZ #14298]
34646         * elf/rtld.c: Include <stap-probe.h>.
34647         (dl_main): Added static probes "init_start" and "init_complete".
34648         * elf/dl-load.c: Include <stap-probe.h>.
34649         (lose): Take new parameter "nsid".
34650         Added static probe "map_failed".
34651         (_dl_map_object_from_fd): Pass namespace id to lose.
34652         Added static probe "map_start".
34653         (open_verify): Pass namespace id to lose.
34654         * elf/dl-open.c: Include <stap-probe.h>.
34655         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34656         and "reloc_complete".
34657         * elf/dl-close.c: Include <stap-probe.h>.
34658         (_dl_close_worker): Added static probes "unmap_start" and
34659         "unmap_complete".
34660         * elf/rtld-debugger-interface.txt: New file documenting the above.
34662 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34664         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34665         rather than a string variable.
34666         * sunrpc/rpc_main.c (h_output): Likewise.
34667         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34669 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34671         * inet/check_native.c: New file.
34673 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #13629]
34676         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34677         if larger part has absolute value 1.0.
34678         * math/s_clog10.c (__clog10): Likewise.
34679         * math/s_clog10f.c (__clog10f): Likewise.
34680         * math/s_clog10l.c (__clog10l): Likewise.
34681         * math/s_clogf.c (__clogf): Likewise.
34682         * math/s_clogl.c (__clogl): Likewise.
34683         * math/libm-test.inc (clog_test): Add more tests.
34684         (clog10_test): Likewise.
34685         * sysdeps/i386/fpu/libm-test-ulps: Update.
34686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34688         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34689         (pltexit): Likewise.
34690         (La_regs): Likewise.
34691         (La_retval): Likewise.
34692         (int_retval): Likewise.
34693         Update #error for removed macros to refer only to definitions in
34694         tst-audit.h.
34695         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34696         macro.
34697         (pltexit): Likewise.
34698         (La_regs): Likewise.
34699         (La_retval): Likewise.
34700         (int_retval): Likewise.
34701         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34702         macro.
34703         (pltexit): Likewise.
34704         (La_regs): Likewise.
34705         (La_retval): Likewise.
34706         (int_retval): Likewise.
34707         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34708         macro.
34709         (pltexit): Likewise.
34710         (La_regs): Likewise.
34711         (La_retval): Likewise.
34712         (int_retval): Likewise.
34713         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34714         macro.
34715         (pltexit): Likewise.
34716         (La_regs): Likewise.
34717         (La_retval): Likewise.
34718         (int_retval): Likewise.
34719         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34720         macro.
34721         (pltexit): Likewise.
34722         (La_regs): Likewise.
34723         (La_retval): Likewise.
34724         (int_retval): Likewise.
34725         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34726         macro.
34727         (pltexit): Likewise.
34728         (La_regs): Likewise.
34729         (La_retval): Likewise.
34730         (int_retval): Likewise.
34731         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34732         macro definitions in tst-audit.h.
34733         * sysdeps/i386/tst-audit.h: New file.
34734         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34735         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34736         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34737         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34738         * sysdeps/sh/tst-audit.h: Likewise.
34739         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34740         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34741         * sysdeps/x86_64/tst-audit.h: Likewise.
34743 2012-07-26  Andreas Jaeger  <aj@suse.de>
34745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34746         ptrace.
34748         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34749         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34750         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34751         PTRACE_O_MASK.
34752         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34753         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34754         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34756         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34757         value.
34759         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34760         _sigsys.
34761         (si_call_addr, si_syscall, si_arch): Define new macro.
34762         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34763         _sigsys.
34764         (si_call_addr, si_syscall, si_arch): Define new marcro.
34765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34766         _sigsys.
34767         (si_call_addr, si_syscall, si_arch): Define new macro.
34768         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34769         _sigsys.
34770         (si_call_addr, si_syscall, si_arch): Define new macro.
34772 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34774         [BZ #13717]
34775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34776         Change to 2.4.21 where previously 2.4.1.
34777         * sysdeps/unix/sysv/linux/configure: Regenerated.
34778         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34779         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34780         Linux kernel version.
34781         (__ASSUME_STD_AUXV): Remove.
34782         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34783         kernel version.
34784         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34785         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34786         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34787         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34788         (__ASSUME_NETLINK_SUPPORT): Likewise.
34789         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34790         (__no_netlink_support): Remove conditional definition.
34791         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34792         Remove.
34793         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34794         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34795         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34796         (if_nameindex_ioctl): Remove.
34797         (if_nameindex_netlink): Do not handle __no_netlink_support.
34798         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34799         code.
34800         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34801         Remove conditional code.
34802         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34803         code.
34804         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34805         unconditional.
34806         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34807         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34808         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34809         Remove.
34810         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34811         [!__ASSUME_STD_AUXV]: Remove conditional code.
34812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34813         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34814         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34816         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34817         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34818         code.
34819         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34821         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34822         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34823         conditional code.
34824         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34826         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34827         code.
34828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34829         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34830         conditional code.
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34832         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34833         code unconditional.
34834         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34835         conditional code.
34836         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34837         unconditional.
34838         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34839         conditional code.
34840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34841         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34842         unconditional.
34843         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34844         conditional code.
34845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34846         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34847         code unconditional.
34848         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34849         conditional code.
34850         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34851         unconditional.
34852         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34853         conditional code.
34854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34855         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34856         code unconditional.
34857         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34858         conditional code.
34859         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34860         unconditional.
34861         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34862         conditional code.
34864 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34866         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34867         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34868         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34869         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34870         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34871         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34872         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34873         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34874         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34875         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34876         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34877         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34878         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34879         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34880         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34881         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34882         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34883         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34884         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34886         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34887         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34888         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34890 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34892         * Versions.def: Add GLIBC_2.17.
34893         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34894         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34895         Introduce __libc_secure_getenv.
34896         * stdlib/Versions (2.17): Add secure_getenv
34897         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34898         * stdlib/secure-getenv.c: Rename __secure_getenv to
34899         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34900         symbol __secure_getenv for GLIBC_2.0.
34901         * stdlib/tst-secure-getenv.c: New.
34902         * stdlib/Makefile (tests): Add testcase.
34903         * manual/startup.texi (Environment Access): Document
34904         secure_getenv.
34905         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34906         __libc_secure_getenv.
34907         * inet/ruserpass.c (ruserpass): Likewise.
34908         * malloc/mtrace.c (mtrace): Likewise.
34909         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34910         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34911         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34912         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34913         HAVE_SECURE_GETENV.
34914         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34915         __secure_getenv to __libc_secure_getenv.
34916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34918         Likewise.
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34920         Likewise.
34921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34923         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34929 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34931         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34932         (struct La_i86_retval): Likewise.
34933         (struct La_x86_64_regs): Likewise.
34934         (struct La_x86_64_retval): Likewise.
34935         (struct La_x32_regs): Likewise.
34936         (struct La_x32_retval): Likewise.
34937         (struct La_ppc32_regs): Likewise.
34938         (struct La_ppc32_retval): Likewise.
34939         (struct La_ppc64_regs): Likewise.
34940         (struct La_ppc64_retval): Likewise.
34941         (struct La_sh_regs): Likewise.
34942         (struct La_sh_retval): Likewise.
34943         (struct La_s390_32_regs): Likewise.
34944         (struct La_s390_32_retval): Likewise.
34945         (struct La_s390_64_regs): Likewise.
34946         (struct La_s390_64_retval): Likewise.
34947         (struct La_sparc32_regs): Likewise.
34948         (struct La_sparc32_retval): Likewise.
34949         (struct La_sparc64_regs): Likewise.
34950         (struct La_sparc64_retval): Likewise.
34951         (struct audit_ifaces): Remove architecture-specific pltenter and
34952         pltexit members.
34953         * sysdeps/i386/ldsodefs.h: New file.
34954         * sysdeps/powerpc/ldsodefs.h: Likewise.
34955         * sysdeps/s390/ldsodefs.h: Likewise.
34956         * sysdeps/sh/ldsodefs.h: Likewise.
34957         * sysdeps/sparc/ldsodefs.h: Likewise.
34958         * sysdeps/x86_64/ldsodefs.h: Likewise.
34960 2012-07-25  Marek Polacek  <polacek@redhat.com>
34962         [BZ #6808]
34963         * math/libm-test.inc (yn_test): Add another test.
34964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34965         to ERANGE when the result is +-Inf.
34966         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34967         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34969         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34971 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34973         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34974         equal to 0.
34975         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34976         clock_t.
34977         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34979 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34981         * configure.in <sysdeps resolving>: Correct printing
34982         Implies_before.
34983         * configure: Regenerate.
34985 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34987         * math/w_ilogb.c: Include <limits.h>.
34988         * math/w_ilogbl.c: Likewise.
34990 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34992         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34993         va_copy.  Document allowing for unavailable va_copy only as
34994         pre-C99 compatibility.
34995         * manual/string.texi (Copying and Concatenation): Use va_copy
34996         instead of __va_copy in concat example.
34998 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35000         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35001         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35002         it if not null.
35004         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35005         with O_NOLINK passed to __file_name_lookup.
35007         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35008         with O_NOLINK passed to __file_name_lookup.
35010         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35011         negative N or less than NGIDS.
35013         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35014         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35015         enough.  Use memcpy instead of strncpy.
35017 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35019         * elf/Makefile (check-data): Remove.
35020         (localplt.data): New vpath directive.
35021         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35022         instead of $(check-data).
35023         * scripts/data/localplt-generic.data: Move to ...
35024         * sysdeps/generic/localplt.data: ... here.
35025         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35026         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35027         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35029         ... here.
35030         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35032         ... here.
35033         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35035         ... here.
35036         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35038         ... here.
35039         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35041         ... here.
35042         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35044         ... here.
35046 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35048         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35049         PPC32 and PPC64 files.
35050         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35051         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35053 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35055         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35056         __makecontext_ret to ...
35057         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35058         ... here and call exit if uc_link is NULL.  New file.
35059         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35060         __makecontext_ret.S.
35061         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35062         __makecontext_ret to ...
35063         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35064         ... here and call exit if uc_link is NULL.  New file.
35065         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35066         __makecontext_ret.S.
35068 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35070         * elf/elf.h (R_390_IRELATIVE): New definition.
35071         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35072         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35073         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35074         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35075         (elf_machine_lazy_rel): Likewise.
35076         * sysdeps/s390/dl-irel.h: New file.
35077         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35078         * sysdeps/s390/s390-64/memset.S: New asm code.
35079         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35080         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35081         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35082         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35083         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35084         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35085         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35086         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35087         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35088         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35089         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35090         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35091         * sysdeps/s390/s390-32/memset.S: New asm code.
35092         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35094 2012-07-17  Marek Polacek  <polacek@redhat.com>
35096         [BZ #14349]
35097         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35098         * sysdeps/s390/s390-64/configure.in: Likewise.
35099         * sysdeps/sparc/configure.in: Likewise.
35100         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35101         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35102         * sysdeps/i386/configure.in: Likewise.
35103         * sysdeps/x86_64/configure.in: Likewise.
35104         * sysdeps/sh/configure.in: Likewise.
35105         * sysdeps/s390/s390-32/configure: Regenerated.
35106         * sysdeps/s390/s390-64/configure: Likewise.
35107         * sysdeps/x86_64/configure: Likewise.
35108         * sysdeps/sh/configure: Likewise.
35109         * sysdeps/powerpc/powerpc64/configure: Likewise.
35110         * sysdeps/powerpc/powerpc32/configure: Likewise.
35111         * sysdeps/sparc/configure: Likwise.
35112         * sysdeps/i386/configure: Likewise.
35114         * elf/dl-open.c: Comment fixes.
35116 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35118         * Makefile [CXX] (check-data): Remove.
35119         [CXX] (c++-types.data): New vpath directive.
35120         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35121         vpath.  Do not allow for C++ type data being missing.
35122         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35123         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35124         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35125         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35126         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35127         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35128         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35130         ... here.
35131         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35133         ... here.
35134         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35136         ... here.
35137         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35139         ... here.
35140         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35142         ... here.
35143         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35145         ... here.
35146         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35148         ... here.
35149         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35152         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35153         definitions to architecture-specific files.
35154         (TLS_IE): Likewise.
35155         (TLS_LD): Likewise.
35156         (TLS_GD): Likewise.
35157         * sysdeps/i386/tls-macros.h: New file.
35158         * sysdeps/powerpc/tls-macros.h: Likewise.
35159         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35160         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35161         * sysdeps/sh/tls-macros.h: Likewise.
35162         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35163         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35164         * sysdeps/x86_64/tls-macros.h: Likewise.
35166 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35168         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35169         zero value for regular exit case.
35171         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35172         (__start_context): Preserve zero value for regular exit case.
35174 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35175             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35177         * manual/setjmp.texi (setcontext): Clarify normal process
35178         termination when uc_link is the null pointer.
35179         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35180         exit call.
35182 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35184         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35185         preprocessor.  Test for each exception mask separately.
35187 2012-07-16  Andreas Jaeger  <aj@suse.de>
35189         * po/ru.po: Update from translation team.
35191 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35193         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35194         equal to 0.
35195         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35196         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35197         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35198         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35201 2012-07-13  Andreas Jaeger  <aj@suse.de>
35203         * po/fr.po: Update from translation team.
35205 2012-07-12  Marek Polacek  <polacek@redhat.com>
35207         [BZ #14173]
35208         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35210         loop condition.
35212 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35214         [BZ #13717]
35215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35216         Change to 2.4.1 where previously 2.4.0.
35217         * sysdeps/unix/sysv/linux/configure: Regenerated.
35218         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35219         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35220         version.
35221         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35222         (__ASSUME_AT_CLKTCK): Remove.
35223         (__ASSUME_AT_PAGESIZE): Likewise.
35224         (__ASSUME_AT_XID): Likewise.
35225         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35226         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35227         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35228         unconditionally.
35229         (HAVE_AUX_PAGESIZE): Likewise.
35230         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35231         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35232         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35234 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35236         [BZ #14307]
35237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35238         the temporary buffer used to invoke __gethostbyname2_r,
35239         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35240         host_data / struct gaih_addrtuple.
35241         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35242         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35243         header file nss/nsswitch.h.
35244         * nss/nsswitch.h (global scope): Add definition of implementation
35245         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35246         resolv/nss_dns/dns-host.c).
35248 2012-07-11  Andreas Jaeger  <aj@suse.de>
35250         * po/fr.po: Update from translation team.
35252         * po/sv.po: Update from translation team
35253         * po/fr.po: Another update from translation team.
35255 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35257         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35258         for subnormals or multiply small sinh result by itself.
35259         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35262 2012-07-11  David S. Miller  <davem@davemloft.net>
35264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35266 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35268         [BZ #14347]
35269         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35270         (INTERNAL_MARK): Shift it here.
35272 2012-07-10  Marek Polacek  <polacek@redhat.com>
35274         [BZ #14151]
35275         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35276         libc_cv_asm_global_directive with .globl.
35277         * configure: Regenerated.
35278         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35279         with .globl.
35280         * sysdeps/i386/configure: Regenerated.
35281         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35282         with .globl.
35283         * sysdeps/x86_64/configure: Regenerated.
35284         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35285         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35286         * elf/tst-unique2mod2.c: Likewise.
35287         * elf/tst-unique2mod1.c: Likewise.
35288         * elf/tst-unique1mod2.c: Likewise.
35289         * elf/tst-unique1mod1.c: Likewise.
35290         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35291         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35292         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35293         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35294         * sysdeps/mach/sysdep.h: Likewise.
35295         * sysdeps/i386/sysdep.h: Likewise.
35296         * sysdeps/i386/i386-mcount.S: Likewise.
35297         * sysdeps/x86_64/_mcount.S: Likewise.
35298         * sysdeps/x86_64/sysdep.h: Likewise.
35299         * sysdeps/sh/_mcount.S: Likewise.
35300         * sysdeps/sh/sysdep.h: Likewise.
35301         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35302         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35303         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35304         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35305         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35306         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35307         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35308         * locale/localeinfo.h: Likewise.
35309         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35310         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35312 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35314         [BZ #14336]
35315         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35316         system".
35317         * manual/message.texi (The Uniforum approach): Likewise.
35318         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35319         (glibc iconv Implementation): Likewise.
35321 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35323         [BZ #14337]
35324         * math/s_clog.c (__clog): Avoid scaling a value down where that
35325         could result in underflow.
35326         * math/s_clog10.c (__clog10): Likewise.
35327         * math/s_clog10f.c (__clog10f): Likewise.
35328         * math/s_clog10l.c (__clog10l): Likewise.
35329         * math/s_clogf.c (__clogf): Likewise.
35330         * math/s_clogl.c (__clogl): Likewise.
35331         * math/libm-test.inc (clog_test): Add more tests.
35332         (clog10_test): Likewise.
35333         * sysdeps/i386/fpu/libm-test-ulps: Update.
35334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35336 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35338         [BZ #14283]
35339         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35340         by 7 not 8 to examine high bit of fractional part.
35342         [BZ #14042]
35343         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35344         for call to __mcount_internal.
35345         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35346         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35347         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35349 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35351         [BZ #14154]
35352         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35353         approximation for values within 0x1p-13f of an odd multiple of
35354         pi/4.
35355         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35356         exception.  Add more tests.
35357         * sysdeps/i386/fpu/libm-test-ulps: Update.
35359         [BZ #6778]
35360         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35361         inputs and return -1 for them.  Do not check for +Inf in case not
35362         reachable for +Inf.
35363         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35364         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35365         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35366         and return -1 for them.  Do not check for +Inf in case not
35367         reachable for +Inf.
35368         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35369         define.
35370         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35371         and return -1 for them.  Do not check for +Inf in case not
35372         reachable for +Inf.
35373         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35374         spurious underflow.
35375         * sysdeps/i386/fpu/libm-test-ulps: Update.
35376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35378 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35380         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35382 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35384         [BZ #14157]
35385         [BZ #14331]
35386         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35387         could result in spurious underflow.  Scale down values above
35388         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35389         * math/s_csqrtf.c (__csqrtf): Likewise.
35390         * math/s_csqrtl.c (__csqrtl): Likewise.
35391         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35392         spurious underflow.
35393         * sysdeps/i386/fpu/libm-test-ulps: Update.
35394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35396 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35398         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35399         xopen-msg.sed.
35400         * catgets/xopen-msg.awk: New file.
35401         * catgets/xopen-msg.sed: Removed.
35403         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35404         po2text.sed.
35405         * intl/po2test.awk: New file.
35406         * intl/po2test.sed: Removed.
35408 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35410         [BZ #14328]
35411         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35412         or multiply small sinh result by itself.
35413         * math/s_ctanf.c (__ctanf): Likewise.
35414         * math/s_ctanh.c (__ctanh): Likewise.
35415         * math/s_ctanhf.c (__ctanhf): Likewise.
35416         * math/s_ctanhl.c (__ctanhl): Likewise.
35417         * math/s_ctanl.c (__ctanl): Likewise.
35418         * math/libm-test.inc (ctan_test_tonearest): New function.
35419         (ctan_test_towardzero): Likewise.
35420         (ctan_test_downward): Likewise.
35421         (ctan_test_upward): Likewise.
35422         (ctanh_test_tonearest): Likewise.
35423         (ctanh_test_towardzero): Likewise.
35424         (ctanh_test_downward): Likewise.
35425         (ctanh_test_upward): Likewise.
35426         (main): Call these new functions.
35427         * sysdeps/i386/fpu/libm-test-ulps: Update.
35428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35430 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35432         * .gitignore: Delete /ports entry.
35434 2012-07-03  Andreas Jaeger  <aj@suse.de>
35436         * po/bg.po: Update from translation team.
35437         * po/cs.po: Likewise.
35438         * po/de.po: Likewise.
35439         * po/hr.po: Likewise.
35440         * po/nl.pl: Likewise.
35441         * po/pl.po: Likewise.
35442         * po/vi.po: Likewise.
35444 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35446         * Makeconfig [!+link] (+link-before-libc): New variable.
35447         [!+link] (+link-after-libc): Likewise.
35448         [!+link] (+link-tests): Likewise.
35449         [!+link] (+link): Define in terms of $(+link-before-libc) and
35450         $(+link-after-libc).
35451         [!+link-static] (+link-static-before-libc): New variable.
35452         [!+link-static] (+link-static-after-libc): Likewise.
35453         [!+link-static] (+link-static-tests): Likewise.
35454         [!+link-static] (+link-static): Define in terms of
35455         $(+link-static-before-libc) and $(+link-static-after-libc).
35456         [build-shared] (link-libc-before-gnulib): New variable.
35457         [build-shared] (link-libc-tests): Likewise.
35458         [build-shared] (link-libc): Define in terms of
35459         $(link-libc-before-gnulib).
35460         [!build-shared] (link-libc-tests): New variable.
35461         (link-libc-static-tests): New variable.
35462         [!gnulib] (gnulib-arch): New variable.
35463         [!gnulib] (gnulib-tests): Likewise.
35464         [!gnulib] (static-gnulib-arch): Likewise.
35465         [!gnulib] (static-gnulib-tests): Likewise.
35466         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35467         Define with "=" instead of ":=".
35468         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35469         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35470         * Rules (binaries-all-notests): New variable.
35471         (binaries-all-tests): Likewise.
35472         (binaries-static-notests): Likewise.
35473         (binaries-static-tests): Likewise.
35474         (binaries-all): Define using $(binaries-all-notests) and
35475         $(binaries-all-tests).
35476         (binaries-static): Define using $(binaries-static-notests) and
35477         $(binaries-static-tests).
35478         (binaries-shared-tests): New variable.
35479         (binaries-shared-notests): Likewise.
35480         (binaries-shared): Remove variable.
35481         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35482         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35483         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35484         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35485         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35486         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35487         * elf/Makefile (sln-modules): New variable.
35488         (extra-objs): Add $(sln-modules:=.o).
35489         (ldconfig-modules): Add static-stubs.
35490         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35491         * elf/static-stubs.c: New file.
35493         [BZ #14283]
35494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35495         by 7 not 8 to examine high bit of fractional part.  Use volatile
35496         variables when splitting into final array of floats if
35497         __FLT_EVAL_METHOD__ != 0.
35498         * math/libm-test.inc (cos_test): Add another test.
35499         (sin_test): Likewise.
35500         * sysdeps/i386/fpu/libm-test-ulps: Update.
35502         [BZ #14273]
35503         * math/libm-test.inc (cosh_test): Add more tests.
35505         * version.h (RELEASE): Set to "development".
35506         (VERSION): Set to "2.16.90".
35508 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35510         * NEWS: Update copyright. Remove last-updated date.
35511         Mention math library bug fixes and timezone data changes.
35512         * README: Mention GNU/Hurd, x32, and HPPA support status.
35514 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35516         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35518 2012-06-27  Andreas Jaeger  <aj@suse.de>
35520         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35522 2012-06-25  Andreas Jaeger  <aj@suse.de>
35524         * sysdeps/s390/fpu/libm-test-ulps: Update.
35526 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35527             Thomas Schwinge  <thomas@codesourcery.com>
35529         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35530         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35532         fanotify_mark.
35534 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35536         * sysdeps/mach/start.c: Remove file.
35537         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35538         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35539         * sysdeps/sh/init-first.c: Likewise.
35541         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35542         registers for frame unwinding purposes, add CFI directives.
35543         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35544         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35545         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35546         Likewise.
35548         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35549         __fortify_fail returning.
35550         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35552         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35553         sysdeps/sh/____longjmp_chk.S.
35554         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35555         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35556         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35557         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35559         * sysdeps/sh/abort-instr.h: New file.
35560         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35561         process in case exit returns.
35563         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35564         initialize the GOT register before use.
35566         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35567         calculation of ARGC > 4.
35569         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35570         meaningful names to some local labels.
35572 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35573             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35575         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35576         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35577         (__arch_compare_and_exchange_val_16_acq): Likewise.
35578         (__arch_compare_and_exchange_val_32_acq): Likewise.
35579         (atomic_exchange_and_add): Fix gUSA sequence.
35580         (atomic_add): Likewise.
35581         (atomic_add_negative): Likewise.
35582         (atomic_add_zero): Likewise.
35583         (atomic_bit_test_set): Likewise.
35585 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35587         [BZ #13579]
35588         * include/link.h (struct link_map): Add l_free_initfini.
35589         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35590         l_initfini.
35591         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35592         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35593         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35594         set.
35596 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35598         * configure.in: Use AC_LANG_SOURCE.
35599         * configure: Regenerate.
35601 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35603         * configure.in (libc_cv_localstatedir): New substituted variable.
35604         * configure: Regenerated.
35605         * config.make.in (localstatedir): New variable, substituted from
35606         libc_cv_localstatedir.
35607         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35608         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35609         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35610         * sysdeps/gnu/configure: Regenerated.
35612 2012-06-21  Jeff Law  <law@redhat.com>
35614         [BZ #14277]
35615         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35616         free.  Simplify list management for _LIBC case.
35618 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35620         [BZ #14273]
35621         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35622         Clear sign bit of 64-bit integer value before comparing against
35623         overflow value.
35625         * sysdeps/mach/configure: Regenerated.
35627 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35629         [BZ #14278]
35630         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35632 2012-06-21  Jeff Law  <law@redhat.com>
35634         [BZ #13882]
35635         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35636         uint16_t for elements in the "seen" array to avoid char overflows.
35637         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35638         * elf/dl-open.c (dl_open_worker): Likewise.
35640 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35642         * scripts/list-sources.sh: Scan PORTS for translations.
35643         * po/libc.pot: Regenerated.
35645 2012-06-21  Andreas Jaeger  <aj@suse.de>
35647         [BZ #12194]
35648         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35649         warning.
35650         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35651         * bits/byteswap-16.h (__bswap_16): Likewise.
35652         * bits/byteswap.h (__bswap_constant_16): Likewise.
35654 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35656         [BZ #14117]
35657         * sysdeps/i386/fpu_control.h: Removed.
35658         * sysdeps/x86_64/fpu_control.h: Moved to ...
35659         * sysdeps/x86/fpu_control.h: Here.
35661         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35662         (_FPU_SETCW): Likewise.
35664 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35666         [BZ #14117]
35667         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35668         * sysdeps/x86/fpu/bits/mathinline.h: This.
35669         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35671         [BZ #14050]
35672         [BZ #14117]
35673         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35674         functions if __x86_64__ is defined.
35676 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35678         * string/endian.h: Add !__ASSEMBLER__ condition for including
35679         conversion interfaces.
35681 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35683         [BZ #14241]
35684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35685         of ABS(x) in calculating zero to negative powers other than odd
35686         integers.
35687         * math/libm-test.inc (pow_test): Add more tests.
35689 2012-06-15  Andreas Jaeger  <aj@suse.de>
35691         * manual/contrib.texi (Contributors): Update entry of Liubov
35692         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35693         Machado Filho.
35695 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35697         * string/string.h: Add __wur to GNU version of strerror_r.
35699 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35701         [BZ #14229]
35702         * string/Makefile (tests): Add tst-strtok_r.
35703         * string/tst-strtok_r.c: New file.
35704         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35705         RAX_LP/RDX_LP on SAVE_PTR.
35707 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35709         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35711 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35713         * libm_test.inc (csqrt_test): Allow more spurious underflow
35714         exceptions.
35715         (j0_test): Likewise.
35716         (j1_test): Likewise.
35717         (y0_test): Likewise.
35718         (y1_test): Likewise.
35720 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35722         * po/Makefile (libc.pot): Use UTF-8 charset.
35724 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35726         [BZ #14210]
35727         Suppress sign-conversion warning from FD_SET.
35728         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35729         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35730         not unsigned long int.
35731         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35733 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35735         [BZ #14050]
35736         [BZ #14117]
35737         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35738         __extern_always_inline instead of __extern_inline.
35739         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35740         (__signbit): Likewise.
35741         (__signbitl): Support C++ namespace.
35742         (lrintf): New inline function.
35743         (lrint): Likewise.
35744         (llrintf): Likewise.
35745         (llrint): Likewise.
35746         (fmaxf): Likewise.
35747         (fmax): Likewise.
35748         (fminf): Likewise.
35749         (fmin): Likewise.
35750         (rint): Likewise.
35751         (rintf): Likewise.
35752         (ceil): Likewise.
35753         (ceilf): Likewise.
35754         (floor): Likewise.
35755         (floorf): Likewise.
35756         (nearbyint): Likewise.
35757         (nearbyintf): Likewise.
35759 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35761         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35762         non-default versions.
35764 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35766         [BZ #14218]
35767         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35769 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35771         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35772         (FE_UPWARD, FE_DOWNWARD): Don't define.
35773         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35774         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35776         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35777         reading it.
35778         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35779         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35781 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35783         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35785         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35786         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35788 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35790         [BZ #14117]
35791         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35792         * sysdeps/i386/fpu/Implies: New file.
35793         * sysdeps/x86_64/fpu/Implies: Likewise.
35794         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35795         * sysdeps/x86/fpu/bits/fenv.h: This.
35797         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35798         __SSE_MATH__.
35800 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35802         [BZ #14134]
35803         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35804         character 0xffff that matches the last element of the
35805         conversion table.
35807 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35809         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35810         fmodl commit.
35812 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35815         values higher than 25.6283.
35817 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35819         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35820         subnormal exponent extraction and add some __builtin_expect.
35821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35822         Fix for subnormal mantissa calculation.
35824 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35826         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35827         cpu2 is -1 and errno is not ENOSYS.
35829 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35831         [BZ #14117]
35832         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35833         * sysdeps/x86/bits/string.h: This.
35834         * sysdeps/x86_64/bits/string.h: Removed.
35836         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35837         if not compiling for x86-64, but compiling for >= i486.
35839         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35840         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35842         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35843         New macro from Linux kernel 3.4.0.
35844         (FP_XSTATE_MAGIC2): Likewise.
35845         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35846         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35847         (struct _fpx_sw_bytes): New struct.
35848         (struct _xsave_hdr): Likewise.
35849         (struct _ymmh_state): Likewise.
35850         (struct _xstate): Likewise.
35852         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35853         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35854         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35855         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35856         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35857         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35859         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35860         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35861         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35862         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35863         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35864         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35866 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35868         [BZ #13743]
35869         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35870         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35871         (sysdep_headers): Include sys/platform/ppc.h.
35872         * sysdeps/powerpc/test-gettimebase.c: Test for
35873         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35874         * manual/Makefile (appendices): Include platform.texi.
35875         * manual/contrib.texi (Contributors): Update @node pointers.
35876         * manual/maint.texi (Maintenance): Likewise.
35877         (Platform): New node.
35878         * manual/platform.texi: New file.  Document the new features.
35880 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35881             Jakub Jelinek  <jakub@redhat.com>
35883         [BZ #14188]
35884         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35885         where __builtin_expect is unavailable.
35887 2012-06-03  David S. Miller  <davem@davemloft.net>
35889         * stdlib/longlong.h: Updated from GCC.
35891 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35893         [BZ #14042]
35894         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35895         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35896         __mcount_internal.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35898         (GLIBC_2.16): Likewise.
35900 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35902         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35904 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35907         (default-abi): New variable.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35909         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35910         variable.
35911         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35912         Likewise.
35913         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35914         Likewise.
35915         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35916         Likewise.
35918         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35919         definition.  Document in comment.
35921 2012-06-01  David S. Miller  <davem@davemloft.net>
35923         * stdlib/longlong.h: Updated from GCC.
35925 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35927         [BZ #14117]
35928         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35929         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35930         sys/debugreg.h sys/io.h here.
35931         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35932         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35933         sys/io.h.
35934         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35935         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35936         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35937         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35938         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35939         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35941         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35942         Define only if __x86_64__ is defined.
35944 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35946         [BZ #14048]
35947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35948         Use int64_t for variable i.
35949         * math/libm-test.inc (fmod_test): Add more tests.
35951         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35952         z computation is not scheduled after fetestexcept.
35953         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35954         Use math_force_eval instead of asm to ensure calculation scheduled
35955         before exception test.
35956         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35957         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35959 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35962         computation is not scheduled after fetestexcept.
35964 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35966         [BZ #14117]
35967         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35968         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35970 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35972         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35973         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35975 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35977         [BZ #14117]
35978         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35979         <bits/wordsize.h>.
35980         (__WCHAR_MIN): Support __WORDSIZE == 64.
35981         (__WCHAR_MAX): Likewise.
35983         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35984         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35986         [BZ #14183]
35987         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35988         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35990         [BZ #14117]
35991         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35992         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35994         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35995         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35997         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35998         Defined to 1 if __x86_64__ isn't defined.
35999         (_STAT_VER_LINUX_OLD): New.
36000         (st_atime): Remove duplicate.
36001         (st_mtime): Likewise.
36002         (st_ctime): Likewise.
36004 2012-05-31  David S. Miller  <davem@davemloft.net>
36006         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36007         entries.
36009 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36011         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36012         gen-libm-test.pl.
36014         [BZ #14132]
36015         * elf/dl-reloc.c: Include <_itoa.h>.
36016         (_dl_reloc_bad_type): Remove use of INTUSE.
36017         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36018         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36019         * stdio-common/psiginfo.c (psiginfo): Likewise.
36020         * stdio-common/psignal.c (psignal): Likewise.
36021         * string/strsignal.c (strsignal): Likewise.
36022         * include/signal.h (_sys_siglist): Declare hidden proto.
36023         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36024         INTVARDEF with libc_hidden_data_def.
36025         * stdio-common/itoa-udigits.c: Likewise.
36026         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36027         (_itoa_lower_digits_internal): Remove declaration.
36028         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36029         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36030         (_sys_sigabbrev_internal): Remove aliases.
36031         (_sys_siglist): Define hidden alias.
36033 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36036         bits/sysctl.h.
36038 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36040         [BZ #14117]
36041         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36042         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36044         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36045         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36046         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36047         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36048         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36049         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36051         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36052         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36053         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36055         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36056         with __addr.
36057         (insw): Likewise.
36058         (insl): Likewise.
36059         (outsb): Likewise.
36060         (outsw): Likewise.
36061         (outsl): Likewise.
36063         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36064         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36065         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36067         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36068         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36069         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36070         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36071         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36072         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36074         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36075         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36077         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36078         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36080         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36082         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36084         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36085         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36086         to ...
36087         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36089         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36090         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36091         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36093         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36094         for x86-64.
36095         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36097 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36099         * math/math.h (M_El): Use two more decimal places.
36100         (M_LOG2El): Likewise.
36101         (M_LOG10El): Likewise.
36102         (M_LN2l): Likewise.
36103         (M_LN10l): Likewise.
36104         (M_PIl): Likewise.
36105         (M_PI_2l): Likewise.
36106         (M_PI_4l): Likewise.
36107         (M_1_PIl): Likewise.
36108         (M_2_PIl): Likewise.
36109         (M_2_SQRTPIl): Likewise.
36110         (M_SQRT2l): Likewise.
36111         (M_SQRT1_2l): Likewise.
36113 2012-05-31  David S. Miller  <davem@davemloft.net>
36115         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36116         values between float registers.
36117         * sysdeps/sparc/sparc64/memset.S: Likewise.
36118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36120 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36122         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36123         -D_FORTIFY_SOURCE=1.
36124         (CPPFLAGS-tst-longjmp_chk.c): Define.
36125         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36126         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36127         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36128         CFLAGS-tst-wchar-h.c.
36130 2012-05-31  Marek Polacek  <polacek@redhat.com>
36132         [BZ #14132]
36133         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36134         __endmntent_internal): Remove declaration.
36135         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36136         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36137         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36139 2012-05-30  David S. Miller  <davem@davemloft.net>
36141         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36142         (___Q_simulate_exceptions): Use real FP ops rather than writing
36143         into the %fsr.
36144         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36145         Likewise.
36147 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36149         [BZ #14117]
36150         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36151         * sysdeps/x86/bits/xtitypes.h: This.
36153         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36154         * sysdeps/x86/bits/wordsize.h: This.
36156         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36157         * sysdeps/x86/bits/huge_vall.h: This.
36159         * sysdeps/i386/bits/select.h: Removed.
36160         * sysdeps/x86_64/bits/select.h: Renamed to ...
36161         * sysdeps/x86/bits/select.h: This.
36163         * sysdeps/i386/bits/setjmp.h: Removed.
36164         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36165         * sysdeps/x86/bits/setjmp.h: This.
36167         * sysdeps/i386/bits/mathdef.h: Removed.
36168         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36169         * sysdeps/x86/bits/mathdef.h: This.
36171 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36173         [BZ #14132]
36174         * include/sys/socket.h (__connect_internal)
36175         (__libc_sa_len_internal): Remove declaration.
36176         (__connect, __libc_sa_len): Declare hidden_proto.
36177         (SA_LEN): Remove use of INTUSE.
36178         * socket/connect.c: Add libc_hidden_def.
36179         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36180         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36181         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36182         alias.
36183         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36184         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36185         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36186         of adding _internal alias.
36188 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36190         [BZ #14117]
36191         * sysdeps/i386/bits/link.h: Removed.
36192         * sysdeps/i386/bits/linkmap.h: Likewise.
36193         * sysdeps/x86_64/bits/link.h: Renamed to ...
36194         * sysdeps/x86/bits/link.h: This.
36195         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36196         * sysdeps/x86/bits/linkmap.h: This.
36198         * sysdeps/i386/bits/endian.h: Removed.
36199         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36200         * sysdeps/x86/bits/endian.h: This.
36202         * sysdeps/i386/bits/byteswap.h: Removed.
36203         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36204         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36205         * sysdeps/x86/bits/byteswap.h: This.
36206         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36207         * sysdeps/x86/bits/byteswap-16.h: This.
36208         * sysdeps/i386/Implies: Add x86.
36209         * sysdeps/x86_64/Implies: Likewise.
36211 2012-05-30  David S. Miller  <davem@davemloft.net>
36213         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36214         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36216         (FP_TRAPPING_EXCEPTIONS): Define.
36217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36218         (FP_TRAPPING_EXCEPTIONS): Define.
36219         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36220         subnormals only when inexact has been signalled or underflow
36221         exceptions are enabled.
36222         (_FP_PACK_CANONICAL): Likewise.
36224 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36226         [BZ #14183]
36227         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36228         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36230 2012-05-30  Richard Henderson  <rth@twiddle.net>
36232         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36233         with #ifndef NOT_IN_libc.
36235         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36236         marked to avoid plt entry.
36238 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36240         [BZ #14112]
36241         * Makeconfig (default-abi): New macro.
36242         (abi-includes): Likewise.
36243         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36244         $(abi-$(default-abi)-lib-soname) for soname if defined.
36245         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36246         abi-variants.
36247         * Makefile (installed-stubs): Likewise.
36248         * include/stubs-biarch.h: Removed.
36249         * scripts/lib-names.awk: Only handle one library at a time.
36250         * scripts/soversions.awk: Remove WORDSIZE support.
36251         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36252         entries.
36253         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36254         Removed.
36255         (syscall-list-default-condition): Likewise.
36256         (syscall-list-default-condition): Likewise.
36257         (syscall-list-includes): Likewise.
36258         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36259         syscall-list-* with abi-*.  Handle undefined abi-variants.
36260         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36261         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36262         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36263         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36264         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36265         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36266         Removed.
36267         (syscall-list-32-options): Likewise.
36268         (syscall-list-32-condition): Likewise.
36269         (syscall-list-64-options): Likewise.
36270         (syscall-list-64-condition): Likewise.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36272         macro.
36273         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36274         Renamed to ...
36275         (abi-*): This.
36276         (abi-64-ld-soname): New macro.
36277         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36278         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36279         Renamed to ...
36280         (abi-*): This.
36281         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36282         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36284 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36286         * sysdeps/unix/sysv/linux/kernel-features.h
36287         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36288         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36289         include <kernel-features.h>.
36290         [!__NR_ftruncate64]: Remove conditional code.
36291         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36292         [__NR_ftruncate64]: Make code unconditional.
36293         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36294         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36295         include <kernel-features.h>.
36296         [!__NR_ftruncate64]: Remove conditional code.
36297         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36298         [__NR_ftruncate64]: Make code unconditional.
36299         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36301         include <kernel-features.h>.
36302         [!__NR_ftruncate64]: Remove conditional code.
36303         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36304         [__NR_ftruncate64]: Make code unconditional.
36305         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36307         include <kernel-features.h>.
36308         [!__NR_ftruncate64]: Remove conditional code.
36309         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36310         [__NR_ftruncate64]: Make code unconditional.
36311         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36313         * configure.in (libc_cv_fpie): Weaken to a compile test using
36314         LIBC_TRY_CC_OPTION.
36315         * configure: Regenerated.
36317 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36323         Refreshed.
36324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36330         Refreshed.
36332 2012-05-27  David S. Miller  <davem@davemloft.net>
36334         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36335         (___Q_zero): New.
36336         (__Q_simulate_exceptions): Return void.  Change to simulate
36337         exceptions by writing into the %fsr.
36338         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36339         (__Qp_handle_exceptions): Likewise.
36340         (numbers): Delete.
36341         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36342         __Qp_handle_exceptions.
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36344         __Qp_handle_exceptions.
36345         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36346         as unused and give dummy FP_RND_NEAREST initializer.
36347         (FP_INHIBIT_RESULTS): Define.
36348         (___Q_simulate_exceptions): Update declaration.
36349         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36350         formatting.
36351         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36352         as unused and give dummy FP_RND_NEAREST initializer.
36353         (__Qp_handle_exceptions): Update declaration.
36354         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36355         formatting.
36357 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36359         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36360         the temporary FPU control word.
36361         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36362         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36363         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36364         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36365         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36366         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36367         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36368         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36369         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36370         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36371         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36373 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36375         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36376         fields.
36378 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36380         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36381         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36382         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36383         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36384         Likewise.
36385         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36386         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36387         Likewise.
36389 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36391         * po/h.po: Update from translation team.
36393 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36395         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36397         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36398         handling of denormals.
36399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36400         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36401         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36402         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36404         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36405         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36406         Likewise.
36408 2012-05-26  Marek Polacek  <polacek@redhat.com>
36410         [BZ #14152]
36411         * math/libm-test.inc (fma_test): Don't always expect underflow
36412         exception.
36414 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36416         [BZ #12416]
36417         * elf/tst-execstack.c: Include stackinfo.h.
36418         (do_test): Adjust test case to ensure that pthread_getattr_np
36419         behaviour remains the same after marking stack executable.
36421 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36423         * sysdeps/unix/sysv/linux/kernel-features.h
36424         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36425         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36426         kernel-features.h.
36427         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36428         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36429         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36430         kernel-features.h.
36431         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36432         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36434 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36436         * configure.in: Define the default includes to being none.
36437         * configure: Regenerated.
36439 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36441         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36442         * sysdeps/x86_64/setjmp.S: Likewise.
36443         * sysdeps/i386/bsd-setjmp.S: Likewise.
36444         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36445         * sysdeps/i386/setjmp.S: Likewise.
36446         * sysdeps/i386/__longjmp.S: Likewise.
36447         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36448         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36450         * include/stap-probe.h: New file.
36451         * configure.in: Handle --enable-systemtap.
36452         * configure: Regenerated.
36453         * config.h.in (USE_STAP_PROBE): New #undef.
36454         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36455         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36456         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36458 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36460         [BZ #13717]
36461         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36462         to 2.4.0 where earlier.
36463         * sysdeps/unix/sysv/linux/configure: Regenerated.
36464         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36465         <kernel-features.h>.
36466         [__ASSUME_32BITUIDS]: Make code unconditional.
36467         [!__ASSUME_32BITUIDS]: Remove conditional code.
36468         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36469         <kernel-features.h>.
36470         [__ASSUME_32BITUIDS]: Make code unconditional.
36471         [!__ASSUME_32BITUIDS]: Remove conditional code.
36472         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36473         [__ASSUME_32BITUIDS]: Make code unconditional.
36474         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36475         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36476         <kernel-features.h>.
36477         [__ASSUME_32BITUIDS]: Make code unconditional.
36478         [!__ASSUME_32BITUIDS]: Remove conditional code.
36479         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36480         <kernel-features.h>.
36481         [__ASSUME_32BITUIDS]: Make code unconditional.
36482         [!__ASSUME_32BITUIDS]: Remove conditional code.
36483         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36484         <kernel-features.h>.
36485         [__ASSUME_32BITUIDS]: Make code unconditional.
36486         [!__ASSUME_32BITUIDS]: Remove conditional code.
36487         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36488         <kernel-features.h>.
36489         [__ASSUME_32BITUIDS]: Make code unconditional.
36490         [!__ASSUME_32BITUIDS]: Remove conditional code.
36491         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36492         <kernel-features.h>.
36493         [__ASSUME_32BITUIDS]: Make code unconditional.
36494         [!__ASSUME_32BITUIDS]: Remove conditional code.
36495         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36496         <kernel-features.h>.
36497         [__ASSUME_32BITUIDS]: Make code unconditional.
36498         [!__ASSUME_32BITUIDS]: Remove conditional code.
36499         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36500         <kernel-features.h>.
36501         [__ASSUME_32BITUIDS]: Make code unconditional.
36502         [!__ASSUME_32BITUIDS]: Remove conditional code.
36503         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36504         <kernel-features.h>.
36505         [__ASSUME_32BITUIDS]: Make code unconditional.
36506         [!__ASSUME_32BITUIDS]: Remove conditional code.
36507         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36508         <kernel-features.h>.
36509         [__ASSUME_32BITUIDS]: Make code unconditional.
36510         [!__ASSUME_32BITUIDS]: Remove conditional code.
36511         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36512         <kernel-features.h>.
36513         [__ASSUME_32BITUIDS]: Make code unconditional.
36514         [!__ASSUME_32BITUIDS]: Remove conditional code.
36515         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36516         <kernel-features.h>.
36517         [__NR_setresgid] (__setresgid): Do not declare.
36518         [__ASSUME_32BITUIDS]: Make code unconditional.
36519         [!__ASSUME_32BITUIDS]: Remove conditional code.
36520         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36521         <kernel-features.h>.
36522         [__NR_setresuid] (__setresuid): Do not declare.
36523         [__ASSUME_32BITUIDS]: Make code unconditional.
36524         [!__ASSUME_32BITUIDS]: Remove conditional code.
36525         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36526         <kernel-features.h>.
36527         [__ASSUME_32BITUIDS]: Make code unconditional.
36528         [!__ASSUME_32BITUIDS]: Remove conditional code.
36529         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36530         <kernel-features.h>.
36531         [__ASSUME_32BITUIDS]: Make code unconditional.
36532         [!__ASSUME_32BITUIDS]: Remove conditional code.
36533         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36534         <kernel-features.h>.
36535         [__ASSUME_32BITUIDS]: Make code unconditional.
36536         [!__ASSUME_32BITUIDS]: Remove conditional code.
36537         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36538         <kernel-features.h>.
36539         [__ASSUME_32BITUIDS]: Make code unconditional.
36540         [!__ASSUME_32BITUIDS]: Remove conditional code.
36541         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36542         <kernel-features.h>.
36543         [__ASSUME_32BITUIDS]: Make code unconditional.
36544         [!__ASSUME_32BITUIDS]: Remove conditional code.
36545         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36546         <kernel-features.h>.
36547         [__ASSUME_32BITUIDS]: Make code unconditional.
36548         [!__ASSUME_32BITUIDS]: Remove conditional code.
36549         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36550         <kernel-features.h>.
36551         [__ASSUME_32BITUIDS]: Make code unconditional.
36552         [!__ASSUME_32BITUIDS]: Remove conditional code.
36553         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36554         <kernel-features.h>.
36555         [__ASSUME_32BITUIDS]: Make code unconditional.
36556         [!__ASSUME_32BITUIDS]: Remove conditional code.
36557         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36558         <kernel-features.h>.
36559         [__ASSUME_32BITUIDS]: Make code unconditional.
36560         [!__ASSUME_32BITUIDS]: Remove conditional code.
36561         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36562         <kernel-features.h>.
36563         [__ASSUME_32BITUIDS]: Make code unconditional.
36564         [!__ASSUME_32BITUIDS]: Remove conditional code.
36565         * sysdeps/unix/sysv/linux/kernel-features.h
36566         (__ASSUME_SETRESUID_SYSCALL): Remove.
36567         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36568         (__ASSUME_32BITUIDS): Likewise.
36569         (__ASSUME_LDT_WORKS): Likewise.
36570         (__ASSUME_O_DIRECTORY): Likewise.
36571         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36572         architecture but not kernel version.
36573         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36574         (__ASSUME_MMAP2_SYSCALL): Likewise.
36575         (__ASSUME_STAT64_SYSCALL): Likewise.
36576         (__ASSUME_IPC64): Likewise.
36577         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36578         <kernel-features.h>.
36579         [__ASSUME_32BITUIDS]: Make code unconditional.
36580         [!__ASSUME_32BITUIDS]: Remove conditional code.
36581         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36582         <kernel-features.h>.
36583         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36584         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36585         132096]: Remove conditional code.
36586         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36587         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36588         <kernel-features.h>.
36589         [__ASSUME_32BITUIDS]: Make code unconditional.
36590         [!__ASSUME_32BITUIDS]: Remove conditional code.
36591         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36592         <kernel-features.h>.
36593         [__ASSUME_32BITUIDS]: Make code unconditional.
36594         [!__ASSUME_32BITUIDS]: Remove conditional code.
36595         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36596         <kernel-features.h>.
36597         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36598         unconditional.
36599         (__setresgid): Do not declare.
36600         [__ASSUME_32BITUIDS]: Make code unconditional.
36601         [!__ASSUME_32BITUIDS]: Remove conditional code.
36602         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36603         <kernel-features.h>.
36604         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36605         unconditional.
36606         (__setresuid): Do not declare.
36607         [__ASSUME_32BITUIDS]: Make code unconditional.
36608         [!__ASSUME_32BITUIDS]: Remove conditional code.
36609         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36610         <kernel-features.h>.
36611         [__ASSUME_32BITUIDS]: Make code unconditional.
36612         [!__ASSUME_32BITUIDS]: Remove conditional code.
36613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36614         <kernel-features.h>.
36615         [__ASSUME_32BITUIDS]: Make code unconditional.
36616         [!__ASSUME_32BITUIDS]: Remove conditional code.
36618 2012-05-25  Richard Henderson  <rth@twiddle.net>
36620         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36621         dl_hwcap to ifunc resolver.
36622         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36623         elf_ifunc_invoke.
36624         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36625         dl_hwcap to ifunc resolver.
36626         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36628 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36630         [BZ #14153]
36631         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36632         for |x| <= 2**-26, not 2**-57.
36633         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36634         exception.
36636 2012-05-24  Jeff Law  <law@redhat.com>
36638         * stdio-common/Makefile (tests): Add bug25.
36639         * stdio-common/bug25.c: New test.
36641 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36643         [BZ #13576]
36644         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36645         multiple of MALLOC_ALIGNMENT in size.
36646         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36648 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36650         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36651         Require >= 256.
36652         (FILENAME_MAX): Use macro-int-constant.
36653         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36654         (_IOFBF): Use macro-int-constant.
36655         (_IOLBF): Likewise.
36656         (_IONBF): Likewise.
36657         (SEEK_CUR): Likewise.
36658         (SEEK_END): Likewise.
36659         (SEEK_SET): Likewise.
36660         (TMP_MAX): Likewise.
36661         (EOF): Use macro-int-constant.  Require < 0.
36662         (NULL): Use macro-constant.  Require == 0.
36663         (stdin): Require type to be FILE *.
36664         (stdout): Likewise.
36665         (stderr): Likewise.
36666         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36667         macro-int-constant.
36668         (EXIT_SUCCESS): Likewise.
36669         (NULL): Use macro-constant.  Require == 0.
36670         (RAND_MAX): Use macro-int-constant.
36671         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36672         [C99-based standards] (strtof): Require function.
36673         [C99-based standards] (strtold): Likewise.
36674         [C99-based standards] (strtoll): Likewise.
36675         [C99-based standards] (strtoull): Likewise.
36676         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36677         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36678         [ISO || ISO99 || ISO11] (math.h): Likewise.
36679         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36680         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36683 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36685         [BZ #14132]
36686         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36687         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36688         * intl/dgettext.c (DCGETTEXT): Likewise.
36689         * intl/gettext.c (DCGETTEXT): Likewise.
36690         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36691         * posix/regex_internal.h (gettext): Likewise.
36692         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36693         Remove declaration.
36694         * include/argz.h (__argz_count_internal)
36695         (__argz_stringify_internal): Remove declaration.
36696         (__argz_count, __argz_stringify): Declare hidden proto.
36697         * intl/dcgettext.c: Remove use of INTDEF.
36698         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36699         * string/argz-stringify.c: Likewise.
36700         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36701         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36702         Declare hidden proto.
36703         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36704         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36705         Declare hidden proto.
36706         * include/stdio.h (__asprintf_internal): Don't declare.
36707         (__asprintf): Don't define as macro.  Declare hidden proto.
36708         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36709         (__fsetlocking): Declare hidden proto.
36710         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36711         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36712         hidden proto.
36713         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36714         (_IO_setlinebuf): Remove use of INTUSE.
36715         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36716         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36717         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36718         Remove declaration.
36719         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36720         (_IO_do_flush): Remove use of INTUSE.
36721         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36722         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36723         (_IO_adjust_column, _IO_least_wmarker)
36724         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36725         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36726         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36727         (_IO_default_doallocate, _IO_wdefault_doallocate)
36728         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36729         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36730         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36731         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36732         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36733         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36734         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36735         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36736         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36737         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36738         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36739         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36740         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36741         proto.
36742         (_IO_flush_all_internal, _IO_adjust_column_internal)
36743         (_IO_default_uflow_internal, _IO_default_finish_internal)
36744         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36745         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36746         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36747         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36748         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36749         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36750         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36751         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36752         (_IO_file_close_internal, _IO_file_close_it_internal)
36753         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36754         (_IO_file_init_internal, _IO_file_attach_internal)
36755         (_IO_file_fopen_internal, _IO_file_read_internal)
36756         (_IO_file_sync_internal, _IO_file_seek_internal)
36757         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36758         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36759         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36760         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36761         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36762         (_IO_list_all_internal, _IO_link_in_internal)
36763         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36764         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36765         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36766         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36767         (_IO_do_write_internal, _IO_padn_internal)
36768         (_IO_getline_info_internal, _IO_getline_internal)
36769         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36770         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36771         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36772         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36773         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36774         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36775         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36776         with libc_hidden_ver, remove use of INTUSE.
36777         * libio/genops.c: Likewise.
36778         * libio/freopen.c: Likewise.
36779         * libio/freopen64.c: Likewise.
36780         * libio/iofclose.c: Likewise.
36781         * libio/iofdopen.c: Likewise.
36782         * libio/iofflush.c: Likewise.
36783         * libio/iofflush_u.c: Likewise.
36784         * libio/iofgets.c: Likewise.
36785         * libio/iofgets_u.c: Likewise.
36786         * libio/iofopen.c: Likewise.
36787         * libio/iofopncook.c: Likewise.
36788         * libio/iofread.c: Likewise.
36789         * libio/iofread_u.c: Likewise.
36790         * libio/ioftell.c: Likewise.
36791         * libio/iofwrite.c: Likewise.
36792         * libio/iogetline.c: Likewise.
36793         * libio/iogets.c: Likewise.
36794         * libio/iogetwline.c: Likewise.
36795         * libio/iopadn.c: Likewise.
36796         * libio/iopopen.c: Likewise.
36797         * libio/ioseekoff.c: Likewise.
36798         * libio/ioseekpos.c: Likewise.
36799         * libio/iosetbuffer.c: Likewise.
36800         * libio/iosetvbuf.c: Likewise.
36801         * libio/ioungetc.c: Likewise.
36802         * libio/ioungetwc.c: Likewise.
36803         * libio/iovdprintf.c: Likewise.
36804         * libio/iovsprintf.c: Likewise.
36805         * libio/iovsscanf.c: Likewise.
36806         * libio/memstream.c: Likewise.
36807         * libio/obprintf.c: Likewise.
36808         * libio/oldfileops.c: Likewise.
36809         * libio/oldiofclose.c: Likewise.
36810         * libio/oldiofdopen.c: Likewise.
36811         * libio/oldiofopen.c: Likewise.
36812         * libio/oldiopopen.c: Likewise.
36813         * libio/oldstdfiles.c: Likewise.
36814         * libio/putc.c: Likewise.
36815         * libio/setbuf.c: Likewise.
36816         * libio/setlinebuf.c: Likewise.
36817         * libio/stdfiles.c: Likewise.
36818         * libio/strops.c: Likewise.
36819         * libio/vasprintf.c: Likewise.
36820         * libio/vscanf.c: Likewise.
36821         * libio/vsnprintf.c: Likewise.
36822         * libio/vswprintf.c: Likewise.
36823         * libio/wfiledoalloc.c: Likewise.
36824         * libio/wfileops.c: Likewise.
36825         * libio/wgenops.c: Likewise.
36826         * libio/wmemstream.c: Likewise.
36827         * libio/wstrops.c: Likewise.
36828         * libio/__fpurge.c: Likewise.
36829         * libio/__fsetlocking.c: Likewise.
36830         * assert/assert.c: Likewise.
36831         * debug/fgets_chk.c: Likewise.
36832         * debug/fgets_u_chk.c: Likewise.
36833         * debug/fread_chk.c: Likewise.
36834         * debug/fread_u_chk.c: Likewise.
36835         * debug/gets_chk.c: Likewise.
36836         * debug/obprintf_chk.c: Likewise.
36837         * debug/vasprintf_chk.c: Likewise.
36838         * debug/vdprintf_chk.c: Likewise.
36839         * debug/vsnprintf_chk.c: Likewise.
36840         * debug/vsprintf_chk.c: Likewise.
36841         * malloc/mtrace.c: Likewise.
36842         * misc/error.c: Likewise.
36843         * misc/syslog.c: Likewise.
36844         * stdio-common/asprintf.c: Likewise.
36845         * stdio-common/fxprintf.c: Likewise.
36846         * stdio-common/getw.c: Likewise.
36847         * stdio-common/isoc99_fscanf.c: Likewise.
36848         * stdio-common/isoc99_scanf.c: Likewise.
36849         * stdio-common/isoc99_vfscanf.c: Likewise.
36850         * stdio-common/isoc99_vscanf.c: Likewise.
36851         * stdio-common/isoc99_vsscanf.c: Likewise.
36852         * stdio-common/printf-prs.c: Likewise.
36853         * stdio-common/printf_fp.c: Likewise.
36854         * stdio-common/printf_fphex.c: Likewise.
36855         * stdio-common/printf_size.c: Likewise.
36856         * stdio-common/putw.c: Likewise.
36857         * stdio-common/scanf.c: Likewise.
36858         * stdio-common/sprintf.c: Likewise.
36859         * stdio-common/tmpfile.c: Likewise.
36860         * stdio-common/vfprintf.c: Likewise.
36861         * stdio-common/vfscanf.c: Likewise.
36862         * stdlib/strfmon_l.c: Likewise.
36863         * sunrpc/openchild.c: Likewise.
36864         * sunrpc/xdr_stdio.c: Likewise.
36865         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36866         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36868 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36870         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36872         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36873         in the third column, to generate for the shared library an IFUNC
36874         that uses _dl_vdso_vsym.
36875         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36876         * Makeconfig (object-suffixes-noshared): New variable.
36878         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36879         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36880         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36881         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36883         [BZ #14132]
36884         * include/sys/time.h (__gettimeofday): Remove macro.
36885         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36886         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36887         Remove INTDEF.
36888         (__gettimeofday): Add libc_hidden_def.
36889         (gettimeofday): Add libc_hidden_weak.
36890         * sysdeps/mach/gettimeofday.c: Likewise.
36891         * sysdeps/posix/gettimeofday.c: Likewise.
36892         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36893         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36895         (__gettimeofday_internal): Remove strong_alias.
36896         (__gettimeofday): Add libc_hidden_def.
36897         (gettimeofday): Add libc_hidden_weak.
36898         * sysdeps/unix/syscalls.list (gettimeofday):
36899         Remove __gettimeofday_internal alias.
36901 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36902             H.J. Lu  <hongjiu.lu@intel.com>
36904         [BZ #12495]
36905         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36906         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36907         (largebin_index_32_big): New.
36908         (largebin_index): Use it for 16-byte alignment.
36909         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36910         correction with front_misalign.
36912 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36916         Likewise.
36917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36918         Likewise.
36919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36920         Likewise.
36921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36922         Likewise.
36923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36924         Likewise.
36925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36926         Likewise.
36927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36928         Likewise.
36929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36930         Likewise.
36931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36932         Likewise.
36933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36934         Likewise.
36935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36936         Likewise.
36937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36938         Likewise.
36940         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36941         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36943 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36945         [BZ #10846]
36946         [BZ #14036]
36947         * math/libm-test.inc (exp_test): Add test from bug 14036.
36948         (pow_test): Add test from bug 10846.
36950         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36951         and other flags.
36952         (special_function): Do not include flags in test name.
36953         (parse_args): Likewise.
36954         * sysdeps/i386/fpu/libm-test-ulps: Update.
36955         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36956         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36957         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36961         exceptions.
36962         * math/libm-test.inc ("Philosophy"): Update comment about
36963         exception testing.
36964         (UNDERFLOW_EXCEPTION): New macro.
36965         (UNDERFLOW_EXCEPTION_OK): Likewise.
36966         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36967         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36968         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36969         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36970         (INVALID_EXCEPTION_OK): Update value.
36971         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36972         (OVERFLOW_EXCEPTION_OK): Likewise.
36973         (IGNORE_ZERO_INF_SIGN): Likewise.
36974         (test_exceptions): Handle underflow exceptions.
36975         (acos_test): Update for underflow exception expectations.
36976         (cexp_test): Likewise.
36977         (clog_test): Likewise.
36978         (clog10_test): Likewise.
36979         (csqrt_test): Likewise.
36980         (ctan_test): Likewise.
36981         (ctanh_test): Likewise.
36982         (exp_test): Likewise.
36983         (exp10_test): Likewise.
36984         (exp2_test): Likewise.
36985         (expm1_test): Likewise.
36986         (fma_test): Likewise.
36987         (j0_test): Likewise.
36988         (jn_test): Likewise.
36989         (nexttoward_test): Likewise.
36990         (pow_test): Likewise.
36991         (scalbn_test): Likewise.
36992         (scalbln_test): Likewise.
36993         (tan_test): Likewise.
36994         (y1_test): Likewise.
36995         * sysdeps/i386/fpu/libm-test-ulps: Update.
36996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998 2012-05-23  David S. Miller  <davem@davemloft.net>
37000         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37001         (__libc_sigaction): Remove unused local variables.
37003 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37005         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37007 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37009         mktime: avoid signed integer overflow
37010         * time/mktime.c (__mktime_internal): Do not mishandle the case
37011         where diff == INT_MIN.
37013         mktime: simplify computation of average
37014         * time/mktime.c (ranged_convert): Use new time_t_avg function
37015         instead of rolling our own (probably-slower) code.
37017         mktime: do not assume signed right shift propagates sign bit
37018         * time/mktime.c (isdst_differ): New static function.
37019         (__mktime_internal): No need to normalize tm_isdst now.
37020         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37021         tm_isdst values.
37023         mktime: merge another wrapv change from gnulib
37024         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37025         from some compilers.
37027         mktime: remove incorrect attempt at unusual arithmetics
37028         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37029         The code didn't really work on such machines anyway.
37030         (TYPE_MINIMUM): Assume two's complement.
37031         (twos_complement_arithmetic): Verify that long_int and time_t
37032         are two's complement (or unsigned, in the latter case).
37034         mktime: check signed shifts on long_int and time_t, too
37035         * time/mktime.c (SHR): Check that shifts work as desired
37036         on the types long_int and time_t too, as SHR is used on
37037         such types.
37039         mktime: do not assume 'long' is wide enough
37040         * time/mktime.c (verify): Move decl up.
37041         (long_int): New type.
37042         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37043         to remove assumption in the code that 'long' is wide enough to
37044         store year values.  This assumption is not true on x32 and on
37045         some non-glibc platforms.
37047         mktime: merge wrapv change from gnulib
37048         * time/mktime.c (WRAPV): New macro.
37049         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37050         (guess_time_tm, __mktime_internal): Do not assume that signed
37051         integer overflow wraps around; modern compilers generate code
37052         where this assumption is no longer valid.
37054 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37056         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37057         Replace "jmp L(pseudo_end)" with "ret".
37058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37059         Likewise.
37061 2012-05-23  Andreas Jaeger  <aj@suse.de>
37063         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37064         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37066 2012-05-23  Andreas Jaeger  <aj@suse.de>
37067             Maximilian Attems  <max@stro.at>
37069         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37070         New macros.
37072 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37074         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37075         code so that pseudo_end is just ret and the stack pointer is
37076         correct also for static library in error case.
37078 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37080         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37081         move to syscalls.list.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37087         * manual/install.texi (Running make install): Do not mention Linux
37088         kernel version for which pt_chown is not needed.
37089         (Linux): Do not mention problems with nscd with 2.0 kernels.
37090         * INSTALL: Regenerated.
37092 2012-05-23  Andreas Jaeger  <aj@suse.de>
37094         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37095         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37096         macro.
37097         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37098         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37099         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37100         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37101         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37102         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37104         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37105         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37106         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37107         * sysdeps/unix/sysv/linux/bits/in.h
37108         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37110 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37112         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37113         (PREPARE_VERSION): Just use assert instead, it will be elided
37114         under [NDEBUG] anyway.
37116 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37118         * sysdeps/unix/sysv/linux/Makefile: Include
37119         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37120         (sysdep_routines): Remove sysctl.
37121         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37122         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37123         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37124         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37125         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37127 2012-05-22  Andreas Jaeger  <aj@suse.de>
37129         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37130         that pseudo_end is just ret and the stack pointer is correct also
37131         for static library in error case.
37133 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37135         [BZ #14122]
37136         * nss/nsswitch.c (defconfig_entries): New variable.
37137         (__nss_database_lookup): Don't leak defconfig entries.
37138         (nss_parse_service_list): Don't leak on error paths.
37139         (free_database_entries): New function.
37140         (free_defconfig): New function.
37141         (free_mem): Move common code to free_database_entries.
37143 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37145         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37146         Add arch_prctl.
37147         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37149         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37150         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37152         New macro.
37153         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37154         (INTERNAL_SYSCALL_TYPES): Likewise.
37155         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37156         (LOAD_REGS_TYPES_[1-6]): Likewise.
37157         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37158         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37160 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37162         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37163         copysignl for GLIBC_2_0.
37164         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37165         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37166         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37167         logbl for GLIBC_2_0.
37168         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37169         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37171 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37174         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37176         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37177         Use "neg %eax".
37179         * time/mktime.c: Update copyright years.
37181 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37183         mktime: merge comment-quoting-style change from gnulib
37184         * time/mktime.c: Quote 'like this' in comments.
37185         The GNU coding standards suggest that we no longer quote `like this',
37186         as "`" and "'" are typically rendered asymmetrically nowadays.
37187         The typical gnulib style is to quote 'like this' when quoting
37188         code, and "like this" when quoting English.
37190         * time/mktime.c (compile-command): Add "-I.".
37192         mktime: merge mktime-internal.h change from gnulib
37193         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37195         mktime: merge time_r change from gnulib
37196         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37198         mktime: merge DEBUG change from gnulib
37199         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37200         case system <time.h> has a #define.
37202         mktime: merge <sys/types.h> change from gnulib
37203         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37204         since <time.t> is now guaranteed to define time_t.
37206         mktime: merge HAVE_CONFIG_H change from gnulib
37207         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37209 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37212         Use "neg %eax".
37214         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37215         __rlim_t cast.
37216         (struct rusage): Use anonymous union to pad each field to
37217         __syscall_slong_t.
37219 2012-05-21  David S. Miller  <davem@davemloft.net>
37221         * Makefules (o-iterator): Remove .s cases.
37222         (compile-command.s): Delete.
37223         (COMPILE.s): Delete.
37224         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37226 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37228         * configure.in (libc_cv_predef_stack_protector): Only consider
37229         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37230         * configure: Regenerated.
37232 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37235         New macro.  Use R*LP on int and pointer.
37236         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37237         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37238         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37239         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37241         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37242         [__WORDSIZE_TIME64_COMPAT32] instead of
37243         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37244         (struct utmp): Likewise.
37245         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37246         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37247         Renamed to ...
37248         (__WORDSIZE_TIME64_COMPAT32): This.
37249         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37250         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37251         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37252         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37253         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37254         (__WORDSIZE_TIME64_COMPAT32): New macro.
37256 2012-05-21  Andreas Jaeger  <aj@suse.de>
37258         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37259         only if [SHARED]. Add prototype for __wcschr_ia32.
37261 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37263         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37264         of %rbp unmolested in the jmp_buf while mangling the low bits.
37265         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37266         unmolested high bits of %rbp while demangling the low bits.
37267         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37269 2012-05-21  Andreas Jaeger  <aj@suse.de>
37271         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37272         * sunrpc/svc_simple.c: Use it for registerrpc.
37273         * sunrpc/xcrypt.c: Use it for passwd2des.
37275         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37277 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37279         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37280         Don't define if [__SYSCALL_WORDSIZE != 32].
37281         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37282         New macro.
37284 2012-05-21  Bruno Haible  <bruno@clisp.org>
37285             Andreas Jaeger  <aj@suse.de>
37287         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37288         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37289         inptr and inend for must_buffer_ch.
37290         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37291         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37292         * stdio-common/Makefile (tests): Remove bug15.
37293         (bug15-ENV): Remove macro.
37294         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37295         anymore.
37297 2012-05-19  Andreas Jaeger  <aj@suse.de>
37298             Roland McGrath  <roland@hack.frob.com>
37300         * manual/contrib.texi: Completely rewritten. It contains now an
37301         alphabetical list of contributors and their contributions.
37303 2012-05-21  Richard Henderson  <rth@twiddle.net>
37305         * misc/getauxval.c (__getauxval): Use unsigned long int.
37306         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37307         (getauxval): Use unsigned long int.
37309 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37311         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37313 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37315         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37316         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37317         __alignof__ (long double).
37319 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37323 2012-05-20  Richard Henderson  <rth@twiddle.net>
37325         * misc/getauxval.c: New file.
37326         * misc/sys/auxv.h: New file.
37327         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37328         (routines): Add getauxval.
37329         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37330         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37331         * elf/dl-sysdep.c (_dl_auxv): Remove.
37332         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37333         * elf/dl-support.c (_dl_auxv): New variable.
37334         (_dl_aux_init): Initialize it.
37335         * manual/startup.texi (Auxiliary Vector): New node.
37336         * sysdeps/generic/bits/hwcap.h: New file.
37337         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37338         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37339         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37340         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37341         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37342         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37344         Update.
37345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37354 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37358 2012-05-19  David S. Miller  <davem@davemloft.net>
37360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37362 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37364         [BZ #14123]
37365         * math/s_ccosh.c: Include <float.h>
37366         (__ccosh): Avoid internal overflow calculating sinh and cosh
37367         values before multiplying by sin and cos values.
37368         * math/s_ccoshf.c: Likewise.
37369         * math/s_ccoshl.c: Likewise.
37370         * math/s_csin.c: Likewise.
37371         * math/s_csinf.c: Likewise.
37372         * math/s_csinl.c: Likewise.
37373         * math/s_csinh.c: Likewise.
37374         * math/s_csinhf.c: Likewise.
37375         * math/s_csinhl.c: Likewise.
37376         * math/libm-test.inc (ccos_test): Add more tests.
37377         (ccosh_test): Likewise.
37378         (csin_test): Likewise.
37379         (csinh_test): Likewise.
37380         * sysdeps/i386/fpu/libm-test-ulps: Update.
37381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37383 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37385         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37386         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37388         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37390 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37392         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37393         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37394         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37395         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37396         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37397         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37398         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37399         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37400         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37401         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37402         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37403         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37404         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37405         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37406         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37407         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37408         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37409         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37410         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37411         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37412         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37413         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37414         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37415         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37416         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37417         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37418         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37419         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37420         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37421         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37422         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37424 2012-05-18  Andreas Jaeger  <aj@suse.de>
37426         * csu/.gitignore: Delete.
37428 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37430         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37431         (timex): Use __syscall_slong_t.
37433 2012-05-18  Andreas Jaeger  <aj@suse.de>
37434             Carlos O'Donell  <carlos_odonell@mentor.com>
37436         * manual/install.texi (Configuring and compiling): Update
37437         description about files modified in the source directory.
37438         * INSTALL: Regenerated.
37440 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37442         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37443         value.  Use "or" to set return value to -1.
37444         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37445         negate return value.
37447 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37449         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37450         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37451         failure if the compiler has Graphite support disabled.
37452         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37453         Likewise.
37454         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37455         (CFLAGS-memmove.c): Likewise.
37456         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37457         Likewise.
37459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37461         * sysdeps/x86_64/x32/_itoa.h: New file.
37463         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37464         getdents system call only if kernel and user dirents have the
37465         same d_ino and d_off.
37467         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37468         LLONG_MAX != LONG_MAX.
37469         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37470         (_fitoa_word): Likewise.
37472         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37473         years.
37474         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37475         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37476         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37478         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37479         include <bits/wordsize.h>.  Check __x86_64__ instead of
37480         __WORDSIZE.
37481         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37482         if __x86_64__ is defined.  Use anonymous union on fpstate.
37484         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37485         anonymous union.
37487 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37489         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37490         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37491         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37492         Refer to _rtld_local_ro instead of _rtld_global_ro.
37493         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37494         Likewise.
37495         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37496         Likewise.
37497         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37498         Likewise.
37499         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37500         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37501         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37503         * sysdeps/powerpc/powerpc32/dl-machine.c
37504         (__elf_machine_runtime_setup) [PROF]: Don't reference
37505         _dl_prof_resolve.
37507 2012-05-18  Andreas Jaeger  <aj@suse.de>
37509         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37510         function only available for GCCs before 3.4 since GCC 3.4
37511         introduced a builtin.
37512         (lrint): Likewise.
37513         (llrintf): Likewise.
37514         (llrint): Likewise.
37515         (fmaxf): Likewise.
37516         (fmax): Likewise.
37517         (fminf): Likewise.
37518         (fmin): Likewise.
37519         (rint): Likewise.
37520         (rintf): Likewise.
37521         (nearbyint): Likewise.
37522         (nearbyintf): Likewise.
37523         (ceil): Likewise.
37524         (ceilf): Likewise.
37525         (floor): Likewise.
37526         (floorf): Likewise.
37528 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37530         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37531         on both fields and cast pointer to __syscall_ulong_t.
37533         * bits/types.h (__fsword_t): New type.
37534         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37535         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37536         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37537         (__FSWORD_T_TYPE): Likewise.
37538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37539         (__FSWORD_T_TYPE): Likewise.
37540         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37541         (__FSWORD_T_TYPE): Likewise.
37542         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37543         (__FSWORD_T_TYPE): Likewise.
37544         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37545         __SWORD_TYPE with __fsword_t.
37546         (statfs64): Likewise.
37548 2012-05-17  David S. Miller  <davem@davemloft.net>
37550         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37552 2012-05-17  Andreas Jaeger  <aj@suse.de>
37554         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37555         warning.
37557 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37559         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37561 2012-05-17  Andreas Jaeger  <aj@suse.de>
37563         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37564         when it is used.
37566 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37568         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37570 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37572         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37573         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37575 2012-05-17  Andreas Jaeger  <aj@suse.de>
37576             Carlos O'Donell  <carlos_odonell@mentor.com>
37578         [BZ #14059]
37579         * sysdeps/x86_64/multiarch/init-arch.h
37580         (bit_YMM_Usable): Rename to...
37581         (bit_AVX_Usable): ... this.
37582         (bit_FMA4_Usable): New macro.
37583         (bit_XMM_state): New macro.
37584         (bit_YMM_state): New macro.
37585         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37586         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37587         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37588         (CPUID_OSXSAVE): New macro.
37589         (CPUID_AVX): New macro.
37590         (CPUID_FMA4): New macro.
37591         (index_YMM_Usable): Rename to...
37592         (index_AVX_Usable): ... this.
37593         (HAS_AVX): Use HAS_ARCH_FEATURE.
37594         (HAS_FMA4): Likewise.
37595         (HAS_YMM_USABLE): Remove.
37596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37597         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37598         are present.
37599         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37600         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37601         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37602         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37603         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37605 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37607         * math/libm-test.c: Support platforms without multiple rounding modes.
37608         * math/bug-nextafter.c: Support platforms without FP exceptions.
37609         * math/bug-nexttoward.c: Likewise.
37610         * math/test-fenv.c: Likewise.
37611         * math/test-misc.c: Likewise.
37612         * stdlib/bug-getcontext.c: Likewise.
37614 2012-05-17  Andreas Jaeger  <aj@suse.de>
37616         * manual/examples/search.c (critter_cmp): Change signature to
37617         avoid warnings.
37618         * manual/string.texi (Collation Functions): Likewise.
37620 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37622         * bits/types.h: Fold copyright years.
37623         * bits/typesizes.h: Likewise.
37624         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37625         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37626         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37628         * time/time.h: Likewise.
37630 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37632         [BZ #208]
37633         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37634         in instead of returning them.  Return void.
37635         (__libc_mallinfo): Accumulate over all arenas.
37636         (__malloc_stats): Adjust for change in int_mallinfo interface.
37638 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37640         [BZ #10375]
37641         * configure.in (NM): Add AC_CHECK_TOOL for it.
37642         (libc_extra_cflags): New substituted variable.
37643         Check for -fstack-protector being used implicitly.
37644         * configure: Regenerated.
37645         * config.make.in (config-extra-cflags): New variable,
37646         gets @libc_extra_cflags@.
37647         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37649         [BZ #10375]
37650         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37651         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37652         * configure: Regenerated.
37653         * config.make.in (CPPUNDEFS): New substituted variable.
37654         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37655         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37656         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37660         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37661         (mq_attr): Use __syscall_slong_t.
37663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37665         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37666         Check __x86_64__ instead of __WORDSIZE.
37667         (_STAT_VER_LINUX): Likewise.
37668         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37669         __syscall_ulong_t and __syscall_slong_t.
37670         (stat64): Likewise.
37672 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37674         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37676 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37678         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37680 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37682         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37683         __syscall_ulong_t.
37685         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37686         include <bits/wordsize.h>.  Check __x86_64__ instead of
37687         __WORDSIZE.
37688         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37689         defined.
37690         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37693         include <bits/wordsize.h>.  Check __x86_64__ instead of
37694         __WORDSIZE.
37695         (user_regs_struct): Use "__extension__ unsigned long long"
37696         instead of "unsigned long" if __x86_64__ is defined.
37697         (user): Likewise.  Pad after pointer field if __ILP32__ is
37698         defined.
37700 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37702         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37703         versions 5 to 9.
37704         * configure: Regenerated.
37705         * manual/install.texi (texinfo): Increase version requirement to
37706         4.5 or later.
37707         * INSTALL: Regenerated.
37709         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37713         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37715         * sysdeps/x86_64/x32/ffs.c: New file.
37717         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37718         __syscall_ulong_t.
37719         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37720         defined.  Use __syscall_ulong_t.
37721         (shminfo): Use __syscall_ulong_t.
37722         (shm_info): Likewise.
37724         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37725         __syscall_ulong_t.
37727         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37728         <bits/wordsize.h>.
37729         (msgqnum_t): Use __syscall_ulong_t.
37730         (msglen_t): Likewise.
37731         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37732         __syscall_ulong_t.
37734         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37735         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37737         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37739         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37740         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37742         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37743         __syscall_slong_t.
37745         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37746         include <bits/wordsize.h>.  Check __x86_64__ instead of
37747         __WORDSIZE.
37749         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37750         "unsigned long long int" if __x86_64__ is defined.
37751         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37754         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37755         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37757         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37758         <stdint.h>.
37759         (GET_PC): Cast to uintptr_t first.
37760         (GET_FRAME): Likewise.
37761         (GET_STACK): Likewise.
37763         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37764         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37765         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37766         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37767         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37768         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37769         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37770         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37771         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37772         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37774         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37775         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37776         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37777         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37778         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37779         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37780         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37781         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37782         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37783         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37784         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37785         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37786         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37787         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37788         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37789         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37790         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37791         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37793 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37795         * Makerules (+depfiles): Also collect depfiles from .oS in
37796         $(extra-objs).
37797         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37798         .oS, $(libnldbl-routines)).
37800         * Makerules (native-compile-mkdep-flags): Define.
37801         * sunrpc/Makefile (extra-objs): Add $(addprefix
37802         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37803         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37804         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37805         calling $(make-target-directory).
37807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37809         * bits/types.h (__snseconds_t): Removed.
37810         * time/time.h (struct timespec): Replace __snseconds_t with
37811         __syscall_slong_t.
37812         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37813         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37814         Likewise.
37815         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37816         (__SNSECONDS_T_TYPE): Likewise.
37817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37818         (__SNSECONDS_T_TYPE): Likewise.
37819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37820         (__SNSECONDS_T_TYPE): Likewise.
37822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37824         * sysdeps/mach/hurd/bits/typesizes.h
37825         (__SYSCALL_SLONG_TYPE): New macro.
37826         (__SYSCALL_ULONG_TYPE): Likewise.
37828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37830         * bits/types.h (__syscall_slong_t): New type.
37831         (__syscall_ulong_t): Likewise.
37833         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37834         (__SYSCALL_ULONG_TYPE): Likewise.
37835         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37836         (__SYSCALL_SLONG_TYPE): Likewise.
37837         (__SYSCALL_ULONG_TYPE): Likewise.
37838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37839         (__SYSCALL_SLONG_TYPE): Likewise.
37840         (__SYSCALL_ULONG_TYPE): Likewise.
37841         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37842         (__SYSCALL_SLONG_TYPE): Likewise.
37843         (__SYSCALL_ULONG_TYPE): Likewise.
37845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37847         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37848         Add sigaltstack-offsets.sym.
37849         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37850         <sigaltstack-offsets.h>.
37851         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37852         longjmp_msg pointer.
37853         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37854         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37855         signal stack.
37856         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37858 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37860         * elf/stackguard-macros.h: Remove file.
37861         * sysdeps/generic/stackguard-macros.h: New file.
37862         * sysdeps/i386/stackguard-macros.h: Likewise.
37863         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37864         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37865         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37866         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37867         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37868         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37869         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37870         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37871         <elf/stackguard-macros.h>.
37873         [BZ #14109]
37874         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37875         __aligned__ in attribute.
37876         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37877         (gregset_t): Likewise.
37879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37881         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37882         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37883         * sysdeps/x86_64/x32/Implies-after: New file.
37885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37887         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37888         and access return value for _dl_profile_fixup.  Use R10_LP to
37889         load frame size.
37891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37893         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37897         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37898         * sysdeps/x86_64/x32/sysdep.h: New file.
37900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37902         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37903         * sysdeps/x86_64/setjmp.S: Likewise.
37905 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37907         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37908         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37909         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37910         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37911         remove unused global constant.
37913 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37915         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37916         include of <not-cancel.h>.
37918 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37920         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37922 2012-05-15  Jeff Law  <law@redhat.com>
37923             Andreas Jaeger  <aj@suse.de>
37925         [BZ #13594]
37926         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37927         out from...
37928         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37929         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37930         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37931         code changing __hst_map_handle.map.
37933 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37935         * configure.in (sysnames): Look for Implies-before and Implies-after
37936         files.
37937         * configure: Regenerated.
37939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37941         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37942         8-byte data alignment with LP_SIZE alignment.
37944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37946         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37947         into R10_LP.
37949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37951         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37955         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37956         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37957         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37958         Likewise.
37959         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37963         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37964         (stackinfo_sub_sp): Likewise.
37966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37968         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37969         RAX_LP.
37971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37974         into R*_LP.
37976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37978         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37979         sizes into R*_LP.
37981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37983         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37987         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37988         into R11_LP and load __x86_64_shared_cache_size_half into
37989         R8_LP.
37991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37994         R8_LP.
37996 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37999         logb for POWER7.
38000         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38001         logbf for POWER7.
38002         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38003         logbl for POWER7.
38004         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38005         powerpc32/power7/fpu/s_logb.c via #include.
38006         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38007         powerpc32/power7/fpu/s_logbf.c via #include.
38008         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38009         powerpc32/power7/fpu/s_logbl.c via #include.
38011 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38013         * README.libm: Remove file.
38015 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38017         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38018         count for x32.  Use R*_LP and omit operand-size suffix.
38020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38022         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38023         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38024         * sysdeps/x86_64/x32/shlib-versions: New file.
38026 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38028         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38029         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38030         Use _dl_fatal_printf instead.
38032 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38034         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38035         set if not set by the user.  Do not allow for being unset.
38036         * sysdeps/unix/sysv/linux/configure: Regenerated.
38038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38040         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38041         the `q' suffix from lea and replace .quad with ASM_ADDR.
38043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38046         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38047         instead of $17.
38048         (PTR_DEMANGLE): Likewise.
38050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38052         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38053         (LP_OP): Likewise.
38054         (ASM_ADDR): Likewise.
38055         (RAX_LP): Likewise.
38056         (RBP_LP): Likewise.
38057         (RBX_LP): Likewise.
38058         (RCX_LP): Likewise.
38059         (RDI_LP): Likewise.
38060         (RSI_LP): Likewise.
38061         (RSP_LP): Likewise.
38062         (R8_LP): Likewise.
38063         (R9_LP): Likewise.
38064         (R10_LP): Likewise.
38065         (R10_LP): Likewise.
38066         (R11_LP): Likewise.
38067         (R12_LP): Likewise.
38068         (R13_LP): Likewise.
38069         (R14_LP): Likewise.
38070         (R15_LP): Likewise.
38072 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38074         * sysdeps/x86_64/x32/dl-machine.h: New file.
38076 2012-05-14  Andreas Jaeger  <aj@suse.de>
38078         * manual/Makefile (subdir): Remove export of subdir.
38079         (all): Remove target.
38080         (.PHONY): Remove all from list.
38081         (mkinstalldirs): Remove.
38082         (.PHONY): Remove installdirs from list.
38083         ($(inst_infodir)/libc.info): Use make-target-directory.
38084         (installdirs): Remove.
38085         (subdir_%): Remove.
38086         (glibc-targets): Remove.
38087         (lib): Remove.
38088         (stubs): Remove.
38089         ($(objpfx)stubs ../po/manual.pot): Remove.
38090         ($(objpfx)stamp%): Remove.
38091         (make-target-directory): Remove.
38092         (subdir_install): Remove.
38093         (routines): Remove.
38094         (aux): Remove.
38095         (sources): Remove.
38096         (objects): Remove.
38097         (headers): Remove.
38099         [BZ #13750]
38100         * manual/.gitignore: Remove, it's not needed anymore.
38101         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38102         all files in it.
38103         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38104         directory.
38105         (texis): Renamed to $(objpfx)texis.
38106         (texis-path): New, contains path to generated files.
38107         (chapters.%): Use texis-path for complete path, add extra argument
38108         libc-texinfo.sh.
38109         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38110         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38111         (summary,texi, stamp-summary): Use complete path of
38112         files. Generate files in build dir.
38113         (dir-add.texi): Build in build dir.
38114         (libm-err.texi,stamp-libm-err): Likewise.
38115         (version.texi, stamp-version): Likewise.
38116         (.%c.texi): Likewise.
38117         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38118         (mostlyclean): Remove target.
38119         (realclean): Remove target.
38120         (generated): Add new variable with contents from mostlyclean and
38121         realclean, remove entries duplicated in common-mostlyclean, add
38122         stamp-libm-err and stamp-version.
38123         (generated-dirs): Add libc directory.
38124         ($(inst_infodir)/libc.info): Install files from build dir.
38126         * manual/install.texi (Configuring and compiling): Adjust since
38127         the info files are not part of the tar ball anymore.
38129 2012-05-14  Andreas Jaeger  <aj@suse.de>
38131         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38132         variable.
38134 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38136         [BZ #13717]
38137         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38138         to 2.2.0 where earlier.
38139         * sysdeps/unix/sysv/linux/configure: Regenerated.
38140         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38141         Remove conditional code.
38142         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38143         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38144         Remove conditional code.
38145         [!__NR_lchown]: Likewise.
38146         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38147         [__NR_lchown]: Likewise.
38148         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38149         comment referencing __ASSUME_LCHOWN_SYSCALL.
38150         * sysdeps/unix/sysv/linux/i386/sigaction.c
38151         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38152         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38153         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38154         Remove conditional code.
38155         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38156         (__protocol_available): Remove #if 0 code.
38157         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38158         conditional code.
38159         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38160         * sysdeps/unix/sysv/linux/kernel-features.h
38161         (__ASSUME_GETCWD_SYSCALL): Don't define.
38162         (__ASSUME_REALTIME_SIGNALS): Likewise.
38163         (__ASSUME_PREAD_SYSCALL): Likewise.
38164         (__ASSUME_PWRITE_SYSCALL): Likewise.
38165         (__ASSUME_POLL_SYSCALL): Likewise.
38166         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38167         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38168         non-SPARC.
38169         (__ASSUME_SIOCGIFNAME): Don't define.
38170         (__ASSUME_MSG_NOSIGNAL): Likewise.
38171         (__ASSUME_SENDFILE): Define unconditionally.
38172         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38173         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38174         conditional code.
38175         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38176         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38177         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38178         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38179         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38180         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38181         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38186         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38192         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38193         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38195         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38198         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38204         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38206         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38207         Remove conditional code.
38208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38209         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38210         Remove conditional code.
38211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38212         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38213         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38214         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38215         Remove conditional code.
38216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38217         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38218         Remove conditional code.
38219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38220         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38221         Remove conditional code.
38222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38223         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38224         Remove conditional code.
38225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38226         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38227         Remove conditional code.
38228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38229         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38230         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38232         * sysdeps/unix/sysv/linux/sigaction.c
38233         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38234         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38235         * sysdeps/unix/sysv/linux/sigpending.c
38236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38238         * sysdeps/unix/sysv/linux/sigprocmask.c
38239         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38240         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38241         * sysdeps/unix/sysv/linux/sigsuspend.c
38242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38244         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38245         (__libc_missing_rt_sigs): Remove.
38246         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38247         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38248         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38249         Remove conditional code.
38250         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38251         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38252         return 1.
38253         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38254         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38255         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38256         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38258 2012-05-14  Andreas Jaeger  <aj@suse.de>
38260         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38261         it's not used in glibc.
38262         (__coshm1): Likewise.
38263         (__acosh1p): Likewise.
38264         (__sgn): Likewise.
38266         * manual/string.texi (Copying and Concatenation): Add missing
38267         variable in concat example.
38268         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38270 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38272         [BZ #14103]
38273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38274         __builtin_clzl with __builtin_clzll.
38276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38278         [BZ #14104]
38279         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38280         libc_freeres_ptr.
38282 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38284         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38285         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38286         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38287         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38289 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38291         * NEWS: Update ia64 info.
38293 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38295         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38296         used as bcopy.
38298 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38300         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38301         * sysdeps/unix/syscalls.list (dup3): Likewise.
38302         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38303         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38305 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38307         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38308         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38310 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38312         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38313         thread pointer.
38314         (TLS_IE): Use mov/add instead of movq/addq to load thread
38315         pointer.
38316         (TLS_GD_PREFIX): New.
38317         (TLS_GD): Use it.
38319 2012-05-11  David S. Miller  <davem@davemloft.net>
38321         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38322         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38323         (_FPU_SETCW): Likewise.
38325 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38327         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38328         is 32-byte aligned.
38330 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38332         [BZ #11837]
38333         * iconvdata/gb18030.c: Update tables.
38334         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38335         characters specially.
38336         (BODY for TO_LOOP): Add encoding of missing ranges.
38338 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38340         [BZ #13673]
38341         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38342         * sysdeps/mach/hurd/dup3.c: Likewise.
38343         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38344         * sysdeps/powerpc/memmove.c:: Likewise.
38346 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38349         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38353         * elf/elf.h (R_X86_64_RELATIVE64): New.
38354         (R_X86_64_NUM): Updated.
38355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38356         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38357         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38358         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38359         tst-quad1pie tst-quad2pie
38360         (modules-names): Add tst-quadmod1 tst-quadmod2.
38361         ($(objpfx)tst-quad1): New dependency.
38362         ($(objpfx)tst-quad2): Likewise.
38363         ($(objpfx)tst-quad1pie): Likewise.
38364         ($(objpfx)tst-quad2pie): Likewise.
38365         * sysdeps/x86_64/tst-quad1.c: New file.
38366         * sysdeps/x86_64/tst-quad1pie.c: New file.
38367         * sysdeps/x86_64/tst-quad2.c: Likewise.
38368         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38369         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38370         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38371         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38372         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38376         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38377         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38378         * streams/stropts.h (t_scalar_t): Define type.
38380         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38381         (_PATH_PRESERVE): Set to "/var/lib".
38382         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38384         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38385         instead of int.
38387         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38388         if __dir_mkfile succeeded.
38390         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38391         checking for _hurd_dtablesize.  Unlock it right after having
38392         finished _hurd_dtable allocation.
38394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38396         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38397         * sysdeps/mach/hurd/configure: Regenerated.
38398         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38399         special-casing to...
38400         * sysdeps/gnu/configure.in: ... this new file.
38401         * sysdeps/unix/sysv/linux/configure: Regenerated.
38402         * sysdeps/gnu/configure: New generated file.
38404         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38405         for Linux: use nsec instead of usec, as well as:
38406         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38407         members of type struct timespec.
38408         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38409         New macros.
38410         (struct stat64): Likewise.
38411         (_STATBUF_ST_NSEC): New macro.
38412         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38414         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38415         __strtoul_internal rather than strtoul.
38417 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38419         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38420         and reject them.
38422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38424         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38425         which preserves existing values.
38426         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38428 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38430         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38431         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38432         greater than FD_SETSIZE.
38434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38436         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38437         allocated, call __vm_protect to finish enabling the existing space, and
38438         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38439         allocate the remainder.
38441 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38443         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38444         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38448         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38449         sysdeps/mach/hurd/readlink.c.
38451         * posix/tst-sysconf.c (posix_options): Only use
38452         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38453         _POSIX_SYNCHRONIZED_IO when they are defined
38454         * sysdeps/mach/hurd/bits/posix_opt.h:
38455         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38456         (_XOPEN_REALTIME): Undefine macro.
38457         (_XOPEN_REALTIME_THREADS): Undefine macro.
38458         (_XOPEN_SHM): Undefine macro.
38459         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38460         macro to -1.
38461         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38462         macro to -1.
38463         (_POSIX_ASYNC_IO): Undefine macro.
38464         (_POSIX_PRIORITIZED_IO): Undefine macro.
38465         (_POSIX_SPIN_LOCKS): Define macro to -1.
38467         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38468         SA_NODEFER, SA_RESETHAND.
38469         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38470         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38471         F_DUPFD_CLOEXEC.
38473 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38475         * elf/Makefile (pldd-modules): Define unconditionally.
38477 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38479         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38483         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38484         Return ENOENT when name is empty.
38485         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38489         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38491         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38495         Fix mlock in all cases except non-readable pages.
38496         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38497         instead of VM_PROT_ALL as parameter to __vm_wire function.
38499         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38500         (__mkdir): When path is `/', just fail with EEXIST.
38501         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38505         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38506         <sys/uio.h> (for writev).
38507         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38508         and <sys/param.h> (for MIN).
38510 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38512         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38513         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38514         if interrupted.
38516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38518         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38519         Depend on against $(link-rpcuserlibs).
38521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38523         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38524         (__libc_stack_end): Do not use attribute_relro.
38525         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38526         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38527         to libthread-provided value.
38528         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38529         attribute_relro.
38531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38533         [BZ #3748]
38534         * bits/libc-lock.h (__libc_once_get): New macro.
38535         * sysdeps/mach/bits/libc-lock.h: Likewise.
38536         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38537         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38538         instead of using implementation details.
38540         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38541         * libio/freopen.c: Likewise.
38542         * libio/freopen64.c: Likewise.
38543         * misc/syslog.c: Likewise.
38544         * nscd/connections.c: Likewise.
38545         * nscd/netgroupcache.c: Likewise.
38546         * sysdeps/posix/getcwd.c: Likewise.
38548 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38550         * math/w_ilogbf.c: Add #include <limits.h>.
38552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38554         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38555         path instead of returning without unlocking.
38557         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38558         immediate-write ioctls.
38559         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38563         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38564         __builtin_frame_address instead of making assumptions about the
38565         location of the return address relative to DATA.  Force early load of
38566         the return address.
38567         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38568         __builtin_frame_address.
38570         dup3 for GNU Hurd.
38571         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38572         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38573         implement dup3 and do some further code clean-ups.
38574         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38575         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38579         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38581         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38582         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38583         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38584         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38585         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38586         d->port.lock.
38588         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38589         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38590         when handler == SIG_ERR, not when handler != SIG_ERR.
38592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38594         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38595         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38596         definitions.
38598         accept4 for GNU Hurd.
38599         * include/sys/socket.h (__libc_accept4): New prototype.
38600         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38601         to implement __libc_accept4.
38602         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38603         __libc_accept4.
38604         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38606         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38607         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38608         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38609         signal-defines.sym.
38611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38613         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38615 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38617         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38618         assertion on O_CLOEXEC flag.
38619         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38620         * hurd/intern-fd.c: Likewise.
38621         * hurd/port2fd.c: Likewise.
38623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38625         [BZ #3906]
38626         * bits/in.h (IPV6_PKTINFO): Define new macro.
38627         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38629 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38631         [BZ #13954]
38632         [BZ #13955]
38633         [BZ #13956]
38634         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38636         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38637         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38638         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38639         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38640         * math/libm-test.inc (logb_test) : Additional logb tests.
38642 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38643             Andreas Jaeger  <aj@suse.de>
38645         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38646         * configure: Regenerated.
38647         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38648         * config.make.in (link-obsolete-rpc): New substituted variable.
38649         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38650         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38651         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38652         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38653         so that libc.a contains the symbols.
38654         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38655         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38656         * sunrpc/auth_none.c: Likewise.
38657         * sunrpc/auth_unix.c: Likewise.
38658         * sunrpc/authdes_prot.c: Likewise.
38659         * sunrpc/authuxprot.c: Likewise.
38660         * sunrpc/clnt_gen.c: Likewise.
38661         * sunrpc/clnt_perr.c: Likewise.
38662         * sunrpc/clnt_raw.c: Likewise.
38663         * sunrpc/clnt_simp.c: Likewise.
38664         * sunrpc/clnt_tcp.c: Likewise.
38665         * sunrpc/clnt_udp.c: Likewise.
38666         * sunrpc/clnt_unix.c: Likewise.
38667         * sunrpc/des_crypt.c: Likewise.
38668         * sunrpc/des_soft.c: Likewise.
38669         * sunrpc/get_myaddr.c: Likewise.
38670         * sunrpc/key_call.c: Likewise.
38671         * sunrpc/key_prot.c: Likewise.
38672         * sunrpc/netname.c: Likewise.
38673         * sunrpc/pm_getmaps.c: Likewise.
38674         * sunrpc/pm_getport.c: Likewise.
38675         * sunrpc/pmap_clnt.c: Likewise.
38676         * sunrpc/pmap_prot.c: Likewise.
38677         * sunrpc/pmap_prot2.c: Likewise.
38678         * sunrpc/pmap_rmt.c: Likewise.
38679         * sunrpc/publickey.c: Likewise.
38680         * sunrpc/rpc_cmsg.c: Likewise.
38681         * sunrpc/rpc_common.c: Likewise.
38682         * sunrpc/rpc_dtable.c: Likewise.
38683         * sunrpc/rpc_prot.c: Likewise.
38684         * sunrpc/rpc_thread.c: Likewise.
38685         * sunrpc/rtime.c: Likewise.
38686         * sunrpc/svc.c: Likewise.
38687         * sunrpc/svc_auth.c: Likewise.
38688         * sunrpc/svc_raw.c: Likewise.
38689         * sunrpc/svc_run.c: Likewise.
38690         * sunrpc/svc_tcp.c: Likewise.
38691         * sunrpc/svc_udp.c: Likewise.
38692         * sunrpc/svc_unix.c: Likewise.
38693         * sunrpc/svcauth_des.c: Likewise.
38694         * sunrpc/xcrypt.c: Likewise.
38695         * sunrpc/xdr.c: Likewise.
38696         * sunrpc/xdr_array.c: Likewise.
38697         * sunrpc/xdr_float.c: Likewise.
38698         * sunrpc/xdr_intXX_t.c: Likewise.
38699         * sunrpc/xdr_mem.c: Likewise.
38700         * sunrpc/xdr_rec.c: Likewise.
38701         * sunrpc/xdr_ref.c: Likewise.
38702         * sunrpc/xdr_sizeof.c: Likewise.
38703         * sunrpc/xdr_stdio.c: Likewise.
38705 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38708         change.  Update copyright years.
38710 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38712         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38714 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38715             Joseph Myers  <joseph@codesourcery.com>
38716             Paul Pluzhnikov  <ppluzhnikov@google.com>
38718         [BZ #14012]
38719         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38720         requiring rpcgen.
38721         [cross-compiling] (extra-libs): Likewise.
38722         [cross-compiling] (extra-libs-others): Likewise.
38723         [cross-compiling] (librpcsvc-routines): Likewise.
38724         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38725         [cross-compiling] (omit-deps): Likewise.
38726         (sunrpc-CPPFLAGS): New variable.
38727         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38728         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38729         (cross-rpcgen-objs): New variable.
38730         (extra-objs): Append $(cross-rpcgen-objs).
38731         ($(cross-rpcgen-objs)): New rule.
38732         ($(objpfx)cross-rpcgen): Likewise.
38733         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38734         comment.
38735         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38736         ($(objpfx)x%.stmp): Likewise.
38737         * sunrpc/proto.h [IS_IN_build] (_): Define.
38738         [IS_IN_build] (_libc_intl_domainname): Likewise.
38740 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38742         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38743         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38744         and R_X86_64_TPOFF64.
38746 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38748         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38749         sysdeps/unix/sysv/syscalls.list.
38750         (stime): Likewise.
38751         (utime): Likewise.
38752         * sysdeps/unix/sysv/syscalls.list: Remove file.
38754 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38756         [BZ #3440]
38757         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38758         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38759         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38760         (__LC_IDENTIFICATION): Make these macros useful in #if
38761         expressions, as required by C99.
38763 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38765         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38766         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38767         after this.
38769 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38771         * stdlib/longlong.h: Updated from GCC.
38773 2012-05-09  Andreas Jaeger  <aj@suse.de>
38775         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38776         default is first entry.
38777         (run_mode): Set type.
38778         (main): Remove informal message about syslog.
38779         (options): Fix typo.
38781         [BZ #14053]
38782         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38783         to asm.
38784         (lrint): Likewise.
38785         (llrintf): Likewise.
38786         (llrint): Likewise.
38787         (rint): Likewise.
38788         (rintf): Likewise.
38789         (nearbyint): Likewise.
38790         (nearbyintf): Likewise.
38792 2012-05-09  Andreas Jaeger  <aj@suse.de>
38793             Pedro Alves  <palves@redhat.com>
38795         * nscd/nscd.c (run_mode): Use enum.
38796         (main): Cleanup coding style issue.
38798 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38799             Andreas Jaeger  <aj@suse.de>
38801         * nscd/nscd.c (go_background): Replaced with...
38802         (run_mode): ... this.
38803         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38804         (options): Add -F --foreground.
38805         (main): Implement it.
38806         (parse_opt): Parse it.
38808 2012-05-09  Andreas Jaeger  <aj@suse.de>
38810         [BZ #14083]
38811         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38812         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38813         -Wconversion warning.
38814         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38815         Likewise.
38817 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38819         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38820         == 0.
38821         (LC_ALL): Use macro-int-constant.
38822         (LC_COLLATE): Likewise.
38823         (LC_CTYPE): Likewise.
38824         (LC_MESSAGES): Likewise.
38825         (LC_MONETARY): Likewise.
38826         (LC_NUMERIC): Likewise.
38827         (LC_TIME): Likewise.
38828         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38829         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38831         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38832         Specify type.
38833         [C99-based standards] (float_t): Expect type.
38834         [C99-based standards] (double_t): Expect type.
38835         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38836         type.
38837         [C99-based standards] (HUGE_VALL): Likewise.
38838         [C99-based standards] (INFINITY): Likewise.
38839         [C99-based standards] (NAN): Likewise.
38840         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38841         [C99-based standards] (FP_NAN): Likewise.
38842         [C99-based standards] (FP_NORMAL): Likewise.
38843         [C99-based standards] (FP_SUBNORMAL): Likewise.
38844         [C99-based standards] (FP_ZERO): Likewise.
38845         [C99-based standards] (FP_FAST_FMA): Use
38846         optional-macro-int-constant.  Specify type.  Require == 1.
38847         [C99-based standards] (FP_FAST_FMAF): Likewise.
38848         [C99-based standards] (FP_FAST_FMAL): Likewise.
38849         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38850         [C99-based standards] (FP_ILOGBNAN): Likewise.
38851         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38852         Specify type.
38853         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38854         [C99-based standards] (math_errhandling): Specify type.
38855         [ISO99 || ISO11] (signgam): Do not allow.
38856         [non-C99-based standards] (copysignf): Do not allow.
38857         [non-C99-based standards] (exp2f): Likewise.
38858         [non-C99-based standards] (log2f): Likewise.
38859         [non-C99-based standards] (modff): Allow.
38860         [non-C99-based standards] (erff): Do not allow.
38861         [non-C99-based standards] (erfcf): Likewise.
38862         [non-C99-based standards] (gammaf): Likewise.
38863         [non-C99-based standards] (hypotf): Likewise.
38864         [non-C99-based standards] (j0f): Likewise.
38865         [non-C99-based standards] (j1f): Likewise.
38866         [non-C99-based standards] (jnf): Likewise.
38867         [non-C99-based standards] (lgammaf): Likewise.
38868         [non-C99-based standards] (tgammaf): Likewise.
38869         [non-C99-based standards] (y0f): Likewise.
38870         [non-C99-based standards] (y1f): Likewise.
38871         [non-C99-based standards] (ynf): Likewise.
38872         [non-C99-based standards] (isnanf): Likewise.
38873         [non-C99-based standards] (acoshf): Likewise.
38874         [non-C99-based standards] (asinhf): Likewise.
38875         [non-C99-based standards] (atanhf): Likewise.
38876         [non-C99-based standards] (cbrtf): Likewise.
38877         [non-C99-based standards] (expm1f): Likewise.
38878         [non-C99-based standards] (ilogbf): Likewise.
38879         [non-C99-based standards] (log1pf): Likewise.
38880         [non-C99-based standards] (logbf): Likewise.
38881         [non-C99-based standards] (nextafterf): Likewise.
38882         [non-C99-based standards] (remainderf): Likewise.
38883         [non-C99-based standards] (rintf): Likewise.
38884         [non-C99-based standards] (scalbf): Likewise.
38885         [non-C99-based standards] (copysignl): Likewise.
38886         [non-C99-based standards] (exp2l): Likewise.
38887         [non-C99-based standards] (log2l): Likewise.
38888         [non-C99-based standards] (modfl): Allow.
38889         [non-C99-based standards] (erfl): Do not allow.
38890         [non-C99-based standards] (erfcl): Likewise.
38891         [non-C99-based standards] (gammal): Likewise.
38892         [non-C99-based standards] (hypotl): Likewise.
38893         [non-C99-based standards] (j0l): Likewise.
38894         [non-C99-based standards] (j1l): Likewise.
38895         [non-C99-based standards] (jnl): Likewise.
38896         [non-C99-based standards] (lgammal): Likewise.
38897         [non-C99-based standards] (tgammal): Likewise.
38898         [non-C99-based standards] (y0l): Likewise.
38899         [non-C99-based standards] (y1l): Likewise.
38900         [non-C99-based standards] (ynl): Likewise.
38901         [non-C99-based standards] (isnanl): Likewise.
38902         [non-C99-based standards] (acoshl): Likewise.
38903         [non-C99-based standards] (asinhl): Likewise.
38904         [non-C99-based standards] (atanhl): Likewise.
38905         [non-C99-based standards] (cbrtl): Likewise.
38906         [non-C99-based standards] (expm1l): Likewise.
38907         [non-C99-based standards] (ilogbl): Likewise.
38908         [non-C99-based standards] (log1pl): Likewise.
38909         [non-C99-based standards] (logbl): Likewise.
38910         [non-C99-based standards] (nextafterl): Likewise.
38911         [non-C99-based standards] (remainderl): Likewise.
38912         [non-C99-based standards] (rintl): Likewise.
38913         [non-C99-based standards] (scalbl): Likewise.
38914         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38915         [non-C99-based standards] (FP_*): Do not allow.
38916         [C99-based standards] (FP_*): Change to
38917         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38918         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38919         allow.
38920         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38921         (SIG_ERR): Likewise.
38922         [X/Open-based standards] (SIG_HOLD): Likewise.
38923         (SIG_IGN): Likewise.
38924         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38925         positive value.
38926         (SIGFPE): Likewise.
38927         (SIGILL): Likewise.
38928         (SIGINT): Likewise.
38929         (SIGSEGV): Likewise.
38930         (SIGTER): Likewise.
38931         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38932         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38933         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38934         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38935         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38936         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38937         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38938         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38939         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38940         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38941         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38942         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38943         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38944         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38945         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38946         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38947         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38948         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38949         [X/Open-based standards] (SIGTRAP): Likewise.
38950         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38951         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38952         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38953         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38954         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38955         allow.
38957 2012-05-08  Ian Wienand  <ianw@vmware.com>
38959         [BZ #14080]
38960         * time/tzset.c (__tzset_parse_tz): Update default rules for
38961         daylight time changes in the Energy Policy Act of 2005.
38963 2012-05-09  Andreas Jaeger  <aj@suse.de>
38965         [BZ #13983]
38966         * elf/ldconfig.c (parse_conf): Change string to make clear that
38967         ldconfig only issued a warning if ld.so.conf does not exist.
38969 2012-05-08  David S. Miller  <davem@davemloft.net>
38971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38972         movxtod instead of popping the value on the stack.
38974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38976 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38978         * config.h.in: Add HAVE_ARM_PCS_VFP.
38980 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38982         [BZ #13979]
38983         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38984         checking but the checks are disabled for any reason.
38986 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38988         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38989         and ELF64_R_TYPE with ELFW(R_TYPE).
38991 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38993         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38994         (ulimit): Likewise.
38996         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38997         (settimeofday): Likewise.
38999 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39001         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39002         a struct th_u2 inside the union, and move tu_block/tu_code into
39003         a new th_u3 union of tu_block/tu_code inside of that.  Move
39004         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39005         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39006         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39007         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39008         (th_stuff): Change to th_u1.tu_stuff.
39009         (th_data): Define.
39010         (th_msg): Change to th_u1.th_u2.tu_data.
39012 2012-05-07  David S. Miller  <davem@davemloft.net>
39014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39016         [BZ #14074]
39017         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39018         (SETUP_PIC_REG): Use it.
39019         (SETUP_PIC_REG_LEAF): Use it.
39021 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39023         [BZ #13885]
39024         [BZ #13923]
39025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39026         USE_AS_EXPM1L.
39027         (EXPL_FINITE): Likewise.
39028         (FLDLOG): Likewise.
39029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39030         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39031         e_expl.S.
39032         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39033         USE_AS_EXPM1L.
39034         (EXPL_FINITE): Likewise.
39035         (FLDLOG): Likewise.
39036         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39037         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39038         e_expl.S.
39039         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39040         test of -max_value argument for long double.
39041         * sysdeps/i386/fpu/libm-test-ulps: Update.
39042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39044 2012-05-06  David S. Miller  <davem@davemloft.net>
39046         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39047         quad soft-float symbols whose references which are compiler
39048         generated.
39049         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39051 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39053         [BZ #13884]
39054         [BZ #13914]
39055         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39056         USE_AS_EXP10L.
39057         (EXPL_FINITE): Likewise.
39058         (FLDLOG): Likewise.
39059         (c0): Likewise.
39060         (c1): Likewise.
39061         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39062         Adjust comments for base varying.
39063         (__expl_finite): Change alias to EXPL_FINITE.
39064         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39065         e_expl.S.
39066         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39067         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39068         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39069         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39070         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39071         USE_AS_EXP10L.
39072         (EXPL_FINITE): Likewise.
39073         (FLDLOG): Likewise.
39074         (c0): Likewise.
39075         (c1): Likewise.
39076         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39077         Adjust comments for base varying.
39078         (__expl_finite): Change alias to EXPL_FINITE.
39079         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39080         tests for bugs.
39081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39083         [BZ #14064]
39084         * math/libm-test.inc (check_float_internal): Correct ulp
39085         calculation for subnormal expected results.
39087 2012-05-06  Andreas Jaeger  <aj@suse.de>
39089         * Makeconfig (+math-flags): New, set to -frounding-math.
39090         (+cflags): Add +math-flags so that all of glibc gets compiled with
39091         it.
39093         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39095 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39097         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39098         Disable one test.
39100         [BZ #13787]
39101         [BZ #13922]
39102         [BZ #14036]
39103         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39104         (__ieee754_expl): Allow for and saturate large arguments.
39105         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39106         (u_threshold): Likewise.
39107         (__exp): Call __ieee754_exp before checking for overflow and
39108         underflow.
39109         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39110         (u_threshold): Likewise.
39111         (__expf): Call __ieee754_expf before checking for overflow and
39112         underflow.
39113         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39114         (u_threshold): Likewise.
39115         (__expl): Call __ieee754_expl before checking for overflow and
39116         underflow.
39117         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39118         (__ieee754_expl): Allow for and saturate large arguments.
39119         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39120         missing overflow exception on overflow.
39121         (expm1_test): Do not allow missing overflow exception on overflow.
39123         * sysdeps/i386/fpu/e_expl.c: Move to ...
39124         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39125         rather than using inline asm.
39126         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39127         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39128         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39130         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39131         (nice): Likewise.
39132         (poll): Likewise.
39133         (signal): Likewise.
39134         (time): Likewise.
39135         (times): Likewise.
39137 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39139         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39140         sysdeps/unix/common/syscalls.list.
39141         (fchmod): Likewise.
39142         (fchown): Likewise.
39143         (ftruncate): Likewise.
39144         (getrusage): Likewise.
39145         (gettimeofday): Likewise.
39146         (setpgid): Likewise.
39147         (setregid): Likewise.
39148         (setreuid): Likewise.
39149         (sigaction): Likewise.
39150         (truncate): Likewise.
39151         (vhangup): Likewise.
39152         * sysdeps/unix/common/syscalls.list: Remove file.
39153         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39154         * sysdeps/unix/sysv/linux/Implies: Likewise.
39156 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39158         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39160         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39161         Moved to ...
39162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39163         Here.
39164         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39165         to ...
39166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39167         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39168         to ...
39169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39170         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39171         to ...
39172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39173         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39174         to ...
39175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39176         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39177         to ...
39178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39179         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39180         to ...
39181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39182         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39183         to ...
39184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39185         Here.
39186         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39187         to ...
39188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39189         Here.
39190         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39191         to ...
39192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39193         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39194         Moved to ...
39195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39196         Here.
39197         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39198         to ...
39199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39201 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39203         * sysdeps/unix/common/bits/dirent.h: Remove file.
39204         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39206         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39207         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39208         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39209         * sysdeps/unix/bsd/isatty.c: Likewise.
39210         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39211         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39212         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39214 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39216         [BZ #13563]
39217         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39218         long double comparison inaccuracies.
39219         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39222 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39224         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39225         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39227 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39229         [BZ #14049]
39230         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39231         nonzero digits before rounding a hex value.
39232         * stdlib/tst-strtod.c (tests): Add another test.
39234 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39236         * sysdeps/s390/fpu/libm-test-ulps: Update.
39238 2012-05-03  Andreas Jaeger  <aj@suse.de>
39240         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39241         does not get optimized out.
39242         (malloc_opt_barrier): New.
39244 2012-05-03  Andreas Jaeger  <aj@suse.de>
39245             Roland McGrath  <roland@hack.frob.com>
39247         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39248         intermediate file deletion.
39249         (generated): Add .symlist files.
39251 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39253         [BZ #13775]
39254         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39255         Redirect under this condition.
39256         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39257         [__USE_GNU] (__dprintf_chk): Not under this condition.
39258         [__USE_GNU] (__vdprintf_chk): Likewise.
39259         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39260         under this condition.
39261         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39262         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39263         [__USE_XOPEN2K8] (vdprintf): Likewise.
39264         [__USE_GNU] (__dprintf_chk): Not under this condition.
39265         [__USE_GNU] (__vdprintf_chk): Likewise.
39266         [__USE_GNU] (dprintf): Likewise.
39267         [__USE_GNU] (vdprintf): Likewise.
39269 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39271         * elf/Makefile (common-generated): Set this instead of generated for
39272         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39273         $(all-built-dso)-derived lists.
39275 2012-05-03  Andreas Jaeger  <aj@suse.de>
39277         * sysdeps/i386/fpu/libm-test-ulps: Update.
39279         * FAQ: Removed.
39280         * FAQ.in: Likewise.
39281         * scripts/gen-FAQ.pl: Likewise.
39282         * manual/install.texi (Installation): Point to online location of
39283         FAQ.
39284         * Makefile (files-for-dist): Remove FAQ.
39285         (FAQ): Remove.
39287 2012-05-02  Allan McRae  <allan@archlinux.org>
39289         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39290         (LDFLAGS-reldepmod5.so): Likewise.
39291         (LDFLAGS-reldep6mod1.so): Likewise.
39292         (LDFLAGS-reldep6mod4.so): Likewise.
39293         (LDFLAGS-reldep8mod3.so): Likewise.
39294         (LDFLAGS-unload4mod1.so): Likewise.
39295         (LDFLAGS-unload4mod2.so): Likewise.
39296         (LDFLAGS-tst-initorder): Likewise.
39297         (LDFLAGS-tst-initordera2.so): Likewise.
39298         (LDFLAGS-tst-initordera3.so): Likewise.
39299         (LDFLAGS-tst-initordera4.so): Likewise.
39300         (LDFLAGS-tst-initorderb2.so): Likewise.
39301         (LDFLAGS-noload): Likewise.
39302         (LDFLAGS-next): Likewise.
39303         (LDFLAGS-order2mod1.so): Likewise.
39304         (LDFLAGS-order2mod2.so): Likewise.
39305         (LDFLAGS-tst-initorder2): Likewise.
39306         (LDFLAGS-tst-initorder2a.so): Likewise.
39307         (LDFLAGS-tst-initorder2b.so): Likewise.
39308         (LDFLAGS-tst-initorder2c.so): Likewise.
39309         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39311 2012-05-02  David S. Miller  <davem@davemloft.net>
39313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39315 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39317         [BZ #14055]
39318         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39320 2012-05-02  Andreas Jaeger  <aj@suse.de>
39322         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39323         since we manipulate rounding mode.
39324         (CPPFLAGS-test-idouble.c): Likewise.
39325         (CPPFLAGS-test-ifloat.c): Likewise.
39326         (CFLAGS-test-ldouble.c): Likewise.
39327         (CFLAGS-test-double.c): Likewise.
39328         (CFLAGS-test-float.c): Likewise.
39329         (CFLAGS-test-misc.c): Likewise.
39330         (CFLAGS-test-test-fenv.c): Likewise.
39332 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39334         [BZ #2550]
39335         [BZ #2570]
39336         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39337         comparisons to determine direction to adjust input.
39339 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39341         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39342         output to the target.
39344         * scripts/localplt.awk: New file.
39345         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39346         (check-localplt-CFLAGS): Variable removed.
39347         ($(all-built-dso:=.jmprel)): New static pattern rule.
39348         (generated): Add those targets.
39349         (localplt-built-dso): New variable.
39350         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39352         * elf/check-localplt.c: File removed.
39354         * scripts/check-execstack.awk: New file.
39355         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39356         (check-execstack-CFLAGS): Variable removed.
39357         ($(objpfx)check-execstack.h): Target removed.
39358         ($(objpfx)execstack-default): New target.
39359         (generated): Add that instead of check-execstack.h.
39360         ($(all-built-dso:=.phdr)): New static pattern rule.
39361         (generated): Add those targets.
39362         * elf/check-execstack.c: File removed.
39364         * scripts/check-textrel.awk: New file.
39365         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39366         (check-textrel-CFLAGS): Variable removed.
39367         (all-built-dso): Use := to define.o
39368         ($(all-built-dso:=.dyn)): New static pattern rule.
39369         (generated): Add those targets.
39370         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39371         * config.make.in (READELF): New substituted variable.
39372         * elf/check-textrel.c: File removed.
39374 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39376         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39377         allow.
39378         * conform/data/ctype.h-data [C99-based standards] (isblank):
39379         Expect function.
39380         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39381         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39382         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39383         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39384         Specify type.  Require positive value.
39385         (EILSEQ): Likewise.
39386         (ERANGE): Likewise.
39387         [ISO || POSIX] (EILSEQ): Do not expect.
39388         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39389         Specify type.  Require positive value.
39390         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39391         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39392         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39393         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39395         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39396         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39397         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39398         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39399         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39400         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39401         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39402         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39403         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39404         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39405         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39406         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39407         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39408         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39409         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39410         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39411         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39412         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39413         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39414         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39415         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39416         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39417         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39418         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39419         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39420         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39421         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39422         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39423         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39424         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39425         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39426         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39427         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39428         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39429         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39430         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39431         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39432         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39433         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39434         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39435         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39436         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39437         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39438         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39439         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39440         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39441         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39442         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39443         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39444         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39445         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39446         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39447         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39448         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39449         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39450         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39451         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39452         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39453         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39454         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39455         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39456         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39457         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39458         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39459         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39460         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39461         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39462         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39463         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39464         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39465         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39466         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39467         Require >= 2.
39468         (FLT_ROUNDS): Expect as macro, not constant.
39469         (FLT_MANT_DIG): Use macro-int-constant.
39470         (DBL_MANT_DIG): Likewise.
39471         (LDBL_MANT_DIG): Likewise.
39472         (FLT_DIG): Likewise.
39473         (DBL_DIG): Likewise.
39474         (LDBL_DIG): Likewise.
39475         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39476         (DBL_MIN_EXP): Likewise.
39477         (LDBL_MIN_EXP): Likewise.
39478         (FLT_MAX_EXP): Use macro-int-constant.
39479         (DBL_MAX_EXP): Likewise.
39480         (LDBL_MAX_EXP): Likewise.
39481         (FLT_MAX_10_EXP): Likewise.
39482         (DBL_MAX_10_EXP): Likewise.
39483         (LDBL_MAX_10_EXP): Likewise.
39484         (FLT_MAX): Use macro-constant.
39485         (DBL_MAX): Likewise.
39486         (LDBL_MAX): Likewise.
39487         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39488         (DBL_EPSILON): Likewise.
39489         (LDBL_EPSILON): Likewise.
39490         (FLT_MIN): Likewise.
39491         (DBL_MIN): Likewise.
39492         (LDBL_MIN): Likewise.
39493         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39494         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39495         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39496         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39497         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39498         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39499         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39500         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39501         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39502         [ISO11] (FLT_TRUE_MIN): Likewise.
39503         [ISO11] (LDBL_TRUE_MIN): Likewise.
39504         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39505         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39506         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39507         (SCHAR_MAX): Likewise.
39508         (UCHAR_MAX): Likewise.
39509         (CHAR_MIN): Likewise.
39510         (CHAR_MAX): Likewise.
39511         (MB_LEN_MAX): Use macro-int-constant.
39512         (SHRT_MIN): Use macro-int-constant.  Specify type.
39513         (SHRT_MAX): Likewise.
39514         (USHRT_MAX): Likewise.
39515         (INT_MAX): Likewise.
39516         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39517         bound negative.
39518         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39519         bound with "U".
39520         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39521         bound with "L".
39522         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39523         bound negative.  Suffix upper bound with "L".
39524         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39525         bound with "UL".
39526         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39527         Specify type.
39528         [C99-based standards] (LLONG_MAX): Likewise.
39529         [C99-based standards] (ULLONG_MAX): Likewise.
39530         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39531         == 0.
39532         [ISO11] (max_align_t): Require type.
39533         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39535         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39536         from $CFLAGS, without defining away __attribute__ calls.
39537         (checknamespace): Use $CFLAGS_namespace.
39539         * conform/conformtest.pl (@keywords): Only include C99 keywords
39540         for standards based on C99 or C11.
39542         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39543         Disable tests.
39544         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39545         UNIX98]: Likewise.
39547         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39548         usability of symbols in #if.
39550         * conform/conformtest.pl: If macro or constant types start
39551         "promoted:", expect the symbol to be of the following type
39552         promoted by the integer promotions.
39554         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39555         in one place.  Also handle "macro-constant".
39557         * conform/conformtest.pl: Only accept expected macro values with
39558         "==".  Parse all "macro" lines in one place.
39559         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39561         * conform/conformtest.pl: Handle braced types on "constant" lines
39562         instead of handling "typed-constant".
39563         * conform/data/signal.h-data: Use "constant" instead of
39564         "typed-constant".
39566         * conform/conformtest.pl: Handle "optional-" at start of lines in
39567         one place rather than duplicating several cases.  Handle each
39568         format of "macro" line with initial "optional-".
39570         * conform/conformtest.pl: Only accept expected constant or
39571         optional-constant values with "==".  Parse all "constant" lines in
39572         one place.  Parse all "optional-constant" lines in one place.
39573         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39574         * conform/data/fmtmsg.h-data: Likewise.
39575         * conform/data/netinet/in.h-data: Likewise.
39576         * conform/data/tar.h-data: Likewise.
39577         * conform/data/limits.h-data: Use "==" form on "constant" and
39578         "optional-constant" lines.
39580         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39581         Use -std=c99 for XOPEN2K.
39582         (@knownproblems): Remove.
39583         (newtoken): Don't check %isknown.
39585         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39586         Do not expect macro.
39587         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39588         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39589         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39590         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39591         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39592         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39593         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39594         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39595         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39596         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39597         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39598         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39599         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39600         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39601         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39602         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39603         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39604         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39605         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39606         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39607         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39608         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39609         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39610         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39611         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39612         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39613         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39614         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39615         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39616         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39617         [XPG3] (acosh): Likewise.
39618         [XPG3] (asinh): Likewise.
39619         [XPG3] (atanh): Likewise.
39620         [XPG3] (cbrt): Likewise.
39621         [XPG3] (expm1): Likewise.
39622         [XPG3] (ilogb): Likewise.
39623         [XPG3] (log1p): Likewise.
39624         [XPG3] (logb): Likewise.
39625         [XPG3] (nextafter): Likewise.
39626         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39627         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39628         [XPG3] (remainder): Likewise.
39629         [XPG3] (rint): Likewise.
39630         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39631         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39632         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39633         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39634         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39635         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39636         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39637         [UNIX98 || XOPEN2K] (scalb): Expect.
39638         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39639         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39640         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39641         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39642         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39643         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39644         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39645         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39646         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39647         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39648         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39649         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39650         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39651         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39652         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39653         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39654         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39655         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39656         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39657         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39658         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39659         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39660         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39661         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39662         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39663         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39664         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39665         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39666         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39667         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39668         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39669         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39670         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39671         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39672         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39673         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39674         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39675         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39676         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39677         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39678         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39679         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39680         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39681         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39682         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39683         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39684         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39685         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39686         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39687         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39688         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39689         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39690         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39691         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39692         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39693         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39694         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39695         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39696         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39697         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39698         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39699         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39700         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39701         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39702         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39703         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39704         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39705         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39706         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39707         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39708         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39709         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39710         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39711         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39712         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39713         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39714         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39715         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39716         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39717         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39718         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39719         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39720         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39721         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39722         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39723         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39724         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39725         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39726         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39727         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39728         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39729         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39730         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39731         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39732         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39733         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39734         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39735         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39736         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39737         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39738         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39739         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39740         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39741         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39742         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39743         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39744         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39745         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39746         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39747         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39748         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39749         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39750         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39751         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39752         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39753         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39754         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39755         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39756         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39757         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39758         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39759         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39760         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39761         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39762         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39763         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39764         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39765         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39766         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39767         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39768         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39769         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39770         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39771         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39772         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39773         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39774         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39776         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39777         _XOPEN_SOURCE_EXTENDED for XPG4.
39779         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39781         * Makeconfig (localtime): Remove variable.
39782         (inst_localtime-file): Likewise.
39784 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39787         Update.
39788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39789         Update.
39790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39791         Update.
39792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39793         Update.
39794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39795         Update.
39796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39797         Update.
39798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39799         Update.
39800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39801         Update.
39802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39803         Update.
39805 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39807         [BZ #2550]
39808         [BZ #2570]
39809         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39810         comparisons to determine direction to adjust input.
39811         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39812         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39813         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39814         Likewise.
39815         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39816         Likewise.
39817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39818         Likewise.
39819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39820         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39821         Likewise.
39822         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39823         Likewise.
39824         * math/libm-test.inc (nexttoward_test): Add more tests.
39826 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39828         [BZ #14040]
39829         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39830         in version GLIBC_2.1, not GLIBC_2.0.
39831         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39832         Likewise.
39834 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39836         [BZ #13942]
39837         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39838         (1 - x) * (1 + x).
39839         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39840         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39841         * math/libm-test.inc (acos_test): Add more tests.
39842         (asin_test): Likewise.
39843         * sysdeps/i386/fpu/libm-test-ulps: Update.
39844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846         [BZ #14034]
39847         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39848         of square root.
39849         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39850         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39851         * math/libm-test.inc (acos_test_tonearest): New function.
39852         (acos_test_towardzero): Likewise.
39853         (acos_test_downward): Likewise.
39854         (acos_test_upward): Likewise.
39855         (asin_test_tonearest): Likewise.
39856         (asin_test_towardzero): Likewise.
39857         (asin_test_downward): Likewise.
39858         (asin_test_upward): Likewise.
39859         (main): Call the new functions.
39860         * sysdeps/i386/fpu/libm-test-ulps: Update.
39861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39863         [BZ #13884]
39864         [BZ #13924]
39865         * math/e_exp10.c: Include <float.h>.
39866         (__ieee754_exp10): Handle underflow here rather than multiplying
39867         large negative argument by M_LN10.
39868         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39869         of __ieee754_expf.
39870         * math/e_exp10l.c: Include <float.h>.
39871         (__ieee754_exp10l): Handle underflow here rather than multiplying
39872         large negative argument by M_LN10l.
39873         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39874         spurious overflow exception on underflow.
39876 2012-04-29  Marek Polacek  <polacek@redhat.com>
39878         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39879         (__fortify_function): New macro.
39880         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39881         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39882         __extern_always_inline.
39883         * libio/bits/stdio2.h: Likewise.
39884         * libio/bits/stdio.h: Likewise.
39885         * string/string.h: Likewise.
39886         * string/bits/string3.h: Likewise.
39887         * include/stdio.h: Likewise.
39888         * stdlib/bits/stdlib.h: Likewise.
39889         * stdlib/stdlib.h: Likewise.
39890         * rt/bits/mqueue2.h: Likewise.
39891         * rt/mqueue.h: Likewise.
39892         * posix/bits/unistd.h: Likewise.
39893         * posix/unistd.h: Likewise.
39894         * io/bits/poll2.h: Likewise.
39895         * io/bits/fcntl2.h: Likewise.
39896         * io/fcntl.h: Likewise.
39897         * io/sys/poll.h: Likewise.
39898         * misc/bits/syslog.h: Likewise.
39899         * misc/bits/syslog-ldbl.h: Likewise.
39900         * misc/sys/syslog.h: Likewise.
39901         * socket/bits/socket2.h: Likewise.
39902         * socket/sys/socket.h: Likewise.
39903         * debug/tst-chk1.c: Likewise.
39904         * wcsmbs/bits/wchar2.h: Likewise.
39905         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39906         * wcsmbs/wchar.h: Likewise.
39908 2012-04-29  Andreas Jaeger  <aj@suse.de>
39910         * Makerules (tests): Remove enable-check-abi protection.
39911         (check-abi-warn): Remove.
39912         (check-abi-%): Remove check-abi-warn usage.
39914         * configure.in: Remove check-abi configure option.
39915         * configure: Regenerated.
39916         * config.make.in (enable-check-abi): Remove.
39918 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39920         [BZ #14033]
39921         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39922         double functions to double *_finite functions.
39924         [BZ #13941]
39925         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39926         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39927         LDBL_MIN_EXP.
39928         * stdio-common/Makefile (tests): Add tst-sprintf3.
39929         * stdio-common/tst-sprintf3.c: New file.
39931         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39932         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39934 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39936         * conform/conformtest.pl: Remove duplicate typed-constant
39937         handling.
39939 2012-04-28  David S. Miller  <davem@davemloft.net>
39941         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39942         (check-abi-%): Remove AWK script prerequisite and explicit
39943         abilist directory.
39944         (check-abi): Rewrite to just diff the symlist with the abilist.
39945         (config-tls, config-abi-config): Delete, no longer used.
39946         (update-abi-%): Remove AWK script and explicit abilist directory.
39947         (update-abi): Rewrite to simply compare and conditionally copy the
39948         symlist and the sysdep abilist file.  Remove update-abi-config
39949         checks.
39950         * abilist/ld.abilist: Remove.
39951         * abilist/libBrokenLocale.abilist: Remove.
39952         * abilist/libanl.abilist: Remove.
39953         * abilist/libcrypt.abilist: Remove.
39954         * abilist/libdl.abilist: Remove.
39955         * abilist/librt.abilist: Remove.
39956         * abilist/libthread_db.abilist: Remove.
39957         * abilist/libutil.abilist: Remove.
39958         * scripts/extract-abilist.awk: Remove.
39959         * scripts/merge-abilist.awk: Remove.
39960         * sysdeps/generic/libcidn.abilist: New file.
39961         * sysdeps/generic/libnss_compat.abilist: New file.
39962         * sysdeps/generic/libnss_db.abilist: New file.
39963         * sysdeps/generic/libnss_dns.abilist: New file.
39964         * sysdeps/generic/libnss_files.abilist: New file.
39965         * sysdeps/generic/libnss_hesiod.abilist: New file.
39966         * sysdeps/generic/libnss_nis.abilist: New file.
39967         * sysdeps/generic/libnss_nisplus.abilist: New file.
39968         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39969         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39970         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39971         file.
39972         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39973         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39974         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39975         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39976         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39977         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39978         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39979         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39980         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39981         file.
39982         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39983         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39984         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39985         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39986         file.
39987         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39988         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39989         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39990         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39991         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39992         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39993         file.
39994         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39995         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39996         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39997         file.
39998         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40000         New file.
40001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40002         New file.
40003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40004         New file.
40005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40006         New file.
40007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40008         New file.
40009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40010         New file.
40011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40012         New file.
40013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40014         New file.
40015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40016         New file.
40017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40018         New file.
40019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40020         New file.
40021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40022         New file.
40023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40024         New file.
40025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40026         file.
40027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40028         New file.
40029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40030         New file.
40031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40032         file.
40033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40034         New file.
40035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40036         New file.
40037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40038         file.
40039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40040         New file.
40041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40042         New file.
40043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40044         New file.
40045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40046         New file.
40047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40048         New file.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40050         New file.
40051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40053         file.
40054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40055         New file.
40056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40057         file.
40058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40059         file.
40060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40061         file.
40062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40063         file.
40064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40065         file.
40066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40067         New file.
40068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40069         file.
40070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40071         file.
40072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40073         New file.
40074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40075         file.
40076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40078         file.
40079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40080         New file.
40081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40082         file.
40083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40084         file.
40085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40086         file.
40087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40088         file.
40089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40090         file.
40091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40092         New file.
40093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40094         file.
40095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40096         file.
40097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40098         New file.
40099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40100         file.
40101         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40102         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40103         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40104         file.
40105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40106         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40107         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40108         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40109         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40110         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40111         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40112         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40113         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40114         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40117         file.
40118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40119         New file.
40120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40121         file.
40122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40123         file.
40124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40125         file.
40126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40127         file.
40128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40129         file.
40130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40131         New file.
40132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40133         New file.
40134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40135         file.
40136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40137         New file.
40138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40139         file.
40140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40142         file.
40143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40144         New file.
40145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40146         file.
40147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40148         file.
40149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40150         file.
40151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40152         file.
40153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40154         file.
40155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40156         New file.
40157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40158         New file.
40159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40160         file.
40161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40162         New file.
40163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40164         file.
40166 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40168         * conform/conformtest.pl: Fix typo in handling typed-constant from
40169         allow-header.
40171 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40173         * README: Cut down references to pre-2.6 Linux kernels and
40174         Linuxthreads.  Update lists of configurations in libc and ports
40175         and sort alphabetically.  Say "or newer" with Linux kernel version
40176         requirements.
40178         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40180 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40182         [BZ #887]
40183         * math/libm-test.inc (logb_test_downward): New test to expose
40184         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40185         rounding mode.
40187 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40189         [BZ #14027]
40190         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40191         to be done.
40192         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40193         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40195 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40197         * sysdeps/unix/i386/brk.S: Remove file.
40198         * sysdeps/unix/i386/dl-brk.S: Likewise.
40199         * sysdeps/unix/i386/pipe.S: Likewise.
40200         * sysdeps/unix/i386/sigreturn.S: Likewise.
40201         * sysdeps/unix/i386/syscall.S: Likewise.
40202         * sysdeps/unix/i386/vfork.S: Likewise.
40203         * sysdeps/unix/i386/wait.S: Likewise.
40205         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40206         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40208         * configure.in (arm*-none*): Do not allow without
40209         --enable-hacker-mode.
40210         (netbsd*): Remove case setting base_os.
40211         (386bsd*): Likewise.
40212         (freebsd*): Likewise.
40213         (bsdi*): Likewise.
40214         (osf*): Likewise.
40215         (sunos*): Likewise.
40216         (ultrix*): Likewise.
40217         (newsos*): Likewise.
40218         (dynix*): Likewise.
40219         (*bsd*): Likewise.
40220         (sysv*): Likewise.
40221         (isc*): Likewise.
40222         (esix*): Likewise.
40223         (sco*): Likewise.
40224         (minix*): Likewise.
40225         (irix4*): Likewise.
40226         (irix6*): Likewise.
40227         (solaris[2-9]*): Likewise.
40228         (none): Likewise.
40229         * configure: Regenerated.
40231 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40233         [BZ #11521]
40234         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40235         overflow or cancellation in calculating denominator.
40236         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40238         down expression to avoid unexpected rounding in newer GCCs.
40239         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40241 2012-04-26  David S. Miller  <davem@davemloft.net>
40243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40244         long-double compat symbols.
40245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40259 2012-04-25  David S. Miller  <davem@davemloft.net>
40261         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40262         HWCAP_* values only after the memory barriers have been defined.
40263         (atomic_full_barrier): Define.
40264         (atomic_read_barrier): Define.
40265         (atomic_write_barrier): Define.
40267 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40269         * shlib-versions: Add libgcc_s version information.
40270         * sysdeps/generic/libgcc_s.h: Remove.
40271         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40272         libgcc_s.h.
40273         * sysdeps/gnu/unwind-resume.c: Likewise.
40274         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40276 2012-04-25  David S. Miller  <davem@davemloft.net>
40278         * sysdeps/unix/sparc/brk.S: Delete.
40279         * sysdeps/unix/sparc/dl-brk.S: Delete.
40280         * sysdeps/unix/sparc/pipe.S: Delete.
40281         * sysdeps/unix/sparc/sysdep.S: Delete.
40282         * sysdeps/unix/sparc/sysdep.h: Delete.
40283         * sysdeps/unix/sparc/vfork.S: Delete.
40284         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40285         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40286         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40287         (ret_ERRVAL, r0, r1, MOVE): Define.
40288         (JUMPTARGET): Remove.
40289         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40290         sysdeps/unix/sparc/sysdep.h
40291         (ENTRY, END): Remove.
40292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40294 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40296         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40297         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40298         -DIS_IN_build.
40300         * timezone/README: Update upstream location and email address for
40301         tzcode and tzdata.
40302         * timezone/zdump.c: Update from tzcode 2012b.
40303         * timezone/zic.c: Likewise.
40305         * configure.in (libc_cv_as_needed): Remove test.
40306         * configure: Regenerated.
40307         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40308         conditional definition.
40309         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40310         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40311         * config.make.in (have-as-needed): Remove variable.
40313 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40314             Paul Pluzhnikov  <ppluzhnikov@google.com>
40316         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40317         strings correctly.
40319 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40321         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40322         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40323         * sysdeps/sh/strlen.S: Likewise.
40325 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40327         * sysdeps/unix/fork.S: Remove file.
40328         * sysdeps/unix/i386/fork.S: Likewise.
40329         * sysdeps/unix/sparc/fork.S: Likewise.
40331         * sysdeps/unix/system.c: Remove file.
40332         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40334         * sysdeps/unix/getegid.S: Remove file.
40335         * sysdeps/unix/geteuid.S: Likewise.
40337 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40339         * scripts/check-localplt.awk: New file.
40340         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40341         of diff.
40342         * scripts/data/localplt-generic.data: Add a comment.
40344         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40345         NODE when __dir_mkfile failed.
40346         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40347         Reported by Ludovic Courtès <ludo@gnu.org>.
40349 2012-04-24  Andreas Jaeger  <aj@suse.de>
40351         * Makerules (common-clean): Also remove gen-as-const-headers
40352         files.
40354 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40356         * Makerules (native-compile): Do not change working directory for
40357         build.  Use $(OUTPUT_OPTION) in command.
40358         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40360 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40362         [BZ #13886]
40363         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40364         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40365         * math/libm-test.inc (floor_test): Add more tests.
40366         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40368 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40370         * sysdeps/unix/getdents.c: Remove file.
40371         * sysdeps/unix/sysv/getdents.c: Likewise.
40372         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40374         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40375         sysdeps/unix/mman/syscalls.list.
40376         (mmap): Likewise.
40377         (mprotect): Likewise.
40378         (msync): Likewise.
40379         (munmap): Likewise.
40380         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40381         * sysdeps/unix/mman/syscalls.list: Remove.
40382         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40384         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40385         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40386         * configure: Regenerated.
40387         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40388         $(libgcc_s_suffix).
40389         * config.make.in (libgcc_s_suffix): Remove variable.
40391 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40393         * sysdeps/unix/sysv/gethostname.c: Move to ...
40394         * sysdeps/posix/gethostname.c: ... here.
40396         * sysdeps/unix/execve.S: Remove file.
40398         * sysdeps/unix/_exit.S: Remove file.
40400 2012-04-23  Andreas Jaeger  <aj@suse.de>
40402         [BZ #13739]
40403         * manual/Makefile: Remove make dist support, there's no
40404         need for a stand-alone documentation tar ball.
40405         (TEXI2DVI): Define always, it's not in Makeconfig.
40406         (dist): Removed.
40407         (tar-it): Removed.
40408         (edition): Removed.
40409         (glibc-doc-$(edition).tar): Removed
40410         (%.Z): Removed.
40411         (%.gz): Removed.
40412         (%.uu): Removed.
40413         (ETAGS): Remove, it's in Makeconfig.
40414         (move-if-change): Remove, it's in Makeconfig.
40416 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40418         [BZ #13970]
40419         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40420         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40421         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40422         (strtod_l, strtof_l, strtold_l): Remove __wur.
40423         It is not necessarily an error to ignore strtol's return value.
40424         One can reliably look at the stored endptr to decide whether
40425         the number had valid syntax.
40427 2012-04-21  Andreas Jaeger  <aj@suse.de>
40429         [BZ #13739]
40430         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40432 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40434         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40435         * sysdeps/unix/sysv/Versions: Remove file.
40437 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40439         [BZ #13927]
40440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40442 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40444         [BZ #7064]
40445         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40446         version from __vm86.
40448 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40450         * sysdeps/unix/common/lxstat.c: Remove file.
40451         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40453         * sysdeps/unix/sysv/Makefile: Remove file.
40455         * sysdeps/unix/sysv/direct.h: Remove file.
40457         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40458         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40459         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40460         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40461         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40462         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40463         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40465         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40467         * sysdeps/unix/xmknod.c: Remove file.
40468         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40470         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40472         * sysdeps/unix/sysv/i386/time.S: Remove file.
40474         * sysdeps/unix/fxstat.c: Remove file.
40475         * sysdeps/unix/xstat.c: Likewise.
40476         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40478         * sysdeps/unix/sysv/sigaction.c: Remove file.
40480         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40481         (sysdep_headers): Remove variable.
40482         [termio.h not in sysdep_headers] (generated): Likewise.
40483         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40484         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40485         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40486         * sysdeps/unix/sysv/tcflow.c: Likewise.
40487         * sysdeps/unix/sysv/tcflush.c: Likewise.
40488         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40489         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40490         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40491         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40492         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40494         * sysdeps/unix/siglist.c: Remove file.
40496         * sysdeps/unix/getppid.S: Remove file.
40498         * sysdeps/unix/mkdir.c: Remove file.
40499         * sysdeps/unix/rmdir.c: Likewise.
40501 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40503         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40504         ERR_MAX value.
40505         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40506         errlist-compat value.
40508 2012-04-18  David S. Miller  <davem@davemloft.net>
40510         * sysdeps/generic/memcopy.h (reg_char): Delete.
40511         * debug/strcat_chk.c: Use char, not reg_char.
40512         * debug/strcpy_chk.c: Likewise.
40513         * debug/strncat_chk.c: Likewise.
40514         * debug/strncpy_chk.c: Likewise.
40515         * string/memchr.c: Likewise.
40516         * string/memrchr.c: Likewise.
40517         * string/rawmemchr.c: Likewise.
40518         * string/strcat.c: Likewise.
40519         * string/strchr.c: Likewise.
40520         * string/strchrnul.c: Likewise.
40521         * string/strcmp.c: Likewise.
40522         * string/strcpy.c: Likewise.
40523         * string/strncat.c: Likewise.
40524         * string/strncmp.c: Likewise.
40525         * string/strncpy.c: Likewise.
40527 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40529         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40530         __builtin_memcopy is called when src and dest ranges are known to not
40531         overlap.
40533 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40535         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40536         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40537         fwd_align_merge macro call.
40538         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40539         bwd_align_merge macro call.
40540         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40542 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40544         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40545         bwd_align_merge macros.
40546         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40547         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40548         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40550 2012-04-18  David S. Miller  <davem@davemloft.net>
40552         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40554 2012-04-18  Andreas Jaeger  <aj@suse.de>
40556         [BZ# 6794]
40557         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40558         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40559         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40561         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40562         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40563         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40565         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40566         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40567         Adjust for changed ldbl-128 files.
40569         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40570         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40571         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40573 2012-04-17  David S. Miller  <davem@davemloft.net>
40575         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40577 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40579         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40580         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40581         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40582         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40583         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40584         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40586 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40588         [BZ #6794]
40589         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40590         * math/libm-test.inc: Add ilogb errno and exception tests.
40591         * math/w_ilogb.c: New file: ilogb wrapper.
40592         * math/w_ilogbf.c: New file: ilogbf wrapper.
40593         * math/w_ilogbl.c: New file: ilogbl wrapper.
40594         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40595         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40596         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40597         exception being thrown with 0.0 as argument.
40598         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40599         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40600         exception being thrown with 0.0 as argument.
40601         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40602         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40603         exception being thrown with 0.0 as argument.
40604         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40605         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40606         exception being thrown with 0.0 as argument.
40607         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40608         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40609         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40610         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40612         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40613         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40614         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40615         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40617 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40619         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40620         with altivec.
40622 2012-04-16  Marek Polacek  <polacek@redhat.com>
40624         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40626 2012-04-16  Marek Polacek  <polacek@redhat.com>
40628         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40629         operands of fdivp instruction.
40631 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40633         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40634         * elf/tst-auditmod3b.c: Likewise.
40635         * elf/tst-auditmod4b.c: Likewise.
40636         * elf/tst-auditmod5b.c: Likewise.
40637         * elf/tst-auditmod6b.c: Likewise.
40638         * elf/tst-auditmod6c.c: Likewise.
40639         * elf/tst-auditmod7b.c: Likewise.
40640         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40641         * sysdeps/x86_64/preconfigure.in: Likewise.
40642         * sysdeps/x86_64/preconfigure: Regenerated.
40644 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40646         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40647         __ILP32__.
40649 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40651         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40652         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40654 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40656         [BZ #13973]
40657         * locale/iso-639.def: Fix gl language name. Spotted by
40658         Yaron Shahrabani.
40660 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40662         [BZ #2074]
40663         * libio/libio.h (__io_write_fn): Update comment.
40665 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40667         [BZ #2074]
40668         * stdio.texi (Hook Functions): The user provided writer function
40669         is not allowed to return -1.
40671 2012-04-11  David S. Miller  <davem@davemloft.net>
40673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40675 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40677         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40678         Add a leading slash to rtkaio.
40680 2012-04-11  Jim Meyering  <meyering@redhat.com>
40682         [BZ #11959]
40683         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40684         It is not necessarily an error to ignore fwrite's return
40685         value.  One can reliably use ferror to test for errors after
40686         the fact.
40688 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40690         * bits/types.h (__snseconds_t): New type.
40691         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40693         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40695         (__SNSECONDS_T_TYPE): Likewise.
40696         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40697         (__SNSECONDS_T_TYPE): Likewise.
40698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40699         (__SNSECONDS_T_TYPE): Likewise.
40701 2012-04-10  Andreas Jaeger  <aj@suse.de>
40703         [BZ #2636]
40704         * manual/time.texi (Processor Time): Return type of times is
40705         elapsed real time since an arbitrary point in the past.
40706         (CPU Time): Move CLK_TCK from here...
40707         (Processor Time): ...to here.  Correct description.
40708         * manual/conf.texi (Constants for Sysconf): Correct description of
40709         _SC_CLK_TCK.
40711 2012-04-10  David S. Miller  <davem@davemloft.net>
40713         [BZ #13967]
40714         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40715         where the is a gap between DT_REL(A) and DT_JMPREL.
40717 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40719         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40720         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40721         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40723 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40725         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40726         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40727         (dl_main): Handle --inhibit-cache.
40728         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40729         _dl_inhibit_cache.
40730         * elf/dl-load.c (_dl_map_object): Use it.
40731         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40733 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40735         [BZ #13872]
40736         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40737         (__ieee754_powl): Saturate large exponents rather than testing for
40738         overflow of y*log2(x).
40739         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40740         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40741         exceptions.
40743         [BZ #11521]
40744         * math/s_ctan.c: Include <float.h>.
40745         (__ctan): Avoid internal overflow or cancellation in calculating
40746         denominator.
40747         * math/s_ctanf.c: Likewise.
40748         * math/s_ctanl.c: Likewise.
40749         * math/s_ctanh.c: Likewise.
40750         * math/s_ctanhf.c: Likewise.
40751         * math/s_ctanhl.c: Likewise.
40752         * math/libm-test.inc (ctan_test): Add more tests.
40753         (ctanh_test): Likewise.
40754         * sysdeps/i386/fpu/libm-test-ulps: Update.
40755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40757 2012-04-09  Andreas Jaeger  <aj@suse.de>
40759         [BZ #6894]
40760         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40761         is an optional BSD extension.
40763         [BZ #10254]
40764         * manual/stdio.texi (Opening Streams): Document additional fopen
40765         parameters.
40767 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40769         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40770         %eax without telling the compiler.
40772 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40774         [BZ # 13963]
40775         * manual/install.texi: Use sourceware.org.
40777 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40779         [BZ #13873]
40780         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40781         (__ieee754_pow): Generate overflow and underflow using huge*huge
40782         and tiny*tiny rather than just returning constant infinity or zero
40783         for large exponents.
40784         * math/libm-test.inc (pow_test): Require overflow exceptions for
40785         applicable cases of large exponents.
40787         [BZ #706]
40788         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40789         (__ieee754_pow): Use iterative multiplication algorithm only for
40790         integer exponents with absolute value below 1024.  Check for odd
40791         integer exponents when using algorithm for real exponents.
40792         * math/libm-test.inc (pow_test): Add more tests.
40793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40795 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40797         [BZ #13705]
40798         * math/libm-test.inc (exp_test): Do not allow overflow exception
40799         on underflow test.
40801 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40803         [BZ #13705]
40804         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40805         instead of __kernel_standard_f.
40807 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40809         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40810         * sysdeps/x86_64/memset_chk.S: Likewise.
40812 2012-04-08  Andreas Jaeger  <aj@suse.de>
40814         [BZ #10153]
40815         * manual/startup.texi (Environment Access): Describe return value
40816         for putenv and setenv.
40818         [BZ #6895]
40819         * manual/filesys.texi (Directory Entries): Add description for
40820         DT_LNK.
40822         [BZ #6890]
40823         * manual/filesys.texi (Directory Entries): Clarify that it's file
40824         system not operating system in the description of DT_UNKNOWN.
40826         [BZ #6578]
40827         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40829 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40831         [BZ #6649]
40832         * manual/llio.texi (Opening and Closing Files): Add cross
40833         reference to explain mode argument.
40835 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40837         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40838         * sysdeps/x86_64/memset_chk.S: Likewise.
40840 2012-04-07  David S. Miller  <davem@davemloft.net>
40842         * elf/elf.h (R_SPARC_WDISP10): Define.
40843         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40844         R_SPARC_SIZE32.
40845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40846         R_SPARC_SIZE64 and R_SPARC_H34.
40848 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40850         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40851         conditions and remove no longer applicable assertion.
40853 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40855         * bits/byteswap.h: Include <features.h>.
40856         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40857         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40859 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40861         * bits/byteswap.h (__bswap_16): Removed.
40862         Include <bits/byteswap-16.h> to get __bswap_16.
40863         * sysdeps/i386/bits/byteswap.h: Likewise.
40864         * sysdeps/s390/bits/byteswap.h: Likewise.
40865         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40866         * bits/byteswap-16.h: New file.
40867         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40868         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40869         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40870         * string/Makefile (headers): Add bits/byteswap-16.h.
40872 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40874         [BZ #13895]
40875         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40876         extra indirection.
40877         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40878         * nss/tst-nss-static.c: New.
40880 2012-04-06  Robert Millan  <rmh@gnu.org>
40882         [BZ #6486]
40883         * manual/llio.texi (File Position Primitive): lseek
40884         refers to WHENCE when it really means OFFSET.
40886 2012-04-06  Andreas Jaeger  <aj@suse.de>
40888         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40889         strncmp declarations.
40891         * abilist/libc.abilist: Add __poll and __ppoll.
40893 2012-04-05  David S. Miller  <davem@davemloft.net>
40895         * scripts/check-local-headers.sh: Accept a host triplet in the
40896         path matched by the exclude regexp.
40898         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40899         definition.
40900         * sysdeps/powerpc/powerpc32/dl-machine.h
40901         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40902         * sysdeps/s390/s390-32/dl-machine.h
40903         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40904         * sysdeps/sparc/sparc32/dl-machine.h
40905         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40906         * sysdeps/sparc/sparc64/dl-machine.h
40907         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40909         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40910         lazy binding.
40911         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40912         undefined symbol errors.
40914         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40915         DT_NEEDED entries.
40917 2012-04-05  Michael Matz  <matz@suse.de>
40919         [BZ #13592]
40920         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40922 2012-04-05  Andreas Jaeger  <aj@suse.de>
40924         [BZ #13908]
40925         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40926         comment.
40928 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40930         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40931         which ROUND is no valid rounding mode.
40933 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40935         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40936         read again.
40937         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40939 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40941         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40942         an exception using FPU order intentionally.
40944 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40946         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40947         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40948         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40949         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40951 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40953         [BZ #12340]
40954         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40955         EINVAL when BUFLEN is too smal.
40957 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40959         [BZ #13553]
40960         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40961         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40963 2012-04-03  Andreas Jaeger  <aj@suse.de>
40965         [BZ #13938]
40966         * manual/setjmp.texi (System V contexts): Fix sentence.
40968         [BZ #13926]
40969         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40970         New macro for this case.
40971         [!__GNUC__] (__bswap_64): New inline function for this case.
40972         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40973         * bits/byteswap.h: Likewise.
40974         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40975         ull, guard with __GLIBC_HAVE_LONG_LONG.
40977         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40978         __GLIBC_HAVE_LONG_LONG.
40980         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40981         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40983 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40985         [BZ #13691]
40986         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40987         inptr and inend, rather than using last_ch.
40989 2012-04-02  David S. Miller  <davem@davemloft.net>
40991         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40992         * stdio-common/printf-parse.h (read_int): Change return type to
40993         'int', return -1 on INT_MAX overflow.
40994         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40995         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40996         overflows INT_MAX.  Check for overflow of in-format-string precision
40997         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40998         SIZE_MAX not INT_MAX for integer overflow test.
40999         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41000         skip the construct in the format string but do not record anything.
41001         * stdio-common/bug22.c: Adjust to test both width/prevision
41002         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41003         explicitly for proper errno values.
41005 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41007         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41008         CHAR_MAX.
41009         * string/test-strcmp.c [! WIDE]: Likewise.
41010         * time/tst-mktime2.c: Likewise for INT_MAX.
41011         * string/test-string.h: #include <sys/param.h> for MIN.
41013         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41014         * sysdeps/i386/init-first.c (init): Likewise.
41015         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41016         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41017         * sysdeps/sh/init-first.c (init): Likewise.
41019 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41021         * po/ru.po: Update from translation team.
41022         * po/vi.po: Likewise.
41024 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         * resolv/nss_dns/dns-host.c: Merge copyright years.
41028 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41030         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41031         Optimize memcpy with prefetch if
41032         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41033         src, dst pointers have unequal 16 byte alignments.
41035 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         [BZ #13928]
41038         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41039         from a CNAME entry and return the minimum ttl for the query.
41040         (gaih_getanswer_slice): Likewise.
41042 2012-03-30  Jeff Law  <law@redhat.com>
41044         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41045         due to long keys.
41046         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41047         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41049         * resolv/nss_dns/dns-host.c: Update copyright year.
41051 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41053         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41054         requests to save a system call.  Fix check that all bytes are sent.
41056         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41057         comments for sendmmsg.
41059 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41061         [BZ #13691]
41062         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41063         with only 1 character between 0x0041 and 0x01b0.
41064         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41065         * wcsmbs/tst-mbsnrtowcs.c: New file.
41067 2012-03-29  David S. Miller  <davem@davemloft.net>
41069         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41070         small copies by hand.
41072 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41074         [BZ #13761]
41075         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41076         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41077         group memberships.
41079 2012-03-28  David S. Miller  <davem@davemloft.net>
41081         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41082         that branches into memcpy.
41083         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41086         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41088         bits.
41089         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41090         implementation too.
41091         * sysdeps/sparc/mempcpy.S: New file.
41093         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41094         the IFUNC routine in the libc case.
41095         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41097         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41098         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41099         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41100         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41101         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41102         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41103         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41104         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41106         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41107         loop to 256 bytes instead of 64 bytes and fix test signedness.
41109         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41110         * sysdeps/sparc/sparc32/Makefile: rather than here...
41111         * sysdeps/sparc/sparc64/Makefile: and here.
41113 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41115         * malloc/mallocbug.c: Avoid warnings about unused variables.
41117 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41119         [BZ #13760]
41120         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41121         in the right place. Discard and retry query if response is
41122         larger than input buffer size.
41124 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41126         [BZ #369]
41127         [BZ #2678]
41128         [BZ #3866]
41129         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41130         x for large integer exponent.
41131         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41132         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41133         sign of result as needed afterwards.
41134         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41135         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41136         result for underflowing pow the same as for overflow.
41137         (__kernel_standard_l): Handle powl overflow and underflow here
41138         rather than calling __kernel_standard.
41139         * math/libm-test.inc (pow_test): Add more tests.
41141         [BZ #3868]
41142         [BZ #13879]
41143         [BZ #13910]
41144         [BZ #13911]
41145         [BZ #13912]
41146         [BZ #13913]
41147         [BZ #13915]
41148         [BZ #13916]
41149         [BZ #13917]
41150         [BZ #13918]
41151         [BZ #13919]
41152         [BZ #13920]
41153         [BZ #13921]
41154         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41155         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41156         (__kernel_standard_l): New function.
41157         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41158         __kernel_standard.
41159         * math/w_acosl.c (__acosl): Likewise.
41160         * math/w_asinl.c (__asinl): Likewise.
41161         * math/w_atan2l.c (__atan2l): Likewise.
41162         * math/w_atanhl.c (__atanhl): Likewise.
41163         * math/w_coshl.c (__coshl): Likewise.
41164         * math/w_exp10l.c (__exp10l): Likewise.
41165         * math/w_exp2l.c (__exp2l): Likewise.
41166         * math/w_fmodl.c (__fmodl): Likewise.
41167         * math/w_hypotl.c (__hypotl): Likewise.
41168         * math/w_j0l.c (__j0l, __y0l): Likewise.
41169         * math/w_j1l.c (__j1l, __y1l): Likewise.
41170         * math/w_jnl.c (__jnl, __ynl): Likewise.
41171         * math/w_lgammal.c (__lgammal): Likewise.
41172         * math/w_log10l.c (__log10l): Likewise.
41173         * math/w_log2l.c (__log2l): Likewise.
41174         * math/w_logl.c (__logl): Likewise.
41175         * math/w_powl.c (__powl): Likewise.
41176         * math/w_remainderl.c (__remainderl): Likewise.
41177         * math/w_scalbl.c (sysv_scalbl): Likewise.
41178         * math/w_sinhl.c (__sinhl): Likewise.
41179         * math/w_sqrtl.c (__sqrtl): Likewise.
41180         * math/w_tgammal.c (__tgammal): Likewise.
41181         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41182         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41183         * math/libm-test.inc (acos_test): Add more tests.
41184         (acosh_test): Likewise.
41185         (asin_test): Likewise.
41186         (atanh_test): Likewise.
41187         (exp_test): Likewise.
41188         (exp10_test): Likewise.
41189         (exp2_test): Likewise.
41190         (expm1_test): Likewise.
41191         (lgamma_test): Likewise.
41192         (log_test): Likewise.
41193         (log10_test): Likewise.
41194         (log1p_test): Likewise.
41195         (log2_test): Likewise.
41196         (pow_test): Do not allow some spurious overflow exceptions.
41197         (sqrt_test): Add more tests.
41198         (tgamma_test): Likewise.
41199         (y0_test): Likewise.
41200         (y1_test): Likewise.
41201         (yn_test): Likewise.
41203 2012-03-27  Anton Blanchard  <anton@samba.org>
41205         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41206         MAP_HUGETLB.
41207         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41208         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41209         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41211 2012-03-27  David S. Miller  <davem@davemloft.net>
41213         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41215         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41216         have-as-vis3 check.
41218 2012-03-27  Andreas Jaeger  <aj@suse.de>
41220         * sysdeps/x86_64/elf/configure.in: Moved to ...
41221         * sysdeps/x86_64/configure.in: ... here.
41222         * sysdeps/x86_64/elf/start.S: Moved to ...
41223         * sysdeps/x86_64/start.S: ... here.
41224         * sysdeps/x86_64/elf/configure: Delete.
41226         * sysdeps/x86_64/configure.in: Merge contents from
41227         sysdeps/i386/configure.in (without i686 check).
41229         * sysdeps/i386/elf/Versions: Merge into ...
41230         * sysdeps/i386/Versions: ... this.
41231         * sysdeps/i386/elf/Versions: Delete file.
41232         * sysdeps/i386/elf/start.S: Moved to ...
41233         * sysdeps/i386/start.S: ...here.
41234         * sysdeps/i386/elf/configure.in: Merge into...
41235         * sysdeps/i386/configure.in: ...here.
41236         * sysdeps/i386/elf/configure.in: Delete file.
41237         * sysdeps/i386/elf/configure: Delete file.
41239         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41240         * debug/backtracesyms.c: ... here.
41241         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41242         * debug/backtracesymsfd.c: ... here.
41243         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41244         * sysdeps/generic/ifunc-sel.h: ... here.
41246         * sysdeps/unix/i386/start.c: Delete file.
41247         * sysdeps/unix/sparc/start.c: Delete file.
41248         * sysdeps/unix/start.c: Delete file.
41250         * sysdeps/sh/elf/configure.in: Moved to ...
41251         * sysdeps/sh/configure.in: ... here.
41252         * sysdeps/sh/elf/start.S: Moved to ...
41253         * sysdeps/sh/start.S: ... here.
41254         * sysdeps/sh/elf/configure: Delete file.
41256         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41257         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41258         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41259         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41260         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41261         * sysdeps/powerpc/powerpc64/start.S: here.
41262         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41263         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41264         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41265         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41266         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41268         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41269         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41270         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41271         * sysdeps/powerpc/powerpc32/start.S: ... here.
41272         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41273         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41274         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41276         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41277         * sysdeps/powerpc/ifunc-sel.h: ... here.
41278         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41279         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41281         * sysdeps/sparc/elf/configure.in: Moved to ...
41282         * sysdeps/sparc/configure.in: ... here.
41283         * sysdeps/sparc/elf/configure: Delete file.
41284         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41285         * sysdeps/sparc/sparc32/start.S: ... here.
41286         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41287         * sysdeps/sparc/sparc64/start.S: ... here.
41288         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41289         * sysdeps/sparc/sparc32/Makefile: ... this.
41290         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41291         * sysdeps/sparc/sparc64/Makefile: ... this.
41293         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41294         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41295         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41296         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41297         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41298         * sysdeps/s390/s390-32/setjmp.S: ... here.
41299         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41300         * sysdeps/s390/s390-32/configure.in: ... here.
41301         * sysdeps/s390/s390-32/elf/configure: Delete file.
41302         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41303         * sysdeps/s390/s390-32/start.S: ... here.
41305         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41306         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41307         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41308         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41309         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41310         * sysdeps/s390/s390-64/setjmp.S: ... here.
41311         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41312         * sysdeps/s390/s390-64/configure.in: ... here
41313         * sysdeps/s390/s390-64/elf/configure: Delete file.
41314         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41315         * sysdeps/s390/s390-64/start.S: ... here.
41316         * sysdeps/s390/s390-64/elf/configure: Delete.
41318         * configure.in: Remove support for elf directories in sysdeps.
41320         * configure: Regenerated.
41321         * sysdeps/i386/configure: Regenerated.
41322         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41323         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41324         * sysdeps/s390/s390-32/configure: Regenerated.
41325         * sysdeps/s390/s390-64/configure: Regenerated.
41326         * sysdeps/sh/configure: Regenerated.
41327         * sysdeps/sparc/configure: Regenerated.
41328         * sysdeps/x86_64/configure: Regenerated.
41330 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41334         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41335         denormal result into account.
41337 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41339         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41340         Reported by Allan McRae <allan@archlinux.org>.
41342 2012-03-23  Jeff Law  <law@redhat.com>
41344         * nss/getnssent.c (__nss_getent): Fix typo.
41346 2012-03-23  David S. Miller  <davem@davemloft.net>
41348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41350 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41352         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41353         to pad to uint64_t for each field.
41354         (dl_tls_index): Replace unsigned long with uint64_t.
41356 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41357         Paul Pluzhnikov  <ppluzhnikov@google.com>
41359         [BZ #6528]
41360         * grp/Makefile (otherlibs): Don't set it.
41361         * inet/Makefile (otherlibs): Likewise.
41362         * login/Makefile (otherlibs): Likewise.
41363         * nscd/Makefile (otherlibs): Likewise.
41364         * posix/Makefile (otherlibs): Likewise.
41365         * pwd/Makefile (otherlibs): Likewise.
41366         * rt/Makefile (otherlibs): Likewise.
41367         * sunrpc/Makefile (otherlibs): Likewise.
41368         * nss/Makefile (otherlibs): Likewise.
41369         Add libnss_files to routines and static-only-routines.
41370         ($(objpfx)getent): Remove rule.
41371         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41372         static-only-routines.
41374 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41376         [BZ #13892]
41377         * math/s_cexp.c: Include <float.h>.
41378         (__cexp): Handle exp result overflowing not necessarily
41379         overflowing both real and imaginary parts of result.
41380         * math/s_cexpf.c: Likewise.
41381         * math/s_cexpl.c: Likewise.
41382         * math/libm-test.inc (cexp_test): Add more tests.
41383         * sysdeps/i386/fpu/libm-test-ulps: Update.
41384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41386 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41388         * include/link.h (ELFW): New macro.
41389         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41390         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41392 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41394         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41395         with uint64_t.
41397 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41399         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41400         declaration.
41401         (struct La_x32_retval): Likewise.
41403 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41405         * sysdeps/x86_64/preconfigure.in: New file.
41406         * sysdeps/x86_64/preconfigure: New generated file.
41408 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #13824]
41411         * math/e_exp2l.c: Include <float.h>.
41412         (__ieee754_exp2l): Handle overflow and underflow cases
41413         separately.  Only pass fractional part of argument to
41414         __ieee754_expl.
41415         * math/libm-test.inc (exp2_test): Add more tests.
41417         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41418         negating x to take absolute value.
41419         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41420         Likewise.
41421         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41422         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41423         Likewise.
41424         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41425         computing low part if x was negated.
41426         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41428 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41430         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41431         la_x32_gnu_pltexit.
41432         (pltexit): Cast int_retval to ptrdiff_t.
41433         * elf/tst-auditmod3b.c: Likewise.
41434         * elf/tst-auditmod4b.c: Likewise.
41435         * elf/tst-auditmod5b.c: Likewise.
41436         * elf/tst-auditmod6b.c: Likewise.
41437         * elf/tst-auditmod6c.c: Likewise.
41438         * elf/tst-auditmod7b.c: Likewise.
41440         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41441         and x32_gnu_pltexit.
41443         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41444         __ELF_NATIVE_CLASS.
41445         (La_x32_regs): New macro.
41446         (La_x32_retval): Likewise.
41447         (la_x32_gnu_pltenter): New function prototype.
41448         (la_x32_gnu_pltexit): Likewise.
41450 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41452         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41453         exponent.
41455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41457         * configure.in (libc_cv_cc_nofma): Check for option to disable
41458         generation of FMA instructions.
41459         * configure: Regenerate.
41460         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41461         * sysdeps/ieee754/dbl-64/Makefile: New file.
41462         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41463         Remove brandred-fma4.
41464         (CFLAGS-brandred-fma4.c): Remove.
41465         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41466         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41467         define.
41468         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41469         define.
41471 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41473         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41474         LLONG_MAX != LONG_MAX.
41475         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41476         (_fitoa_word): Likewise.
41477         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41478         LLONG_MAX != LONG_MAX.
41479         * stdio-common/_itowa.h: Include <_itoa.h>.
41480         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41481         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41482         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41483         only if not defined.
41484         (_ITOA_WORD_TYPE): Likewise.
41485         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41486         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41488 2012-03-21  David S. Miller  <davem@davemloft.net>
41490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41492 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41494         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41495         of x86_64 when setting libc_cv_slibdir, libdir and
41496         libc_cv_localedir.
41497         * sysdeps/unix/sysv/linux/configure: Regenerated.
41499 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41501         * manual/lang.texi (Old Varargs): Remove section.
41502         (How Variadic): Update menu.
41503         (va_start): Do not mention varargs.h.
41505 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41506             Joseph Myers  <joseph@codesourcery.com>
41508         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41509         link test.
41510         * configure: Regenerated.
41512 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41514         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41515         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41516         conformtest.pl
41518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41520         * NOTES: Remove.
41521         * Makefile (files-for-dist): Remove NOTES.
41522         (NOTES): Remove rule.
41523         * README: Don't refer to NOTES.
41524         * manual/creature.texi: Don't include macros.texi.
41525         * manual/intro.texi (creature.texi): Remove comment referring to
41526         NOTES.
41528         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41529         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41530         * configure: Regenerated.
41531         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41532         LIBC_TRY_CC_OPTION.
41533         (libc_cv_as_i686): Likewise.
41534         (libc_cv_cc_avx): Likewise.
41535         (libc_cv_cc_sse2avx): Likewise.
41536         (libc_cv_cc_fma4): Likewise.
41537         (libc_cv_cc_novzeroupper): Likewise.
41538         * sysdeps/i386/configure: Regenerated.
41540         [BZ #13883]
41541         * sysdeps/i386/fpu/s_cexp.S: Remove.
41542         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41543         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41544         * math/libm-test.inc (cexp_test): Add more tests.
41545         * sysdeps/i386/fpu/libm-test-ulps: Update.
41546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41548 2012-03-21  Allan McRae  <allan@archlinux.org>
41550         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41552 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41554         [BZ #13871]
41555         * math/w_exp2.c: Do not include <float.h>.
41556         (o_threshold, u_threshold): Remove.
41557         (__exp2): Calculate result before checking finiteness and calling
41558         __kernel_standard.
41559         * math/w_exp2f.c: Likewise.
41560         * math/w_exp2l.c: Likewise.
41561         * math/libm-test.inc (exp2_test): Require overflow exception for
41562         1e6 input.
41564         [BZ #3866]
41565         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41566         range of signed 64-bit integers before using fistpll.  Remove
41567         checks for whether integers fit in mantissa bits.
41568         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41569         the range of signed 32-bit integers before using fistpl.  Remove
41570         checks for whether integers fit in mantissa bits.
41571         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41572         (__ieee754_powl): Test for y outside the range of signed 64-bit
41573         integers before using fistpll.  Reduce 64-bit values to 63-bit
41574         ones as needed.
41575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41576         divide-by-zero is raised for zero to large negative powers.
41577         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41578         (__ieee754_powl): Test for y outside the range of signed 64-bit
41579         integers before using fistpll.  Reduce 64-bit values to 63-bit
41580         ones as needed.
41581         * math/libm-test.inc (pow_test): Add more tests.
41583 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41585         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41586         <stdio-common/_itoa.h>.
41587         * debug/segfault.c: Likewise.
41588         * elf/dl-cache.c: Likewise.
41589         * elf/dl-minimal.c: Likewise.
41590         * elf/dl-misc.c: Likewise.
41591         * elf/dl-sysdep.c: Likewise.
41592         * elf/dl-version.c: Likewise.
41593         * elf/rtld.c: Likewise.
41594         * hurd/hurdsock.c: Likewise.
41595         * hurd/lookup-retry.c: Likewise.
41596         * malloc/malloc.c: Likewise.
41597         * malloc/mtrace.c: Likewise.
41598         * nscd/nscd_getgr_r.c: Likewise.
41599         * nscd/nscd_getpw_r.c: Likewise.
41600         * nscd/nscd_getserv_r.c: Likewise.
41601         * posix/getopt_init.c: Likewise.
41602         * posix/wordexp.c: Likewise.
41603         * stdio-common/_itoa.c: Likewise.
41604         * stdio-common/printf_fphex.c: Likewise.
41605         * stdio-common/vfprintf.c: Likewise.
41606         * string/_strerror.c: Likewise.
41607         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41608         * sysdeps/i386/i686/hp-timing.h: Likewise.
41609         * sysdeps/mach/_strerror.c: Likewise.
41610         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41611         * sysdeps/mach/hurd/sethostid.c: Likewise.
41612         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41613         * sysdeps/mach/xpg-strerror.c: Likewise.
41614         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41615         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41616         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41617         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41618         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41619         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41620         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41621         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41622         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41623         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41624         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41625         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41626         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41627         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41628         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41629         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41630         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41632         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41633         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41634         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41636         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41638         * stdio-common/_itoa.h: Moved to ...
41639         * sysdeps/generic/_itoa.h: Here.
41641         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41643         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41644         instead of "_itoa.h" and "_itowa.h".
41645         * stdio-common/vfprintf.: Likewise.
41647 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41649         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41650         <bits/wordsize.h>.
41651         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41652         (__signbit): Likwise.
41653         (llrintf): Likwise.
41654         (llrint): Likwise.
41656 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41658         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41659         __WORDSIZE != 64.
41661 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41663         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41664         OVERFLOW_EXCEPTION_OK.
41665         * math/libm-test.inc ("Philosophy"): Update comment about
41666         exception testing.
41667         (OVERFLOW_EXCEPTION): Define.
41668         (OVERFLOW_EXCEPTION_OK): Likewise.
41669         (INVALID_EXCEPTION_OK): Renumber.
41670         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41671         (IGNORE_ZERO_INF_SIGN): Likewise.
41672         (test_exceptions): Handle FE_OVERFLOW.
41673         (exp10_test): Expect overflow exceptions.
41674         (exp2_test): Likewise.
41675         (expm1_test): Likewise.
41676         (nextafter_test): Likewise.
41677         (pow_test): Likewise.
41678         (scalbn_test): Likewise.
41679         (scalbln_test): Likewise.
41681 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41683         * sysdeps/x86_64/bits/atomic.h
41684         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41685         64bit integer.
41686         (atomic_exchange_acq): Likewise.
41687         (__arch_exchange_and_add_body): Likewise.
41688         (__arch_add_body): Likewise.
41689         (atomic_add_negative): Likewise.
41690         (atomic_add_zero): Likewise.
41692 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41694         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41695         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41697 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41699         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41700         Check __x86_64__ instead of __WORDSIZE.
41702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41704         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41706 2012-03-19  David S. Miller  <davem@davemloft.net>
41708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41710         * sysdeps/sparc/fpu/fenv_private.h: New file.
41711         * sysdeps/sparc/fpu/math_private.h: Use it.
41712         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41713         Remove.
41714         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41715         (libc_feholdexcept_setroundl): Remove.
41716         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41717         Remove.
41718         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41719         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41723         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41724         int64_t instead of long int.
41725         (INSERT_WORDS64): Likwise.
41727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41729         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41730         _Unwind_GetCFA return to _Unwind_Ptr first.
41732 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41734         [BZ #13629]
41735         * math/s_clog.c: Include <float.h>.
41736         (__clog): Scale large or subnormal inputs.
41737         * math/s_clogf.c: Likewise.
41738         * math/s_clogl.c: Likewise.
41739         * math/s_clog10.c: Include <float.h>.
41740         (M_LOG10_2): Define.
41741         (__clog10): Scale large or subnormal inputs.
41742         * math/s_clog10f.c: Likewise.
41743         * math/s_clog10l.c: Likewise.
41744         * math/libm-test.inc (clog_test): Add more tests.
41745         (clog10_test): Likewise.
41746         * sysdeps/i386/fpu/libm-test-ulps: Update.
41747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41749         [BZ #11451]
41750         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41751         x and y.
41752         * math/libm-test.inc (atan2_test): Add another test.
41754         * Makerules (common-objdir-compile): Remove.
41755         * sysdeps/unix/Makefile (config-generated): Do not add
41756         $(unix-generated) to variable.
41757         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41758         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41759         Remove rule.
41760         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41761         Likewise.
41762         [generic bits/local_lim.h] (before-compile): Do not append to
41763         variable.
41764         [generic bits/local_lim.h] (common-generated): Likewise.
41765         [generic sys/param.h] (before-compile): Do not append to variable.
41766         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41767         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41768         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41769         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41770         include.
41771         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41772         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41773         [generic sys/param.h] ($(addprefix
41774         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41775         [generic sys/param.h] (common-generated): Do not append to
41776         variable.
41777         [generic sys/param.h] (sysdep_headers): Likewise.
41778         [generic bits/errno.h] (before-compile): Do not append to
41779         variable.
41780         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41781         rule.
41782         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41783         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41784         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41785         [generic bits/errno.h] (common-generated): Do not append to
41786         variable.
41787         [generic bits/ioctls.h] (before-compile): Do not append to
41788         variable.
41789         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41790         rule.
41791         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41792         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41793         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41794         rule.
41795         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41796         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41797         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41798         [generic bits/ioctls.h] (common-generated): Do not append to
41799         variable.
41800         [generic sys/syscall.h] (syscall.h): Remove variable.
41801         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41802         rule.
41803         [generic sys/syscall.h] (before-compile): Do not append to
41804         variable.
41805         [generic sys/syscall.h] (common-generated): Likewise.
41806         * sysdeps/unix/errnos-tmpl.c: Remove file.
41807         * sysdeps/unix/errnos.awk: Likewise.
41808         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41809         * sysdeps/unix/ioctls.awk: Likewise.
41810         * sysdeps/unix/mk-local_lim.c: Likewise.
41811         * sysdeps/unix/snarf-ioctls: Likewise.
41813 2012-03-19  Richard Henderson  <rth@twiddle.net>
41815         * sysdeps/i386/fpu/fenv_private.h: New file.
41816         * sysdeps/i386/fpu/math_private.h: Use it.
41817         (math_opt_barrier, math_force_eval): Remove.
41818         (libc_feholdexcept_setround_53bit): Remove.
41819         (libc_feupdateenv_53bit): Remove.
41820         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41821         (math_opt_barrier, math_force_eval): Remove.
41822         (libc_feholdexcept): Remove.
41823         (libc_feholdexcept_setround): Remove.
41824         (libc_fetestexcept, libc_fesetenv): Remove.
41825         (libc_feupdateenv_test): Remove.
41826         (libc_feupdateenv, libc_feholdsetround): Remove.
41827         (libc_feresetround): Remove.
41829         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41830         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41832         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41833         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41834         (libc_feupdateenv_testl): New.
41835         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41836         (libc_feupdateenv_testf): New.
41837         (libc_feupdateenv): Use libc_feupdateenv_test.
41838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41839         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41841         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41842         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41843         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41844         (libc_feresetround_noex): New.
41845         (libc_feresetround_noexf): New.
41846         (libc_feresetround_noexl): New.
41847         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41848         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41849         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41850         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41851         SET_RESTORE_ROUND.
41852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41853         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41854         (__cos): Likewise.
41855         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41857         SET_RESTORE_ROUND_NOEX.
41858         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41859         SET_RESTORE_ROUND_NOEXF.
41860         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41861         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41862         (libc_feholdsetroundf): New.
41863         (libc_feresetround, libc_feresetroundf): New.
41865         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41866         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41867         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41869         * sysdeps/generic/math_private.h: Include <fenv.h>.
41870         (default_libc_feholdexcept): New.
41871         (default_libc_feholdexcept_setround): New.
41872         (default_libc_fesetenv, default_libc_feupdateenv): New.
41873         (libc_feholdexcept): Only define if undefined.
41874         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41875         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41876         (libc_feholdexcept_setroundl): Likewise.
41877         (libc_feholdexcept_setround_53bit): Likewise.
41878         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41879         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41880         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41881         (libc_feupdateenv_53bit): Likewise.
41882         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41883         (libc_feholdexcept): Convert from macro to inline function.
41884         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41885         (libc_fesetenv, libc_feupdateenv): Likewise.
41887         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41888         not previously defined.
41889         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41890         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41891         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41892         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41893         * sysdeps/ieee754/flt-32/math_private.h: New file.
41894         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41895         math_private.h below SET_FLOAT_WORD.
41896         (__isnan, __isinf_ns, __finite): Remove.
41897         (__isnanf, __isinf_nsf, __finitef): Remove.
41899 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41903 2012-03-17  David S. Miller  <davem@davemloft.net>
41905         [BZ #6471]
41906         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41907         for 2.16.
41909 2012-03-16  David S. Miller  <davem@davemloft.net>
41911         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41912         warnings.
41914         [BZ #6471]
41915         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41916         properly.
41917         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41918         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41919         sysdep_routines when subdir is sysvipc.
41920         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41921         __getshmlba helper.
41923         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41925 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41927         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41928         [__LP64__].
41930 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41932         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41933         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41934         (__lround): Renamed to ...
41935         (__llround): This.  Replace long int with long long int.
41936         Define lround functions as aliases of llround functions.
41937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41939 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41941         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41942         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41943         adresses to uintptr_t.  Replace "long int" and "unsigned long
41944         int" with "greg_t" on va_arg.
41946 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41948         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41949         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41951         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41952         Move e_machine check before EI_CLASS check.  Handle x32
41953         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41954         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41955         SKIP_EM_IA_64 and include
41956         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41958         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41959         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41960         (add_system_dir): New macro.
41962         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41963         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41965 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41967         [BZ #2551]
41968         [BZ #2552]
41969         [BZ #2553]
41970         [BZ #2554]
41971         [BZ #2562]
41972         [BZ #2563]
41973         [BZ #2565]
41974         [BZ #2566]
41975         [BZ #2576]
41976         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41977         (y0): Likewise.
41978         * math/w_j0f.c (j0f): Likewise.
41979         (y0f): Likewise.
41980         * math/w_j0l.c (__j0l): Likewise.
41981         (__y0l): Likewise.
41982         * math/w_j1.c (j1): Likewise.
41983         (y1): Likewise.
41984         * math/w_j1f.c (j1f): Likewise.
41985         (y1f): Likewise.
41986         * math/w_j1l.c (__j1l): Likewise.
41987         (__y1l): Likewise.
41988         * math/w_jn.c (jn): Likewise.
41989         (yn): Likewise.
41990         * math/w_jnf.c (jnf): Likewise.
41991         (ynf): Likewise.
41992         * math/w_jnl.c (__jnl): Likewise.
41993         (__ynl): Likewise.
41994         * math/libm-test.inc (j0_test): Add more tests.
41995         (j1_test): Likewise.
41996         (jn_test): Likewise.  Add trailing semicolon to existing test.
41997         (y0_test): Likewise.
41998         (y1_test): Likewise.
41999         * sysdeps/i386/fpu/libm-test-ulps: Update.
42000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42002         [BZ #13851]
42003         [BZ #13854]
42004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42005         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42006         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42007         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42008         (__tanl): Set errno for infinite argument.
42009         * sysdeps/i386/fpu/mptan.c: Remove.
42010         * sysdeps/i386/fpu/s_tan.S: Likewise.
42011         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42012         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42013         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42014         * math/libm-test.inc (tan_test): Add more tests and enable more
42015         tests for double and long double.
42016         * sysdeps/i386/fpu/libm-test-ulps: Update.
42017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42019 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42021         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42022         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42024 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42026         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42027         * configure.in: Use it for both main tree and add-ons.
42028         * configure: Regenerated.
42030 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42032         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42034 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42036         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42037         in comment.
42039         [BZ #13851]
42040         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42041         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42045         infinite argument.
42046         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42048         != 0 for prec == 2.
42049         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42050         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42051         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42052         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42053         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42054         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42055         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42056         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42057         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42058         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42059         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42060         * math/libm-test.inc (cos_test): Add more tests and enable more
42061         tests for long double.
42062         (sin_test): Likewise.
42063         (sincos_test): Likewise.
42064         * sysdeps/i386/fpu/libm-test-ulps: Update.
42065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42067 2012-03-16  David S. Miller  <davem@davemloft.net>
42069         * sysdeps/sparc/fpu/math_private.h: New file.
42071 2012-03-15  David S. Miller  <davem@davemloft.net>
42073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42074         file.
42075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42077         file.
42078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42083         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42084         sysdep routines.
42085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42087         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42088         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42090         * sysdeps/sparc/sparc-ifunc.h: New file.
42091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42092         sparc-ifunc.h
42093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42095         Likewise.
42096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42097         Likewise.
42098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42102         Likewise.
42103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42108         Likewise.
42109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42110         Likewise.
42111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42118         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42129         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42130         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42131         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42132         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42133         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42134         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42136 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42138         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42139         scaling.
42140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42142 2012-03-15  Andreas Jaeger  <aj@suse.de>
42144         [BZ #13852]
42145         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42146         ieee754/flt-32 implementation for sin, cos and sincos.
42147         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42148         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42149         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42150         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42151         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42152         ieee754/flt-32 implementation for tan.
42154         * math/libm-test.inc (cos_test): Enable some large input tests for
42155         float as well
42156         (sin_test): Likewise.
42157         (sincos_test): Likewise.
42158         (tan_test): Add tests for large input.
42160         * sysdeps/i386/fpu/libm-test-ulps: Update.
42162 2012-03-15  Andreas Jaeger  <aj@suse.de>
42164         [BZ #13658]
42165         * math/libm-test.inc (cos_test): Add more test cases.
42166         (sin_test): Likewise.
42167         (sincos_test): Likewise.
42169 2012-03-15  Andreas Jaeger  <aj@suse.de>
42171         [BZ #13837]
42172         * math/libm-test.inc (cos_test): Add a test case for large input
42173         value.
42174         (sin_test): Likewise.
42175         (sincos_test): Likewise.
42177 2012-03-15  Andreas Jaeger  <aj@suse.de>
42178             Joseph Myers  <joseph@codesourcery.com>
42180         [BZ #13658]
42181         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42182         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42183         * sysdeps/i386/fpu/branred.c: Likewise.
42184         * sysdeps/i386/fpu/dosincos.c: Likewise.
42185         * sysdeps/i386/fpu/mpa.c: Likewise.
42186         * sysdeps/i386/fpu/s_cos.S: Likewise.
42187         * sysdeps/i386/fpu/s_sin.S: Likewise.
42188         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42189         * sysdeps/i386/fpu/sincos32.c: Likewise.
42191         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42192         Define.
42193         (libc_feupdateenv_53bit): Define.
42194         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42195         Define.
42196         (libc_feupdateenv_53bit): Define.
42198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42199         53 bit (without extend i386 double precision).
42201         * math/libm-test.inc (sincos_test): Add tests for large input.
42202         (sin): Likewise.
42203         (cos): Likewise.
42205         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42207 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42211 2012-03-15  David S. Miller  <davem@davemloft.net>
42213         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42214         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42215         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42216         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42229         file.
42230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42232         file.
42233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42235         file.
42236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42238         file.
42239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42241         fmin/fmax sysdep routines.
42242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42244 2012-03-14  David S. Miller  <davem@davemloft.net>
42246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42250         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42251         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42252         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42253         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42254         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42262         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42266         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42267         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42268         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42270         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42271         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42272         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42273         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42274         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42275         routines.
42276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42277         file.
42278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42280         file.
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42283         file.
42284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42286         file.
42287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42289         file.
42290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42292         file.
42293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42294         file.
42295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42296         file.
42297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42298         file.
42299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42300         New file.
42301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42302         file.
42303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42304         file.
42305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42307         file.
42308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42310         file.
42311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42313         file.
42314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42316         VIS3 routines.
42318         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42319         New file.
42321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42323         * sysdeps/sparc/configure.in: New file.
42324         * sysdeps/sparc/configure: Generate.
42325         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42326         * configure: Regenerate.
42327         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42328         * config.make.in (have-as-vis3): New.
42329         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42330         available use -Av9d instead of -Av9a.
42331         * sysdeps/sparc/sparc64/Makefile: Likewise.
42332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42334         New file.
42335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42336         file.
42337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42338         New file.
42339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42340         file.
42341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42343         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42344         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42347         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42348         fzeros/fnegs to load 0x80000000 into a float register instead of
42349         using the stack.
42350         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42352 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42355         bits/syscall.h.
42356         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42357         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42358         ($(inst_includedir)/bits/syscall.h): Remove rule.
42359         ($(objpfx)bits/syscall.d): Include instead of
42360         $(objpfx)syscall-list.d.
42361         (generated): Change syscall-list.h and syscall-list.d to
42362         bits/syscall.h and bits/syscall.d.
42364 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42366         [BZ #13846]
42367         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42369 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42371         [BZ #13841]
42372         * math/s_csqrt.c: Include <float.h>.
42373         (__csqrt): Scale large or subnormal inputs.
42374         * math/s_csqrtf.c: Likewise.
42375         * math/s_csqrtl.c: Likewise.
42376         * math/libm-test.inc (csqrt_test): Add more tests.
42377         * sysdeps/i386/fpu/libm-test-ulps: Update.
42378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42380         [BZ #13840]
42381         * math/libm-test.inc (hypot_test): Add more tests.
42383 2012-03-13  David S. Miller  <davem@davemloft.net>
42385         [BZ #13840]
42386         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42387         double-precision for the calculation instead of scaling.
42389 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42391         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42392         manipulate bits before adding and subtracting TWO52[sx].
42393         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42394         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42395         Likewise.
42396         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42398 2012-03-13  David S. Miller  <davem@davemloft.net>
42400         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42401         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42403         rtld-global-offsets.h
42404         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42406         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42407         large parameters.
42409         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42411         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42412         'err' in the ifdef scope in which it is actually used.
42414         * nss/nss_db/db-init.c: Include string.h
42416 2012-03-12  David S. Miller  <davem@davemloft.net>
42418         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42419         masking out of the most significant byte of random value used.
42420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42421         Fix coding style in previous change.
42423         * sysdeps/unix/sysv/linux/kernel-features.h
42424         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42425         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42426         expression.
42427         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42428         later.
42430 2012-03-11  David S. Miller  <davem@davemloft.net>
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42433         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42434         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42435         for 'resultvar' otherwise things get truncated on 64-bit.
42437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42438         Fix masking out of the most significant byte of random value used.
42440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42442 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42446 2012-03-09  David S. Miller  <davem@davemloft.net>
42448         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42449         variables with appropriate CPP guards.
42450         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42451         from the frame pointer, not the stack pointer.  Correct layout
42452         comments.  Fix test on resulting framesize and the management of
42453         the outregs buffer for pltexit.  Preserve floating point return
42454         values across _dl_call_pltexit call.
42455         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42456         framesize and the management of the outregs buffer for pltexit.
42457         Preserve floating point return values across _dl_call_pltexit
42458         call.
42459         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42460         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42461         (la_sparc64_gnu_pltexit): New functions.
42462         (print_exit): Fix format string for return register value.
42464 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42466         * sunrpc/Makefile (others): Add rpcgen.
42467         ($(objpfx)rpcgen): Remove special build rule and dependency on
42468         libc.
42469         * sunrpc/rpcgen.c: New file.
42471 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42473         [BZ #13673]
42474         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42475         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42476         * sysdeps/i386/crti.S: Likewise.
42477         * sysdeps/i386/crtn.S: Likewise.
42478         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42479         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42480         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42481         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42482         * sysdeps/sh/crti.S: Likewise.
42483         * sysdeps/sh/crtn.S: Likewise.
42484         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42486         [BZ #13673]
42487         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42488         with URL.
42489         * locale/programs/locfile-kw.gperf: Likewise.
42490         * locale/programs/charmap-kw.h: Regenerated.
42491         * locale/programs/locfile-kw.h: Likewise.
42493         [BZ #13673]
42494         * intl/plural.y: Replace FSF snail mail address with URL.
42495         * intl/plural.c: Regenerated.
42497 2012-03-09  Richard Henderson  <rth@twiddle.net>
42499         * include/math_private.h: Remove file.
42500         * math/math_private.h: Move file ...
42501         * sysdeps/generic/math_private.h: ... here.
42503         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42504         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42505         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42507         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42508         and <math_private.h>.
42509         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42510         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42511         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42512         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42513         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42514         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42515         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42517         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42518         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42519         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42520         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42521         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42523         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42524         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42525         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42526         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42527         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42531         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42533         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42534         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42535         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42536         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42537         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42538         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42539         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42540         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42541         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42542         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42543         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42545         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42572         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42575         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42577         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42578         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42579         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42580         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42583         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42589         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42594         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42597         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42598         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42599         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42600         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42601         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42602         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42603         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42604         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42605         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42606         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42607         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42609         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42610         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42611         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42612         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42613         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42614         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42615         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42616         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42617         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42618         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42619         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42620         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42621         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42622         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42623         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42624         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42625         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42626         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42627         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42628         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42629         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42630         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42631         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42632         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42633         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42634         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42635         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42636         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42637         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42638         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42639         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42640         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42641         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42642         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42643         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42644         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42645         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42646         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42647         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42648         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42649         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42650         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42651         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42652         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42653         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42654         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42655         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42656         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42657         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42658         * sysdeps/ieee754/k_standard.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42702         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42707         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42762         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42771         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42772         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42773         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42774         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42775         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42776         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42778         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42780         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42781         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42782         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42783         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42784         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42785         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42786         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42787         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42788         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42789         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42790         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42791         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42792         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42793         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42794         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42795         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42796         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42797         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42798         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42799         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42800         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42801         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42802         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42803         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42804         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42805         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42806         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42807         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42808         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42809         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42810         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42811         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42812         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42813         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42816         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42817         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42819         * sysdeps/ieee754/s_lib_version.c: Likewise.
42820         * sysdeps/ieee754/s_matherr.c: Likewise.
42821         * sysdeps/ieee754/s_signgam.c: Likewise.
42822         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42824         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42825         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42826         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42827         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42828         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42829         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42830         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42831         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42832         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42833         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42834         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42835         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42836         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42837         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42838         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42839         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42840         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42844 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42846         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42847         * sunrpc/rpc_main.c: Likewise.
42848         * sunrpc/rpc_svcout.c: Likewise.
42850 2012-03-09  David S. Miller  <davem@davemloft.net>
42852         * include/math_private.h: New file.
42854 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42856         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42857         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42858         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42859         from <bits/socket_type.h>.
42860         (enum __socket_type): Don't define here.
42861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42863         bits/socket_type.h.
42865         [BZ #13566]
42866         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42867         checking __USE_GNU.
42869         * Makerules ($(inst_includedir)/%.h): New rule.
42870         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42871         (install-others): Remove variable setting.
42872         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42874 2012-03-08  Richard Henderson  <rth@twiddle.net>
42876         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42877         from macro to inline function; merge with the
42878         !__LIBC_INTERNAL_MATH_INLINES version.
42879         (__ieee754_sqrtf): Likewise.
42881         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42882         to inline function.
42883         (__rintf, __floor, __floorf): Likewise.
42885         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42886         macro to inline function.
42887         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42889         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42890         not <math/math_private.h>.
42892 2012-03-08  David S. Miller  <davem@davemloft.net>
42894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42895         copyright year.
42896         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42898 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42900         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42901         normalization.
42902         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42903         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42905 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42907         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42908         be defined individually, they must be defined as a block.  Define
42909         S for printing a string instead of hidint the different by using a
42910         macro for adding the 'l'.
42911         * stdio-common/tst-fphex-wide.c: Adjust.
42913 2012-03-07  Marek Polacek  <polacek@redhat.com>
42915         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42917 2012-03-08  Marek Polacek  <polacek@redhat.com>
42919         [BZ #13806]
42920         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42921         * stdio-common/tst-fphex.c: Define a few macros to make the
42922         test reusable.  Use them.
42923         * stdio-common/tst-fphex-wide.c: New file.
42925 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42927         [BZ #6911]
42928         * manual/macros.texi (gnusystems): New macro.
42929         (nongnusystems): Likewise.
42930         (gnulinuxhurdsystems): Likewise.
42931         (gnuhurdsystems): Likewise..
42932         (gnulinuxsystems): Likewise.
42933         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42934         variants of the GNU system, not "GNU system".
42935         * manual/conf.texi: Likewise.
42936         * manual/errno.texi: Likewise.  Update example of errno macro
42937         expansion.
42938         * manual/filesys.texi: Likewise.
42939         (getumask): Document as specific to GNU/Hurd.
42940         * manual/install.texi: Likewise.  Reword some references to
42941         GNU/Linux.
42942         * manual/intro.texi: Likewise.
42943         * manual/io.texi: Likewise.
42944         (File Name Portability): Detail which constraints are inapplicable
42945         to all GNU systems and which are only inapplicable to GNU/Hurd.
42946         * manual/job.texi: Likewise.
42947         * manual/llio.texi: Likewise.
42948         (O_NOCTTY): Document as present on GNU/Linux.
42949         * manual/maint.texi: Likewise.
42950         * manual/memory.texi: Likewise.
42951         * manual/pattern.texi: Likewise.
42952         * manual/pipe.texi: Likewise.
42953         * manual/process.texi: Likewise.
42954         * manual/resource.texi: Likewise.
42955         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42956         child on GNU/Hurd.
42957         * manual/setjmp.texi: Likewise.
42958         * manual/signal.texi: Likewise.
42959         * manual/startup.texi: Likewise.
42960         * manual/stdio.texi: Likewise.
42961         * manual/terminal.texi: Likewise.
42962         (ONLCR): Document as POSIX.
42963         (OXTABS): Document availability on GNU/Linux as XTABS.
42964         (ONOEOT): Document availability separately from other bits.
42965         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42966         * manual/time.texi: Likewise.
42967         * manual/users.texi: Likewise.
42968         * INSTALL: Regenerated.
42969         * sysdeps/gnu/errlist.c: Regenerated.
42971         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42972         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42973         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42974         puts.
42975         * configure: Regenerated.
42977 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42979         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42980         default includes instead of AC_HEADER_CHECK.
42981         * sysdeps/i386/configure: Regenerated.
42983         [BZ #10716]
42984         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42985         * math/s_cacoshf.c (__cacoshf): Likewise.
42986         * math/s_cacoshl.c (__cacoshl): Likewise.
42987         * math/s_casinh.c (__casinh): Set signs of result from argument.
42988         * math/s_casinhf.c (__casinhf): Likewise.
42989         * math/s_casinhl.c (__casinhl): Likewise.
42990         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42991         (casinh_test): Add more tests.
42992         * sysdeps/i386/fpu/libm-test-ulps: Update.
42993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42995 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42997         * po/zh_TW.po: Update from translation team.
42999         * login/Makefile (distribute): Remove variable.
43000         * catgets/Makefile: Likewise.
43001         * mach/Makefile: Likewise.
43002         * malloc/Makefile: Likewise.
43003         * misc/Makefile: Likewise.
43004         * iconv/Makefile: Likewise.
43005         * nscd/Makefile: Likewise.
43006         * hurd/Makefile: Likewise.
43007         * manual/Makefile: Likewise.
43008         * locale/Makefile: Likewise.
43009         * intl/Makefile: Likewise.
43010         * conform/Makefile: Likewise.
43011         * nss/Makefile: Likewise.
43012         * time/Makefile: Likewise.
43013         * soft-fp/Makefile: Likewise.
43014         * dirent/Makefile: Likewise.
43015         * gmon/Makefile: Likewise.
43016         * po/Makefile: Likewise.
43017         * rt/Makefile: Likewise.
43018         * socket/Makefile: Likewise.
43019         * math/Makefile: Likewise.
43020         * signal/Makefile: Likewise.
43021         * debug/Makefile: Likewise.
43022         * elf/Makefile: Likewise.
43023         * timezone/Makefile: Likewise.
43024         * stdlib/Makefile: Likewise.
43025         * iconvdata/Makefile: Likewise.
43026         * sunrpc/Makefile: Likewise.
43027         * io/Makefile: Likewise.
43028         * argp/Makefile: Likewise.
43029         * inet/Makefile: Likewise.
43030         * hesiod/Makefile: Likewise.
43031         * grp/Makefile: Likewise.
43032         * csu/Makefile: Likewise.
43033         * wctype/Makefile: Likewise.
43034         * crypt/Makefile: Likewise.
43035         * libio/Makefile: Likewise.
43036         * string/Makefile: Likewise.
43037         * nis/Makefile: Likewise.
43038         * resolv/Makefile: Likewise.
43039         * stdio-common/Makefile: Likewise.
43040         * wcsmbs/Makefile: Likewise.
43041         * dlfcn/Makefile: Likewise.
43042         * posix/Makefile: Likewise.
43044         [BZ #6959]
43045         * timezone/Makefile: Don't install timezone files, just the programs
43046         and scripts.
43048 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43050         * nss/databases.def: Add missing gshadow entry.
43052         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43054 2012-03-06  Marek Polacek  <polacek@redhat.com>
43056         [BZ #13726]
43057         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43058         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43059         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43060         * stdio-common/tst-long-dbl-fphex.c: New file.
43062 2012-03-06  David S. Miller  <davem@davemloft.net>
43064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43065         (set_obp_int): New function.
43066         (get_obp_int): New function.
43067         (__get_clockfreq_via_dev_openprom): Likewise.
43068         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43069         Avoid unused variable warnings on 'val' and use builtin_expect.
43070         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43071         __builtin_expect.
43072         (INLINE_CLONE_SYSCALL): Likewise.
43074 2012-03-05  David S. Miller  <davem@davemloft.net>
43076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43078 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43082         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43083         only for |x| >= 40.
43084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43086 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43089         Replace gettimeofday with __vdso_gettimeofday.
43091         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43092         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43093         __vdso_clock_gettime and __vdso_getcpu.
43095         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43096         time with __vdso_time.
43098 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43100         * manual/lang.texi (size_t): Note types to which size_t may be
43101         equivalent with the GNU C Library, but do not describe when
43102         differences between them are significant.
43104 2012-03-05  Andreas Jaeger  <aj@suse.de>
43106         * sysdeps/i386/fpu/libm-test-ulps: Update.
43108 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43110         [BZ #3976]
43111         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43112         (__ieee754_pow): Save and restore rounding mode and use
43113         round-to-nearest for main computations.
43114         * math/libm-test.inc (pow_test_tonearest): New function.
43115         (pow_test_towardzero): Likewise.
43116         (pow_test_downward): Likewise.
43117         (pow_test_upward): Likewise.
43118         (main): Call the new functions.
43119         * sysdeps/i386/fpu/libm-test-ulps: Update.
43120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43122         [BZ #3976]
43123         * math/libm-test.inc (cosh_test_tonearest): New function.
43124         (cosh_test_towardzero): Likewise.
43125         (cosh_test_downward): Likewise.
43126         (cosh_test_upward): Likewise.
43127         (sinh_test_tonearest): Likewise.
43128         (sinh_test_towardzero): Likewise.
43129         (sinh_test_downward): Likewise.
43130         (sinh_test_upward): Likewise.
43131         (main): Call the new functions.
43132         * sysdeps/i386/fpu/libm-test-ulps: Update.
43133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43135 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43137         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43138         default stack guard is set in last bytes.
43139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43141 2012-03-05  Kees Cook  <keescook@chromium.org>
43143         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43145         [BZ #13656]
43146         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43147         possibly allocate from heap instead of stack.
43148         * stdio-common/bug-vfprintf-nargs.c: New file.
43149         * stdio-common/Makefile (tests): Add nargs overflow test.
43151 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43155 2012-03-03  Marek Polacek  <polacek@redhat.com>
43157         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43158         * math/math_private.h: Likewise.
43159         * stdlib/tst-strtod.c: Likewise.
43160         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43161         * sysdeps/x86_64/bits/atomic.h: Likewise.
43163 2012-03-02  David S. Miller  <davem@davemloft.net>
43165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43169         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43170         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43171         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43172         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43174 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43176         [BZ #13792]
43177         * manual/examples/README: New file, says the example source files
43178         can be used under GPL>=2.
43179         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43180         line containing just "*/".
43181         * manual/examples/add.c: Add copyright header (GPL>=2).
43182         * manual/examples/argp-ex1.c: Likewise.
43183         * manual/examples/argp-ex2.c: Likewise.
43184         * manual/examples/argp-ex3.c: Likewise.
43185         * manual/examples/argp-ex4.c: Likewise.
43186         * manual/examples/atexit.c: Likewise.
43187         * manual/examples/db.c: Likewise.
43188         * manual/examples/dir.c: Likewise.
43189         * manual/examples/dir2.c: Likewise.
43190         * manual/examples/execinfo.c: Likewise.
43191         * manual/examples/filecli.c: Likewise.
43192         * manual/examples/filesrv.c: Likewise.
43193         * manual/examples/fmtmsgexpl.c: Likewise.
43194         * manual/examples/genpass.c: Likewise.
43195         * manual/examples/inetcli.c: Likewise.
43196         * manual/examples/inetsrv.c: Likewise.
43197         * manual/examples/isockad.c: Likewise.
43198         * manual/examples/longopt.c: Likewise.
43199         * manual/examples/memopen.c: Likewise.
43200         * manual/examples/memstrm.c: Likewise.
43201         * manual/examples/mkfsock.c: Likewise.
43202         * manual/examples/mkisock.c: Likewise.
43203         * manual/examples/mygetpass.c: Likewise.
43204         * manual/examples/pipe.c: Likewise.
43205         * manual/examples/popen.c: Likewise.
43206         * manual/examples/rprintf.c: Likewise.
43207         * manual/examples/search.c: Likewise.
43208         * manual/examples/select.c: Likewise.
43209         * manual/examples/setjmp.c: Likewise.
43210         * manual/examples/sigh1.c: Likewise.
43211         * manual/examples/sigusr.c: Likewise.
43212         * manual/examples/stpcpy.c: Likewise.
43213         * manual/examples/strdupa.c: Likewise.
43214         * manual/examples/strftim.c: Likewise.
43215         * manual/examples/strncat.c: Likewise.
43216         * manual/examples/subopt.c: Likewise.
43217         * manual/examples/swapcontext.c: Likewise.
43218         * manual/examples/termios.c: Likewise.
43219         * manual/examples/testopt.c: Likewise.
43220         * manual/examples/testpass.c: Likewise.
43221         * manual/examples/timeval_subtract.c: Likewise.
43223         [BZ #13792]
43224         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43225         function to ...
43226         * manual/timeval_subtract.c.texi: ... here, new file.
43228 2012-03-02  David S. Miller  <davem@davemloft.net>
43230         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43232 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43234         [BZ #3976]
43235         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43236         (__sin): Save and restore rounding mode and use round-to-nearest
43237         for all computations.
43238         (__cos): Save and restore rounding mode and use round-to-nearest
43239         for all computations.
43240         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43241         <fenv.h>.
43242         (tan): Save and restore rounding mode and use round-to-nearest for
43243         all computations.
43244         * math/libm-test.inc (cos_test_tonearest): New function.
43245         (cos_test_towardzero): Likewise.
43246         (cos_test_downward): Likewise.
43247         (cos_test_upward): Likewise.
43248         (sin_test_tonearest): Likewise.
43249         (sin_test_towardzero): Likewise.
43250         (sin_test_downward): Likewise.
43251         (sin_test_upward): Likewise.
43252         (tan_test_tonearest): Likewise.
43253         (tan_test_towardzero): Likewise.
43254         (tan_test_downward): Likewise.
43255         (tan_test_upward): Likewise.
43256         (main): Call the new functions.
43257         * sysdeps/i386/fpu/libm-test-ulps: Update.
43258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43260         [BZ #10135]
43261         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43262         small n, then large n, before computing and testing k+n.
43263         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43264         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43265         Likewise.
43266         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43267         Likewise.
43268         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43269         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43270         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43271         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43272         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43273         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43275         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43276         * math/libm-test.inc (scalbn_test): Add more tests.
43277         (scalbln_test): Likewise.
43279         * manual/filesys.texi (mode_t): Describe constraints on size and
43280         signedness, not exact equivalence to a particular type.
43281         (ino_t): Likewise.
43282         (ino64_t): Likewise.
43283         (dev_t): Likewise.
43284         (nlink_t): Likewise.
43285         (blkcnt_t): Likewise.
43286         (blkcnt64_t): Likewise.
43287         * manual/llio.texi (off_t): Likewise.
43289         [BZ #3976]
43290         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43291         (__ieee754_exp): Save and restore rounding mode and use
43292         round-to-nearest for all computations.
43293         * math/libm-test.inc (exp_test_tonearest): New function.
43294         (exp_test_towardzero): Likewise.
43295         (exp_test_downward): Likewise.
43296         (exp_test_upward): Likewise.
43297         (main): Call the new functions.
43298         * sysdeps/i386/fpu/libm-test-ulps: Update.
43299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43301 2012-03-01  Chris Demetriou  <cgd@google.com>
43303         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43304         have predictable order.
43306 2012-03-01  David S. Miller  <davem@davemloft.net>
43308         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43310         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43311         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43312         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43313         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43315         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43316         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43317         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43319         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43320         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43321         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43322         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43323         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43327         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43328         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43329         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43331         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43332         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43333         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43334         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43335         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43336         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43337         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43338         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43339         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43340         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43341         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43342         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43344         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43345         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43347         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43348         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43349         * sysdeps/sparc/elf/configure: Regenerated.
43351 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43353         * configure.in (AS, LD): Require binutils 2.20 or later.
43354         * configure: Regenerated.
43355         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43356         as required minimum version.
43357         * INSTALL: Regenerated.
43359         [BZ #2541]
43360         [BZ #4108]
43361         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43362         before squaring exponent.
43363         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43364         bottom long double and 27 bits of top long double before squaring
43365         exponent.
43366         * math/libm-test.inc (erfc_test): Add more tests.
43367         * sysdeps/i386/fpu/libm-test-ulps: Update.
43368         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43371 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43373         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43374         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43375         containing bit-fields.
43376         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43377         * soft-fp/single.h (_FP_UNION_S): Likewise.
43378         * soft-fp/double.h (_FP_UNION_D): Likewise.
43380 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43382         [BZ #13786]
43383         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43384         not include ../strcmp.S.
43385         [USE_AS_STRNCASECMP_L]: Likewise.
43386         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43387         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43388         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43389         (__strncasecmp_l_ia32): Define as alias to
43390         __strncasecmp_l_nonascii.
43392         [BZ #5794]
43393         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43394         * sysdeps/i386/fpu/libm-test-ulps: Update.
43395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43397         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43400 2012-02-29  Jeff Law  <law@redhat.com>
43402         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43403         out of bounds read.
43405 2012-02-29  Marek Polacek  <polacek@redhat.com>
43407         [BZ #13706]
43408         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43409         * elf/Makefile: Add rules to run tst-unused-dep.out.
43411 2012-02-28  David S. Miller  <davem@davemloft.net>
43413         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43414         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43415         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43416         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43417         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43418         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43420 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43422         * math/libm-test.inc (llround_test): Move one test from
43423         lround_test.  Use TEST_f_L in moved test.
43424         (lround_test): Move misplaced test to llround_test.  Add testcase
43425         from bug 2561.
43427 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43429         * sysdeps/x86_64/fpu/e_expf.S: New file.
43430         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43432 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43434         [BZ #13637]
43435         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43436         of remain_len that may cause incomplete multi-byte character and
43437         false match.
43438         * posix/bug-regex33.c: New file.
43439         * posix/Makefile (tests): Add bug-regex33.
43441 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43443         * manual/macros.texi: New file.
43444         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43445         * manual/libc.texinfo: Include macros.texi.
43446         * manual/creatute.texi: Likewise.
43447         * manual/install.texi: Likewise.
43448         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43449         @glibcadj{} in references to the GNU C Library.
43450         * manual/charset.texi: Likewise.
43451         * manual/conf.texi: Likewise.
43452         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43453         when not using those macros.
43454         * manual/creature.texi: Likewise.
43455         * manual/crypt.texi: Likewise.
43456         * manual/errno.texi: Likewise.
43457         * manual/filesys.texi: Likewise.
43458         * manual/header.texi: Likewise.
43459         * manual/install.texi: Likewise.
43460         * manual/intro.texi: Likewise.
43461         * manual/io.texi: Likewise.
43462         * manual/job.texi: Likewise.
43463         * manual/lang.texi: Likewise.
43464         * manual/libc.texiinfo: Likewise.
43465         * manual/llio.texi: Likewise.
43466         * manual/locale.texi: Likewise.
43467         * manual/maint.texi: Likewise.
43468         * manual/math.texi: Likewise.
43469         * manual/memory.texi: Likewise.
43470         * manual/message.texi: Likewise.
43471         * manual/nss.texi: Likewise.
43472         * manual/pattern.texi: Likewise.
43473         * manual/process.texi: Likewise.
43474         * manual/resource.texi: Likewise.
43475         * manual/search.texi: Likewise.
43476         * manual/setjmp.texi: Likewise.
43477         * manual/signal.texi: Likewise.
43478         * manual/socket.texi: Likewise.
43479         * manual/startup.texi: Likewise.
43480         * manual/stdio.texi: Likewise.
43481         * manual/string.texi: Likewise.
43482         * manual/sysinfo.texi: Likewise.
43483         * manual/syslog.texi: Likewise.
43484         * manual/terminal.texi: Likewise.
43485         * manual/time.texi: Likewise.
43486         * manual/users.texi: Likewise.
43487         * INSTALL: Regenerated.
43488         * NOTES: Regenerated.
43489         * sysdeps/gnu/errlist.c: Regenerated.
43491 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43493         * include/dirent.h: Include <dirstream.h> before
43494         <dirent/dirent.h>.
43496 2012-02-28  David S. Miller  <davem@davemloft.net>
43498         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43499         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43500         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43501         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43503 2012-02-27  David S. Miller  <davem@davemloft.net>
43505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43507         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43508         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43511         frame pointer instead of stack pointer relative arg slot.
43512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43513         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43514         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43516 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43518         [BZ #3992]
43519         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43521 2012-02-27  David S. Miller  <davem@davemloft.net>
43523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43527         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43528         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43529         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43530         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43532 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43534         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43535         later.  Allow versions 5-9.
43536         * configure: Regenerated.
43537         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43538         required minimum version and 4.6 as recommended version.  Do not
43539         mention bugs in GCC 2.7 and 2.8.
43540         * INSTALL: Regenerated.
43542 2012-02-27  David S. Miller  <davem@davemloft.net>
43544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43548         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43549         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43550         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43551         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43553         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43554         manipulate bits before adding and subtracting TWO112[sx].
43555         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43557 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43559         [BZ #13775]
43560         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43561         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43562         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43563         being in POSIX, because they are in 1003.1-2008.
43565         * rt/tst-aio.c: Include <fcntl.h>.
43566         * rt/tst-aio7.c: Likewise.
43567         * rt/tst-aio64.c: Likewise.
43569         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43571 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43573         * manual/install.texi (--with-headers): Describe headers as
43574         interface headers, not private headers.
43575         (Specific advice for GNU/Linux systems): Describe use of headers
43576         from "make headers_install", not private headers from older
43577         kernels.
43578         * INSTALL: Regenerated.
43579         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43580         Change to 2.6.19.
43581         * sysdeps/unix/sysv/linux/configure: Regenerated.
43583         * manual/llio.texi (fclean): Remove documentation.
43585         * manual/Makefile (libc-texi-generated): New variable.  Include
43586         version.texi.
43587         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43588         $(libc-texi-generated), not duplicated list of files.
43589         (version.texi, stamp-version): New rules.
43590         (realclean): Remove $(libc-texi-generated), not individual files
43591         from that list.  Do not remove dir-add.texinfo.
43592         * manual/libc.texinfo: Comment out uses of edition numbers and
43593         references to printed manual.  Remove last-updated dates.
43594         (EDITION): Comment out.
43595         (ISBN): Likewise.
43596         (VERSION, UPDATED): Remove.
43597         (version.texi): Include.
43599 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43601         * sysdeps/posix/spawni.c: Include <signal.h>.
43602         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43603         * sysdeps/pthread/aio_fsync.c: Likewise.
43605 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43607         * conform/Makefile (tests): Run only when not cross-compiling and
43608         when fast-check is not defined.
43610         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43611         * conform/data/limits.h-data: Fixes for POSIX2008.
43612         * conform/run-conformtest.sh: Run all tests.
43613         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43614         headers.
43615         * include/bits/dlfcn.h: Likewise.
43616         * include/langinfo.h: Likewise.
43617         * include/monetary.h: Likewise.
43618         * include/sys/poll.h: Likewise.
43620         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43621         for __USE_GNU.
43622         * posix/spawn.h: Define __need_sigset_t.
43623         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43624         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43625         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43626         to get sigevent_t only.
43627         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43628         only for __USE_GNU.
43629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43630         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43631         process_vm_writev only for __USE_GNU.
43632         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43634         * conform/Makefile: For now ignore errors from run-conformtest.
43635         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43636         POSIX to avoid namespace pollution.  Don't prepend headers.
43637         * conform/data/aio.h-data: Fixes for POSIX testing.
43638         * conform/data/fcntl.h-data: Likewise.
43639         * conform/data/glob.h-data: Likewise.
43640         * conform/data/grp.h-data: Likewise.
43641         * conform/data/pthread.h-data: Likewise.
43642         * conform/data/pwd.h-data: Likewise.
43643         * conform/data/signal.h-data: Likewise.
43644         * conform/data/spawn.h-data: Likewise.
43645         * conform/data/stdio.h-data: Likewise.
43646         * conform/data/stdlib.h-data: Likewise.
43647         * conform/data/stropts.h-data: Likewise.
43648         * conform/data/sys/mman.h-data: Likewise.
43649         * conform/data/sys/stat.h-data: Likewise.
43650         * conform/data/sys/types.h-data: Likewise.
43651         * conform/data/sys/wait.h-data: Likewise.
43652         * conform/data/time.h-data: Likewise.
43653         * conform/data/unistd.h-data: Likewise.
43654         * conform/data/utime.h-data: Likewise.
43656         * io/sys/stat.h: fchmod was always in POSIX.
43657         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43658         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43659         * rt/aio.h: Define __need_timespec before including <time.h>.
43660         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43661         struct.  Add forward declaration of pthread_attr_t and use it in
43662         sigevent.
43663         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43665         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43666         always remove CLK_TCK definition.
43668 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43670         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43672 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43674         * conform/run-conformtest.sh: New file.
43675         * conform/Makefile: Run run-conformtest for tests.
43676         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43677         support.
43679         * conform/data/uchar.h-data: New file.
43680         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43681         * conform/data/arpa/inet.h-data: Likewise.
43682         * conform/data/assert.h-data: Likewise.
43683         * conform/data/complex.h-data: Likewise.
43684         * conform/data/cpio.h-data: Likewise.
43685         * conform/data/ctype.h-data: Likewise.
43686         * conform/data/dirent.h-data: Likewise.
43687         * conform/data/dlfcn.h-data: Likewise.
43688         * conform/data/errno.h-data: Likewise.
43689         * conform/data/fcntl.h-data: Likewise.
43690         * conform/data/float.h-data: Likewise.
43691         * conform/data/fmtmsg.h-data: Likewise.
43692         * conform/data/fnmatch.h-data: Likewise.
43693         * conform/data/ftw.h-data: Likewise.
43694         * conform/data/glob.h-data: Likewise.
43695         * conform/data/grp.h-data: Likewise.
43696         * conform/data/iconv.h-data: Likewise.
43697         * conform/data/inttypes.h-data: Likewise.
43698         * conform/data/langinfo.h-data: Likewise.
43699         * conform/data/libgen.h-data: Likewise.
43700         * conform/data/limits.h-data: Likewise.
43701         * conform/data/locale.h-data: Likewise.
43702         * conform/data/math.h-data: Likewise.
43703         * conform/data/monetary.h-data: Likewise.
43704         * conform/data/mqueue.h-data: Likewise.
43705         * conform/data/ndbm.h-data: Likewise.
43706         * conform/data/net/if.h-data: Likewise.
43707         * conform/data/netdb.h-data: Likewise.
43708         * conform/data/netinet/in.h-data: Likewise.
43709         * conform/data/nl_types.h-data: Likewise.
43710         * conform/data/poll.h-data: Likewise.
43711         * conform/data/pthread.h-data: Likewise.
43712         * conform/data/pwd.h-data: Likewise.
43713         * conform/data/regex.h-data: Likewise.
43714         * conform/data/sched.h-data: Likewise.
43715         * conform/data/search.h-data: Likewise.
43716         * conform/data/semaphore.h-data: Likewise.
43717         * conform/data/setjmp.h-data: Likewise.
43718         * conform/data/signal.h-data: Likewise.
43719         * conform/data/spawn.h-data: Likewise.
43720         * conform/data/stdarg.h-data: Likewise.
43721         * conform/data/stdio.h-data: Likewise.
43722         * conform/data/stdlib.h-data: Likewise.
43723         * conform/data/string.h-data: Likewise.
43724         * conform/data/strings.h-data: Likewise.
43725         * conform/data/stropts.h-data: Likewise.
43726         * conform/data/sys/ipc.h-data: Likewise.
43727         * conform/data/sys/mman.h-data: Likewise.
43728         * conform/data/sys/msg.h-data: Likewise.
43729         * conform/data/sys/resource.h-data: Likewise.
43730         * conform/data/sys/select.h-data: Likewise.
43731         * conform/data/sys/sem.h-data: Likewise.
43732         * conform/data/sys/shm.h-data: Likewise.
43733         * conform/data/sys/socket.h-data: Likewise.
43734         * conform/data/sys/stat.h-data: Likewise.
43735         * conform/data/sys/statvfs.h-data: Likewise.
43736         * conform/data/sys/time.h-data: Likewise.
43737         * conform/data/sys/timeb.h-data: Likewise.
43738         * conform/data/sys/times.h-data: Likewise.
43739         * conform/data/sys/types.h-data: Likewise.
43740         * conform/data/sys/uio.h-data: Likewise.
43741         * conform/data/sys/un.h-data: Likewise.
43742         * conform/data/sys/utsname.h-data: Likewise.
43743         * conform/data/sys/wait.h-data: Likewise.
43744         * conform/data/syslog.h-data: Likewise.
43745         * conform/data/tar.h-data: Likewise.
43746         * conform/data/termios.h-data: Likewise.
43747         * conform/data/utime.h-data: Likewise.
43748         * conform/data/utmpx.h-data: Likewise.
43749         * conform/data/varargs.h-data: Likewise.
43750         * conform/data/wchar.h-data: Likewise.
43751         * conform/data/wctype.h-data: Likewise.
43752         * conform/data/wordexp.h-data: Likewise.
43754         * include/stropts.h: New file.
43755         * include/uchar.h: New file.
43756         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43757         * include/assert.h: Likewise.
43758         * include/ctype.h: Likewise.
43759         * include/dirent.h: Likewise.
43760         * include/dlfcn.h: Likewise.
43761         * include/fcntl.h: Likewise.
43762         * include/fnmatch.h: Likewise.
43763         * include/glob.h: Likewise.
43764         * include/grp.h: Likewise.
43765         * include/libio.h: Likewise.
43766         * include/locale.h: Likewise.
43767         * include/math.h: Likewise.
43768         * include/net/if.h: Likewise.
43769         * include/netdb.h: Likewise.
43770         * include/netinet/in.h: Likewise.
43771         * include/pthread.h: Likewise.
43772         * include/pwd.h: Likewise.
43773         * include/regex.h: Likewise.
43774         * include/sched.h: Likewise.
43775         * include/search.h: Likewise.
43776         * include/setjmp.h: Likewise.
43777         * include/signal.h: Likewise.
43778         * include/stdio.h: Likewise.
43779         * include/stdlib.h: Likewise.
43780         * include/string.h: Likewise.
43781         * include/sys/cdefs.h: Likewise.
43782         * include/sys/mman.h: Likewise.
43783         * include/sys/msg.h: Likewise.
43784         * include/sys/resource.h: Likewise.
43785         * include/sys/select.h: Likewise.
43786         * include/sys/socket.h: Likewise.
43787         * include/sys/stat.h: Likewise.
43788         * include/sys/statvfs.h: Likewise.
43789         * include/sys/time.h: Likewise.
43790         * include/sys/times.h: Likewise.
43791         * include/sys/uio.h: Likewise.
43792         * include/sys/utsname.h: Likewise.
43793         * include/sys/wait.h: Likewise.
43794         * include/termios.h: Likewise.
43795         * include/time.h: Likewise.
43796         * include/ulimit.h: Likewise.
43797         * include/unistd.h: Likewise.
43798         * include/utime.h: Likewise.
43799         * include/wchar.h: Likewise.
43800         * include/wctype.h: Likewise.
43801         * include/wordexp.h: Likewise.
43803         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43805         * time/time.h: TIME_UTC must be a macro.
43806         Make timespec_get available for ISO C11 only as well.
43808 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43810         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43811         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43813 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43815         * configure.in: Use -o not -a in test for unsupported multi-arch.
43817 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43819         * manual/texinfo.tex: Update to version 2012-01-19.16.
43821 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43823         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43825 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43827         [BZ #13738]
43828         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43829         * manual/fdl-1.3.texi: New file.
43830         * manual/fdl-1.1.texi: File removed.
43832         [BZ #13738]
43833         * manual/libc.texinfo (FDL_VERSION): New @set.
43834         Use it for mention of FDL in cover text.
43835         (Documentation License): Use it in @include file name.
43837 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43838             Roland McGrath  <roland@hack.frob.com>
43840         [BZ #5461]
43841         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43842         (not LONG_LONG_MAX and LONG_LONG_MIN.
43843         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43844         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43845         name.
43846         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43848 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43850         [BZ #2547]
43851         [BZ #11365]
43852         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43853         manipulate bits before adding and subtracting TWO23[sx].
43854         * math/libm-test.inc (nearbyint_test): Add more tests.
43856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43858         [BZ #2548]
43859         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43860         bits before adding and subtracting TWO23[sx].
43861         * math/libm-test.inc (rint_test): Add more tests.
43862         (rint_test_tonearest): Likewise.
43863         (rint_test_towardzero): Likewise.
43864         (rint_test_downward): Likewise.
43865         (rint_test_upward: Likewise.
43867 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43869         [BZ #10110]
43870         * include/stdc-predef.h: New file.  Extracted from features.h.
43871         * include/features.h: Include stdc-predef.h.
43872         * Makefile (headers): Add stdc-predef.h.
43873         * CONFORMANCE (Compiler limitations): Update.
43875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43877         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43879 2012-02-21  David S. Miller  <davem@davemloft.net>
43881         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43882         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43884 2012-02-20  David S. Miller  <davem@davemloft.net>
43886         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43887         using a normal save/restore sequence, rather than allocating a
43888         dummy stack frame just to store a frame pointer and restore.
43889         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43891 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43893         * manual/install.texi: Fix stray word in line-wrapped comment.
43895 2012-02-20  David S. Miller  <davem@davemloft.net>
43897         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43898         both binutils and gcc support GOTDATA.
43900         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43901         "rd %pc" in the PIC register setup sequences.
43903         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43904         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43905         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43906         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43907         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43908         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43909         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43910         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43912         (SYSCALL_ERROR_HANDLER): Likewise.
43913         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43914         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43916         (SYSCALL_ERROR_HANDLER): Likewise.
43918         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43919         (HAVE_GCC_GOTDATA): New.
43920         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43921         relocation support in both binutils and gcc.
43922         * sysdeps/sparc/elf/configure: Regenerate.
43924         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43925         * sysdeps/sparc/sparc32/elf/configure: Delete.
43926         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43927         * sysdeps/sparc/sparc64/elf/configure: Delete.
43928         * sysdeps/sparc/elf/configure.in: New file.
43929         * sysdeps/sparc/elf/configure: Generate.
43931         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43932         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43933         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43934         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43935         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43937 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43939         * manual/install.texi: Do not mention specific glibc version
43940         numbers.
43941         * manual/libc.texinfo (VERSION, UPDATED): Update.
43942         (@copying): Use @copyright{} and range of years.
43944 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43946         [BZ #13695]
43947         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43948         [crti.S not in sysdirs] (generated): Do not append.
43949         [crti.S not in sysdirs] (omit-deps): Likewise.
43950         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43951         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43952         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43953         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43954         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43955         Likewise.
43956         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43957         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43958         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43959         * csu/defs.awk: Remove file.
43960         * sysdeps/generic/initfini.c: Likewise.
43961         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43962         variable.
43963         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43964         Likewise.
43966 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43968         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43969         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43970         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43971         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43972         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43973         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43974         <bits/epoll.h>.
43975         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43976         (__EPOLL_PACKED): Define to empty if not defined by
43977         <bits/epoll.h>.
43978         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43980         bits/epoll.h.
43982 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43984         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43985         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43986         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43987         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43988         <bits/timerfd.h>.
43989         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43991         bits/timerfd.h.
43993 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43995         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43996         in C locale.
43997         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43998         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43999         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44002 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44004         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44005         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44007 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44009         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44010         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44011         defined.
44012         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44013         Likewise.
44014         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44015         entry for 2.16.
44017 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44019         * math/w_acos.c: Use non-signaling floating-point comparisons.
44020         * math/w_acosf.c: Likewise.
44021         * math/w_acosh.c: Likewise.
44022         * math/w_acoshf.c: Likewise.
44023         * math/w_acoshl.c: Likewise.
44024         * math/w_acosl.c: Likewise.
44025         * math/w_asin.c: Likewise.
44026         * math/w_asinf.c: Likewise.
44027         * math/w_asinl.c: Likewise.
44028         * math/w_atanh.c: Likewise.
44029         * math/w_atanhf.c: Likewise.
44030         * math/w_atanhl.c: Likewise.
44031         * math/w_exp2.c: Likewise.
44032         * math/w_exp2f.c: Likewise.
44033         * math/w_exp2l.c: Likewise.
44034         * math/w_j0.c: Likewise.
44035         * math/w_j0f.c: Likewise.
44036         * math/w_j0l.c: Likewise.
44037         * math/w_j1.c: Likewise.
44038         * math/w_j1f.c: Likewise.
44039         * math/w_j1l.c: Likewise.
44040         * math/w_jn.c: Likewise.
44041         * math/w_jnf.c: Likewise.
44042         * math/w_log.c: Likewise.
44043         * math/w_log10.c: Likewise.
44044         * math/w_log10f.c: Likewise.
44045         * math/w_log10l.c: Likewise.
44046         * math/w_log2.c: Likewise.
44047         * math/w_log2f.c: Likewise.
44048         * math/w_log2l.c: Likewise.
44049         * math/w_logf.c: Likewise.
44050         * math/w_logl.c: Likewise.
44051         * math/w_sqrt.c: Likewise.
44052         * math/w_sqrtf.c: Likewise.
44053         * math/w_sqrtl.c: Likewise.
44054         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44055         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44056         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44057         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44058         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44060 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44062         [BZ #9739]
44063         * manual/string.texi (strnlen): Use correct parameter name in
44064         equivalent expression.
44066 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44068         [BZ #11174]
44069         * manual/users.texi (seteuid): Consistently use neweuid for
44070         argument name.
44072 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44074         [BZ #13704]
44075         * manual/nss.texi (Services in the NSS configuration): Correct
44076         list of services in example configuration file.
44078 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44080         [BZ #11322]
44081         * manual/arith.texi: Remove statements about negative zero
44082         behaving identically to zero.
44084 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44086         [BZ #5993]
44087         * manual/install.texi: Do not document upgrading from libc5.
44089 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44091         [BZ #4596]
44092         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44094 2012-02-18  David S. Miller  <davem@davemloft.net>
44096         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44097         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44098         %o7 across the call.
44099         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44100         instead.
44101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44102         SETUP_PIC_REG_LEAF.
44103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44104         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44105         * sysdeps/sparc/crtn.S: Likewise.
44107 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44109         * aout/Makefile: Remove.
44111 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44113         [BZ #13058]
44114         * manual/examples/argp-ex1.c (main): Format definition in GNU
44115         style.
44116         * manual/examples/argp-ex2.c (main): Likewise.
44117         * manual/examples/argp-ex3.c (main): Likewise.
44118         * manual/examples/argp-ex4.c (main): Likewise.
44119         * manual/examples/longopt.c (main): Use new-style prototype
44120         definition.
44121         * manual/examples/strncat.c (main): Specify return type and use
44122         (void) for arguments.
44123         * manual/examples/subopt.c (main): Use char **argv argument.
44125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44127         [BZ #5077]
44128         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44129         rounding modes.
44131 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44133         [BZ #6907]
44134         * manual/string.texi (strchr): Change when strchrnul is
44135         recommended.
44137 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44139         [BZ #174]
44140         * manual/locale.texi (setlocale): Document LOCPATH.
44142 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44144         [BZ #10210]
44145         * manual/process.texi (execle): Move @dots{} before last argument.
44147 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44149         [BZ #12047]
44150         * manual/charset.texi (Generic Charset Conversion): Fix typo
44151         (LC_TYPE -> LC_CTYPE).
44153 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44155         [BZ #5805]
44156         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44157         (scalbnf): Likewise.
44158         (scalbnl): Likewise.
44159         (scalbln): Likewise.
44160         (scalblnf): Likewise.
44161         (scalblnl): Likewise.
44162         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44163         (vwarnx): Likewise.
44164         (verr): Likewise.
44165         (verrx): Likewise.
44166         * manual/filesys.texi (telldir): Use braces around return type.
44167         * manual/llio.texi (mmap): Add space after comma.
44168         (mmap64): Likewise.
44169         * manual/math.texi (jn): Use @var{} on parameter names.
44170         (jnf): Likewise.
44171         (jnl): Likewise.
44172         (yn): Likewise.
44173         (ynf): Likewise.
44174         (ynl): Likewise.
44175         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44176         line.
44177         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44178         "...".
44179         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44180         (sched_get_priority_max): Likewise.
44181         * manual/signal.texi (sigvec): Add space after comma.
44182         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44183         names.
44184         (if_indextoname): Likewise.
44185         (if_freenameindex): Likewise.
44186         (sendto): Use ',' instead of '.' in prototype.
44187         * manual/startup.texi (syscall): Use @dots{} instead of literal
44188         "...".
44189         * manual/stdio.texi (__fpending): Separate initial words of
44190         paragraph from @deftypefun line.
44191         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44192         "...".
44193         (vsyslog): Use @var{} on parameter names.
44194         * manual/terminal.texi (stty): Use @var{} on parameter names.
44195         * manual/users.texi (getutmp): Use @var{} on parameter names.
44196         (getutmpx): Likewise.
44198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44200         [BZ #6884]
44201         * manual/stdio.texi (fopen): Fix typos in description of
44202         ",ccs=STRING".
44204 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44206         [BZ #4026]
44207         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44208         get clock_id definition.
44210 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44212         [BZ #4822]
44213         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44214         (madvise): Cast every argument to void on its own.
44216 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44218         [BZ #9902]
44219         * manual/startup.texi (Exit Status): Fix typo.
44221 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44223         [BZ #10140]
44224         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44225         * manual/examples/argp-ex2.c: Likewise.
44226         * manual/examples/argp-ex3.c: Likewise.
44228 2012-02-16  Richard Henderson  <rth@redhat.com>
44230         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44231         * sysdeps/s390/s390-32/initfini.c: Remove.
44232         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44233         * sysdeps/s390/s390-64/initfini.c: Remove.
44235 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44237         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44238         compiler output for sysdeps/generic/initfini.c.
44239         * sysdeps/sh/elf/initfini.c: Remove file.
44241 2012-02-16  David S. Miller  <davem@davemloft.net>
44243         [BZ #11494]
44244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44246         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44247         * sysdeps/sparc/crti.S: New file.
44248         * sysdeps/sparc/crtn.S: New file.
44249         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44250         * sysdeps/sparc/sparc64/Makefile: Likewise.
44252 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44254         [BZ #3335]
44255         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44257 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44259         [BZ #4822]
44260         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44262         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44263         (write, read, close): Likewise.
44264         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44266 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44268         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44269         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44270         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44271         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44272         <bits/signalfd.h>.
44273         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44275         bits/signalfd.h.
44277 2012-02-14  Marek Polacek  <polacek@redhat.com>
44279         * sysdeps/x86_64/crti.S: New file.
44280         * sysdeps/x86_64/crtn.S: New file.
44281         * sysdeps/x86_64/elf/initfini.c: Remove file.
44283 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44285         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44286         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44287         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44288         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44289         <bits/inotify.h>.
44290         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44292         bits/inotify.h.
44294 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44296         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44297         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44298         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44299         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44300         <bits/eventfd.h>.
44301         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44303         bits/eventfd.h.
44305 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44307         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44308         __feraiseexcept instead of feraiseexcept.
44310         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44311         nanosleep invocations.
44312         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44313         strings, and add error checking for a nanosleep invocations.
44315 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44317         Replace FSF snail mail address with URLs, as per GNU coding standards.
44318         Most of the snail mail addresses were wrong anyway, and omitting
44319         them makes the source code easier to maintain.  Almost all of the
44320         changes are to license notices and to locale LC_IDENTIFICATION
44321         addresses, except for this one:
44322         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44323         not its snail mail address.
44325 2012-02-09  Richard Henderson  <rth@twiddle.net>
44327         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44328         of kernel-features.h.
44330         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44332 2012-02-08  Marek Polacek  <polacek@redhat.com>
44334         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44335         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44336         * sysdeps/gnu/_G_config.h: Likewise.
44337         * sysdeps/generic/_G_config.h: Likewise.
44339 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44341         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44342         tests.
44343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44345         * sysdeps/powerpc/powerpc32/crti.S: New file.
44346         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44347         * sysdeps/powerpc/powerpc64/crti.S: New file.
44348         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44350         * Makeconfig (have-initfini): Don't set.
44351         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44352         * configure.in (nopic_initfini): Don't substitute.
44353         * config.h.in (HAVE_INITFINI): Don't #undef.
44354         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44355         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44357 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44359         Support crti.S and crtn.S provided directly by architectures.
44360         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44361         [crti.S in sysdirs] (omit-deps): Likewise.
44362         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44363         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44364         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44365         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44366         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44367         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44368         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44369         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44370         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44371         compiler output for sysdeps/generic/initfini.c.
44372         * sysdeps/i386/elf/Makefile: Remove file.
44373         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44375 2012-02-07  Marek Polacek  <polacek@redhat.com>
44377         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44378         * sysdeps/gnu/_G_config.h: Likewise.
44379         * sysdeps/mach/hurd/_G_config.h: Likewise.
44381 2012-02-07  Marek Polacek  <polacek@redhat.com>
44383         * math/Makefile (tests): Add tst-CMPLX2.
44384         * math/tst-CMPLX2.c: New file.
44386 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44388         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44390         * math/libm-test.inc (jn_test): Add missing L suffix.
44392 2012-02-06  Marek Polacek  <polacek@redhat.com>
44394         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44395         * sysdeps/i386/fpu/e_powf.S: Likewise.
44396         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44397         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44398         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44399         * sysdeps/i386/fpu/e_pow.S: Likewise.
44400         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44401         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44402         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44403         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44404         * sysdeps/i386/fpu/e_log2.S: Likewise.
44405         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44406         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44407         * sysdeps/i386/fpu/e_powl.S: Likewise.
44408         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44409         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44410         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44411         * sysdeps/i386/fpu/e_logl.S: Likewise.
44412         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44413         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44414         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44415         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44416         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44417         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44418         * sysdeps/i386/fpu/e_log.S: Likewise.
44419         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44420         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44421         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44422         * sysdeps/i386/fpu/e_logf.S: Likewise.
44423         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44424         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44425         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44426         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44427         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44428         * sysdeps/i386/fpu/e_log10.S: Likewise.
44429         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44430         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44431         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44432         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44433         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44434         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44435         * sysdeps/i386/asm-syntax.h: Likewise.
44436         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44437         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44438         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44439         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44440         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44441         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44442         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44443         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44444         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44445         * sysdeps/powerpc/sysdep.h: Likewise.
44446         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44447         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44449 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44451         [BZ #411]
44452         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44454 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44456         * sysdeps/i386/sysdep.h: Include <features.h>.
44457         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44458         version.
44460 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44462         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44463         Define.
44464         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44465         LOAD_PIC_REG_STR.
44467 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44469         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44470         (SETUP_PIC_REG): Use GET_PC_THUNK.
44471         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44472         macro.
44474 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44476         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44477         for non-PIC compilation.
44478         (SETUP_PIC_REG): Add .p2align directive.
44479         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44480         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44481         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44482         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44483         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44484         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44485         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44486         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44487         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44488         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44489         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44490         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44491         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44492         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44493         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44494         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44495         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44496         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44497         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44498         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44499         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44500         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44501         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44502         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44503         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44504         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44505         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44506         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44507         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44508         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44509         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44510         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44511         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44512         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44513         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44514         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44515         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44516         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44517         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44518         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44519         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44521 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44523         * math/tst-CMPLX.c: Include <stdio.h>.
44525 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44527         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44528         float.
44529         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44530         * sysdeps/sparc/bits/mathdef.h: Likewise.
44532 2012-01-31  Marek Polacek  <polacek@redhat.com>
44534         * libio/libio.h: Don't define _PARAMS.
44535         * locale/programs/config.h: Don't define PARAMS.
44536         * stdlib/strtol_l.c: Likewise.
44537         (__strtol_l): Remove PARAMS from the prototype.
44539 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44541         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44542         names.  Just use the correct names.  Remove unnecessary wrapper
44543         functions.
44544         * malloc/arena.c: Likewise.
44545         * malloc/hooks.c: Likewise.
44547         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44548         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44549         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44551 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44553         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44554         into tail calls.
44555         (update_get_addr): New function.
44556         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44557         GET_ADDR_MODULE parameter.
44559 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44561         * crypt/cert.c: Remove __STDC__ conditionals.
44562         * crypt/crypt-entry.c: Likewise.
44563         * crypt/crypt_util.c: Likewise.
44564         * libio/filedoalloc.c: Likewise.
44565         * libio/fileops.c: Likewise.
44566         * libio/genops.c: Likewise.
44567         * libio/iofclose.c: Likewise.
44568         * libio/iofdopen.c: Likewise.
44569         * libio/iofopen.c: Likewise.
44570         * libio/iofopen64.c: Likewise.
44571         * libio/iogetdelim.c: Likewise.
44572         * libio/iopopen.c: Likewise.
44573         * libio/obprintf.c: Likewise.
44574         * libio/oldfileops.c: Likewise.
44575         * libio/oldiofclose.c: Likewise.
44576         * libio/oldiofdopen.c: Likewise.
44577         * libio/oldiofopen.c: Likewise.
44578         * libio/oldiopopen.c: Likewise.
44579         * libio/wfiledoalloc.c: Likewise.
44580         * libio/wgenops.c: Likewise.
44581         * locale/programs/xmalloc.c: Likewise.
44582         * misc/syslog.c: Likewise.
44583         * stdio-common/xbug.c: Likewise.
44584         * string/memchr.c: Likewise.
44585         * string/memcmp.c: Likewise.
44586         * string/memrchr.c: Likewise.
44587         * string/rawmemchr.c: Likewise.
44588         * sysdeps/posix/getcwd.c: Likewise.
44589         * time/strftime_l.c: Likewise.
44591 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44593         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44594         * config.make.in (config-cflags-sse2avx): Define.
44595         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44596         Fix typo.
44598 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44600         * scripts/config.guess: Update from upstream config git repository.
44601         * scripts/config.sub: Likewise.
44603 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44605         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44606         (EM_NUM): Update.
44607         (R_TILEPRO_*, R_TILEGX_*): New macros.
44609         * scripts/firstversions.awk: Fix bug in version range handling.
44611         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44613         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44615         * include/sys/epoll.h: New file.
44616         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44617         libc_hidden_def.
44619 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44621         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44622         Avoid unnecessary __WORDSIZE == 64 test.
44623         (fmaxf): Use VEX format if possible.
44624         (fmax): Likewise.
44625         (fminf): Likewise.
44626         (fmin): Likewise.
44628         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44629         * math/math_private.h: Remove libc_fegetround* and
44630         libc_fesetround*.
44631         * sysdeps/i386/configure.in: Check for -msse2avx.
44632         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44633         also if SSE2AVX is defined.
44634         Remove libc_fegetround* and libc_fesetround*.
44635         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44636         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44637         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44638         of HAS_YMM_USABLE.
44639         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44640         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44641         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44642         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44643         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44645         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44647 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44649         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44650         size is not set.
44651         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44653 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44655         [BZ #13618]
44656         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44657         relocation.
44658         * Makeconfig (libm): Define.
44659         * elf/Makefile: Add rules to build and run tst-relsort1.
44660         * elf/tst-relsort1.c: New file.
44661         * elf/tst-relsort1mod1.c: New file.
44662         * elf/tst-relsort1mod2.c: New file.
44664 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44666         * math/s_ldexp.c: Remove __STDC__ conditionals.
44667         * math/s_ldexpf.c: Likewise.
44668         * math/s_ldexpl.c: Likewise.
44669         * math/s_nextafter.c: Likewise.
44670         * math/s_nexttowardf.c: Likewise.
44671         * math/s_significand.c: Likewise.
44672         * math/s_significandf.c: Likewise.
44673         * math/s_significandl.c: Likewise.
44674         * math/w_jnl.c: Likewise.
44675         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44676         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44677         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44678         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44679         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44687         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44692         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44694         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44695         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44696         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44697         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44699         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44700         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44701         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44702         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44703         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44704         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44705         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44706         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44707         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44708         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44709         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44710         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44711         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44712         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44713         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44714         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44715         * sysdeps/ieee754/k_standard.c: Likewise.
44716         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44717         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44718         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44719         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44720         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44721         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44722         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44723         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44728         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44729         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44730         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44731         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44734         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44737         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44738         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44739         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44740         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44741         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44745         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44746         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44747         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44748         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44749         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44751         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44755         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44756         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44758         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44759         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44760         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44761         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44762         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44763         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44773         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44775         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44776         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44777         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44778         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44779         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44781         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44782         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44783         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44784         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44788         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44790         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44791         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44793         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44795         * sysdeps/ieee754/s_matherr.c: Likewise.
44796         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44797         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44798         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44799         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44801 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44803         * crypt/md5.h: Remove __STDC__ conditionals.
44804         * libio/libioP.h: Likewise.
44805         * locale/programs/config.h: Likewise.
44806         * sysdeps/generic/sysdep.h: Likewise.
44807         * sysdeps/i386/asm-syntax.h: Likewise.
44808         * sysdeps/s390/asm-syntax.h: Likewise.
44809         * sysdeps/unix/sysdep.h: Likewise.
44810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44813 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44815         * libio/libio.h: Remove __STDC__ conditionals.
44816         * malloc/obstack.h: Likewise.
44817         * math/complex.h: Likewise.
44818         * math/math.h: Likewise.
44819         * sysdeps/generic/_G_config.h: Likewise.
44820         * sysdeps/gnu/_G_config.h: Likewise.
44821         * sysdeps/mach/hurd/_G_config.h: Likewise.
44822         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44823         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44824         * sysdeps/sparc/bits/mathdef.h: Likewise.
44826 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44828         [BZ #13583]
44829         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44830         Clean up HAS_* macros.
44831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44832         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44833         possible.
44834         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44835         HAS_AVX.
44836         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44837         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44838         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44839         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44840         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44842 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44844         * elf/tst-unique3.cc (gets): Remove declaration.
44845         * elf/tst-unique3lib.cc (gets): Likewise.
44846         * elf/tst-unique3lib2.cc (gets): Likewise.
44847         * elf/tst-unique4.cc (gets): Likewise.
44849 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44851         * include/stdio.h: Add C++ protection.  Add gets declarations and
44852         definitions.
44853         * debug/tst-chk1.c: Don't declare gets here.
44854         * stdio-common/tst-gets.c: Likewise.
44856 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44858         * posix/glob: Remove directory.
44860 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44862         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44864 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44866         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44867         of the non-standard EPFNOSUPPORT.
44869 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44871         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44872         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44873         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44875 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44877         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44879 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44881         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44882         transient errors.
44883         * nscd/grpcache.c (cache_addgr): Likewise.
44884         * nscd/hstcache.c (cache_addhst): Likewise.
44885         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44886         * nscd/pwdcache.c (cache_addpw): Likewise.
44887         * nscd/servicescache.c (cache_addserv): Likewise.
44889 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44891         * malloc/malloc.c: Various cleanups.
44892         * malloc/hooks.c: Likewise.
44894         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44895         * stdlib/bug-fmtmsg1.c: New file.
44897         * stdlib/fmtmsg.c (init): Add missing unlock.
44898         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44900 2012-01-12  Marek Polacek  <polacek@redhat.com>
44902         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44903         and _GNU_SOURCE.
44905 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44907         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44908         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44909         macro to ensure uniqueness of label name.
44910         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44911         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44913 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44915         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44917         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44918         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44919         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44922 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44924         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44926         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44927         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44928         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44930         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44932         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44933         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44934         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44935         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44937         * math/bits/math-finite.h: Add ldexp support.
44939 2012-01-10  Marek Polacek  <polacek@redhat.com>
44941         * locale/programs/localedef.h (show_archive_content): Add noreturn
44942         attribute.
44944 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44946         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44948 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44950         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44952         * io/Makefile (headers): Add bits/poll2.h.
44954 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44957         typo #include statement.
44959 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44961         * include/sys/cdefs.h: Define __attribute_alloc_size.
44962         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44963         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44964         * elf/pldd.c: Likewise.
44965         * iconv/iconv_charmap.c: Likewise.
44966         * iconv/iconvconfig.c: Likewise.
44967         * iconv/strtab.c: Likewise.
44968         * locale/programs/locale.c: Likewise.
44969         * locale/programs/localedef.h: Likewise.
44970         * locale/programs/simple-hash.c: Likewise.
44971         * nscd/nscd.h: Likewise.
44972         * nss/makedb.c: Likewise.
44973         * sysdeps/generic/ldconfig.h: Likewise.
44974         * locale/programs/localedef.c: Remove xmalloc prototype.
44975         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44977 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44979         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44980         appropriate.
44982 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44984         * math/Makefile (tests): Add tst-CMPLX.
44985         * math/tst-CMPLX.c: New file.
44987         * math/complex.h (CMPLXL): Fix typo.
44989         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44990         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44991         GLIBC_2.16.
44992         * debug/tst-chk1.c: Add poll and ppoll tests.
44993         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44994         * include/sys/poll.h: Add hidden proto for ppoll.
44995         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44996         * sysdeps/mach/hurd/ppoll.c: Likewise.
44997         * io/ppoll.c: Likewise.
44998         * debug/poll_chk.c: New file.
44999         * debug/ppoll_chk.c: New file.
45000         * include/bits/poll2.h: New file.
45001         * io/bits/poll2.h: New file.
45003         [BZ #1350]
45004         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45006         * configure.in: static is always set to yes.  Remove.
45007         * config.make.in: Don't set build-static.
45008         * Makeconfig: Remove use of build-static.
45009         * dlfcn/Makefile: Likewise.
45010         * elf/Makefile: Likewise.
45011         * math/Makefile: Likewise.
45012         * misc/Makefile: Likewise.
45013         * nptl/Makefile: Likewise.
45014         * sysdeps/mach/hurd/Makefile: Likewise.
45016         * configure.in: PWD_P is not used anymore.
45017         * config.make.in: Remove PWD_P entry.
45019         * configure.in: Remove last remnants of RANLIB.
45020         No need to check for signed size_t anymore.
45021         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45022         and IA-64.
45023         Remove __builtin_expect test because we require at least gcc 3.4.
45024         * aclocal.m4: Likewise.
45026         * wcsmbs/mbrtoc16.c: Implement using towc function.
45027         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45028         * wcsmbs/wcsmbsload.c: Likewise.
45029         * iconv/gconv_simple.c: Likewise.
45030         * iconv/gconv_int.h: Likewise.
45031         * iconv/gconv_builtin.h: Likewise.
45032         * iconv/iconv_prog.c: Remove CHAR16 handling.
45034         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45036         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45038         * configure.in: Remove --with-elf and --enable-bounded options.
45039         Dont set base_machine for ia64.  More non-ELF conditions removed.
45040         Remove testing and setting of leading underscore information.
45041         * config.make.in (build-bounded): Set to no.
45042         * config.h.in: Remove NO_UNDERSCORES entry.
45043         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45044         them.
45045         * csu/start.c: Remove !NO_UNDERSCORE code.
45046         * locale/localeinfo.h: Likewise.
45047         * sysdeps/generic/machine-gmon.h: Likewise.
45048         * sysdeps/generic/sysdep.h: Likewise.
45049         * sysdeps/i386/sysdep.h: Likewise.
45050         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45051         * sysdeps/mach/sysdep.h: Likewise.
45052         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45053         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45054         * sysdeps/sh/sysdep.h: Likewise.
45055         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45056         * sysdeps/unix/i386/sysdep.S: Likewise.
45057         * sysdeps/unix/sparc/start.c: Likewise.
45058         * sysdeps/unix/sparc/sysdep.S: Likewise.
45059         * sysdeps/unix/sparc/sysdep.h: Likewise.
45060         * sysdeps/unix/start.c: Likewise.
45061         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45062         * sysdeps/x86_64/sysdep.h: Likewise.
45064 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45066         [BZ #13553]
45067         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45068         for non-gcc.
45069         * argp/argp-fmtstream.h: Use const instead __const.
45070         * argp/argp.h: Likewise.
45071         * assert/assert.h: Likewise.
45072         * bits/fenv.h: Likewise.
45073         * bits/sched.h: Likewise.
45074         * bits/sigset.h: Likewise.
45075         * bits/sigthread.h: Likewise.
45076         * catgets/nl_types.h: Likewise.
45077         * conform/data/pthread.h-data: Likewise.
45078         * crypt/crypt-private.h: Likewise.
45079         * crypt/crypt.h: Likewise.
45080         * crypt/crypt_util.c: Likewise.
45081         * ctype/ctype.h: Likewise.
45082         * debug/execinfo.h: Likewise.
45083         * debug/mbsnrtowcs_chk.c: Likewise.
45084         * debug/mbsrtowcs_chk.c: Likewise.
45085         * debug/wcsnrtombs_chk.c: Likewise.
45086         * debug/wcsrtombs_chk.c: Likewise.
45087         * debug/wcstombs_chk.c: Likewise.
45088         * dirent/dirent.h: Likewise.
45089         * dlfcn/dlfcn.h: Likewise.
45090         * elf/neededtest4.c: Likewise.
45091         * grp/grp.h: Likewise.
45092         * gshadow/gshadow.h: Likewise.
45093         * iconv/gconv.h: Likewise.
45094         * iconv/gconv_int.h: Likewise.
45095         * iconv/gconv_simple.c: Likewise.
45096         * iconv/iconv.h: Likewise.
45097         * iconv/loop.c: Likewise.
45098         * iconv/skeleton.c: Likewise.
45099         * include/aio.h: Likewise.
45100         * include/aliases.h: Likewise.
45101         * include/argz.h: Likewise.
45102         * include/arpa/inet.h: Likewise.
45103         * include/assert.h: Likewise.
45104         * include/dirent.h: Likewise.
45105         * include/dlfcn.h: Likewise.
45106         * include/execinfo.h: Likewise.
45107         * include/fcntl.h: Likewise.
45108         * include/fenv.h: Likewise.
45109         * include/glob.h: Likewise.
45110         * include/grp.h: Likewise.
45111         * include/libintl.h: Likewise.
45112         * include/mntent.h: Likewise.
45113         * include/netdb.h: Likewise.
45114         * include/pwd.h: Likewise.
45115         * include/rpc/netdb.h: Likewise.
45116         * include/sched.h: Likewise.
45117         * include/search.h: Likewise.
45118         * include/shadow.h: Likewise.
45119         * include/signal.h: Likewise.
45120         * include/stdio.h: Likewise.
45121         * include/stdlib.h: Likewise.
45122         * include/string.h: Likewise.
45123         * include/sys/socket.h: Likewise.
45124         * include/sys/stat.h: Likewise.
45125         * include/sys/statfs.h: Likewise.
45126         * include/sys/statvfs.h: Likewise.
45127         * include/sys/syslog.h: Likewise.
45128         * include/sys/time.h: Likewise.
45129         * include/sys/uio.h: Likewise.
45130         * include/time.h: Likewise.
45131         * include/unistd.h: Likewise.
45132         * include/utmp.h: Likewise.
45133         * include/wchar.h: Likewise.
45134         * include/wctype.h: Likewise.
45135         * inet/aliases.h: Likewise.
45136         * inet/arpa/inet.h: Likewise.
45137         * inet/netinet/ether.h: Likewise.
45138         * inet/netinet/in.h: Likewise.
45139         * intl/libintl.h: Likewise.
45140         * io/bits/fcntl2.h: Likewise.
45141         * io/fcntl.h: Likewise.
45142         * io/ftw.h: Likewise.
45143         * io/sys/poll.h: Likewise.
45144         * io/sys/stat.h: Likewise.
45145         * io/sys/statfs.h: Likewise.
45146         * io/sys/statvfs.h: Likewise.
45147         * io/utime.h: Likewise.
45148         * libio/bits/stdio.h: Likewise.
45149         * libio/bits/stdio2.h: Likewise.
45150         * libio/libio.h: Likewise.
45151         * libio/libioP.h: Likewise.
45152         * libio/stdio.h: Likewise.
45153         * locale/lc-ctype.c: Likewise.
45154         * locale/locale.h: Likewise.
45155         * login/utmp.h: Likewise.
45156         * malloc/arena.c: Likewise.
45157         * malloc/malloc.c: Likewise.
45158         * malloc/malloc.h: Likewise.
45159         * malloc/mcheck.c: Likewise.
45160         * malloc/mtrace.c: Likewise.
45161         * math/bits/mathcalls.h: Likewise.
45162         * math/fenv.h: Likewise.
45163         * math/math_private.h: Likewise.
45164         * misc/bits/error.h: Likewise.
45165         * misc/bits/syslog.h: Likewise.
45166         * misc/err.h: Likewise.
45167         * misc/error.h: Likewise.
45168         * misc/fstab.h: Likewise.
45169         * misc/mntent.h: Likewise.
45170         * misc/regexp.h: Likewise.
45171         * misc/search.h: Likewise.
45172         * misc/sgtty.h: Likewise.
45173         * misc/sys/mman.h: Likewise.
45174         * misc/sys/syslog.h: Likewise.
45175         * misc/sys/uio.h: Likewise.
45176         * misc/sys/xattr.h: Likewise.
45177         * misc/ttyent.h: Likewise.
45178         * nis/rpcsvc/ypclnt.h: Likewise.
45179         * nss/nss.h: Likewise.
45180         * posix/bits/unistd.h: Likewise.
45181         * posix/fnmatch.h: Likewise.
45182         * posix/glob.h: Likewise.
45183         * posix/sched.h: Likewise.
45184         * posix/spawn.h: Likewise.
45185         * posix/sys/wait.h: Likewise.
45186         * posix/unistd.h: Likewise.
45187         * posix/wordexp.h: Likewise.
45188         * pwd/pwd.h: Likewise.
45189         * resolv/netdb.h: Likewise.
45190         * resource/sys/resource.h: Likewise.
45191         * rt/aio.h: Likewise.
45192         * rt/bits/mqueue2.h: Likewise.
45193         * rt/mqueue.h: Likewise.
45194         * shadow/shadow.h: Likewise.
45195         * signal/signal.h: Likewise.
45196         * socket/send.c: Likewise.
45197         * socket/sendto.c: Likewise.
45198         * socket/sys/socket.h: Likewise.
45199         * stdio-common/printf.h: Likewise.
45200         * stdlib/bits/stdlib.h: Likewise.
45201         * stdlib/fmtmsg.h: Likewise.
45202         * stdlib/monetary.h: Likewise.
45203         * stdlib/stdlib.h: Likewise.
45204         * stdlib/ucontext.h: Likewise.
45205         * streams/stropts.h: Likewise.
45206         * string/argz.h: Likewise.
45207         * string/bits/string2.h: Likewise.
45208         * string/string.h: Likewise.
45209         * string/strings.h: Likewise.
45210         * sunrpc/rpc/auth.h: Likewise.
45211         * sunrpc/rpc/auth_des.h: Likewise.
45212         * sunrpc/rpc/clnt.h: Likewise.
45213         * sunrpc/rpc/netdb.h: Likewise.
45214         * sunrpc/rpc/pmap_clnt.h: Likewise.
45215         * sunrpc/rpc/xdr.h: Likewise.
45216         * sysdeps/generic/inttypes.h: Likewise.
45217         * sysdeps/generic/net/if.h: Likewise.
45218         * sysdeps/generic/sys/swap.h: Likewise.
45219         * sysdeps/gnu/net/if.h: Likewise.
45220         * sysdeps/gnu/utmpx.h: Likewise.
45221         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45222         * sysdeps/i386/i486/bits/string.h: Likewise.
45223         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45224         * sysdeps/s390/bits/string.h: Likewise.
45225         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45226         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45227         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45228         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45229         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45230         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45231         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45232         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45233         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45234         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45235         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45236         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45237         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45238         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45239         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45240         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45241         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45242         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45243         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45244         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45245         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45246         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45247         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45248         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45249         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45250         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45251         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45252         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45253         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45254         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45255         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45256         * sysvipc/sys/ipc.h: Likewise.
45257         * sysvipc/sys/msg.h: Likewise.
45258         * sysvipc/sys/sem.h: Likewise.
45259         * sysvipc/sys/shm.h: Likewise.
45260         * termios/termios.h: Likewise.
45261         * time/sys/time.h: Likewise.
45262         * time/time.h: Likewise.
45263         * wcsmbs/bits/wchar2.h: Likewise.
45264         * wcsmbs/uchar.h: Likewise.
45265         * wcsmbs/wchar.h: Likewise.
45266         * wctype/wctype.h: Likewise.
45268         [BZ #13551]
45269         * Makeconfig: Remove all but ELF support including AIX support.
45270         * Makerules: Likewise.
45271         * config.h.in: Likewise.
45272         * config.make.in: Likewise.
45273         * configure: Likewise.
45274         * configure.in: Likewise.
45275         * csu/Makefile: Likewise.
45276         * csu/version.c: Likewise.
45277         * debug/Makefile: Likewise.
45278         * dlfcn/Makefile: Likewise.
45279         * elf/Makefile: Likewise.
45280         * extra-lib.mk: Likewise.
45281         * iconv/Makefile: Likewise.
45282         * include/libc-symbols.h: Likewise.
45283         * include/shlib-compat.h: Likewise.
45284         * resolv/Makefile: Likewise.
45285         * resolv/res_libc.c: Likewise.
45286         * rt/Makefile: Likewise.
45287         * sysdeps/i386/asm-syntax.h: Likewise.
45288         * sysdeps/i386/sysdep.h: Likewise.
45289         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45290         * sysdeps/mach/sysdep.h: Likewise.
45291         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45292         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45293         * sysdeps/s390/asm-syntax.h: Likewise.
45294         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45296         * sysdeps/sh/sysdep.h: Likewise.
45297         * sysdeps/unix/sparc/sysdep.h: Likewise.
45298         * sysdeps/wordsize-32/divdi3.c: Likewise.
45299         * sysdeps/x86_64/sysdep.h: Likewise.
45301         * argp/Versions: Remove _argp_unlock_xxx.
45303         [BZ #13559]
45304         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45305         * abilist/libBrokenLocale.abilist: Likewise.
45306         * abilist/libanl.abilist: Likewise.
45307         * abilist/libc.abilist: Likewise.
45308         * abilist/libcrypt.abilist: Likewise.
45309         * abilist/libdl.abilist: Likewise.
45310         * abilist/libm.abilist: Likewise.
45311         * abilist/libnsl.abilist: Likewise.
45312         * abilist/libpthread.abilist: Likewise.
45313         * abilist/libresolv.abilist: Likewise.
45314         * abilist/librt.abilist: Likewise.
45315         * abilist/libthread_db.abilist: Likewise.
45316         * abilist/libutil.abilist: Likewise.
45317         * abilist/libnss_db.abilist: New file.
45319         * scripts/abilist.awk: Add support for indirect functions.
45321         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45323         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45325         * shlib-versions: Remove entries for ports architectures.
45327         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45328         files in ports.
45329         * elf/stackguard-macros.h: Remove support for IA-64.
45330         * elf/tst-auditmod1.c: Likewise.
45331         * sysdeps/generic/ldsodefs.h: Likewise.
45333         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45334         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45335         configure files.
45337         [BZ #13552]
45338         * configure.in: Remove --enable-omitfp support.
45339         * FAQ.in: Adjust.
45340         * config.make.in: Likewise.
45341         * Makeconfig: Likewise.
45342         * manual/install.texi: Likewise.
45344         In case anyone cares, the IA-64 architecture could move to ports.
45345         * sysdeps/ia64/*: Removed.
45346         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45347         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45349         [BZ #13555]
45350         * configure.in: Remove entries for unsupported architectures.
45352         [BZ #13533]
45353         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45354         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45355         routines.
45356         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45357         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45358         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45359         fall back to using wcrtomb.
45360         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45361         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45362         renaming.
45363         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45364         * wcsmbs/tst-c16c32-1.c: New file.
45366         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45367         local variable.
45369         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45371         * elf/tst-unique3.cc: Add explicit declaration of gets.
45372         * elf/tst-unique3lib.cc: Likewise.
45373         * elf/tst-unique3lib2.cc: Likewise.
45374         * elf/tst-unique4.cc: Likewise.
45376         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45378 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45380         [BZ #13566]
45381         * assert/assert.h (static_assert): Don't define for C++.
45382         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45383         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45385 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45387         * iconv/loop.c (single loop): Fix assertion in storing of
45388         remaining bytes.
45390         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45392 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45394         * posix/getconf.c: Update copyright year.
45395         * nss/getent.c: Likewise.
45396         * nss/makedb.c: Likewise.
45397         * iconv/iconvconfig.c: Likewise.
45398         * iconv/iconv_prog.c: Likewise.
45399         * elf/ldconfig.c: Likewise.
45400         * elf/pldd.c: Likewise.
45401         * elf/sotruss.ksh: Likewise.
45402         * catgets/gencat.c: Likewise.
45403         * csu/version.c: Likewise.
45404         * elf/ldd.bash.in: Likewise.
45405         * elf/sprof.c (print_version): Likewise.
45406         * locale/programs/locale.c: Likewise.
45407         * locale/programs/localedef.c: Likewise.
45408         * login/programs/pt_chown.c: Likewise.
45409         * nscd/nscd.c (print_version): Likewise.
45410         * debug/xtrace.sh: Likewise.
45411         * malloc/memusage.sh: Likewise.
45412         * malloc/mtrace.pl: Likewise.
45413         * debug/catchsegv.sh: Likewise.
45415 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45417         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45418         pure attribute.
45420 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45422         [BZ #13533]
45423         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45424         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45425         transformations.
45426         * iconv/gconv_int.h: Likewise.
45427         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45428         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45429         from libc for GLIBC_2.16.
45430         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45431         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45432         * wcsmbs/uchar.h: Really define mbstate_t.
45433         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45434         * wcsmbs/c16rtomb.c: New file.
45435         * wcsmbs/mbrtoc16.c: New file.
45436         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45437         for C/POSIX locale.
45438         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45439         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45441         * wcsmbs/wchar.h: Add missing __restrict.
45443 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45445         [BZ #13532]
45446         * time/Makefile (routines): Add timespec_get.
45447         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45448         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45449         timespec for ISO C11.
45450         * time/timespec_get.c: New file.
45451         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45452         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45454         [BZ #13531]
45455         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45456         * stdlib/stdlib.h: Declare aligned_alloc.
45457         * Versions.def: Add GLIBC_2.16 for libc.
45458         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45460         [BZ 13527]
45461         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45462         ISO C11.
45464         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45465         code.
45467         [BZ #13528]
45468         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45470         [BZ #13529]
45471         * assert/assert.h (static_assert): Define.
45473         * version.h: Update for 2.16 development version.
45475         [BZ #13526]
45476         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45477         _ISOC11_SOURCE.
45479         * version.h (RELEASE): Bump for 2.15 release.
45480         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45482         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45483         Patch by Marek Polacek <mpolacek@redhat.com>.
45485         * bits/byteswap.h: Protect long long constants with __extension__.
45486         * sysdeps/i386/bits/byteswap.h: Likewise.
45487         * sysdeps/ia64/bits/byteswap.h: Likewise.
45488         * sysdeps/s390/bits/byteswap.h: Likewise.
45489         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45491 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45493         [BZ #13540]
45494         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45495         destination buffer.
45496         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45498 2011-12-23  Marek Polacek  <polacek@redhat.com>
45500         * elf/dl-addr.c (determine_info): Add inline keyword.
45501         * elf/tst-auditmod4b.c (check_avx): Likewise.
45502         * elf/tst-auditmod6b.c (check_avx): Likewise.
45503         * elf/tst-auditmod6c.c (check_avx): Likewise.
45504         * elf/tst-auditmod7b.c (check_avx): Likewise.
45506 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45508         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45509         !__SSE_MATH__.
45511 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45513         [BZ #13540]
45514         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45515         processing for last bytes.
45517 2011-08-06  Bruno Haible  <bruno@clisp.org>
45519         [BZ #13061]
45520         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45521         U+0385, not to U+1FEE.
45523         [BZ #13062]
45524         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45525         entry for U+00A5 U+0301.
45527 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45529         [BZ #13166]
45530         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45531         buffer for the output is too small.
45533         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45534         optimization.
45536         [BZ #13185]
45537         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45538         SSE flags if possible.
45540 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45542         [BZ #13540]
45543         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45544         processing for last bytes.
45546 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45548         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45549         (syscall-list-default-options, syscall-list-default-condition)
45550         (syscall-list-includes): Define.
45551         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45552         list of ABIs and options and #if conditions for each ABI.  Do not
45553         handle common syscalls between ABIs specially.
45554         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45555         Remove.
45556         (syscall-list-variants, syscall-list-32bit-options)
45557         (syscall-list-32bit-condition, syscall-list-64bit-options)
45558         (syscall-list-64bit-condition): Define.
45559         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45560         (syscall-list-variants, syscall-list-32bit-options)
45561         (syscall-list-32bit-condition, syscall-list-64bit-options)
45562         (syscall-list-64bit-condition): Define.
45563         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45564         Remove.
45565         (syscall-list-variants, syscall-list-32bit-options)
45566         (syscall-list-32bit-condition, syscall-list-64bit-options)
45567         (syscall-list-64bit-condition): Define.
45568         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45569         Remove.
45570         (syscall-list-variants, syscall-list-32bit-options)
45571         (syscall-list-32bit-condition, syscall-list-64bit-options)
45572         (syscall-list-64bit-condition): Define.
45574 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45576         * locale/iso-639.def: Add brx entry.
45578         [BZ #13328]
45579         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45580         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45582         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45583         __feraiseexcept_renamed.
45585 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45587         [BZ #13538]
45588         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45589         EPOLLET with unsigned values.
45590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45591         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45593         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45594         to large cancellation.
45595         * math/s_cacoshf.c: Likewise.
45596         * math/s_cacoshl.c: Likewise.
45598 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45600         [BZ #13305]
45601         [BZ #12786]
45602         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45603         * math/s_cacoshf.c: Likewise.
45604         * math/s_cacoshl.c: Likewise.
45606 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45608         [BZ #13439]
45609         * iconv/gconv.h: Define __GCONV_SWAP.
45610         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45611         * iconvdata/utf-16.c: Likewise.
45612         * iconvdata/utf-32.c: Likewise.
45614 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45616         [BZ #13524]
45617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45618         numerator after shifting it by one limb.
45620 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45622         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45623         under [__USE_EXTERN_INLINES].
45625 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45627         [BZ #13446]
45628         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45630 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45632         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45633         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45634         optimized code.
45635         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45636         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45637         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45638         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45639         for strncasecmp/strncasecmp_l compilation.
45640         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45641         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45643 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45645         [BZ #13484]
45646         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45647         of __asm__.
45649 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45651         [BZ #13506]
45652         * time/tzfile.c (__tzfile_read): Check values from file header.
45654 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45656         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45657         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45658         * powerpc/powerpc32/dl-start.S: Likewise.
45659         * powerpc/powerpc32/elf/start.S: Likewise.
45660         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45661         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45662         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45663         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45664         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45665         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45666         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45667         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45668         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45669         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45670         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45671         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45672         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45673         * powerpc/powerpc32/memset.S: Likewise.
45674         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45675         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45676         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45677         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45678         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45679         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45680         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45681         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45682         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45683         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45684         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45685         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45686         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45688 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45690         * math/libm-test.inc: Added more nearbyint tests.
45691         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45692         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45693         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45694         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45696 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45698         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45699         FD_CLOEXEC.
45701 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45703         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45704         Add wcscpy-ssse3 wcscpy-c.
45705         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45706         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45707         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45708         * sysdeps/x86_64/wcschr.S: New file.
45709         * sysdeps/x86_64/wcsrchr.S: New file.
45710         * string/test-strcmp.c: Remove checking of wcscmp function for
45711         wrong alignments.
45712         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45713         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45714         wcsrchr-sse2 wcsrchr-c.
45715         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45716         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45717         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45718         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45719         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45720         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45721         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45722         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45723         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45724         * wcsmbc/wcschr.c (WCSCHR): New macro.
45726 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45728         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45729         * wcsmbs/test-wcsrchr.c: New file.
45730         * string/test-strrchr.c: Add wcsrchr support.
45731         (WIDE): New macro.
45732         * wcsmbs/test-wcscpy.c: New file.
45733         * string/test-strcpy.c: Add wcscpy support.
45734         (WIDE): New macro.
45736 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45738         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45739         the inner loop.
45741 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45743         [BZ #13472]
45744         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45746 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45748         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45749         Minor optimizations.
45751         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45752         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45753         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45755 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45757         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45758         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45759         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45760         for gcc to avoid warnings.
45761         * inet/Makefile (tests): Add tst-checks.
45762         * inet/tst-checks.c: New file.
45764         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45765         warning.
45767         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45768         __wmemcmp_sse2.
45770         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45771         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45773         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45775 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45777         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45778         problem.
45780         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45782 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45784         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45785         conditional on GCC version.
45786         (__arch_compare_and_exchange_val_8_acq)
45787         (__arch_compare_and_exchange_val_16_acq)
45788         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45789         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45790         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45792 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45794         * sysdeps/sh/backtrace.c: New file.
45796 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45798         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45799         parenthesis.
45801 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45803         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45804         falling back to utime.
45806 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45808         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45809         expectations for float.
45811 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45813         * locale/weight.h (findidx): Add parameter len.
45814         * locale/weightwc.h (findidx): Likewise.
45815         * posix/fnmatch_loop.c (FCT): Adjust caller.
45816         * posix/regcomp.c (build_equiv_class): Likewise.
45817         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45818         * posix/regexec.c (check_node_accept_bytes): Likewise.
45819         * string/strcoll_l.c (STRCOLL): Likewise.
45820         * string/strxfrm_l.c (STRXFRM): Likewise.
45822 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45824         * Makefile.in: Remove CVSOPT handling.
45825         * configure.in: Remove use of AC_REVISION.
45826         * iconvdata/Makefile (distribute): No need to filter out CVS.
45827         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45828         handling.
45830 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45832         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45833         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45834         [USE_AS_STRNCASECMP_L]: Likewise.
45835         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45836         NO_TLS_DIRECT_SEG_REFS.
45837         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45838         Fix argument offsets for non-PIC.
45839         [USE_AS_STRNCASECMP_L]: Likewise.
45840         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45841         NO_TLS_DIRECT_SEG_REFS.
45843 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45845         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45846         O_CLOEXEC.
45847         * locale/loadlocale.c (_nl_load_locale): Likewise.
45849 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45851         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45852         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45853         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45854         (SYSCALL_GETTIME): Set errno on error.
45856         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45857         count references to noai6ai_cached.
45859 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45861         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45863         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45864         FD_CLOEXEC for /proc/self/maps.
45866         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45867         FD_CLOEXEC for /proc/meminfo.
45869         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45870         gai.conf.
45872         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45873         FD_CLOEXEC for given file.
45875         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45877         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45878         FD_CLOEXEC for /etc/hosts.
45879         (_gethtent): Likewise.
45881         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45883         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45884         cancellation and set FD_CLOEXEC for /etc/netgroup.
45886         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45887         reading /etc/publickey.
45889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45890         allow cancellation when reading /etc/group.
45892         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45893         cancellation.
45894         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45896         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45897         when using data file.
45899         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45901         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45902         (write_nis_obj): Use "c" and "e" in fopen.
45904         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45906         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45908         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45910         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45912         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45913         locale.alias.
45915         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45917         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45919         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45921         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45922         file parsing and set FD_CLOEXEC.
45924 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45926         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45928 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45930         * malloc/arena.c (arena_get2): Don't call reused_arena when
45931         _int_new_arena failed.
45933 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45935         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45936         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45937         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45939         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45940         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45941         to compile strcasecmp and strncasecmp.
45942         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45943         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45947 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45949         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45950         locale-defines.sym to gen-as-const-headers.
45951         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45952         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45954         to compile strcasecmp and strncasecmp.
45955         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45956         strcasecmp_l and strncasecmp_l.
45957         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45958         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45959         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45960         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45961         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45962         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45963         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45964         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45965         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45966         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45967         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45969 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45971         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45972         result of SYSDEP_GETTIME_CPU to retval.
45973         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45974         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45976         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45977         variable.
45979         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45980         mantissa words.
45981         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45983         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45984         from unused variable.
45986         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45987         DWARF definitions.
45988         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45989         for assembling.
45991         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45992         over namespaces.
45994         * sunrpc/rpc_prot.c (rejected): Fix case value.
45996         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45997         unsigned long long int to avoid warnings in shift.
45999         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46000         of use of trans.
46001         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46002         variable tmp.
46004         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46005         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46006         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46008         * nis/nis_table.c (nis_list): Use variable of correct type for
46009         result of __follow_path call.
46011 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46013         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46014         of math functions ceil, trunc, floor, round, and sqrt, when
46015         avaliable on the platform.
46016         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46017         name clash.
46018         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46019         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46020         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46022 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46024         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46025         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46027 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46029         * include/unistd.h: Fix __readlink return type.
46030         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46032 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46034         * stdlib/ucontext.h: Undo last change for makecontext.
46036 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46038         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46040         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46041         * setjmp/setjmp.h: Mark functions as non-leaf.
46042         * setjmp/bits/setjmp2.h: Likewise.
46043         * stdlib/ucontext.h: Likewise.
46045 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46047         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46048         (reused_arena): Don't check arena limit.
46049         (arena_get2): Atomically check arena limit.
46051 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46053         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46054         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46057         instructions.
46059 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46061         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46062         handler when locking.
46064         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46065         Fix size of allocated buffer.
46067 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46069         [BZ #10103]
46070         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46071         declarations for long double functions.
46072         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46074         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46076 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46078         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46079         installed.
46081         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46082         is disabled.
46084 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46086         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46088 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46090         * include/alloca.h (stackinfo_alloca_round): Define.
46091         (extend_alloca): Use it.
46092         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46093         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46094         here.
46096         * scripts/check-local-headers.sh: Ignore libaudit.h.
46098         * nscd/Makefile (extra-objs): Make recursively expanded.
46100 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46102         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46103         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46105         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46106         * posix/tst-rfc3484-2.c: Likewise.
46107         * posix/tst-rfc3484-3.c: Likewise.
46109         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46110         process_vm_writev.
46111         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46112         process_vm_writev.
46113         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46114         process_vm_writev from libc using GLIBC_2.15 version.
46116         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46118 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46120         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46121         stack usage.
46123 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46125         [BZ #13367]
46126         * nss/getent.c (initgroups_keys): Show error message in case no group
46127         names are given.
46129         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46130         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46131         __bump_nl_timestamp.
46132         * nscd/connections (nscd_init): When host database is served open
46133         netlink socket and request notification about configuration changes.
46134         (main_loop_poll): Track netlink file descriptor and bump timestamp
46135         in case data becomes available.
46136         (main_loop_epoll): Likewise.
46137         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46138         (database_pers_head): Add extra_data fileds.
46139         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46140         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46141         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46142         Adjust caller.
46143         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46144         in6ai data, call __free_in6ai.
46145         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46146         Add -DHAVE_NETLINK.
46147         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46148         interface information.  Reuse previous data if netlink timestamp
46149         is not changed.
46150         (__bump_nl_timestamp): New function.
46151         (__free_in6ai): New function.
46153 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46156         close_not_cancel_no_status here.
46157         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46159 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46161         [BZ #13276]
46162         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46163         return value.
46165         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46166         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46167         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46169 2011-07-03  Andreas Jaeger  <aj@suse.de>
46171         [BZ #10709]
46172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46173         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46174         * math/libm-test.inc (sin_test): Add test case.
46176 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46178         [BZ #13337]
46179         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46180         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46182         * elf/chroot_canon.c (chroot_canon): Cleanups.
46184         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46186         [BZ #13335]
46187         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46188         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46190         * string/test-strchr.c: Make usable for strchrnul testing.
46191         * string/test-strchrnul.c: New file.
46192         * string/Makefile (strop-tests): Add strchrnul.
46194         * po/it.po: Update from translation team.
46195         * po/es.po: Likewise.
46197 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46199         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46200         the three constants needed as parameters.  Drop the others.
46201         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46202         __m128i_strloadu_tolower.
46203         Create and initialize variable zero and use it in all the places
46204         where _mm_setzero_si128 was used.
46206         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46207         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46208         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46209         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46210         anymore.
46211         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46212         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46213         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46214         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46215         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46216         __mpranred, __mptan.
46217         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46218         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46219         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46220         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46221         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46222         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46223         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46224         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46225         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46227 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46229         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46230         redefine if SHARED.
46231         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46234         wide char related routines to wcsmbs subdir.
46236 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46238         [BZ #13344]
46239         * misc/sys/cdefs.h (__THROWNL): Define.
46240         * posix/unistd.h: Use __THREADNL instead of __THREAD
46241         for memory synchronization functions.
46243 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46245         [BZ #13349]
46246         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46247         doesn't exist.
46248         * manual/stdio.texi (Obstack Streams): Node removed.
46250 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46252         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46253         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46254         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46256         * math/math_private.h (math_force_eval): Allow non-addressable
46257         arguments.
46258         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46260 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46262         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46263         file is not needed.
46265         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46266         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46267         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46268         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46269         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46270         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46271         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46272         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46273         Add AVX variants.
46274         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46275         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46276         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46277         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46278         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46279         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46280         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46281         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46282         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46283         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46284         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46285         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46286         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46287         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46288         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46289         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46290         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46291         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46292         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46294         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46295         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46298         place.  Use VEX encoding when compiling for AVX.
46300 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46302         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46303         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46305         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46307 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46309         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46310         useless if() expression.
46311         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46312         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46313         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46316         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46320         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46321         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46322         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46323         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46324         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46325         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46326         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46327         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46328         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46329         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46331         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46333 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46335         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46336         condition.
46337         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46339 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46341         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46342         .text section.  Avoid duplicate constants.
46343         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46345         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46351         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46352         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46353         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46354         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46355         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46356         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46357         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46358         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46359         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46360         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46361         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46362         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46363         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46364         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46365         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46366         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46367         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46368         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46369         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46370         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46371         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46372         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46373         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46374         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46375         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46376         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46377         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46378         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46379         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46380         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46381         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46382         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46383         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46384         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46385         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46386         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46387         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46389 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46391         * sysdeps/x86_64/dla.h: Move to ...
46392         * sysdeps/x86_64/fpu/dla.h: ...here.
46393         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46394         situations.  Use __builtin_fma only for gcc 4.6 and up.
46396         * config.make.in: Add have-mfma4 entry.
46397         * configure.in: Substitute libc_cv_cc_fma4.
46398         * math/Makefile (dbl-only-routines): Add sincostab.
46399         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46400         Use __sincostab not sincos.
46401         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46402         name is a macro.
46403         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46407         using __copysign.
46408         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46409         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46410         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46411         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46412         and __inv.
46413         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46414         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46415         __copysign.
46416         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46417         define aliases when function name is a macro.
46418         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46419         sysdeps/ieee754/dbl-64/sincos.tbl.
46420         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46421         fma4-enabled routines.
46422         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46423         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46424         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46425         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46426         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46427         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46428         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46429         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46430         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46431         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46432         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46433         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46434         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46435         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46436         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46437         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46438         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46439         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46440         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46441         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46442         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46443         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46444         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46445         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46446         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46447         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46448         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46449         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46450         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46451         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46453         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46454         rename.
46455         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46456         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46462         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46464 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46466         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46468 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46472         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46473         prediction.
46474         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46476         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46477         Remove unused variable magic_bits.
46478         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46480         * string/strnlen.c: Define and use STRNLEN macro.
46481         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46482         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46483         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46484         * wcsmbs/wcslen.c: Define and use WCSLEN.
46485         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46486         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46487         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46488         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46489         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46490         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46491         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46493 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46496         strnlen-sse2-no-bsf.
46497         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46499         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46500         Add strnlen support.
46501         (USE_AS_STRNLEN): New macro.
46502         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46503         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46504         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46505         * sysdeps/x86_64/wcslen.S: New file.
46507 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46509         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46510         XMM-moves are used for copying on small sizes.
46512 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46514         * wcsmbs/Makefile (strop-tests): Add wcschr.
46515         * wcsmbs/test-wcschr.c: New file.
46516         * string/test-strchr.c: Update.
46517         Add wcschr support.
46518         (WIDE): New macro.
46520 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46522         * wcsmbs/Makefile (strop-tests): Add wcslen.
46523         * wcsmbs/test-wcslen.c: New file.
46524         * string/test-strlen.c: Update.
46525         Add wcslen support.
46526         (WIDE): New macro.
46528 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46530         * po/it.po: Update from translation team.
46532 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46534         * sysdeps/x86_64/wcscmp.S: Update.
46535         Fix wrong comparison semantics.
46536         wcscmp shall use signed comparison not unsigned.
46537         Don't use substraction to avoid overflow bug.
46538         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46539         * wcsmbc/wcscmp.c: Likewise.
46540         * string/test-strcmp.c: Likewise.
46541         Add new tests to check cases with negative values.
46543 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46545         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46546         * sysdeps/x86_64/dla.h: ...here.  New file.
46547         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46549         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46552         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46554         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46557 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46560         __ynl_finite aliases.
46562 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46566         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46567         define DLA_FMA.
46568         [DLA_FMA] (EMULV): Use DLA_FMA.
46569         [DLA_FMA] (MUL12): Use EMULV.
46570         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46571         that are not needed.
46572         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46576         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46577         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46580 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46582         * math/s_nan.c: Undef __nan.
46583         * math/s_nanf.c: Undef __nanf.
46584         * math/s_nanl.c: Undef __nanl.
46585         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46586         "math_private.h".
46588 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46590         * math/s_catan.c: Add branch predictions.
46591         * math/s_catanf.c: Likewise.
46592         * math/s_catanh.c: Likewise.
46593         * math/s_catanhf.c: Likewise.
46594         * math/s_catanhl.c: Likewise.
46595         * math/s_catanl.c: Likewise.
46596         * math/s_cexp.c: Likewise.
46597         * math/s_cexpf.c: Likewise.
46598         * math/s_cexpl.c: Likewise.
46599         * math/s_clog.c: Likewise.
46600         * math/s_clog10.c: Likewise.
46601         * math/s_clog10f.c: Likewise.
46602         * math/s_clog10l.c: Likewise.
46603         * math/s_clogf.c: Likewise.
46604         * math/s_clogl.c: Likewise.
46605         * math/s_csqrt.c: Likewise.
46606         * math/s_csqrtf.c: Likewise.
46607         * math/s_csqrtl.c: Likewise.
46608         * math/s_ctanf.c: Likewise.
46609         * math/s_ctanh.c: Likewise.
46610         * math/s_ctanhf.c: Likewise.
46611         * math/s_ctanhl.c: Likewise.
46612         * math/s_ctanl.c: Likewise.
46614         * math/math_private.h: Define __nan, __nanf, __nanl.
46615         * math/s_cacosh.c: Include <math_private.h>.
46616         * math/s_cacoshl.c: Likewise.
46617         * math/s_casinh.c: Likewise.
46618         * math/s_casinhf.c: Likewise.
46619         * math/s_casinhl.c: Likewise.
46620         * math/s_ccos.c: Rely entire on ccosh.
46621         * math/s_ccosf.c: Rely entire on ccoshf.
46622         * math/s_ccosl.c: Rely entirely on ccoshl.
46623         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46624         Remove tests for FE_INVALID.
46625         * math/s_ccoshf.c: Likewise.
46626         * math/s_ccoshl.c: Likewise.
46627         * math/s_csin.c: Likewise.
46628         * math/s_csinf.c: Likewise.
46629         * math/s_csinh.c Likewise.
46630         * math/s_csinhf.c: Likewise.
46631         * math/s_csinhl.c: Likewise.
46632         * math/s_csinl.c: Likewise.
46633         * math/s_ctan.c: Likewise.
46634         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46635         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46636         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46638 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46641         compilation problems.
46643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46644         __builtin_expect.
46646 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46648         * sysdeps/i386/configure.in: Test for -mfma4 option.
46649         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46650         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46651         COMMON_CPUID_INDEX_80000001.
46652         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46653         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46654         use it if FMA3 is not supported.
46655         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46657         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46658         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46660 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46662         [BZ #12892]
46663         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46664         it would create a cycle with a link time dependency.
46666 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46668         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46669         instruction.
46670         * string/Makefile (strop-tests): Add rawmemchr.
46671         * string/test-rawmemchr.c: New file.
46673         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46675         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46676         when compiling str{,n}casecmp and when AVX is available.  Hook up
46677         new optimized code in initializers.
46679 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46681         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46682         __feraiseexcept instead of feraiseexcept.
46684 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46686         * math/math_private.h: Define defaults for libc_fetestexcept and
46687         libc_feupdateenv.
46688         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46689         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46690         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46691         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46692         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46693         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46694         libc_fetestexcept and libc_feupdateenv.
46696         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46697         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46698         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46699         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46700         libc_feholdexcept_setround.
46702         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46703         Add s_nearbyint-c and s_nearbyintf-c.
46704         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46705         nearbyintf inlines.
46706         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46707         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46708         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46709         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46711         * math/math_private.h: Define defaults for libc_fegetround,
46712         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46713         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46714         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46715         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46716         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46717         standard functions.
46718         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46719         Remove comments and hacks for old compiler versions.
46720         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46721         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46722         libc_feholdexceptl.
46724 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46726         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46727         (__feraiseexcept_renamed): Add __NTH.
46728         (feraiseexcept): Add __NTH.  Rename local variables to fix
46729         namespace violations.
46731 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46733         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46735         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46737         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46738         recently added interfaces.
46739         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46741         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46742         about macro parameter expansion.
46744         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46745         __NO_MATH_INLINES is defined.  Cleanups.
46747         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46748         and __floorf is target has SSE4.1.
46749         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46750         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46751         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46752         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46754         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46755         name.
46756         (floorf): Likewise.
46758         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46760 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46762         * misc/sys/cdefs.h: Fix last change.
46764         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46765         database lookup.
46767 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46769         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46771         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46772         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46777         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46778         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46779         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46780         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46781         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46782         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46783         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46784         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46785         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46786         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46787         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46788         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46789         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46790         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46791         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46792         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46794         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46795         ceil, ceilf, floor, floorf.
46797         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46798         Perform IRELATIVE relocations last.
46800         * elf/do-rel.h: Add another parameter nrelative, replacing the
46801         local variable with the same name.  Change name of the function
46802         to end in Rel or Rela (uppercase).
46803         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46804         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46805         elf_dynamic_do_##reloc function.
46807 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46809         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46810         is sufficient, at least on modern CPUs.
46812         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46814         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46817         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46818         __expl_finite.
46819         * math/bits/math-finite.h: Add entries for exp.
46820         * math/e_expl.c: Add __*_finite alias.
46821         * sysdeps/i386/fpu/e_exp.S: Likewise.
46822         * sysdeps/i386/fpu/e_expf.S: Likewise.
46823         * sysdeps/i386/fpu/e_expl.c: Likewise.
46824         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46825         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46828         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46829         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46830         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46832         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46833         is sufficient, at least on modern CPUs.
46835         * ctype/ctype-info.c (__ctype_init): Define.
46836         * include/ctype.h (__ctype_init): Declare.
46837         (__ctype_b_loc): The variable is always initialized.
46838         (__ctype_toupper_loc): Likewise.
46839         (__ctype_tolower_loc): Likewise.
46840         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46841         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46843 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46845         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46847         * configure.in: Also look in $cxxmachine/include for C++ system
46848         headers.
46850 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46852         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46853         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46854         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46855         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46856         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46857         (USE_AS_WMEMCMP): New macro.
46858         Fixing indents.
46859         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46860         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46861         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46862         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46864         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46865         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46866         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46867         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46868         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46869         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46870         (USE_AS_WMEMCMP): New macro.
46871         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46872         * sysdeps/string/test-memcmp.c: Update.
46873         Fix simple_wmemcmp.
46874         Add new tests.
46875         * wcsmbs/wmemcmp.c: Update.
46876         (WMEMCMP): New macro.
46877         Fix overflow bug.
46879 2011-10-12  Andreas Jaeger  <aj@suse.de>
46881         [BZ #13268]
46882         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46884 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46886         * libio/iofwide.c (do_length): Avoid warning.
46888         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46890 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46892         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46894         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46895         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46896         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46897         * sysdeps/i386/i686/fpu/e_log.S: New file.
46898         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46899         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46901         * ctype/ctype.h: Add support for inlined isXXX functions when
46902         compiling C++ code.
46904 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46906         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46908         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46910 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46912         [BZ #13291]
46913         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46915 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46917         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46918         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46919         feraiseexcept.
46921         * sysdeps/x86_64/memrchr.S: Check for zero size.
46923         * string/stratcliff.c: Add memrchr tests.
46925 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46928         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46929         rawmemchr-sse2 rawmemchr-sse2-bsf.
46930         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46931         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46932         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46933         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46934         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46935         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46936         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46937         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46938         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46939         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46940         * string/memrchr.c (MEMRCHR): New macro.
46942 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46944         Add integration with gcc's -ffinite-math-only and optimize wrapper
46945         functions in libm.
46946         * Versions.def: Define GLIBC_2.15 version for libm.
46947         * math/Makefile (headers): Add bits/math-finite.h.
46948         * math/bits/math-finite.h: New file.
46949         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46950         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46951         * math/e_acoshl.c: Add __*_finite alias.
46952         * math/e_acosl.c: Likewise.
46953         * math/e_asinl.c: Likewise.
46954         * math/e_atan2l.c: Likewise.
46955         * math/e_atanhl.c: Likewise.
46956         * math/e_coshl.c: Likewise.
46957         * math/e_exp10.c: Likewise.
46958         * math/e_exp10f.c: Likewise.
46959         * math/e_exp10l.c: Likewise.
46960         * math/e_exp2l.c: Likewise.
46961         * math/e_fmodl.c: Likewise.
46962         * math/e_gammal_r.c: Likewise.
46963         * math/e_hypotl.c: Likewise.
46964         * math/e_j0l.c: Likewise.
46965         * math/e_j1l.c: Likewise.
46966         * math/e_jnl.c: Likewise.
46967         * math/e_lgammal_r.c: Likewise.
46968         * math/e_log10l.c: Likewise.
46969         * math/e_log2l.c: Likewise.
46970         * math/e_logl.c: Likewise.
46971         * math/e_powl.c: Likewise.
46972         * math/e_sinhl.c: Likewise.
46973         * math/e_sqrtl.c: Likewise.
46974         * math/e_scalb.c: Completely rewritten and optimized.
46975         * math/e_scalbf.c: Likewise.
46976         * math/e_scalbl.c: Likewise.
46977         * math/w_acos.c: Likewise.
46978         * math/w_acosf.c: Likewise.
46979         * math/w_acosl.c: Likewise.
46980         * math/w_acosh.c: Likewise.
46981         * math/w_acoshf.c: Likewise.
46982         * math/w_acoshl.c: Likewise.
46983         * math/w_asin.c: Likewise.
46984         * math/w_asinf.c: Likewise.
46985         * math/w_asinl.c: Likewise.
46986         * math/w_atan2.c: Likewise.
46987         * math/w_atan2f.c: Likewise.
46988         * math/w_atan2l.c: Likewise.
46989         * math/w_atanh.c: Likewise.
46990         * math/w_atanhf.c: Likewise.
46991         * math/w_atanhl.c: Likewise.
46992         * math/w_exp10.c: Likewise.
46993         * math/w_exp10f.c: Likewise.
46994         * math/w_exp10l.c: Likewise.
46995         * math/w_fmod.c: Likewise.
46996         * math/w_fmodf.c: Likewise.
46997         * math/w_fmodl.c: Likewise.
46998         * math/w_j0.c: Likewise.
46999         * math/w_j0f.c: Likewise.
47000         * math/w_j0l.c: Likewise.
47001         * math/w_j1.c: Likewise.
47002         * math/w_j1f.c: Likewise.
47003         * math/w_j1l.c: Likewise.
47004         * math/w_jn.c: Likewise.
47005         * math/w_jnf.c: Likewise.
47006         * math/w_log.c: Likewise.
47007         * math/w_logf.c: Likewise.
47008         * math/w_logl.c: Likewise.
47009         * math/w_log10.c: Likewise.
47010         * math/w_log10f.c: Likewise.
47011         * math/w_log10l.c: Likewise.
47012         * math/w_log2.c: Likewise.
47013         * math/w_log2f.c: Likewise.
47014         * math/w_log2l.c: Likewise.
47015         * math/w_pow.c: Likewise.
47016         * math/w_powf.c: Likewise.
47017         * math/w_powl.c: Likewise.
47018         * math/w_remainder.c: Likewise.
47019         * math/w_remainderf.c: Likewise.
47020         * math/w_remainderl.c: Likewise.
47021         * math/w_scalb.c: Likewise.
47022         * math/w_scalbf.c: Likewise.
47023         * math/w_scalbl.c: Likewise.
47024         * math/w_sqrt.c: Likewise.
47025         * math/w_sqrtf.c: Likewise.
47026         * math/w_sqrtl.c: Likewise.
47027         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47028         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47029         used.
47030         * math/math_private.h: Declare __kernel_standard_f.
47031         * math/w_cosh.c: Remove cruft and optimize a bit.
47032         * math/w_coshf.c: Likewise.
47033         * math/w_coshl.c: Likewise.
47034         * math/w_exp2.c: Likewise.
47035         * math/w_exp2f.c: Likewise.
47036         * math/w_exp2l.c: Likewise.
47037         * math/w_hypot.c: Likewise.
47038         * math/w_hypotf.c: Likewise.
47039         * math/w_hypotl.c: Likewise.
47040         * math/w_lgamma.c: Likewise.
47041         * math/w_lgamma_r.c: Likewise.
47042         * math/w_lgammaf.c: Likewise.
47043         * math/w_lgammaf_r.c: Likewise.
47044         * math/w_lgammal.c: Likewise.
47045         * math/w_lgammal_r.c: Likewise.
47046         * math/w_sinh.c: Likewise.
47047         * math/w_sinhf.c: Likewise.
47048         * math/w_sinhl.c: Likewise.
47049         * math/w_tgamma.c: Likewise.
47050         * math/w_tgammaf.c: Likewise.
47051         * math/w_tgammal.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47053         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47054         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47055         Minor optimizations.  Pretty printing.  Remove cruft.
47056         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47057         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47058         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47059         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47060         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47061         * sysdeps/i386/fpu/e_asin.S: Likewise.
47062         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47063         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47064         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47065         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47066         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47067         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47068         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47069         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47070         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47071         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47072         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47073         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47074         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47075         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47076         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47077         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47078         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47079         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47080         * sysdeps/i386/fpu/e_log.S: Likewise.
47081         * sysdeps/i386/fpu/e_log10.S: Likewise.
47082         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47083         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47084         * sysdeps/i386/fpu/e_log2.S: Likewise.
47085         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47086         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47087         * sysdeps/i386/fpu/e_logf.S: Likewise.
47088         * sysdeps/i386/fpu/e_logl.S: Likewise.
47089         * sysdeps/i386/fpu/e_pow.S: Likewise.
47090         * sysdeps/i386/fpu/e_powf.S: Likewise.
47091         * sysdeps/i386/fpu/e_powl.S: Likewise.
47092         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47093         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47094         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47095         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47096         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47097         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47098         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47099         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47100         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47102         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47105         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47106         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47107         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47108         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47109         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47110         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47111         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47112         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47113         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47115         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47117         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47118         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47121         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47122         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47123         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47126         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47128         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47129         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47130         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47131         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47132         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47133         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47135         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47136         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47137         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47138         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47139         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47140         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47141         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47142         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47181         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47184         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47186         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47187         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47188         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47189         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47192         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47193         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47194         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47195         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47196         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47197         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47198         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47199         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47200         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47201         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47202         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47203         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47204         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47205         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47206         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47207         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47208         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47209         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47210         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47211         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47212         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47213         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47214         (__isnanf): Likewise.
47215         (__isinf_ns): Likewise.
47216         (__isinf_nsf): Likewise.
47217         (__finite): Likewise.
47218         (__finitef): Likewise.
47219         (__ieee754_sqrt): Define as macro.
47220         (__ieee754_sqrtf): Define as macro.
47221         (__ieee754_sqrtl): Define as macro.
47222         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47223         inlined copy.
47224         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47225         __FINITE_MATH_ONLY__ consistent.
47226         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47228 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47230         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47231         of rawmemchr.
47233         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47235 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47237         * po/ja.po: Update from translation team.
47239 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47241         * locale/programs/locarchive.c (prepare_address_space): New function.
47242         (create_archive, enlarge_archive, open_archive): Use it.
47244         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47245         inside [SHARED], where it is used.
47247         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47249         * nss/getent.c (netgroup_keys): Remove unused variable.
47250         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47252 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47254         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47255         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47257         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47258         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47259         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47260         * math/Makefile (libm-calls): Add s_isinf_ns.
47261         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47262         * math/multc3.c: Likewise.
47263         * math/s_casin.c: Likewise.
47264         * math/s_casinf.c: Likewise.
47265         * math/s_casinl.c: Likewise.
47266         * math/s_ccos.c: Likewise.
47267         * math/s_ccosf.c: Likewise.
47268         * math/s_ccosl.c: Likewise.
47269         * math/s_ctan.c: Likewise.
47270         * math/s_ctanf.c: Likewise.
47271         * math/s_ctanh.c: Likewise.
47272         * math/s_ctanhf.c: Likewise.
47273         * math/s_ctanhl.c: Likewise.
47274         * math/s_ctanl.c: Likewise.
47275         * math/w_fmod.c: Likewise.
47276         * math/w_fmodf.c: Likewise.
47277         * math/w_fmodl.c: Likewise.
47278         * math/w_remainder.c: Likewise.
47279         * math/w_remainderf.c: Likewise.
47280         * math/w_remainderl.c: Likewise.
47281         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47282         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47283         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47285         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47286         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47287         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47288         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47290         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47291         of the number.
47292         * stdio-common/printf_fphex.c: Likewise.
47293         * stdio-common/printf_size.c: Likewise.
47295         * math/e_exp10.c: Include math_private.h using <...> not "...".
47296         * math/e_exp10f.c: Likewise.
47297         * math/e_exp10l.c: Likewise.
47298         * math/e_exp2l.c: Likewise.
47299         * math/e_j0l.c: Likewise.
47300         * math/e_j1l.c: Likewise.
47301         * math/e_jnl.c: Likewise.
47302         * math/e_lgammal_r.c: Likewise.
47303         * math/e_rem_pio2l.c: Likewise.
47304         * math/e_scalb.c: Likewise.
47305         * math/e_scalbf.c: Likewise.
47306         * math/e_scalbl.c: Likewise.
47307         * math/k_cosl.c: Likewise.
47308         * math/k_sinl.c: Likewise.
47309         * math/k_tanl.c: Likewise.
47310         * math/s_cacoshf.c: Likewise.
47311         * math/s_catan.c: Likewise.
47312         * math/s_catanf.c: Likewise.
47313         * math/s_catanh.c: Likewise.
47314         * math/s_catanhf.c: Likewise.
47315         * math/s_catanhl.c: Likewise.
47316         * math/s_catanl.c: Likewise.
47317         * math/s_ccosh.c: Likewise.
47318         * math/s_ccoshf.c: Likewise.
47319         * math/s_ccoshl.c: Likewise.
47320         * math/s_cexp.c: Likewise.
47321         * math/s_cexpf.c: Likewise.
47322         * math/s_cexpl.c: Likewise.
47323         * math/s_clog.c: Likewise.
47324         * math/s_clog10.c: Likewise.
47325         * math/s_clog10f.c: Likewise.
47326         * math/s_clog10l.c: Likewise.
47327         * math/s_clogf.c: Likewise.
47328         * math/s_clogl.c: Likewise.
47329         * math/s_csin.c: Likewise.
47330         * math/s_csinf.c: Likewise.
47331         * math/s_csinh.c: Likewise.
47332         * math/s_csinhf.c: Likewise.
47333         * math/s_csinhl.c: Likewise.
47334         * math/s_csinl.c: Likewise.
47335         * math/s_csqrt.c: Likewise.
47336         * math/s_csqrtf.c: Likewise.
47337         * math/s_csqrtl.c: Likewise.
47338         * math/s_ctan.c: Likewise.
47339         * math/s_ctanf.c: Likewise.
47340         * math/s_ctanh.c: Likewise.
47341         * math/s_ctanhf.c: Likewise.
47342         * math/s_ctanhl.c: Likewise.
47343         * math/s_ctanl.c: Likewise.
47344         * math/s_ldexp.c: Likewise.
47345         * math/s_ldexpf.c: Likewise.
47346         * math/s_ldexpl.c: Likewise.
47347         * math/s_significand.c: Likewise.
47348         * math/s_significandf.c: Likewise.
47349         * math/s_significandl.c: Likewise.
47350         * math/w_acos.c: Likewise.
47351         * math/w_acosf.c: Likewise.
47352         * math/w_acosh.c: Likewise.
47353         * math/w_acoshf.c: Likewise.
47354         * math/w_acoshl.c: Likewise.
47355         * math/w_acosl.c: Likewise.
47356         * math/w_asin.c: Likewise.
47357         * math/w_asinf.c: Likewise.
47358         * math/w_asinl.c: Likewise.
47359         * math/w_atan2.c: Likewise.
47360         * math/w_atan2f.c: Likewise.
47361         * math/w_atan2l.c: Likewise.
47362         * math/w_atanh.c: Likewise.
47363         * math/w_atanhf.c: Likewise.
47364         * math/w_atanhl.c: Likewise.
47365         * math/w_cosh.c: Likewise.
47366         * math/w_coshf.c: Likewise.
47367         * math/w_coshl.c: Likewise.
47368         * math/w_dremf.c: Likewise.
47369         * math/w_exp10.c: Likewise.
47370         * math/w_exp10f.c: Likewise.
47371         * math/w_exp10l.c: Likewise.
47372         * math/w_exp2.c: Likewise.
47373         * math/w_exp2f.c: Likewise.
47374         * math/w_fmod.c: Likewise.
47375         * math/w_fmodf.c: Likewise.
47376         * math/w_fmodl.c: Likewise.
47377         * math/w_hypot.c: Likewise.
47378         * math/w_hypotf.c: Likewise.
47379         * math/w_hypotl.c: Likewise.
47380         * math/w_j0.c: Likewise.
47381         * math/w_j0f.c: Likewise.
47382         * math/w_j0l.c: Likewise.
47383         * math/w_j1.c: Likewise.
47384         * math/w_j1f.c: Likewise.
47385         * math/w_j1l.c: Likewise.
47386         * math/w_jn.c: Likewise.
47387         * math/w_jnf.c: Likewise.
47388         * math/w_jnl.c: Likewise.
47389         * math/w_lgamma.c: Likewise.
47390         * math/w_lgamma_r.c: Likewise.
47391         * math/w_lgammaf.c: Likewise.
47392         * math/w_lgammaf_r.c: Likewise.
47393         * math/w_lgammal.c: Likewise.
47394         * math/w_lgammal_r.c: Likewise.
47395         * math/w_log.c: Likewise.
47396         * math/w_log10.c: Likewise.
47397         * math/w_log10f.c: Likewise.
47398         * math/w_log10l.c: Likewise.
47399         * math/w_log2.c: Likewise.
47400         * math/w_log2f.c: Likewise.
47401         * math/w_log2l.c: Likewise.
47402         * math/w_logf.c: Likewise.
47403         * math/w_logl.c: Likewise.
47404         * math/w_pow.c: Likewise.
47405         * math/w_powf.c: Likewise.
47406         * math/w_powl.c: Likewise.
47407         * math/w_remainder.c: Likewise.
47408         * math/w_remainderf.c: Likewise.
47409         * math/w_remainderl.c: Likewise.
47410         * math/w_scalb.c: Likewise.
47411         * math/w_scalbf.c: Likewise.
47412         * math/w_scalbl.c: Likewise.
47413         * math/w_sinh.c: Likewise.
47414         * math/w_sinhf.c: Likewise.
47415         * math/w_sinhl.c: Likewise.
47416         * math/w_sqrt.c: Likewise.
47417         * math/w_sqrtf.c: Likewise.
47418         * math/w_sqrtl.c: Likewise.
47419         * math/w_tgamma.c: Likewise.
47420         * math/w_tgammaf.c: Likewise.
47421         * math/w_tgammal.c: Likewise.
47423         * po/ja.po: Update from translation team.
47425 2011-09-29  Andreas Jaeger  <aj@suse.de>
47427         [BZ #13179]
47428         * sunrpc/netname.c (netname2host): Fix logic.
47430         [BZ #6779]
47431         [BZ #6783]
47432         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47433         correctly.
47434         * math/w_remainder.c (__remainder): Likewise.
47435         * math/w_remainderf.c (__remainderf): Likewise.
47436         * math/libm-test.inc (remainder_test): Add test cases.
47438 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47440         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47441         sdiv_qrnnd.
47443 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47445         * string/test-memcmp.c: Avoid unncessary #defines.
47446         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47448 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47450         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47451         Use new sse2 version for core i3 - i7 as it's faster
47452         than sse42 version.
47453         (bit_Prefer_PMINUB_for_stringop): New.
47454         * sysdeps/x86_64/rawmemchr.S: Update.
47455         Replace with faster SSE2 version.
47456         * sysdeps/x86_64/memrchr.S: New file.
47457         * sysdeps/x86_64/memchr.S: Update.
47458         Replace with faster SSE2 version.
47460 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47462         * elf/dl-load.c (lose): Add cast to avoid warning.
47464 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47466         * po/ca.po: Update from translation team.
47468         * inet/getnetgrent_r.c: Hook up nscd.
47469         * nscd/Makefile (routines): Add nscd_netgroup.
47470         (nscd-modules): Add netgroupcache.
47471         (CFLAGS-netgroupcache.c): Define.
47472         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47473         (cache_search): Add const to second parameter.
47474         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47475         INNETGR.
47476         (dbs): Add netgrdb entry.
47477         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47478         (verify_persistent_db): Handle netgrdb.
47479         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47480         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47481         GETFDNETGR.
47482         (netgroup_response_header): Define.
47483         (innetgroup_response_header): Define.
47484         (datahead): Add netgroup_response_header and innetgroup_response_header
47485         elements.
47486         * nscd/nscd.conf: Add entries for netgroup cache.
47487         * nscd/nscd.h (dbtype): Add netgrdb.
47488         (_PATH_NSCD_NETGROUP_DB): Define.
47489         (netgroup_iov_disabled): Declare.
47490         (xmalloc, xcalloc, xrealloc): Move declarations here.
47491         (cache_search): Adjust prototype.
47492         Add netgroup-related prototypes.
47493         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47494         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47495         (__nscd_innetgr): Declare.
47496         * nscd/selinux.c (perms): Use access_vector_t as element type and
47497         add netgroup-related initializers.
47498         * nscd/netgroupcache.c: New file.
47499         * nscd/nscd_netgroup.c: New file.
47500         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47501         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47502         For four parameters use innetgr.
47503         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47504         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47505         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47506         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47508         * nscd/connections.c (register_traced_file): Don't register file
47509         for disabled databases.
47511 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47513         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47515         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47516         from tree and freeing node.
47518 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47520         * nss/nsswitch.c (__nss_database_lookup): Handle
47521         nss_parse_service_list out of memory case.
47523 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47525         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47526         out of memory case.
47528 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47530         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47531         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47532         pass it down.
47533         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47534         elf_machine_rela, elf_machine_lazy_rel.
47535         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47536         (ELF_DYNAMIC_DO_REL): Likewise.
47537         (ELF_DYNAMIC_DO_RELA): Likewise.
47538         (ELF_DYNAMIC_RELOCATE): Likewise.
47539         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47540         to ELF_DYNAMIC_DO_REL.
47541         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47542         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47543         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47544         elf_machine_rela.
47545         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47546         skip_ifunc, don't call ifunc function if non-zero.
47547         (elf_machine_rela): Likewise.
47548         (elf_machine_lazy_rel): Likewise.
47549         (elf_machine_lazy_rela): Likewise.
47550         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47551         (elf_machine_lazy_rel): Likewise.
47552         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47553         Likewise.
47554         (elf_machine_lazy_rel): Likewise.
47555         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47556         Likewise.
47557         (elf_machine_lazy_rel): Likewise.
47558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47559         (elf_machine_lazy_rel): Likewise.
47560         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47561         (elf_machine_lazy_rel): Likewise.
47562         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47563         (elf_machine_lazy_rel): Likewise.
47564         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47565         (elf_machine_lazy_rel): Likewise.
47566         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47567         (elf_machine_lazy_rel): Likewise.
47568         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47569         (elf_machine_lazy_rel): Likewise.
47571 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47573         * nss/nss_files/files-init.c (_nss_files_init): Use static
47574         initialization for all the *_traced_file variables.
47576 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47578         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47580 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47582         [BZ #13226]
47583         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47585 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47587         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47588         Reread the line before reparsing it.
47590 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47592         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47594 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47595             Maxim Kuvyrkov  <maxim@codesourcery.com>
47596             Joseph Myers  <joseph@codesourcery.com>
47598         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47599         if needed for __stack_chk_guard.
47601 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47603         * sysdeps/posix/spawni.c (script_execute): Always define it.
47604         It will be optimized away if unused.
47605         (maybe_script_execute): New function.
47606         (__spawni): Call it.
47608         * Makerules: Don't include tls.make.
47609         (config-tls): Always set to thread.
47610         * tls.make.c: File removed.
47612 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47614         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47615         * config.make.in (CPPFLAGS-config): New substituted variable.
47617 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47619         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47621         [BZ #13192]
47622         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47623         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47625 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47627         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47628         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47630         (CALL_FAIL): Likewise.
47631         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47632         (CALL_FAIL): Macro removed.
47633         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47635 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47637         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47638         for __FINITE_MATH_ONLY__ == 1.
47640 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47642         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47643         __ieee754_sqrt instead of sqrt.
47644         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47645         __ieee754_sqrtf instead of sqrtf.
47646         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47647         __floorf instead of floorf.
47648         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47649         __floorf, __truncf instead of floorf, truncf.
47651 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47653         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47655         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47656         __extern_always_inline.
47657         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47658         32-bit.
47660 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47662         * elf/rtld.c (dl_main): Also relocate in dependency order when
47663         doing symbol dependency testing.
47665 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47668         Always define `refsym'.
47670 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47672         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47673         (__FD_ELT): Renamed from __FDELT.
47674         * misc/bits/select2.h (__FD_ELT): Likewise.
47675         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47676         __FD_MASK instead of __FDELT, __FDMASK.
47677         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47678         Likewise.
47679         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47680         Likewise.
47682         * elf/Makefile (gen-ldd): Fix pattern.
47684         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47685         (init_tls): Likewise.
47687 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47691 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47693         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47694         `struct cmsghdr *' instead of `void *'.
47695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47696         Likewise.
47698 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47700         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47701         if non-absolute.
47702         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47703         ldd_rewrite_script.
47705 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47707         * configure.in: Remove --with-tls option.
47708         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47709         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47710         out in case it is missing.
47711         * sysdeps/ia64/elf/configure.in: Likewise.
47712         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47713         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47714         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47715         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47716         * sysdeps/sh/elf/configure.in: Likewise.
47717         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47718         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47719         * sysdeps/x86_64/elf/configure.in: Likewise.
47720         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47721         * sysdeps/mach/hurd/tls.h: Likewise.
47723         [BZ #13067]
47724         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47726         [BZ #13090]
47727         * configure.in: Fix use of AC_INIT.
47729         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47731 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47733         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47734         __set_errno.
47735         * malloc/hooks.c: Likewise.
47737         [BZ #11929]
47738         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47739         variables statically.
47740         (narenas): Initialize.
47741         (list_lock): Initialize.
47742         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47743         initializtion of main_arena and list_lock.  Small cleanups.
47744         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47745         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47746         Add initializers to main_arena and mp_.
47747         (malloc_state): Remove pagesize member.  Change all users to use
47748         GLRO(dl_pagesize).
47750         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47751         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47752         is always initialized.
47754         * malloc/malloc.c: Removed unused configurations and dead code.
47755         * malloc/arena.c: Likewise.
47756         * malloc/hooks.c: Likewise.
47757         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47759         * include/tls.h: Removed.  USE___THREAD must always be defined.
47760         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47761         * elf/dl-libc.c: Likewise.
47762         * elf/dl-tsd.c: Likewise.
47763         * include/errno.h: Likewise.
47764         * include/netdb.h: Likewise.
47765         * include/resolv.h: Likewise.
47766         * inet/herrno-loc.c: Likewise.
47767         * inet/herrno.c: Likewise.
47768         * malloc/arena.c: Likewise.
47769         * malloc/hooks.c: Likewise.
47770         * malloc/malloc.c: Likewise.
47771         * resolv/res-state.c: Likewise.
47772         * resolv/res_libc.c: Likewise.
47773         * sysdeps/i386/dl-machine.h: Likewise.
47774         * sysdeps/ia64/dl-machine.h: Likewise.
47775         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47776         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47777         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47778         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47779         * sysdeps/sh/dl-machine.h: Likewise.
47780         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47781         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47782         * sysdeps/unix/i386/sysdep.S: Likewise.
47783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47784         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47789         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47790         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47791         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47793         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47794         * sysdeps/x86_64/dl-machine.h: Likewise.
47795         * tls.make.c: Likewise.
47797         * configure.in: Remove --with-__thread option.  Make tests for
47798         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47799         tls_model attribute fail if no support is available.  Remove
47800         USE_IN_LIBIO.
47801         * Makeconfig: Adjust for dropped configure option.  All features are
47802         now mandatory.
47803         * Makerules: Likewise.
47804         * Versions.def: Likewise.
47805         * argp/argp-fmtstream.c: Likewise.
47806         * argp/argp-fmtstream.h: Likewise.
47807         * argp/argp-help.c: Likewise.
47808         * assert/assert.c: Likewise.
47809         * config.h.in: Likewise.
47810         * config.make.in: Likewise.
47811         * configure: Likewise.
47812         * configure.in: Likewise.
47813         * csu/Versions: Likewise.
47814         * csu/init.c: Likewise.
47815         * elf/tst-audit2.c: Likewise.
47816         * elf/tst-tls10.c: Likewise.
47817         * elf/tst-tls10.h: Likewise.
47818         * elf/tst-tls11.c: Likewise.
47819         * elf/tst-tls12.c: Likewise.
47820         * elf/tst-tls14.c: Likewise.
47821         * elf/tst-tlsmod11.c: Likewise.
47822         * elf/tst-tlsmod12.c: Likewise.
47823         * elf/tst-tlsmod13.c: Likewise.
47824         * elf/tst-tlsmod13a.c: Likewise.
47825         * elf/tst-tlsmod14a.c: Likewise.
47826         * elf/tst-tlsmod15b.c: Likewise.
47827         * elf/tst-tlsmod16a.c: Likewise.
47828         * elf/tst-tlsmod16b.c: Likewise.
47829         * elf/tst-tlsmod7.c: Likewise.
47830         * elf/tst-tlsmod8.c: Likewise.
47831         * elf/tst-tlsmod9.c: Likewise.
47832         * gmon/gmon.c: Likewise.
47833         * grp/fgetgrent_r.c: Likewise.
47834         * grp/putgrent.c: Likewise.
47835         * hurd/fopenport.c: Likewise.
47836         * include/libc-symbols.h: Likewise.
47837         * include/tls.h: Likewise.
47838         * intl/gettextP.h: Likewise.
47839         * intl/loadinfo.h: Likewise.
47840         * locale/global-locale.c: Likewise.
47841         * locale/localeinfo.h: Likewise.
47842         * mach/devstream.c: Likewise.
47843         * malloc/arena.c: Likewise.
47844         * malloc/set-freeres.c: Likewise.
47845         * misc/err.c: Likewise.
47846         * misc/getttyent.c: Likewise.
47847         * misc/mntent_r.c: Likewise.
47848         * posix/getopt.c: Likewise.
47849         * posix/wordexp.c: Likewise.
47850         * pwd/fgetpwent_r.c: Likewise.
47851         * resolv/Versions: Likewise.
47852         * resolv/res_hconf.c: Likewise.
47853         * shadow/fgetspent_r.c: Likewise.
47854         * shadow/putspent.c: Likewise.
47855         * stdio-common/printf_fphex.c: Likewise.
47856         * stdio-common/tmpfile.c: Likewise.
47857         * stdlib/abort.c: Likewise.
47858         * stdlib/fmtmsg.c: Likewise.
47859         * sunrpc/auth_unix.c: Likewise.
47860         * sunrpc/clnt_perr.c: Likewise.
47861         * sunrpc/clnt_tcp.c: Likewise.
47862         * sunrpc/clnt_udp.c: Likewise.
47863         * sunrpc/clnt_unix.c: Likewise.
47864         * sunrpc/openchild.c: Likewise.
47865         * sunrpc/svc_simple.c: Likewise.
47866         * sunrpc/svc_tcp.c: Likewise.
47867         * sunrpc/svc_udp.c: Likewise.
47868         * sunrpc/svc_unix.c: Likewise.
47869         * sunrpc/xdr.c: Likewise.
47870         * sunrpc/xdr_array.c: Likewise.
47871         * sunrpc/xdr_rec.c: Likewise.
47872         * sunrpc/xdr_ref.c: Likewise.
47873         * sunrpc/xdr_stdio.c: Likewise.
47875 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47877         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47879 2011-07-03  Andreas Jaeger  <aj@suse.de>
47881         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47882         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47883         regenerate with gen-libm-tests.pl.
47885 2010-05-12  Petr Baudis  <pasky@suse.cz>
47887         [BZ #11589]
47888         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47889         around j0() zero points by switching to j1().
47890         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47893         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47895 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47897         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47898         instead of 0.
47899         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47900         instead of 0.
47901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47902         Patch in part by Pavel Roskin <proski@gnu.org>.
47904         [BZ #13138]
47905         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47906         realloc.
47907         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47908         Free memory block if necessary.
47910         [BZ #12847]
47911         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47912         be NULL.  Don't lock in this case.
47914 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47916         * elf/elf.h (ELFOSABI_GNU): New macro.
47917         (ELFOSABI_LINUX): Define to that.
47919 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47921         * string/strncat.c (strncat): Undef the symbol in case it has been
47922         defined in bits/string.h.
47924 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47926         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47928         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47929         link map.
47931 2011-08-17  Andreas Jaeger  <aj@suse.de>
47933         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47935 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47936             Ian Lance Taylor  <iant@google.com>
47938         * math/libm-test.inc (lround_test): New testcase.
47939         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47941 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47943         * Makefile: Remove support for automatic cvs check-ins.
47944         * Makerules: Likewise.
47945         * config.make.in: Likewise.
47946         * configure.in: Likewise.
47947         * intl/Makefile: Likewise.
47948         * locale/Makefile: Likewise.
47949         * po/Makefile: Likewise.
47950         * posix/Makefile: Likewise.
47951         * sysdeps/gnu/Makefile: Likewise.
47952         * sysdeps/mach/hurd/Makefile: Likewise.
47953         * sysdeps/sparc/sparc32/Makefile: Likewise.
47955         [BZ #13118]
47956         * posix/Makefile (bug-regex32-ENV): Define.
47957         Patch by John Stanley <jpsinthemix@verizon.net>.
47959         * misc/Makefile (headers): Add bits/select2.h.
47960         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47961         * misc/bits/select2.h: New file.
47962         * include/bits/select2.h: New file.
47963         * debug/Makefile (routines): Add fdelt_chk.
47964         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47965         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47966         FD_ISSET.
47967         * debug/fdelt_chk.c: New file.
47969         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47970         * wcsmbs/test-wmemcmp.c: Likewise.
47971         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47972         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47974 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47976         * string/Makefile (strop-tests): Add memcmp.
47977         * string/test-wmemcmp.c: New file.
47978         * string/test-memcmp.c: Add wmemcmp support.
47980 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47982         [BZ #13153]
47983         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47984         2011-07-19 change.
47986         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47987         garbage value in a __mach_port_mod_refs call in the cases of the
47988         task-self and thread-self ports.
47990 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47992         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47994 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47996         * elf/dl-load.c (lose): Check for non-null L.
47998 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48000         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48002         * elf/dl-libc.c (dlerror_run): Pass back error code from
48003         dl_catch_error.
48005         [BZ #13123]
48006         * elf/dl-load.c (lose): Free l_origin if it is valid.
48008         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48009         names.
48010         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48011         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48012         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48013         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48014         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48015         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48017 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48019         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48020         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48021         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48022         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48023         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48024         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48025         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48026         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48027         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48028         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48030 2011-08-15  Alan Modra  <amodra@gmail.com>
48032         [BZ #13092]
48033         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48034         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48035         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48036         ppc_mcount to static-only-routines.
48037         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48038         __mcount_internal.
48039         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48040         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48042 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48044         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48045         for finite and infinity parameters.
48047 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48049         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48050         and add nop instructions for throughput optimization.
48051         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48053 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48055         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48056         aligned copy for power7 with vector-scalar instructions.
48057         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48059 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48062         AVX check.
48064 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48066         [BZ #13144]
48067         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48068         last change.
48070 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48072         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48073         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48074         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48075         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48076         clock_gettime.
48078 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48080         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48081         Forgot to demangle the pointer.
48083         * sysdeps/i386/sysdep.h: Define atom_text_section.
48084         * sysdeps/x86_64/sysdep.h: Likewise.
48085         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48086         section with atom_text_section.
48087         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48088         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48089         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48090         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48091         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48093         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48094         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48095         already be defined.  Change to take two parameters and don't assign
48096         result to variable.  Adjust all users.
48097         Define INTERNAL_GETTIME if not already defined.
48098         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48099         call.
48100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48101         HAVE_CLOCK_GETTIME_VSYSCALL.
48102         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48105         gettimeofday vsyscall, just use time.
48107 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48109         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48110         <errno.h>.
48112 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48114         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48115         syscall on x86-64.
48116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48117         syscall.
48118         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48120         syscall if possible.
48122 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48124         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48125         e_ident.  Don't pass to find_mapsXX.
48126         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48128 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48131         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48132         * sysdeps/x86_64/multiarch/strchr.S: Update.
48133         Check bit_slow_BSF bit.
48134         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48135         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48136         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48138 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48140         [BZ #13134]
48141         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48142         before glibc 2.15.
48143         (tryshell): Define.
48144         (__spawni): Change last parameter to be flag.  Test
48145         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48146         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48147         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48148         * posix/spawni.c: Likewise.
48149         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48150         * posix/spawnp.c: Likewise.  Change normal version to use
48151         SPAWN_XFLAGS_USE_PATH.
48152         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48153         SPAWN_XFLAGS_TRY_SHELL.
48155         [BZ #13150]
48156         * posix/glob.h: Remove gcc 1.x support.
48158         [BZ #13068]
48159         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48161 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48164         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48165         strrchr-sse2-bsf
48166         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48167         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48168         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48169         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48170         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48171         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48173 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48175         * sysdeps/x86_64/wcscmp.S: New file.
48177         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48178         wcscmp-c wcscmp-sse2
48179         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48180         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48181         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48182         * wcsmbs/wcscmp.c: Allow renaming.
48184 2011-09-05  David S. Miller  <davem@davemloft.net>
48186         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48187         stack slot, rather than the struct return pointer slot.
48188         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48189         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48191         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48193 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48195         * po/ja.po: Update from translation team.
48197         [BZ #13144]
48198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48199         kernel in 64-bit binaries.
48201 2011-09-01  David S. Miller  <davem@davemloft.net>
48203         * elf/elf.h (HWCAP_SPARC_*): Move to..
48204         * sysdeps/sparc/sysdep.h: this new file and add new values.
48205         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48206         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48207         _DL_HWCAP_COUNT to 24.
48208         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48209         entries.
48210         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48211         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48212         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48214         instead of magic constants.
48215         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48217 2011-08-31  David S. Miller  <davem@davemloft.net>
48219         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48221         Reimplement to do errno handling inline.
48222         (SYSCALL_ERROR_HANDLER): New macro.
48223         (__SYSCALL_STRING): Do not do errno handling in asm.
48224         (__CLONE_SYSCALL_STRING): Delete.
48225         (__INTERNAL_SYSCALL_STRING): Delete.
48226         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48227         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48228         (PSEUDO): Reimplement to do errno handling inline.
48229         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48230         (SYSCALL_ERROR_HANDLER): New macro.
48231         (__SYSCALL_STRING): Do not do errno handling in asm.
48232         (__CLONE_SYSCALL_STRING): Delete.
48233         (__INTERNAL_SYSCALL_STRING): Delete.
48234         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48235         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48236         i386.
48237         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48238         (inline_syscall*): Add 'err' argument.
48239         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48240         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48241         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48242         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48244         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48245         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48247 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48249         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48251 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48253         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48254         directive.
48256 2011-08-24  David S. Miller  <davem@davemloft.net>
48258         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48260 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48262         * elf/Makefile: Add rules to build and run unload8 test.
48263         * elf/unload8.c: New file.
48264         * elf/unload8mod1.c: New file.
48265         * elf/unload8mod1x.c: New file.
48266         * elf/unload8mod2.c: New file.
48267         * elf/unload8mod3.c: New file.
48269         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48270         it wasn't used.
48272 2011-08-23  David S. Miller  <davem@davemloft.net>
48274         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48275         subtract stack bias.
48276         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48277         %sp not %fp in calculations.
48278         (_JMPBUF_UNWINDS_ADJ): Likewise.
48280         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48281         (aio_suspend): Call it to force an exception region around the
48282         AIO_MISC_WAIT() invocation.
48284 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48286         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48287         backslash.
48289 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48291         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48292         protection macro.
48293         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48294         and <dl-machine.h>.
48295         (Elf64_FuncDesc): Remove.
48297 2011-08-22  David S. Miller  <davem@davemloft.net>
48299         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48300         sigaltstack check, add missing cfi directives.
48301         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48302         missing cfi directives, and sigaltstack handling.
48304 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48306         [BZ #11724]
48307         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48308         object is seen twice.
48309         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48311         * elf/Makefile (distribute): Add tst-initorder2.c.
48312         (tests): Add tst-initorder2.
48313         (modules-names): Add tst-initorder2a tst-initorder2b
48314         tst-initorder2c tst-initorder2d.  Add rules to build them.
48315         ($(objpfx)tst-initorder2.out): New rule.
48316         * elf/tst-initorder2.c: New file.
48317         * elf/tst-initorder2.exp: New file.
48319 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48321         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48323         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48324         dependencies back to end of function.
48326         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48327         $(elfobjdir)/ld.so.
48329 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48332         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48333         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48334         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48335         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48336         of __vdso_gettimeofday.
48337         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48338         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48339         attribute_hidden.
48340         (_libc_vdso_platform_setup): Remove initialization of
48341         __vdso_gettimeofday and __vdso_time.
48343 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48345         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48346         and fgetc_unlocked.
48347         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48348         getc_unlocked.
48350         * elf/dl-open.c (add_to_global): Report additions to the global scope
48351         for LD_DEBUG=scopes.
48352         (dl_open_worker): Also print scope of newly loaded dependencies.
48353         (_dl_show_scope): Indicate if there is no scope.
48355         [BZ #13114]
48356         * stdio-common/Makefile (tests): Add bug24.
48357         * stdio-common/bug24.c: New file.
48359 2011-08-19  Andreas Jaeger  <aj@suse.de>
48361         [BZ #13114]
48362         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48363         non-existant file when using close-on-exec mode.
48365 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48368         the very first instruction.
48370         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48371         the CFI state in the end.
48372         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48373         inclusion of dl-trampoline.h.
48374         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48376 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48378         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48379         expectations for long double.
48381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48382         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48384 2011-08-14  David S. Miller  <davem@davemloft.net>
48386         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48387         artificual limit depends upon the system page size.
48389 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48391         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48392         * resolv/Makefile: Define CFLAGS-libresolv.
48394 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48396         * nss/makedb.c (compute_tables): Make variables used in nested
48397         function static.
48399 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48401         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48402         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48403         if buffer was too small.
48405         * elf/pldd.c (main): Attach to all threads in the process.
48406         Rewrite /proc handling to use *at functions.
48408 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48410         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48411         specifies first scope to show.
48412         (dl_open_worker): Update callers.  Move printing scope of new
48413         object to before the relocation.
48414         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48415         * sysdeps/generic/ldsodefs.h: Update declaration.
48417         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48418         string for the scope number.
48420 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48422         * nscd/servicescache.c (cache_addserv): Make sure written is always
48423         initialized.
48425 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48427         * sysdeps/i386/i486/bits/atomic.h
48428         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48429         statement expression, so as to suppress "set but not used" warning.
48430         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48432         * string/strncat.c (STRNCAT): Use prototype definition.
48434         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48435         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48436         -Iprograms here.
48437         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48438         (localedef-modules): Add localedef.
48439         (locale-modules): Add locale.
48441         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48442         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48443         to avoid a warning.
48445 2011-08-14  David S. Miller  <davem@davemloft.net>
48447         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48448         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48450 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48452         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48453         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48454         * elf/rtld.c (dl_main): Set l_name of vDSO.
48455         Call _dl_show_scope when DL_DEBUG_SCOPES.
48456         (process_dl_debug): Recognize scopes flag and also set it for all.
48457         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48458         Declare _dl_show_scope.
48460         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48461         (do_dlopen): Pass caller_dlopen to dl_open.
48462         (__libc_dlopen_mode): Initialize caller_dlopen.
48464         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48465         of libc.  Make tolower call locale-independent.  Optimize a bit by
48466         using isdigit instead of isalnum.
48467         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48469 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48471         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48472         was a dependency or dynamically loaded.
48474 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48476         * intl/l10nflist.c: Allow architecture-specific pop function.
48477         * sysdeps/x86_64/l10nflist.c: New file.
48479         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48480         classification.
48482 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48484         * include/dirent.h: Add libc_hidden_proto for scandirat and
48485         scandirat64.  Don't declare __scandirat64.
48486         * dirent/scandirat.c: Add libc_hidden_def.
48487         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48488         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48490 2011-08-10  David S. Miller  <davem@davemloft.net>
48492         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48493         enum.
48494         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48496         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48498 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48500         * Versions.def [libc]: Add GLIBC_2.15.
48501         * dirent/Makefile (routines): Add scandirat and scandirat64.
48502         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48503         GLIBC_2.15.
48504         * dirent/dirent.h: Declare scandirat and scandirat64.
48505         * dirent/scandirat.c: New file.
48506         * dirent/scandirat64.c: New file.
48507         * sysdeps/wordsize-64/scandirat.c: New file.
48508         * sysdeps/wordsize-64/scandirat64.c: New file.
48509         * dirent/opendir.c: Define opendirat.
48510         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48511         using scandirat.
48512         * dirent/scandir64.c: Adjust for scandir.c change.
48513         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48514         __scandirat64, and __scandir_cancel_handler.
48515         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48516         additional parameter and use openat instead of open (outside of ld.so).
48517         Add new __opendir as wrapper around __opendirat.
48518         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48519         here without requiring old scandirat implementation.
48521 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48523         * dirent/scandir.c (cancel_handler): Renamed to
48524         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48525         defined.  Adjust users.
48526         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48527         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48529 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48531         * string/test-string.h (IMPL): Use __STRING to expand name and then
48532         stringify it.
48534         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48535         of cleanups.
48537 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48539         * string/Makefile: Update.
48540         (strop-tests): Append strncat.
48541         * string/test-wcscmp.c: New file.
48542         New comprehensive test for wcscmp.
48543         * string/test-strcmp.c: Update.
48544         (WIDE): New define.
48546 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48548         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48549         line.
48551 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48554         encoding to ACE if AI_IDN.
48556 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48558         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48559         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48561 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48563         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48564         Fix overflow bug in strncat.
48565         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48567         * string/test-strncat.c: Update.
48568         Add new tests for checking overflow bugs.
48570 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48572         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48573         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48574         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48575         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48576         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48577         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48578         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48579         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48580         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48582         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48583         (USE_AS_STRCAT): Define.
48584         Add strcat and strncat support.
48585         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48587 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48589         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48590         __n bigger than INT_MAX+1.
48591         (__strncmp_g): Likewise.
48593 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48595         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48596         * libio/stido.h: Likewise.
48598         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48599         (AF_NFC): Define.
48600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48601         (AF_NFC): Define.
48603         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48604         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48605         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48606         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48607         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48609         [BZ #13021]
48610         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48611         installed.
48613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48614         typo.
48615         (_dl_x86_64_save_sse): Likewise.
48617 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48620         OSXSAVE.
48621         (_dl_x86_64_save_sse): Likewise.
48623         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48625         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48627 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48630         change.
48631         (_dl_x86_64_save_sse): Use correct AVX check.
48633 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48635         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48636         bug in strncpy/strncat.
48637         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48639 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48641         * string/tester.c (test_strcat): Add tests for different alignments
48642         of source and destination.
48643         (test_strncat): Likewise.
48645 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48647         [BZ #12852]
48648         * posix/glob.c (glob): Check passed in values before using them in
48649         expressions to avoid some overflows.
48650         (glob_in_dir): Likewise.
48652         [BZ #13007]
48653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48654         check for AVX enablement so that we don't crash with old kernels and
48655         new hardware.
48656         * elf/tst-audit4.c: Add same checks here.
48657         * elf/tst-audit6.c: Likewise.
48659         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48661 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48663         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48665 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48667         * po/cs.po: Update from translation team.
48668         * po/bg.po: Likewise.
48670 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48672         * misc/sys/cdefs.h: Add support for const attribute.
48673         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48674         to gnu_dev_{major,minor,makedev} functions.
48676 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48678         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48680 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48682         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48683         strlen results.
48685 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48688         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48689         register in order to avoid conflicts with the soft frame pointer
48690         being held in r11 when necessary.
48691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48692         (INTERNAL_VSYSCALL_NCS): Likewise.
48694 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48696         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48697         * elf/dl-fini.c (_dl_fini): Adjust caller.
48698         * elf/dl-close.c (_dl_close_worker): Likewise.
48699         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48701 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48703         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48704         "aux_cache->nlibs < 0".
48706         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48707         in the reload-count case.
48709 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48712         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48713         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48714         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48715         * sysdeps/x86_64/multiarch/strcat.S: New file.
48716         * sysdeps/x86_64/multiarch/strncat.S: New file.
48717         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48718         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48719         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48720         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48721         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48722         (USE_AS_STRCAT): Define.
48723         Add strcat and strncat support.
48724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48725         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48726         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48727         * string/strncat.c: Update.
48728         (USE_AS_STRNCAT): Define.
48729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48730         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48731         and i7.
48732         * sysdeps/x86_64/multiarch/init-arch.h
48733         (bit_Prefer_PMINUB_for_stringop): New.
48734         (index_Prefer_PMINUB_for_stringop): Likewise.
48735         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48736         bit_Prefer_PMINUB_for_stringop.
48738 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48740         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48741         buffer64.
48742         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48743         of casting of buffer.
48744         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48745         buffer32 and buffer64.
48746         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48747         writes instead of casting of buffer.
48748         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48749         buffer32.
48750         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48751         casting of buffer.
48753 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48755         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48757 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48759         * nscd/nscd.c (termination_handler): Don't do anything for a database
48760         if it has not yet been initialized.
48762 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48764         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48766 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48768         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48770 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48772         * po/nl.po: Update from translation team.
48773         * po/sv.po: Likewise.
48775 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48777         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48778         now disallowed by GCC.
48780         * configure.in (use-default-link): Default to yes if a test -shared
48781         link meets our qualifications.
48782         * configure: Regenerated.
48784         * config.make.in (output-format): New variable.
48785         * configure.in: Check for ld --print-output-format support.
48786         * configure: Regenerated.
48787         * Makerules ($(common-objpfx)format.lds)
48788         [$(output-format) != unknown]: Just use $(output-format),
48789         instead of the linker-script munging.
48791 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48793         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48794         of $(common-objpfx)shlib.lds.
48795         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48797         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48798         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48800         * configure.in (-z relro check): Adjust test code to add a large
48801         writable data section after it.
48802         * configure: Regenerated.
48804 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48806         * configure.in (-z relro check): Fix test code to make the variable
48807         truly const.
48808         * configure: Regenerated.
48810 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48812         * nscd/nscd.h (struct traced_file): Define.
48813         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48814         elements.  Add traced_files.
48815         (inotify_fd): Declare.
48816         (register_traced_file): Declare.
48817         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48818         (inotify_fd): Export.
48819         (resolv_conf_descr): Remove.
48820         (nscd_init): Move inotify descriptor creation to main.
48821         Don't register files for notification here.
48822         (register_traced_file): New function.
48823         (invalidate_cache): Don't use reset_res to determine whether to call
48824         res_init, go through the list of registered files.
48825         (main_loop_poll): The inotify descriptors are now stored in the
48826         structures for the traced files.
48827         (main_loop_epoll): Likewise
48828         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48829         to __nss_disable_nscd.
48830         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48831         for a database anymore.  Check the records for all the registered
48832         files instead.
48833         * nss/Makefile (libnss_files-routines): Add files-init.
48834         (libnss_db-routines): Add db-init.
48835         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48836         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48837         * nss/nss_db/db-init.c: New file.
48838         * nss/nss_files/files-init.c: New file.
48839         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48840         __nss_lookup_function.
48841         (__nss_lookup_function): Call nss_load_library.
48842         (nss_load_all_libraries): New function.
48843         (__nss_disable_nscd): Take parameter with callback function for files
48844         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48845         used for the cached services.
48846         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48847         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48848         options for features to all the files in nscd.
48850         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48852 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48854         * csu/elf-init.c (__libc_csu_init): Comment typo.
48856 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48858         * po/pl.po: Update from translation team.
48859         * po/ja.po: Likewise.
48860         * po/ru.po: Likewise.
48861         * po/ko.po: Likewise.
48862         * po/fr.po: Likewise.
48864 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48866         * configure.in (.ctors/.dtors header and trailer check):
48867         Use an empirical test on a built program.
48868         * configure: Regenerated.
48870         * configure.in (-z relro check): Use an empirical test on a built DSO.
48871         Detect, but do not require, on ia64.
48872         * configure: Regenerated.
48874         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48875         Update tests that use readelf to use $READELF instead.
48876         * configure: Regenerated.
48878 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48880         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48881         if the result is not used.
48883 2011-07-05  Andreas Jaeger  <aj@suse.de>
48885         [BZ#9696]
48886         * stdlib/tst-strtod.c: Add testcase.
48888 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48890         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48891         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48892         The latter has a higher limit.  Take additional parameter to pass to
48893         the new function.
48894         (__pathconf): Pass file to __statfs_link_max.
48895         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48896         __statfs_link_max.
48897         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48898         __statfs_link_max.
48900         [BZ #12868]
48901         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48902         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48903         Handle Lustre.
48904         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48905         (__statfs_filesize_max): Likewise.
48906         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48908 2011-07-05  Andreas Jaeger  <aj@suse.de>
48910         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48912 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48914         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48915         `status' variable.
48916         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48917         Likewise.
48919 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48921         * Makefile (strop-tests): Add strncat.
48922         * string/test-strncat.c: New file.
48924 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48926         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48928 2011-06-21  Andreas Jaeger  <aj@suse.de>
48930         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48931         Copy rule from iconvdata/Makefile.
48933 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48935         [BZ #12922]
48936         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48937         but no long options are defined, just return 'W'.
48939 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48941         [BZ #9696]
48942         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48944 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48946         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48947         netgroups to read.
48948         (innetgr): Likewise.
48950 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48952         * config.make.in (install_root): Default to $(DESTDIR).
48954 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48956         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48958 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48960         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48962         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48963         containing directory rather than embedding absolute directory names.
48965         * scripts/check-local-headers.sh: Rewritten using awk.
48966         Match by word, not by line.  Print error messages for matches.
48967         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48969         * Makerules [shlib-lds-flags empty]:
48970         ($(common-objpfx)libc_pic.opts): New target.
48971         ($(common-objpfx)libc_pic.os.clean): New target.
48972         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48974         * config.make.in (OBJCOPY): New variable.
48975         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48976         * configure: Regenerated.
48978         * config.make.in (use-default-link): New variable.
48979         * configure.in (use_default_link): Grok --with-default-link to set it.
48980         * configure: Regenerated.
48981         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48982         (shlib-lds, shlib-lds-flags): Define to empty.
48984         * Makerules (shlib-lds): New variable.
48985         (shlib-lds-flags): New variable.
48986         (build-shlib, build-moduile, build-module-asneeded): Use it.
48987         ($(common-objpfx)libc.so): Use $(shlib-lds).
48988         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48989         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48991         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48992         DT_FLAGS/DT_FLAGS_1 with zero flags.
48994         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48995         linker script munging.
48997 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48999         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49000         as 128-bit value.
49001         * crypt/sha512.c (sha512_process_block): Perform total addition using
49002         128-bit if possible.
49003         (__sha512_finish_ctx): Likewise.
49004         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49005         as 64-bit value.
49006         * crypt/sha256.c (SWAP64): Define.
49007         (sha256_process_block): Perform total addition using 64-bit if
49008         possible.
49009         (__sha256_finish_ctx): Likewise.
49011 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49013         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49014         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49015         * nscd/hstcache.c (cache_addhst): Likewise.
49016         * nscd/grpcache.c (cache_addgr): Likewise.
49017         * nscd/aicache.c (addhstaiX): Likewise
49018         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49020 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49022         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49023         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49024         * nscd/hstcache.c (cache_addhst): Likewise.
49025         * nscd/grpcache.c (cache_addgr): Likewise.
49026         * nscd/aicache.c (addhstaiX): Likewise
49028 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49030         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49031         domain only when needed.
49033 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49036         is always restored.
49038 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49040         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49041         are re-adding the entry.
49042         * nscd/servicescache.c (cache_addserv): Likewise.
49044 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49046         * sysdeps/generic/dl-irel.h: fix protection against multiple
49047         inclusions.
49048         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49050 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49052         [BZ #12935]
49053         * malloc/memusage.sh: Fix quoting in message.
49054         * debug/xtrace.sh: Likewise.
49056         * configure.in: Remove support for --experimental-malloc option, make
49057         it the default.
49058         * config.make.in: Likewise.
49059         * malloc/Makefile: Likewise.
49061 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49063         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49064         two-byte characters.
49066 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49068         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49069         AC_CACHE_CHECK invocation.
49070         * configure: Regenerated.
49072         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49074 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49076         [BZ #12350]
49077         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49078         bit from old_res_options.
49080         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49082         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49083         value type for setfct.
49085 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49088         __gettimeofday instead of gettimeofday.
49090 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49092         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49094 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49096         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49098         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49099         info.
49101 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49104         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49105         strcpy-sse2-unaligned strncpy-sse2-unaligned
49106         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49107         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49108         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49109         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49110         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49111         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49112         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49113         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49114         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49115         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49116         (STRCPY): Support SSE2 and SSSE3 versions.
49118 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49120         [BZ #12874]
49121         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49122         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49123         kernels which artificially limit size of requests.
49125 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49128         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49129         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49130         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49131         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49132         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49133         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49134         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49135         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49136         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49137         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49138         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49139         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49140         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49141         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49143         Enable unaligned load optimization for Intel Core i3, i5 and i7
49144         processors.
49145         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49146         Define.
49147         (index_Fast_Unaligned_Load): Define.
49148         (HAS_FAST_UNALIGNED_LOAD): Define.
49150 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49152         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49154 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49156         [BZ #12907]
49157         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49158         until it is clear that the information is realy needed.
49159         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49161 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49165 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49168         /sys/devices/system/cpu/online if it is usable.
49170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49171         reading the information from the /proc filesystem to once a second.
49173 2011-06-21  Andreas Jaeger  <aj@suse.de>
49175         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49176         NULL after inclusion of kernel headers.
49178 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49180         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49181         calls to internal_setent.
49183         [BZ #12885]
49184         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49185         addresses using gethostbyname4_r ignore IPv4 addresses.
49187         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49188         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49190         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49192 2011-06-20  David S. Miller  <davem@davemloft.net>
49194         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49195         inclusions.
49196         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49198         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49199         (elf_irel): Use it.
49200         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49201         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49202         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49203         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49204         * sysdeps/x86_64/dl-irel.h: Likewise.
49206         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49207         * elf/dl-sym.c: Likewise.
49209 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49211         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49212         need to dereference resplen2.
49214 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49216         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49218 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49220         * Makeconfig: Define vardbdir and inst_vardbdir.
49221         * nss/Makefile: Add rules to install db-Makefile.
49223         * nss/nss_db/db-XXX.c: Cleanup.
49225         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49226         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49227         GLIBC_PRIVATE.
49228         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49229         * nss/makedb.c: Implement -g option to specify that value strings
49230         are generated and should not be added to table iterated over for
49231         get*ent calls.
49232         * nss/nss_db/db-initgroups.c: New file.
49234         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49235         interface.
49237         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49238         (internal_getgrouplist): Adjust to name change.
49239         Update use_initgroups_entry if this is not the first call.
49240         * nss/databases.def: Add initgroups entry.
49242         * nss/makedb.c (compute_tables): Check result of multiple hash table
49243         sizes to minimize maximum chain length.
49245 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49247         * Versions.def: Add entry for libnss_db.
49248         * shlib-versions: Likewise.
49249         * nss/Makefile: Add rules to build libnss_db.
49250         * nss/Versions: Add libnss_db information.  Organize libnss_files
49251         entries better.
49252         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49253         makedb progra.  Some minor improvements to generate smaller files.
49254         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49255         here from...
49256         * nss/makedb.c: ...here.
49257         Improve database format to be smaller and require less memory at
49258         runtime.
49259         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49260         db anymore.
49261         * nss/nss_db/db-netgrp.c: Likewise.
49262         * nss/nss_db/db-open.c: Likewise.
49263         * nss/nss_files/flies-XXX.x: Adjust comments.
49264         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49265         * nss/nss_files/files-grp.c: Likewise.
49266         * nss/nss_files/files-hosts.c: Likewise.
49267         * nss/nss_files/files-network.c: Likewise.
49268         * nss/nss_files/files-proto.c: Likewise.
49269         * nss/nss_files/files-pwd.c: Likewise.
49270         * nss/nss_files/files-rpc.c: Likewise.
49271         * nss/nss_files/files-service.c: Likewise.
49272         * nss/nss_files/files-sgrp.c: Likewise.
49273         * nss/nss_files/files-spwd.c: Likewise.
49274         * nss/nss_db/db-alias.c: Removed.
49275         * nss/nss_db/dummy-db.h: Removed.
49277 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49279         * nss/makedb.c: Rewritten to not use database library.
49280         * nss/Makefile: Update to build new makedb program.
49282 2011-06-14  Andreas Jaeger  <aj@suse.de>
49284         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49285         memset declaration.
49287 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49290         tmpbuf.
49292 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49294         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49295         * elf/Makefile ($(objpfx)ld.so): Likewise.
49297         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49298         Don't list ld.so twice in dependencies.
49300         * posix/bug-regex31.c: Include <stdlib.h>.
49302         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49304         * nis/nss_compat/compat-spwd.c
49305         (getspent_next_nss_netgr): Remove unused variable.
49306         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49308         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49309         nonmembers" output to use the right array.
49311         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49313         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49315         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49316         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49317         * catgets/gencat.c (read_input_file): Likewise.
49318         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49320         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49321         variable definition inside #if's controlling its use.
49323         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49325         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49327         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49329         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49330         unreachable code.
49332         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49334         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49335         * configure: Regenerated.
49337         * Makerules: Revert last change.
49338         * elf/Makefile: Likewise.
49340 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49342         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49343         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49344         (reloc-link): Likewise.
49346 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49348         * elf/Makefile: Add rules to build pldd.
49349         * elf/pldd.c: New file.
49350         * elf/pldd-xx.c: New file.
49352 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49354         * version.h: Update for 2.15 development version.
49356 2011-06-07  David S. Miller  <davem@davemloft.net>
49358         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49359         ifuncs.
49360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49361         elf_machine_lazy_rel): Likewise.
49362         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49364         elf_machine_lazy_rel): Likewise.
49365         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49366         dl_hwcap via passed in argument.
49367         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49368         Likewise.
49370 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49372         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49374 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49376         [BZ #12849]
49377         * manual/fdl-1.1.texi: New file, verbatim from:
49378         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49379         * manual/lgpl-2.1.texi: New file, verbatim from:
49380         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49381         * manual/Makefile (licenses): New variable, list those new file names.
49382         (texis): Use it.
49383         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49385         * manual/fdl.texi: File removed.
49386         * manual/lesser.texi: File removed.
49387         * manual/libc.texinfo (Copying, Documentation License):
49388         Use new @include file names, put @appendix directive before @include.
49390 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49392         [BZ #12841]
49393         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49394         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49395         (mq_open): Add __NTH.
49397 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49400         Assume Intel Core i3/i5/i7 processor if AVX is available.
49402 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49405         typo.
49407 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49409         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49410         memory.  Use alloca_account.  Fix memory leak when retrying.
49412 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49414         * version.h (RELEASE): Bump for 2.14 release.
49415         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49417         * config.make.in (RANLIB): Remove entry.
49419 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49421         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49422         (libc.pot): Work around missing support for .ksh extension in xgettext.
49424         [BZ #12684]
49425         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49426         if both request failed.
49427         (send_dg): In case of server errors clear resplen or *resplen2.
49429         [BZ #12454]
49430         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49431         when there are multiple maps.
49432         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49433         (_dl_fini): Remove test here.
49435         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49437 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49439         [BZ #12350]
49440         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49441         bit from old_res_options.
49442         (gaih_inet): Likewise.
49444         [BZ #11099]
49445         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49446         as signed.
49448         * resolv/res_init.c (res_setoptions): Make the code more compact.
49450         [BZ #11558]
49451         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49452         set RES_USEVC.
49454         [BZ #11634]
49455         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49457         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49459         [BZ #11781]
49460         * malloc/malloc.h: Declare malloc hook variables as volatile.
49462         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49463         in last patch.
49465         [BZ #11799]
49466         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49467         raise in the comment.
49468         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49469         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49470         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49472 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49474         [BZ #12811]
49475         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49476         grow the buffers more if it already has to be sufficient.
49477         (build_wcs_upper_buffer): Likewise.
49478         * posix/regexec.c (check_matching): Likewise.
49479         (clean_state_log_if_needed): Likewise.
49480         (extend_buffers): Don't enlarge buffers beyond size of the input
49481         buffer.
49482         Patches mostly by Emil Wojak <emil@wojak.eu>.
49483         * posix/bug-regex32.c: New file.
49484         * posix/Makefile (tests): Add bug-regex32.
49486         * locale/findlocale.c (_nl_find_locale): Return right away if
49487         _nl_explode_name failed.
49488         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49490         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49492         * debug/xtrace.sh: Unify messages.
49493         * malloc/memusage.sh: Likewise.
49495         [BZ #12813]
49496         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49497         time symbol from vDSO.  Substitute with vsyscall if not available.
49498         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49499         __vdso_time.
49501         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49502         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49503         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49504         Add sendmmsg and internal_sendmmsg.
49505         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49506         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49507         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49509         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49510         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49511         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49513 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49515         [BZ #12813]
49516         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49517         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49518         available.
49519         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49520         __vdso_getcpu.
49522         [BZ #12814]
49523         * iconvdata/Makefile (tests): Add bug-iconv9.
49524         * iconvdata/bug-iconv9.c: New file.
49526 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49528         [BZ #12814]
49529         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49531 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49533         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49534         (struct user_regs_struct): Change intcs field back to cs.
49536 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49538         * po/ja.po: Update from translation team.
49540 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49542         [BZ #12795]
49543         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49544         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49546 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49548         * stdlib/longlong.h: Update from GCC.
49550 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49552         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49553         parameter name.
49554         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49555         Add parameter name.
49556         (__sysconf): Pass it down.
49558 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49560         [BZ #12671]
49561         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49562         some situations.
49563         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49564         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49565         add in in __libc_use_alloca calls.  Adjust callers.
49566         (glob): Use malloc in some situations.
49568         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49569         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49570         pltexit.
49572 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49574         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49575         and CLOCK_BOOTTIME_ALARM.
49577         [BZ #12782]
49578         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49579         is returned.
49581         * string/_strerror.c (__strerror_r): Print negative errors as signed
49582         numbers.
49584         [BZ #12777]
49585         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49586         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49587         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49589         * configure.in: Fix typo in redirection and correct removal of test
49590         files in two cases.
49592         [BZ #12788]
49593         * locale/setlocale.c (new_composite_name): Fix test to check for
49594         identical name of all categories.
49596         [BZ #12792]
49597         * libio/filedoalloc.c (local_isatty): New function.
49598         (_IO_file_doallocate): Use local_isatty.
49599         * stdio-common/perror.c (perror): In case a new stream is used
49600         forward the stream error.
49601         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49602         error flag.
49604 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49606         [BZ #11869]
49607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49608         alloca.
49609         * include/alloca.h (extend_alloca_account): Define.
49611         [BZ #11857]
49612         * posix/regex.h: Fix comments with documentation of user-accessible
49613         fields after compilation and describe correct free'ing of pattern
49614         after re_compile_pattern.
49615         Patch by Reuben Thomas <rrt@sc3d.org>.
49617 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49619         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49620         and -mno-altivec to prevent the compiler from using Altivec and/or
49621         VSX instructions when the corresponding registers are not available.
49623 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49625         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49627 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49629         * libio/freopen.c (freopen): Use __dup2, not dup2.
49630         * libio/freopen64.c (freopen64): Likewise.
49632 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49634         [BZ #12775]
49635         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49636         * math/Makefile (tests): Add test-powl.
49637         (CFLAGS-test-powl.c): Define.
49638         * math/test-powl.c: New file.
49640 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49642         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49644 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49646         [BZ #11837]
49647         * iconvdata/gb18030.c: Update to GB18020-2005.
49649 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49651         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49652         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49653         Patch by Aharon Robbins <arnold@skeeve.com>.
49655         [BZ #11892]
49656         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49657         on the stack.
49659         [BZ #11895]
49660         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49661         through underflows.
49663         [BZ #12766]
49664         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49665         point to strings before performing equality test for error_one_per_line
49666         mode.
49668         [BZ #11697]
49669         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49671         [BZ #11820]
49672         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49673         (struct user_fpregs_struct): Avoid __uint*_t types.
49675         [BZ #6420]
49676         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49677         symbol info.  Use it instead of calling _dl_addr locally.
49678         (lock_and_info): New function.
49679         (tr_freehook): Call lock_and_info and pass symbol info as additional
49680         parameter to tr_where.
49681         (tr_mallochook): Likewise.
49682         (tr_reallochook): Likewise.
49683         (tr_memalignhook): Likewise.
49685         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49686         used and couldn't be at all thread-safe.
49688 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49690         * libio/freopen.c (freopen): Don't close old file descriptor
49691         before the new one is opened.  Instead dup the new file descriptor
49692         to the old one after the new stream is created.
49693         * libio/freopen64.c (freopen64): Likewise.
49694         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49695         * libio/fileops.c (_IO_new_file_close_it): Handle new
49696         _IO_FLAGS2_NOCLOSE flag.
49697         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49698         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49699         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49700         _IO_FLAGS2_NOCLOSE flag.
49701         * include/unistd.h: Add hidden_proto for dup3.
49702         Define __have_dup3.
49703         * io/dup3.c: Define hidden symbol.
49704         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49706         [BZ #7101]
49707         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49708         when an incomplete long option is used.
49709         * posix/tst-getopt_long1.c: New file.
49710         * posix/Makefile (tests): Add tst-getopt_long1.
49712         [BZ #10138]
49713         * scripts/config.guess: Update from autoconf-2.68.
49714         * scripts/config.sub: Likewise.
49716         [BZ #10157]
49717         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49718         tests into ...
49719         (has_cpuclock): ...this.  New function.
49720         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49721         macro here based on has_cpuclock code.
49723         [BZ #10149]
49724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49725         First byte (not low byte) is now always NUL.
49726         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49728         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49729         Use non-cancelable interfaces.
49731         [BZ #9809]
49732         * locale/iso-639.def: Add entry for Sorani.
49734         [BZ #11901]
49735         * include/stdlib.h: Move include protection to the right place.
49736         Define abort_msg_s.  Declare __abort_msg with it.
49737         * stdlib/abort.c (__abort_msg): Adjust type.
49738         * assert/assert.c (__assert_fail_base): New function.  Majority
49739         of code from __assert_fail.  Allocate memory for __abort_msg with
49740         mmap.
49741         (__assert_fail): Now call __assert_fail_base.
49742         * assert/assert-perr.c: Remove bulk of implementation.  Use
49743         __assert_fail_base.
49744         * include/assert.hL Declare __assert_fail_base.
49745         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49746         mmap.
49747         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49749 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49751         [BZ #11952]
49752         [BZ #12453]
49753         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49754         until all modules are registered in the DTV.
49755         * elf/Makefile: Add rules to build and run tst-tls19.
49756         * elf/tst-tls19.c: New file.
49757         * elf/tst-tls19mod1.c: New file.
49758         * elf/tst-tls19mod2.c: New file.
49759         * elf/tst-tls19mod3.c: New file.
49760         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49762         [BZ #12083]
49763         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49764         correctly.
49766         [BZ #12601]
49767         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49768         two-byte sequence errors.
49769         * iconvdata/Makefile (tests): Add bug-iconv8.
49770         * iconvdata/bug-iconv8.c: New file.
49772         [BZ #12626]
49773         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49774         buf2 definition.
49776         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49778         [BZ #12432]
49779         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49780         (dummy_getcfa): New function.
49781         (init): Get _Unwind_GetCFA address, use dummy if not found.
49782         (backtrace_helper): In recursion check, also check whether CFA changes.
49783         (__backtrace): Completely initialize arg.
49785         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49786         storing incomplete byte sequence in state object.  Avoid testing for
49787         guaranteed too small input if we know there is enough data available.
49789 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49791         * Makeconfig (+link-pie): Indent.
49792         * Rules (binaries-pie): Define if $(have-fpie) and
49793         $(build-shared).
49794         (binaries-shared): Also filter out $(binaries-pie).
49795         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49796         * nscd/Makefile (others-pie): Add nscd.
49797         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49798         ($(objpfx)nscd): Remove command override.
49799         * login/Makefile (others-pie): Add pt_chown.
49800         ($(objpfx)pt_chown): Remove command override.
49801         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49802         remove command overrides.
49804 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49806         * libio/tst_putwc.c: Fix error messages.
49808         [BZ #12724]
49809         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49810         currently writing and seek to current position when not.
49811         * libio/Makefile (tests): Add bug-fclose1.
49812         * libio/bug-fclose1.c: New file.
49814 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49816         [BZ #12511]
49817         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49818         don't set DF_1_NODELETE here.
49819         (do_lookup_x): When entering new entry test for copy relocation
49820         and if necessary set DF_1_NODELETE flag.
49821         * elf/tst-unique4.cc: New file.
49822         * elf/tst-unique4.h: New file.
49823         * elf/tst-unique4lib.cc: New file.
49824         * elf/Makefile: Add rules to build and run tst-unique4.
49825         Patch by Piotr Bury <pbury@goahead.com>.
49827 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49829         [BZ #12052]
49830         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49832         [BZ #12625]
49833         * misc/mntent_r.c (addmntent): Flush the stream after the output
49835         [BZ #12393]
49836         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49837         (is_trusted_path_normalize): Skip initial colon.  Append slash
49838         to empty buffer.  Duplicate is_trusted_path code but allow
49839         constructed patch to be prefix.
49840         (is_dst): Allow $ORIGIN followed by /.
49841         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49842         Correct testing of result of is_trusted_path_normalize
49843         (decompose_rpath): Fix warning.
49845 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49847         [BZ #11257]
49848         * grp/initgroups.c (internal_getgrouplist): When we found the service
49849         list through the initgroups entry in nsswitch.conf do not always
49850         continue on a successful lookup.  Don't always use the
49851         __nss_group_database value if it is set.
49852         * nss/nsswitch.conf (initgroups): Change action for successful db
49853         lookup to continue for compatibility.
49855 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49857         [BZ #11532]
49858         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49859         and CP774 modules.
49860         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49861         and CP774 modules.
49862         * iconvdata/tst-tables.sh: Likewise.
49863         * iconvdata/cp770.c: New file.
49864         * iconvdata/cp771.c: New file.
49865         * iconvdata/cp772.c: New file.
49866         * iconvdata/cp773.c: New file.
49867         * iconvdata/cp774.c: New file.
49868         * iconvdata/testdata/CP770: New file.
49869         * iconvdata/testdata/CP770..UTF8: New file.
49870         * iconvdata/testdata/CP771: New file.
49871         * iconvdata/testdata/CP771..UTF8: New file.
49872         * iconvdata/testdata/CP772: New file.
49873         * iconvdata/testdata/CP772..UTF8: New file.
49874         * iconvdata/testdata/CP773: New file.
49875         * iconvdata/testdata/CP773..UTF8: New file.
49876         * iconvdata/testdata/CP774: New file.
49877         * iconvdata/testdata/CP774..UTF8: New file.
49879         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49880         END CHARMAP line.
49881         * iconvdata/gen-8bit-gap.sh: Likewise.
49882         * iconvdata/gen-8bit.sh: Likewise.
49884         * locale/iso-639.def: Add ary entry.
49886         [BZ #11258]
49887         * locale/C-translit.h.in: Add U20A1 transliteration.
49889         [BZ #12178]
49890         * locale/iso-639.def: Add wae entry.
49891         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49893         [BZ #12545]
49894         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49895         for n.
49897         [BZ #12711]
49898         * locale/C-translit.h.in: Add entry for U20B9.
49899         Patch by pravin.d.s@gmail.com.
49901 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49903         [BZ #12713]
49904         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49905         ENAMETOOLONG use generic getcwd.
49906         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49907         in rtld.  Use *stat64.
49908         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49909         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49910         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49911         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49912         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49913         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49914         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49915         __fstatat64 macros.
49916         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49917         * dirent/rewinddir.c: Add libc_hidden_def.
49918         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49919         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49921         * include/dirent.h (__alloc_dir): Add flags parameter.
49922         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49923         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49924         __alloc_dir.
49925         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49926         from fdopendir if O_CLOEXEC is already set.
49928 2011-03-15  Alan Modra  <amodra@gmail.com>
49930         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49931         l_tls_firstbyte_offset non-zero.  Save padding offset in
49932         l_tls_firstbyte_offset for later use.
49933         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49934         freeing static tls block.
49936 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49938         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49939         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49940         being defined by the kernel headers.
49942 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49944         [BZ #12734]
49945         * resolv/resolv.h: Define RES_NOTLDQUERY.
49946         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49947         no-tld-query and set RES_NOTLDQUERY.
49948         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49949         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49950         modern BIND to search name as TLD unless forbidden.
49952 2011-05-07  Petr Baudis  <pasky@suse.cz>
49953             Ulrich Drepper  <drepper@gmail.com>
49955         [BZ #12393]
49956         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49957         (is_trusted_path): ...to here.
49958         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49959         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49960         using is_trusted_path_normalize() in setuid scripts.
49962 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49964         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49965         __BEGIN/__END_DECLS.
49967 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49969         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49970         NSS_STATUS_NOTFOUND if no record was found.
49972 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49974         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49975         (headers-not-in-tirpc): Remove rpc/netdb.h
49976         * resolv/netdb.h: Revert last change.
49978 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49980         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49981         circular dependency between libgcc.a and libc.a.
49983 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49985         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49986         * nis/Makefile: Don't install rpcsvc/*.
49987         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49988         instead of <rpc/types.h>.
49989         (MAXHOSTNAMELEN): Define.
49991 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49993         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49995 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49997         [BZ #12714]
49998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49999         gethostbyname4_r when IPv6 results are possible.
50001 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50003         [BZ #12723]
50004         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50005         _PC_PIPE_BUF handling.
50007 2011-04-30  Bruno Haible  <bruno@clisp.org>
50009         [BZ #12717]
50010         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50011         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50012         to 'int'.
50013         * inet/getnameinfo.c (getnameinfo): Likewise.
50015 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50017         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50018         to groups setting in database lookup.
50019         * nss/nsswitch.conf: Add initgroups entry.
50021 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50023         [BZ #12685]
50024         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50025         mode string.
50026         Patch by Eric Blake <eblake@redhat.com>.
50028 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50030         * sunrpc/Makefile (need-export-routines): Add svc_run.
50031         (routines): Remove svc_run.
50032         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50033         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50034         * sunrpc/svc_run.c (svc_run): Likewise.
50035         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50037 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50039         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50040         problem in reallocation in last patch.
50042 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50044         * sunrpc/Makefile: Move inclusion of Rules.
50046 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50048         * nss/nss_files/files-initgroups.c: New file.
50049         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50050         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50051         _nss_files_initgroups_dyn.
50053 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50055         * elf/elf.h (R_ARM_IRELATIVE): Define.
50057 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50059         * po/ru.po: Update from translation team.
50061 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50063         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50064         dependencies.
50066 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50068         [BZ #12653]
50069         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50070         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50071         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50072         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50075 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50077         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50078         differing bytes.
50079         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50080         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50081         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50083 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50085         [BZ #12420]
50086         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50087         storing it.
50088         * stdlib/bug-getcontext.c: New file.
50089         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50091 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50093         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50094         instructions into .machine "z9-109".
50095         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50096         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50098 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50100         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50101         between environment variables and auxiliary vector.
50103 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50105         * Makefile: Add rules to build linkobj/libc.so.
50106         * include/libc-symbols.h: Define libc_hidden_nolink.
50107         * include/rpc/auth.h: Mark functions which are to be hidden.
50108         * include/rpc/auth_des.h: Likewise.
50109         * include/rpc/auth_unix.h: Likewise.
50110         * include/rpc/clnt.h: Likewise.
50111         * include/rpc/des_crypt.h: Likewise.
50112         * include/rpc/key_prot.h: Likewise.
50113         * include/rpc/pmap_clnt.h: Likewise.
50114         * include/rpc/pmap_prot.h: Likewise.
50115         * include/rpc/pmap_rmt.h: Likewise.
50116         * include/rpc/rpc_msg.h: Likewise.
50117         * include/rpc/svc.h: Likewise.
50118         * include/rpc/svc_auth.h: Likewise.
50119         * include/rpc/xdr.h: Likewise.
50120         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50121         * nss/Makefile: Likewise.
50122         * sunrpc/Makefile: Don't install headers.  Build library with normal
50123         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50124         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50125         for the compat linking library.  Remove use of INTDEF/INTUSE.
50126         * sunrpc/auth_none.c: Likewise.
50127         * sunrpc/auth_unix.c: Likewise.
50128         * sunrpc/authdes_prot.c: Likewise.
50129         * sunrpc/authuxprot.c: Likewise.
50130         * sunrpc/clnt_gen.c: Likewise.
50131         * sunrpc/clnt_perr.c: Likewise.
50132         * sunrpc/clnt_raw.c: Likewise.
50133         * sunrpc/clnt_simp.c: Likewise.
50134         * sunrpc/clnt_tcp.c: Likewise.
50135         * sunrpc/clnt_udp.c: Likewise.
50136         * sunrpc/clnt_unix.c: Likewise.
50137         * sunrpc/des_crypt.c: Likewise.
50138         * sunrpc/des_soft.c: Likewise.
50139         * sunrpc/get_myaddr.c: Likewise.
50140         * sunrpc/key_call.c: Likewise.
50141         * sunrpc/key_prot.c: Likewise.
50142         * sunrpc/netname.c: Likewise.
50143         * sunrpc/pm_getmaps.c: Likewise.
50144         * sunrpc/pm_getport.c: Likewise.
50145         * sunrpc/pmap_clnt.c: Likewise.
50146         * sunrpc/pmap_prot.c: Likewise.
50147         * sunrpc/pmap_prot2.c: Likewise.
50148         * sunrpc/pmap_rmt.c: Likewise.
50149         * sunrpc/publickey.c: Likewise.
50150         * sunrpc/rpc_cmsg.c: Likewise.
50151         * sunrpc/rpc_common.c: Likewise.
50152         * sunrpc/rpc_dtable.c: Likewise.
50153         * sunrpc/rpc_prot.c: Likewise.
50154         * sunrpc/rpc_thread.c: Likewise.
50155         * sunrpc/rtime.c: Likewise.
50156         * sunrpc/svc.c: Likewise.
50157         * sunrpc/svc_auth.c: Likewise.
50158         * sunrpc/svc_authux.c: Likewise.
50159         * sunrpc/svc_raw.c: Likewise.
50160         * sunrpc/svc_run.c: Likewise.
50161         * sunrpc/svc_simple.c: Likewise.
50162         * sunrpc/svc_tcp.c: Likewise.
50163         * sunrpc/svc_udp.c: Likewise.
50164         * sunrpc/svc_unix.c: Likewise.
50165         * sunrpc/svcauth_des.c: Likewise.
50166         * sunrpc/xcrypt.c: Likewise.
50167         * sunrpc/xdr.c: Likewise.
50168         * sunrpc/xdr_array.c: Likewise.
50169         * sunrpc/xdr_float.c: Likewise.
50170         * sunrpc/xdr_intXX_t.c: Likewise.
50171         * sunrpc/xdr_mem.c: Likewise.
50172         * sunrpc/xdr_rec.c: Likewise.
50173         * sunrpc/xdr_ref.c: Likewise.
50174         * sunrpc/xdr_sizeof.c: Likewise.
50175         * sunrpc/xdr_stdio.c: Likewise.
50177 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50179         [BZ #12650]
50180         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50181         * sysdeps/ia64/dl-tls.h: Likewise.
50182         * sysdeps/powerpc/dl-tls.h: Likewise.
50183         * sysdeps/s390/dl-tls.h: Likewise.
50184         * sysdeps/sh/dl-tls.h: Likewise.
50185         * sysdeps/sparc/dl-tls.h: Likewise.
50186         * sysdeps/x86_64/dl-tls.h: Likewise.
50187         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50189 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50191         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50192         rpath element also skip the following colon.
50193         (expand_dynamic_string_token): Add is_path parameter and pass
50194         down to DL_DST_REQUIRED and _dl_dst_substitute.
50195         (decompose_rpath): Call expand_dynamic_string_token with
50196         non-zero is_path.  Ignore empty rpaths.
50197         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50198         with zero is_path.
50200 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50203         Make cancelable.
50205 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50207         [BZ #12655]
50208         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50209         Patch by Filipe David Manana <fdmanana@apache.org>.
50211 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50213         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50214         Maintain aligned stack.
50215         (CHECK_RSP): Remove unused macro.
50217 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50219         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50220         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50222 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50224         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50226         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50228 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50230         [BZ #12518]
50231         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50232         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50233         * sysdeps/x86_64/memmove.c: New file.
50234         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50235         (memcpy): Renamed to ...
50236         (__new_memcpy): This.
50237         (memcpy): Provide GLIBC_2_14 memcpy.
50238         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50239         (memcpy): Provide GLIBC_2_2_5 memcpy.
50241 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50243         [BZ #12631]
50244         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50246 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50248         * misc/syncfs.c: New file.
50249         * misc/Makefile (routines): Add syncfs.
50250         * posix/unistd.h: Declare syncfs.
50251         * sysdeps/unix/syscalls.list: Add syncfs.
50253 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50255         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50256         open_by_handle_at.
50257         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50258         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50260         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50261         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50262         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50265 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50267         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50268         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50269         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50271         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50273         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50275         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50276         sync_file_range.c with -fexceptions.
50277         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50278         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50279         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50280         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50281         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50282         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50284         sync_file_range as cancellation point
50285         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50286         now a wrapper around __call_sync_file_range with cancellation handling.
50287         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50288         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50289         function name to __call_sync_file_range.
50290         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50291         Add call_sync_file_range.
50293 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50296         bits/timex.h.
50298 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50300         * iconv/iconv.h: Fix typo in comment.
50301         * io/fcntl.h: Likewise.
50302         * libio/stdio.h: Likewise.
50303         * posix/spawn.h: Likewise.
50304         * posix/unistd.h: Likewise.
50305         * stdlib/stdlib.h: Likewise.
50306         * time/time.h: Likewise.
50307         * wcsmbs/wchar.h: Likewise.
50309         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50310         open_by_handle): Add.
50311         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50312         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50313         Augment a few comments.
50314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50316         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50318         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50319         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50320         open_by_handle.
50322         * io/fcntl.h (AT_EMPTY_PATH): Define.
50324 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50326         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50327         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50328         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50329         to...
50330         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50331         * Versions.def: Add GLIBC_2.14.
50332         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50333         Export.
50335 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50337         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50338         round counter.
50339         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50341 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50343         [BZ #12597]
50344         * string/test-strncmp.c (do_page_test): New function.
50345         (check2): Likewise.
50346         (test_main): Call check2.
50347         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50349 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50351         [BZ #12587]
50352         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50353         Handle cache information in CPU leaf 4.
50354         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50356 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50358         [BZ #12583]
50359         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50360         character representation.
50361         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50363 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50365         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50366         END(__isnan) to END(__isnanf) to match function entry point/label
50367         EALIGN(__isnanf,...).
50369 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50371         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50373 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50375         [BZ #12510]
50376         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50377         copy from the symbol referenced in the relocation to initialize the
50378         used variable.
50379         Patch by Piotr Bury <pbury@goahead.com>.
50380         * elf/Makefile: Add rules to build and tst-unique3.
50381         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50382         * elf/tst-unique3.cc: New file.
50383         * elf/tst-unique3.h: New file.
50384         * elf/tst-unique3lib.cc: New file.
50385         * elf/tst-unique3lib2.cc: New file.
50387         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50389 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50391         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50392         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50393         to _start.
50395 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50397         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50398         to-be-loaded object along a path to loader is ld.so.
50400 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50401             Ulrich Drepper  <drepper@gmail.com>
50403         * sysdeps/x86_64/memset.S: After aligning destination, code
50404         branches to different locations depending on the value of
50405         misalignment, when multiarch is enabled. Fix this.
50407 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50409         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50410         Set _x86_64_preferred_memory_instruction for AMD processsors.
50411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50412         Set bit_Prefer_SSE_for_memop for AMD processors.
50414 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50416         * libio/fmemopen.c (fmemopen): Optimize a bit.
50418 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50420         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50422 2011-03-03  Roland McGrath  <roland@redhat.com>
50424         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50426 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50428         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50429         __bzero_ultra1 instead of __memset_ultra1.
50431 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50432             Ulrich Drepper  <drepper@gmail.com>
50434         [BZ #12509]
50435         * include/link.h (struct link_map): Add l_orig_initfini.
50436         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50437         returning unsuccessfully.
50438         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50439         close of a file loaded at startup, restore the original l_initfini
50440         list.
50441         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50442         list, store the pointer.
50443         * elf/Makefile ($(objpfx)noload-mem): New rule.
50444         (noload-ENV): Define.
50445         (tests): Add $(objpfx)noload-mem.
50446         * elf/noload.c: Include <memcheck.h>.
50447         (main): Call mtrace.  Close all opened handles.
50449 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50451         [BZ #12454]
50452         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50453         dependencies are missing.
50455 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50457         Fix __if_freereq crash: Unlike the generic version which uses free,
50458         Hurd needs munmap.
50459         * sysdeps/mach/hurd/ifreq.h: New file.
50461 2011-01-27  Petr Baudis  <pasky@suse.cz>
50462             Ulrich Drepper  <drepper@gmail.com>
50464         [BZ 12445]#
50465         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50466         to extend_alloca().
50467         * stdio-common/bug23.c: New file.
50468         * stdio-common/Makefile (tests): Add bug23.
50470 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50471             Ulrich Drepper  <drepper@gmail.com>
50473         [BZ #12489]
50474         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50475         before performing relro protection.  At old place add assertion
50476         to make sure nothing changed.
50478 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50479             Glauber de Oliveira Costa  <glommer@gmail.com>
50481         * elf/elf.h: Add new ARM TLS relocs.
50483 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50486         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50487         cast from r3.
50488         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50489         'tests' variable.
50490         * sysdeps/wordsize-64/tst-writev.c: New file.
50492 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50494         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50495         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50496         insns in _dl_start to prevent a TOC reference before relocs are
50497         resolved.
50499 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50501         [BZ #12469]
50502         * Makeconfig: Remove RANLIB definition.
50503         * Makerules: Don't use RANLIB.
50504         * aclocal.m4: Remove ranlib test.
50505         * configure.in: No need to check for ranlib.
50506         * elf/rtld-Rules: Don't use RANLIB.
50508 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50510         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50511         protection macro.
50512         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50513         inclusion protection macro.
50515         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50516         SIGRTMIN and SIGRTMAX and print information in that case only when
50517         SIGRTMIN is defined.
50519 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50521         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50522         arginfo fn returning -1.
50524         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50525         and thousands string is zero terminated.
50527 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50529         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50530         sysdeps/unix/sysv/linux/bits/socket.h.
50532 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50534         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50535         (__CPU_COUNT): Remove old macros.
50536         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50537         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50538         (__CPU_ALLOC, __CPU_FREE): Add macros.
50539         (__sched_cpualloc, __sched_cpufree): Add declarations.
50541 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50543         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50544         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50545         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50546         (readdhstai): Return value of addhstaiX call.
50547         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50548         (addgrbyX): Return value returned by cache_addgr.
50549         (readdgrbyname): Return value returned by addgrbyX.
50550         (readdgrbygid): Likewise.
50551         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50552         (addpwbyX): Return value returned by cache_addpw.
50553         (readdpwbyname): Return value returned by addhstbyX.
50554         (readdpwbyuid): Likewise.
50555         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50556         (addservbyX): Return value returned by cache_addserv.
50557         (readdservbyname): Return value returned by addservbyX:
50558         (readdservbyport): Likewise.
50559         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50560         (addhstbyX): Return value returned by cache_addhst.
50561         (readdhstbyname): Return value returned by addhstbyX.
50562         (readdhstbyaddr): Likewise.
50563         (readdhstbynamev6): Likewise.
50564         (readdhstbyaddrv6): Likewise.
50565         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50566         (readdinitgroups): Return value returned by addinitgroupsX.
50567         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50568         (prune_cache): Keep track of timeout value of re-added entries.
50569         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50570         * nscd/nscd.h: Adjust prototypes of readd* functions.
50572 2011-02-04  Roland McGrath  <roland@redhat.com>
50574         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50575         (nis_stats): Likewise.
50576         * nis/nis_modify.c (nis_modify): Likewise.
50577         * nis/nis_remove.c (nis_remove): Likewise.
50578         * nis/nis_add.c (nis_add): Likewise.
50580         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50582         * posix/fnmatch_loop.c: Add some consts.
50584         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50586 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50588         [BZ #12460]
50589         * config.make.in (config-cflags-novzeroupper): Define.
50590         * configure.in: Substitute libc_cv_cc_novzeroupper.
50591         * elf/Makefile (AVX-CFLAGS): Define.
50592         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50593         (CFLAGS-tst-auditmod4a.c): Likewise.
50594         (CFLAGS-tst-auditmod4b.c): Likewise.
50595         (CFLAGS-tst-auditmod6b.c): Likewise.
50596         (CFLAGS-tst-auditmod6c.c): Likewise.
50597         (CFLAGS-tst-auditmod7b.c): Likewise.
50598         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50600 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50602         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50603         function to the callback.
50604         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50606 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50608         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50609         of errno.
50611 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50613         [BZ #11724]
50614         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50615         of constructors.
50616         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50617         of destructors.
50618         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50620         [BZ #11724]
50621         * elf/Makefile: Add rules to build and run new test.
50622         * elf/tst-initorder.c: New file.
50623         * elf/tst-initorder.exp: New file.
50624         * elf/tst-initordera1.c: New file.
50625         * elf/tst-initordera2.c: New file.
50626         * elf/tst-initordera3.c: New file.
50627         * elf/tst-initordera4.c: New file.
50628         * elf/tst-initorderb1.c: New file.
50629         * elf/tst-initorderb2.c: New file.
50630         * elf/tst-order-a1.c: New file.
50631         * elf/tst-order-a2.c: New file.
50632         * elf/tst-order-a3.c: New file.
50633         * elf/tst-order-a4.c: New file.
50634         * elf/tst-order-b1.c: New file.
50635         * elf/tst-order-b2.c: New file.
50636         * elf/tst-order-main.c: New file.
50637         New test case by George Gensure <werkt0@gmail.com>.
50639 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50642         decoding ACE if AI_CANONIDN.
50644 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50646         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50648 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50650         * version.h (RELEASE): Bump for 2.13 release.
50651         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50653         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50655         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50656         MADV_NOHUGEPAGE.
50657         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50658         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50659         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50660         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50661         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50662         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50664         * posix/getconf.c: Update copyright year.
50665         * catgets/gencat.c: Likewise.
50666         * csu/version.c: Likewise.
50667         * debug/catchsegv.sh: Likewise.
50668         * debug/xtrace.sh: Likewise.
50669         * elf/ldconfig.c: Likewise.
50670         * elf/ldd.bash.in: Likewise.
50671         * elf/sprof.c (print_version): Likewise.
50672         * iconv/iconv_prog.c: Likewise.
50673         * iconv/iconvconfig.c: Likewise.
50674         * locale/programs/locale.c: Likewise.
50675         * locale/programs/localedef.c: Likewise.
50676         * malloc/memusage.sh: Likewise.
50677         * malloc/mtrace.pl: Likewise.
50678         * nscd/nscd.c (print_version): Likewise.
50679         * nss/getent.c: Likewise.
50681         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50682         PF_CAIF, and PF_ALG.
50683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50685 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50687         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50688         (modules-names): Use them.
50689         (ifunc-test-modules, ifunc-pie-tests): Define.
50690         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50691         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50692         (test-extras): Likewise.
50693         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50694         $(compile-command.c).
50695         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50696         (all-built-dso): Define.
50697         (check-textrel.out, check-execstack.out): Depend on it.
50699         * configure.in: Don't override --enable-multi-arch.
50701 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50703         [BZ #6812]
50704         * nscd/hstcache.c (tryagain): Define.
50705         (cache_addhst): Return tryagain not notfound for temporary errors.
50706         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50707         failed.
50709 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50711         [BZ #10563]
50712         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50713         to make the syscall.
50714         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50716         [BZ #12378]
50717         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50718         and fall back to matching as normal character if the string ends before
50719         the matching ']' is found.  This is what POSIX requires.
50720         * posix/testfnm.c: Adjust test result.
50721         * posix/globtest.sh: Adjust test result.  Add new test.
50722         * posix/tst-fnmatch.input: Likewise.
50723         * posix/tst-fnmatch2.c: Add new test.
50725 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50727         * elf/Makefile (check-execstack): Revert last change.  Depend on
50728         check-execstack.h.
50729         (check-execstack.h): New target.
50730         (generated): Add check-execstack.h.
50731         * elf/check-execstack.c: Include "check-execstack.h".
50732         (main): Revert last change.
50733         (handle_file): Return zero if GNU_STACK is absent and
50734         DEFAULT_STACK_PERMS doesn't include PF_X.
50736 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50738         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50739         in child fails because the descriptor is already closed.
50740         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50741         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50742         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50744         [BZ #12397]
50745         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50746         syscall.
50748         [BZ #10484]
50749         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50750         temporary buffer used to handle multi lookups locally.
50751         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50753 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50755         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50756         loader is ld.so.
50758 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50760         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50761         alignment for SSE2.
50763 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50765         [BZ #12394]
50766         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50767         characters.  When rounding increased number of integer digits recompute
50768         number of groups.
50769         * stdio-common/tst-grouping.c: New file.
50770         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50772 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50774         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50775         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50777         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50778         void.
50779         * bits/select.h: Likewise.
50781 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50783         * po/ja.po: Update from translation team.
50785 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50787         [BZ #11155]
50788         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50789         implementation just like for lxstat, fxstatat, et al.
50791 2010-12-27  Jim Meyering  <meyering@redhat.com>
50793         [BZ #12348]
50794         * posix/regexec.c (build_trtable): Return failure indication upon
50795         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50797 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50799         [BZ #12201]
50800         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50801         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50802         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50803         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50805         [BZ #12207]
50806         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50808         [BZ #12204]
50809         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50810         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50812 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50814         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50815         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50816         script has SORT_BY_INIT_PRIORITY.
50817         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50818         NO_CTORS_DTORS_SECTIONS is defined.
50819         * elf/soinit.c: Likewise.
50820         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50821         NO_CTORS_DTORS_SECTIONS is defined.
50822         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50823         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50824         * sysdeps/sh/init-first.c: Likewise.
50825         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50827 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50829         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50830         always use the slow path.
50832 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50834         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50835         similar rule which adds the sysdep directories to the header search in
50836         order to pick up the correct platform stackinfo.h.
50837         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50838         perform test if it is, otherwise return successfully without testing.
50839         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50840         DEFAULT_STACK_PERMS define in stackinfo.h.
50841         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50842         defined in stackinfo.h.
50843         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50844         DEFAULT_STACK_PERMS defined in stackinfo.h.
50845         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50846         * sysdeps/ia64/stackinfo.h: Likewise.
50847         * sysdeps/s390/stackinfo.h: Likewise.
50848         * sysdeps/sh/stackinfo.h: Likewise.
50849         * sysdeps/sparc/stackinfo.h: Likewise.
50850         * sysdeps/x86_64/stackinfo.h: Likewise.
50851         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50852         PF_X for powerpc64.  Retain PF_X for powerpc32.
50854 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50856         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50857         accurately.
50858         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50859         GETDENTS_64BIT_ALIGNED.
50861 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50863         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50865 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50867         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50868         _GNU_SOURCE.
50870         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50871         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50872         Remove __restrict.
50873         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50874         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50876 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50878         [BZ #11655]
50879         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50880         are initialized.
50882 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50884         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50886 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50888         * po/it.po: Update from translation team.
50890 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50893         unused codes.
50895 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50897         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50899 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50901         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50902         specially.
50903         (gaih_getanswer_slice): Likewise.
50905 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50909 2010-05-31  Petr Baudis  <pasky@suse.cz>
50911         [BZ #11149]
50912         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50913         silently even in the chroot mode.
50915 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50917         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50918         last patch a bit.  Pretty printing
50920 2010-05-31  Petr Baudis <pasky@suse.cz>
50922         [BZ #10085]
50923         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50924         initialization of skip_initgroups_dyn.
50926 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50929         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50931 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50933         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50935 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50937         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50938         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50939         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50940         ($(objpfx)tst-fnmatch-mem): New rule.
50941         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50942         * posix/tst-fnmatch.c (main): Call mtrace.
50944 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50947         Support Intel processor model 6 and model 0x2c.
50949 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50952           signed comparison.
50954 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50956         [BZ #12205]
50957         * string/test-strncasecmp.c (check_result): New function.
50958         (do_one_test): Use it.
50959         (check1): New function.
50960         (test_main): Use it.
50961         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50962         Support strcasecmp and strncasecmp.
50964 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50966         [BZ #12194]
50967         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50968         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50970 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50972         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50973         IFUNC support.
50974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50975         memset-x86-64.
50976         * sysdeps/x86_64/multiarch/bzero.S: New file.
50977         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50978         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50979         * sysdeps/x86_64/multiarch/memset.S: New file.
50980         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50982         Set bit_Prefer_SSE_for_memop for Intel processors.
50983         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50984         Define.
50985         (index_Prefer_SSE_for_memop): Define.
50986         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50988 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50990         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50991         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50993 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50995         [BZ #12191]
50996         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50997         (__x86_64_raw_data_cache_size_half): Likewise.
50998         (__x86_64_raw_shared_cache_size): Likewise.
50999         (__x86_64_raw_shared_cache_size_half): Likewise.
51001         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51002         (__x86_64_raw_data_cache_size_half): Likewise.
51003         (__x86_64_raw_shared_cache_size): Likewise.
51004         (__x86_64_raw_shared_cache_size_half): Likewise.
51005         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51006         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51007         and __x86_64_raw_shared_cache_size_half.  Round
51008         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51009         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51010         to multiple of 256 bytes.
51012 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51014         [BZ #12167]
51015         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51016         of inacessible symlinks.  Verify result of symlink before returning it.
51017         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51018         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51020 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51022         * math/math.h (isinf): Fix typo in comment.
51024 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51026         * po/da.po: Update from translation team.
51028 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51030         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51031         is added to the list.
51033 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51034             Ulrich Drepper  <drepper@gmail.com>
51036         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51037         the global list here.  Move code to...
51038         (_dl_add_to_namespace_list): ...here.  New function.
51039         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51040         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51041         * elf/dl-load.c (lose): Don't remove the element from the list.
51042         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51043         (_dl_map_object): Likewise.
51045 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51047         [BZ #12159]
51048         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51049         into all bytes of SSE register.
51050         Patch by Richard Li <richardpku@gmail.com>.
51052 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51054         [BZ #12140]
51055         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51056         perturbing.
51058 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51060         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51061         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51062         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51063         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51065         submachine.
51066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51068 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51070         * include/dlfcn.h (__RTLD_SECURE): Define.
51071         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51072         mode & __RTLD_SECURE instead.
51073         (open_path): Rename preloaded parameter to secure.
51074         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51075         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51076         * elf/dl-deps.c (openaux): Likewise.
51077         * elf/rtld.c (struct map_args): Remove is_preloaded.
51078         (map_doit): Don't use it.
51079         (dl_main): Likewise.
51080         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51081         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51083 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51085         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51086         (sysd-rules-targets): Remove duplicates.
51087         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51088         rtld-%.$o dependency.
51090 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51092         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51093         _dl_map_object do it.
51095 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51097         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51098         fast fma builtins, define the macros in the C99 standard.
51099         (FP_FAST_FMAF): Likewise.
51100         (FP_FAST_FMAL): Likewise.
51101         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51103         * bits/mathdef.h: Update copyright year.
51104         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51106 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51108         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51109         builtins, define the macros in the C99 standard.
51110         (FP_FAST_FMAF): Likewise.
51111         (FP_FAST_FMAL): Likewise.
51112         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51113         multiply/add.
51114         (FP_FAST_FMAF): Likewise.
51116 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51118         [BZ #3268]
51119         * math/libm-test.inc (fma_test): Some new testcases.
51120         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51121         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51122         y and infinite z.  Do multiplication by C already in long double.
51123         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51125         y and infinite z.  Do bitwise or of inexact bit into u.d.
51126         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51127         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51128         * sysdeps/i386/fpu/s_fma.S: Removed.
51129         * sysdeps/i386/fpu/s_fmal.S: Removed.
51131 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51133         [BZ #3268]
51134         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51136         computation is not scheduled after fetestexcept.  Fix value
51137         of minimum denormal long double.
51139 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51141         [BZ #3268]
51142         * math/libm-test.inc (fma_test): Add some more tests.
51143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51144         correctly.
51146 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51148         * scripts/data/localplt-s390-linux-gnu.data: New file.
51149         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51151 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51153         [BZ #3268]
51154         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51155         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51156         instead of dbl-64.
51157         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51158         inlines.
51159         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51161         if one of x and y is very large and the other is subnormal.
51162         * sysdeps/s390/fpu/s_fmaf.c: New file.
51163         * sysdeps/s390/fpu/s_fma.c: New file.
51164         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51165         * sysdeps/powerpc/fpu/s_fma.S: New file.
51166         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51167         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51168         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51170 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51172         [BZ #3268]
51173         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51174         fma tests.
51175         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51176         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51177         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51178         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51179         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51180         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51181         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51183 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51185         [BZ #12078]
51186         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51187         * posix/bug-regex31.input: Add test case.
51189 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51191         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51192         * posix/bug-regex31.input: New file.
51194         [BZ #12078]
51195         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51196         (parse_sub_exp): Fix last change, use postorder.
51198         * posix/bug-regex31.c: New file.
51199         * posix/Makefile: Add rules to build and run bug-regex31.
51201         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51203         [BZ #12078]
51204         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51206         [BZ #12108]
51207         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51208         to have entries in sys_siglist.
51210         [BZ #12093]
51211         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51212         be NULL.
51214 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51216         [BZ #3268]
51217         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51218         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51219         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51220         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51221         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51222         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51223         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51224         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51225         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51226         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51227         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51228         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51229         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51230         * math/ftestexcept.c (fetestexcept): Likewise.
51231         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51232         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51233         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51234         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51235         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51236         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51237         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51239 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51241         [BZ #12107]
51242         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51243         newline.
51245 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51247         * string/bug-strstr1.c: New file.
51248         * string/Makefile: Add rules to build and run bug-strstr1.
51250 2010-10-05  Eric Blake  <eblake@redhat.com>
51252         [BZ #12092]
51253         * string/str-two-way.h (two_way_long_needle): Always clear memory
51254         when skipping input due to the shift table.
51256 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51258         [BZ #12005]
51259         * malloc/mcheck.c: Handle large requests.
51261         [BZ #12077]
51262         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51263         for strncmp and strncasecmp.
51264         * string/stratcliff.c: Add tests for strcmp and strncmp.
51265         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51267 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51269         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51270         __set_fpscr.
51272 2010-09-30  Andreas Jaeger  <aj@suse.de>
51274         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51275         (CGROUP_SUPER_MAGIC): Define.
51276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51277         Handle btrfs and cgroup file systems.
51278         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51279         Likewise.
51281 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51283         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51284         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51286 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51288         [BZ #12067]
51289         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51290         trying to locate the ELF header.
51292 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51294         [BZ #11611]
51295         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51296         Mask out sign-bit copies when constructing f_fsid.
51298 2010-09-24  Petr Baudis <pasky@suse.cz>
51300         * debug/stack_chk_fail_local.c: Add missing licence exception.
51301         * debug/warning-nop.c: Likewise.
51303 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51305         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51306         implementing getdents64 using getdents syscall, set d_type if
51307         __ASSUME_GETDENTS32_D_TYPE.
51309 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51311         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51312         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51314 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51316         [BZ #12037]
51317         * posix/unistd.h: Undo change of feature selection for ftruncate from
51318         2010-01-11.
51320 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51322         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51323         detection.
51325 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51327         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51328         fanotify_mark.
51329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51331 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51333         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51334         variables after CHECK_SP call.
51335         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51337 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51338             Ulrich Drepper  <drepper@redhat.com>
51340         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51341         re-relocationg ld.so.
51342         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51343         _dl_init_paths call.
51344         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51345         here anymore.
51347 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51349         * resolv/res_init.c (__res_vinit): Count the default server we added.
51351 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51352             Ulrich Drepper  <drepper@redhat.com>
51354         [BZ #11968]
51355         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51356         (____longjmp_chk): Use %ebx for saving value across system call.
51357         Add unwind info.
51359 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51361         * manual/Makefile: Don't mix pattern rules with normal rules.
51363 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51365         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51366         operation.
51367         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51368         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51369         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51370         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51371         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51372         Likewise.
51374 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51376         [BZ #11979]
51377         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51378         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51380 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51382         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51383         * sysdeps/x86_64/addmul_1.S: Likewise.
51384         * sysdeps/x86_64/lshift.S: Likewise.
51385         * sysdeps/x86_64/mul_1.S: Likewise.
51386         * sysdeps/x86_64/rshift.S: Likewise.
51387         * sysdeps/x86_64/sub_n.S: Likewise.
51388         * sysdeps/x86_64/submul_1.S: Likewise.
51390 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51392         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51393         Define __sched_param instead of SCHED_* and sched_param when
51394         <bits/sched.h> is included with __need_schedparam defined.
51395         * bits/sched.h [__need_schedparam]
51396         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51397         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51398         (__defined_schedparam): Define to 1.
51399         (__sched_param): New structure, identical to sched_param.
51400         (__need_schedparam): Undefine.
51402 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51404         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51405         (epoll_create1): Declare.
51407         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51409 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51411         [BZ #7066]
51412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51413         shifting retval into place.
51415 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51417         * nis/rpcsvc/nis.h: Update copyright notice.
51418         * nis/rpcsvc/nis.x: Likewise.
51419         * nis/rpcsvc/nis_callback.h: Likewise.
51420         * nis/rpcsvc/nis_callback.x: Likewise.
51421         * nis/rpcsvc/nis_object.x: Likewise.
51422         * nis/rpcsvc/nis_tags.h: Likewise.
51423         * nis/rpcsvc/yp.h: Likewise.
51424         * nis/rpcsvc/yp.x: Likewise.
51425         * nis/rpcsvc/ypupd.h: Likewise.
51426         * nis/yp_xdr.c: Likewise.
51427         * nis/ypupdate_xdr.c: Likewise.
51429         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51430         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51431         (pmap_getport): Use __libc_rpc_getport.
51432         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51433         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51434         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51436 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51439         fanotify_mark.
51441 2010-08-27  Roland McGrath  <roland@redhat.com>
51443         * sysdeps/i386/i686/multiarch/Makefile
51444         (CFLAGS-varshift.c): New variable.
51446 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51448         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51449         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51453         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51455 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51457         * sysdeps/x86_64/strlen.S: Unroll the loop.
51458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51459         strlen-sse2 strlen-sse2-bsf.
51460         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51461         __strlen_no_bsf if bit_Slow_BSF is set.
51462         (__strlen_sse42): Removed.
51463         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51464         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51466 2010-08-25  Roland McGrath  <roland@redhat.com>
51468         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51469         * sysdeps/x86_64/multiarch/varshift.c: New file.
51470         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51471         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51472         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51473         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51475 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51478         strlen-sse2 strlen-sse2-bsf.
51479         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51480         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51481         (__strlen_sse2): Removed.
51482         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51483         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51485         bit_Slow_BSF for Atom.
51486         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51487         (index_Slow_BSF): Define.
51488         (HAS_SLOW_BSF): Define.
51490 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51492         [BZ #10851]
51493         * resolv/res_init.c (__res_vinit): When no server address at all
51494         is given default to loopback.
51496 2010-08-24  Roland McGrath  <roland@redhat.com>
51498         * configure.in: Remove config-name.h generation.
51499         * configure: Regenerated.
51500         * config-name.in: File removed.
51501         * scripts/config-uname.sh: New file.
51502         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51503         ($(objdir)config-name.h): New target.
51505         * sunrpc/rpc_parse.h: Avoid nested comment.
51507 2010-08-24  Richard Henderson  <rth@redhat.com>
51508             Ulrich Drepper  <drepper@redhat.com>
51509             H.J. Lu  <hongjiu.lu@intel.com>
51511         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51513         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51514         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51515         _mm_alignr_epi8 with _mm_loadu_si128.
51516         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51517         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51518         (__m128i_shift_right): Removed.
51519         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51520         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51521         * sysdeps/x86_64/multiarch/varshift.h: New file.
51522         * sysdeps/x86_64/multiarch/varshift.S: New file.
51524 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51526         * configure.in: Move assembler checks to before sysdep dir checking.
51528 2010-08-20  Petr Baudis  <pasky@suse.cz>
51530         * LICENSES: Sync the sunrpc license.
51532 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51534         * sunrpc/auth_des.c: Update copyright notice once again.
51535         * sunrpc/auth_none.c: Likewise.
51536         * sunrpc/auth_unix.c: Likewise.
51537         * sunrpc/authdes_prot.c: Likewise.
51538         * sunrpc/authuxprot.c: Likewise.
51539         * sunrpc/bindrsvprt.c: Likewise.
51540         * sunrpc/clnt_gen.c: Likewise.
51541         * sunrpc/clnt_perr.c: Likewise.
51542         * sunrpc/clnt_raw.c: Likewise.
51543         * sunrpc/clnt_simp.c: Likewise.
51544         * sunrpc/clnt_tcp.c: Likewise.
51545         * sunrpc/clnt_udp.c: Likewise.
51546         * sunrpc/clnt_unix.c: Likewise.
51547         * sunrpc/des_crypt.c: Likewise.
51548         * sunrpc/des_soft.c: Likewise.
51549         * sunrpc/get_myaddr.c: Likewise.
51550         * sunrpc/getrpcport.c: Likewise.
51551         * sunrpc/key_call.c: Likewise.
51552         * sunrpc/key_prot.c: Likewise.
51553         * sunrpc/openchild.c: Likewise.
51554         * sunrpc/pm_getmaps.c: Likewise.
51555         * sunrpc/pm_getport.c: Likewise.
51556         * sunrpc/pmap_clnt.c: Likewise.
51557         * sunrpc/pmap_prot.c: Likewise.
51558         * sunrpc/pmap_prot2.c: Likewise.
51559         * sunrpc/pmap_rmt.c: Likewise.
51560         * sunrpc/rpc/auth.h: Likewise.
51561         * sunrpc/rpc/auth_unix.h: Likewise.
51562         * sunrpc/rpc/clnt.h: Likewise.
51563         * sunrpc/rpc/des_crypt.h: Likewise.
51564         * sunrpc/rpc/key_prot.h: Likewise.
51565         * sunrpc/rpc/netdb.h: Likewise.
51566         * sunrpc/rpc/pmap_clnt.h: Likewise.
51567         * sunrpc/rpc/pmap_prot.h: Likewise.
51568         * sunrpc/rpc/pmap_rmt.h: Likewise.
51569         * sunrpc/rpc/rpc.h: Likewise.
51570         * sunrpc/rpc/rpc_des.h: Likewise.
51571         * sunrpc/rpc/rpc_msg.h: Likewise.
51572         * sunrpc/rpc/svc.h: Likewise.
51573         * sunrpc/rpc/svc_auth.h: Likewise.
51574         * sunrpc/rpc/types.h: Likewise.
51575         * sunrpc/rpc/xdr.h: Likewise.
51576         * sunrpc/rpc_clntout.c: Likewise.
51577         * sunrpc/rpc_cmsg.c: Likewise.
51578         * sunrpc/rpc_common.c: Likewise.
51579         * sunrpc/rpc_cout.c: Likewise.
51580         * sunrpc/rpc_dtable.c: Likewise.
51581         * sunrpc/rpc_hout.c: Likewise.
51582         * sunrpc/rpc_main.c: Likewise.
51583         * sunrpc/rpc_parse.c: Likewise.
51584         * sunrpc/rpc_parse.h: Likewise.
51585         * sunrpc/rpc_prot.c: Likewise.
51586         * sunrpc/rpc_sample.c: Likewise.
51587         * sunrpc/rpc_scan.c: Likewise.
51588         * sunrpc/rpc_scan.h: Likewise.
51589         * sunrpc/rpc_svcout.c: Likewise.
51590         * sunrpc/rpc_tblout.c: Likewise.
51591         * sunrpc/rpc_util.c: Likewise.
51592         * sunrpc/rpc_util.h: Likewise.
51593         * sunrpc/rpcinfo.c: Likewise.
51594         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51595         * sunrpc/rpcsvc/key_prot.x: Likewise.
51596         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51597         * sunrpc/rpcsvc/mount.x: Likewise.
51598         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51599         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51600         * sunrpc/rpcsvc/rex.x: Likewise.
51601         * sunrpc/rpcsvc/rstat.x: Likewise.
51602         * sunrpc/rpcsvc/rusers.x: Likewise.
51603         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51604         * sunrpc/rpcsvc/spray.x: Likewise.
51605         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51606         * sunrpc/rtime.c: Likewise.
51607         * sunrpc/svc.c: Likewise.
51608         * sunrpc/svc_auth.c: Likewise.
51609         * sunrpc/svc_authux.c: Likewise.
51610         * sunrpc/svc_raw.c: Likewise.
51611         * sunrpc/svc_run.c: Likewise.
51612         * sunrpc/svc_simple.c: Likewise.
51613         * sunrpc/svc_tcp.c: Likewise.
51614         * sunrpc/svc_udp.c: Likewise.
51615         * sunrpc/svc_unix.c: Likewise.
51616         * sunrpc/svcauth_des.c: Likewise.
51617         * sunrpc/xcrypt.c: Likewise.
51618         * sunrpc/xdr.c: Likewise.
51619         * sunrpc/xdr_array.c: Likewise.
51620         * sunrpc/xdr_float.c: Likewise.
51621         * sunrpc/xdr_mem.c: Likewise.
51622         * sunrpc/xdr_rec.c: Likewise.
51623         * sunrpc/xdr_ref.c: Likewise.
51624         * sunrpc/xdr_sizeof.c: Likewise.
51625         * sunrpc/xdr_stdio.c: Likewise.
51627         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51628         handling.
51630 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51632         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51634 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51636         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51637         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51638         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51639         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51640         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51641         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51642         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51643         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51644         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51646         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51647         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51648         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51649         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51651 2010-07-26  Anton Blanchard  <anton@samba.org>
51653         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51654         * malloc/arena.c (heap_trim): Likewise.
51656 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51658         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51659         here.  Not...
51660         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51661         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51663 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51665         * sysdeps/i386/elf/Makefile: New file.
51667 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51669         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51670         from fanotify_init.
51671         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51674 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51676         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51677         of strncasecmp_l.
51678         * sysdeps/multiarch/strcmp.S: Likewise.
51680 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51682         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51683         strncase_l-nonascii.
51684         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51685         Add strncase_l-ssse3.
51686         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51687         * sysdeps/x86_64/strcmp.S: Likewise.
51688         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51689         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51690         * sysdeps/x86_64/strncase.S: New file.
51691         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51692         * sysdeps/x86_64/strncase_l.S: New file.
51693         * string/Makefile (strop-tests): Add strncasecmp.
51694         * string/test-strncasecmp.c: New file.
51696         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51697         warning.
51699         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51700         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51702 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51704         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51706 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51708         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51709         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51710         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51712 2010-05-01  Alan Modra  <amodra@gmail.com>
51714         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51715         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51716         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51717         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51718         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51719         tidying.  Don't tail-call __sigjmp_save for static lib.
51720         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51721         save location.
51722         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51723         (CALL_MCOUNT): Add eh info, and nop after bl.
51724         (TAIL_CALL_SYSCALL_ERROR): New macro.
51725         (PSEUDO_RET): Use it.
51726         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51727         Correct save location of integer regs and cr.
51728         (_dl_profile_resolve): Correct cr save location.  Delete nops
51729         after bl when SHARED.  Reduce cfi size a little by better
51730         placement of cfi directives.
51731         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51732         make a stack frame.  Instead use parm save area as a temp.
51733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51734         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51736         Don't make a stack frame for parent, use parm save area.
51737         Increase child stack frame to 112 bytes.  Don't save unused reg,
51738         and adjust reg usage.  Set up cfi on error recovery and
51739         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51741         (__makecontext): Add dummy nop after jump to exit.
51742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51743         Use correct parm save area and cr save, reduce stack frame.
51744         Correct cfi for possible PSEUDO_RET frame setup.
51745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51746         Branch to local label emitted by PSEUDO_RET rather than
51747         __syscall_error.
51749 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51751         [BZ #11904]
51752         * locale/programs/locale.c (print_assignment): New function.
51753         (show_locale_vars): Use it.
51755 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51757         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51758         field.
51759         (struct statfs64): Likewise.
51760         (_STATFS_F_FLAGS): Define.
51761         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51762         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51763         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51764         (ST_VALID): Define locally.
51765         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51766         __statvfs_getflags, use the provided value.
51767         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51768         __ASSUME_STATFS_F_FLAGS.
51770         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51772         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51773         Add sys/fanotify.h.
51774         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51775         fanotify_mask for GLIBC_2.13.
51776         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51777         fanotify_init and fanotify_mark.
51778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51779         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51781         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51782         Add prlimit.
51783         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51784         prlimit64 for GLIBC_2.13.
51785         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51786         prlimit64.
51787         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51788         syscall.
51789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51790         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51791         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51792         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51793         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51794         add prlimit alias.
51795         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51797         [BZ #11903]
51798         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51799         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51801         * nss/Makefile: Add rules to build and run tst-nss-test1.
51802         * shlib-versions: Add entry for libnss_test1.
51803         * nss/nss_test1.c: New file.
51804         * nss/tst-nss-test1.c: New file.
51806         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51807         (__nss_configure_lookup): Set appropriate entry in
51808         __nss_configure_lookup to true.
51809         * nss/nsswitch.h: Define enum with indeces of databases in
51810         databases and __nss_database_custom arrays.  Declare
51811         __nss_database_custom.
51812         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51813         to avoid using nscd when custom rules are installed.
51814         * nss/getXXbyYY_r.c: Likewise.
51815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51817         * nss/nss_files/files-parse.c: Whitespace fixes.
51819 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51821         [BZ #11883]
51822         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51823         * posix/fnmatch_loop.c: Likewise.
51825 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51827         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51828         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51829         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51830         * Versions.def [GLIBC_2.13]: Add.
51832 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51834         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51835         Also fail if tpwd after pwuid call is NULL.
51837 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51839         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51840         when converting to ms.
51842 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51844         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51845         EOPNOTSUPP errors with ENOTTY.
51846         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51847         EOPNOTSUPP errors with ENOTTY.
51849 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51851         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51852         Add strcasecmp_l-ssse3.
51853         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51854         strcasecmp.
51855         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51856         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51857         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51859 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51861         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51863         * string/Makefile (strop-tests): Add strcasecmp.
51864         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51865         strcasecmp_l-nonascii.
51866         (gen-as-const-headers): Add locale-defines.sym.
51867         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51868         * sysdeps/x86_64/strcasecmp.S: New file.
51869         * sysdeps/x86_64/strcasecmp_l.S: New file.
51870         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51871         * sysdeps/x86_64/locale-defines.sym: New file.
51872         * string/test-strcasecmp.c: New file.
51874         * string/test-strcasestr.c: Test both ends of the range of characters.
51875         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51877 2010-07-29  Roland McGrath  <roland@redhat.com>
51879         [BZ #11856]
51880         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51882 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51884         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51885         for ld.so.
51887 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51889         * manual/memory.texi (Malloc Tunable Parameters): Document
51890         M_PERTURB.
51892 2010-07-26  Roland McGrath  <roland@redhat.com>
51894         [BZ #11840]
51895         * configure.in (-fgnu89-inline check): Set and substitute
51896         gnu89_inline, not libc_cv_gnu89_inline.
51897         * configure: Regenerated.
51898         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51900 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51902         * string/test-strnlen.c: New file.
51903         * string/Makefile (strop-tests): Add strnlen.
51904         * string/tester.c (test_strnlen): Add a few more test cases.
51905         * string/tst-strlen.c: Better error reporting.
51907         * sysdeps/x86_64/strnlen.S: New file.
51909 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51911         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51912         lower-latency instructions.
51914 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51916         * string/test-strcasestr.c: New file.
51917         * string/test-strstr.c: New file.
51918         * string/Makefile (strop-tests): Add strstr and strcasestr.
51919         * string/str-two-way.h: Don't undefine MAX.
51920         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51922 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51925         strcasestr-nonascii.
51926         (CFLAGS-strcasestr-nonascii.c): Define.
51927         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51928         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51929         Remove unused attribute.
51931 2010-07-20  Roland McGrath  <roland@redhat.com>
51933         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51934         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51935         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51936         like LD_HWCAP_MASK can disable hwcaps.
51938 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51940         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51942 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51944         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51945         call in strcasestr.
51946         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51947         __strcasestr_sse42_nonascii.
51948         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51949         strcasestr-nonascii.c.
51950         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51952 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51954         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51955         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51956         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51957         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51959 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51962         fcntl.
51964 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51966         [BZ #11577]
51967         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51968         dl_signal_cerror.
51970 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51972         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51973         _PC_PIPE_BUF using F_GETPIPE_SZ.
51975 2010-07-05  Roland McGrath  <roland@redhat.com>
51977         * manual/arith.texi (Rounding Functions): Fix rint description
51978         implicit in round description.
51980 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51982         * elf/Makefile: Fix linking for a few tests to make recent linker
51983         happy.
51985 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51987         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51988         $(common-objpfx)libc_nonshared.a.
51990 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51992         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51993         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51994         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51995         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51996         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51997         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51998         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51999         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52014         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52015         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52016         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52017         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52018         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52019         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52020         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52021         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52022         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52023         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52024         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52025         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52041 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52043         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52044         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52045         * string/memmove.c (memmove): Renamed to ...
52046         (MEMMOVE): ...this.  Default to memmove.
52047         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52048         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52049         (END_CHK): Define.
52050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52051         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52052         mempcpy-ssse3-back memmove-ssse3-back.
52053         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52056         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52057         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52058         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52059         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52060         * sysdeps/x86_64/multiarch/memmove.c: New file.
52061         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52062         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52063         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52064         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52065         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52066         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52067         Define.
52068         (index_Fast_Copy_Backward): Define.
52069         (HAS_ARCH_FEATURE): Define.
52070         (HAS_FAST_REP_STRING): Define.
52071         (HAS_FAST_COPY_BACKWARD): Define.
52073 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52075         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52076         Restore proper fallback handling.
52078 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52080         [BZ #11701]
52081         * posix/group_member.c (__group_member): Correct checking loop.
52083         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52084         OOM in getpwuid_r correctly.  Return error number when the caller
52085         should return, otherwise -1.
52086         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52087         call returning > 0 value.
52088         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52090 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52092         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52093         libc_nonshared.a from targets in modules-names.
52095 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52097         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52098         requires it.
52100 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52102         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52103         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52107 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52109         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52111 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52114         and F_GETPIPE_SZ.
52115         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52119         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52120         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52122 2010-06-14  Roland McGrath  <roland@redhat.com>
52124         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52126 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52128         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52129         __REDIRECT followed by __THROW.
52130         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52131         * posix/getopt.h (getopt): Likewise.
52133 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52135         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52136         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52137         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52138         in AT_FLAGS.
52139         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52140         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52142 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52144         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52146 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52148         [BZ #11640]
52149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52150         Properly check family and model.
52152 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52154         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52156 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52158         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52160 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52162         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52163         symbol reference.
52165 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52167         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52168         symbol reference.
52170 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52172         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52173         and internal_recvmmsg.
52174         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52175         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52176         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52177         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52179         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52180         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52181         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52183 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52185         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52187 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52189         POWER7 optimizations.
52190         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52191         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52193 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52195         * version.h: Update for 2.13 development version.
52197 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52199         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52200         exceptions.  Return 0.
52202 2010-05-07  Roland McGrath  <roland@redhat.com>
52204         * elf/ldconfig.c (main): Add a const.
52206 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52208         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52209         (args_options): Add no-idn option.
52210         (ahosts_keys_int): Add idn_flags to ai_flags.
52211         (parse_option): Handle 'i' option to clear idn_flags.
52213         * malloc/malloc.c (_int_free): Possible race in the most recently
52214         added check.  Only act on the data if no current modification
52215         happened.
52217 See ChangeLog.17 for earlier changes.